Lands End is 1.7 miles one way and the best trail inside the city, and the Marin Headlands across the Golden Gate Bridge add a half-mile loop, a 0.7-mile climb and a 1.75-mile trail to a beach. Dogs aren't allowed on the Tennessee Valley trail.

Water And Ice Safety: read this before you go
This is a short hiking guide for San Francisco and the closest hills across the bridge. It lists only trails we could check on an official page, with the distance, surface and whether dogs are allowed. Distances and rules were read on November 3, 2026. Trails and closures change, so check the NPS alerts before you go. For a longer outing built around the Headlands, see the Marin Headlands day trip.
Hikes at a Glance
| Hike | Distance | Surface and rules | Where |
|---|---|---|---|
| Lands End Coastal Trail | 1.7 miles one way | Compacted aggregate and pavement, some stairs | In San Francisco |
| Mile Rock Trail (Lands End side trail) | 0.30 miles round trip | Native and sand; 165 feet of descent | In San Francisco |
| Batteries Loop | 0.5 mile, about 1 hour, 60 feet of climbing | Compacted natural material; leashed dogs permitted | Marin Headlands |
| Coastal Trail to Battery Townsley | 0.7 miles from the Rodeo Beach trailhead; allow at least 45 minutes | Strenuous, per the NPS | Marin Headlands |
| Tennessee Valley Trail | 1.75 miles, about 1 hour | Asphalt for about ¾ mile, then compacted natural material; no dogs | Marin Headlands |
| Golden Gate Bridge walk | About 1.7 miles across | East sidewalk; gate hours apply | Bridge |
Unconfirmed Elevation gain for Lands End, Battery Townsley and Tennessee Valley. The NPS pages give slope percentages for some trails but no total climb for these. Whether dogs are allowed at Lands End and at Battery Townsley is also not confirmed here. Do this: check the NPS pet rules page or read the posted signs at the trailhead.
In the City: Lands End
Lands End is the best trail inside San Francisco. The Coastal Trail is 1.7 miles one way, with stairs in places, a steepest grade of 18.5 percent and the Merrie Way lot as the main trailhead. The full details, the Lookout visitor center and the Mile Rock side trail are in the Lands End Trail guide.
Across the Bridge: Marin Headlands
Batteries Loop
The easiest gun-battery walk. It starts at the Battery Alexander parking area and passes batteries Smith-Guthrie, O’Rorke and Alexander on a former jeep road. The NPS lists it as 0.5 mile and about an hour, with views of the Pacific and, on clear days, the Farallones about 30 miles away. Leashed dogs are allowed. There is no drinking water on the trail.
Rodeo Beach to Battery Townsley
Follow the Coastal Trail from the Rodeo Beach trailhead for 0.7 miles to Battery Townsley, which the NPS calls strenuous. It houses two 16-inch guns completed in 1940 and is open for tours on set days. See the day trip for the battery’s history.
Unconfirmed A longer Rodeo Beach loop of about 5.3 miles with roughly 1,076 feet of climbing appears on a third-party hiking site and is not checked against an NPS map. Do this: check the NPS Marin Headlands map before you go.
Tennessee Valley Trail
A 1.75-mile trail to Tennessee Beach, about an hour, paved for about three-quarters of a mile and then compacted dirt. The NPS says dogs are not allowed. Rangers close the beach and trail when the pond water is high, because a sudden dam failure could be dangerous downstream. The NPS says the valley fills with wildflowers in spring.
Unconfirmed Whether the 1.75 miles is one way or round trip. The NPS page does not say; other sites call it about 1.7 to 1.8 miles one way. Do this: ask at the NPS visitor center or read the trail sign.
Viewpoints Worth a Short Walk
The NPS names Battery Spencer and Hawk Hill among the Headlands’ scenic vistas, and Battery Wallace has a picnic area with tables and grills but no water. We have not confirmed trail lengths or parking for these. Start from the NPS Marin Headlands page.
The Bridge Walk
Walking the Golden Gate Bridge is a hike in its own right: about 1.7 miles across, east sidewalk only, with gates that close at 9 pm in summer and 6:30 pm in winter. Full facts, parking and what not to bring are in the day trip guide.
Safety and Etiquette
- Poison oak: the NPS flags it on its Headlands trail pages. Stay on the trail.
- Cliffs: the NPS says bluff cliffs can be unstable. Keep behind railings and signs.
- Weather: dress in layers, because coastal weather changes quickly.
- Water: none is available on the Batteries Loop or the Tennessee Valley trail.
- Wildlife: keep distance and never feed animals. See San Francisco Wildlife.
- Cell service: expect gaps in the Headlands.
More to Explore
Questions People Ask About Hiking Near San Francisco: Lands End, Marin Headlands and the Bridge
What is the best hike near San Francisco?
Inside the city, the Lands End Coastal Trail is 1.7 miles one way with ocean and bridge views. Across the Golden Gate Bridge, the Marin Headlands have shorter loops past old gun batteries.
Are dogs allowed on Marin Headlands trails?
The NPS says dogs are welcome on many Headlands trails. Leashed dogs are allowed on the Batteries Loop. They are not allowed on the Tennessee Valley trail.
How long is the Batteries Loop?
The NPS lists it at 0.5 mile, about an hour, with 60 feet of climbing, starting at the Battery Alexander parking area.
Is there water on the trails?
The NPS says there is no drinking water on the Batteries Loop or the Tennessee Valley trail. Bring your own.
More Guides
San Francisco Local Legends: Ghost Stories, Myths and What’s Actually True
Thirty-six San Francisco legends, ghost stories and origin myths, from the White Lady of Stow Lake to who invented the Mission burrito.…
Read the guide →Exploratorium vs California Academy of Sciences: Which Is Better With Kids?
Two big San Francisco science museums, two very different days out. Which one suits your children, your weather and your budget.
Read the guide →Western Addition Legends Walk: Alamo Square, Fillmore Street and Octavia and Bush
A short walk through three Western Addition legends: the Westerfeld House at Alamo Square, State Bird Provisions on Fillmore Street, and Mary…
Read the guide →More to Explore
Places to Check Out
- Alta Plaza Park Parks & Playgrounds
- Angelo J. Rossi Playground Parks & Playgrounds
- Aquarium of the Bay Attractions
- Asian Art Museum Museums
Cite this page: Project SF, “Hiking Near San Francisco: Lands End, Marin Headlands and the Bridge”, projectsf.com/guides/hiking-near-san-francisco/ (updated ).