San Francisco to Yosemite: Road Trip Guide & Distance

157.4 miles 253.3 km · straight line
192 miles actual route 309 km · driving distance
4h 33min estimated drive time
$18 - $23 estimated fuel cost
~49min flight time
87° E bearing direction

How far is San Francisco from Yosemite?

The distance from San Francisco to Yosemite is 157.4 miles (253.3 km) as the crow flies. Yosemite is located E of San Francisco. By car, the driving distance is approximately 192 miles, taking about 4h 33min. A direct flight would take roughly 49min. Both are located in United States.

For a drive of this length, it's recommended to plan at least one quick rest stop to stretch your legs and grab a coffee. Heading East means you'll be driving into the sunrise if you start early. Keep your windshield clean for the best visibility. Given the short distance, driving or taking a train is often faster and more convenient than dealing with airport security and flight boarding times.

Coordinates come from public place data for San Francisco and Yosemite. The driving distance uses an OSRM road-route result when route data is available. Fuel, flight, bus, and train values are planning estimates and can change by date, provider, road closures, and border rules.

How to Get from San Francisco to Yosemite

Method Time Est. Cost Best For
Drive 4h 33min $18 - $23 Flexible stops
Fly ~49min $80–200* Speed
Bus ~5h 28min $15–$29* Budget
Train ~4h 19min $23–$67* Comfort

Suggested Stops Between San Francisco & Yosemite

Quick Facts

San Francisco
37.77°N, 122.42°W
America/Los_Angeles
16m elevation
Yosemite
37.87°N, 119.54°W
America/Los_Angeles
1209m elevation
Explore more routes from Yosemite

Did You Know?

  • At walking speed (3 mph), it would take about 52 hours of non-stop walking
  • By bicycle at 12 mph, the journey would take roughly 13 hours
  • You could travel this distance about 158.2 times to circle the Earth's equator
Data Sources & Estimate Notes GeoNames · OpenStreetMap · OSRM