San Francisco to Yosemite usually takes 4–5 hours by car, before Bay Area traffic, entrance waits, and Valley parking.
Some links on this page are affiliate links. If you book through them, we may earn a small commission at no extra cost to you.
The Driving Time from San Francisco to Yosemite National Park is officially listed at 4–5 hours for the 195-mile trip from the San Francisco Bay Area. Plan closer to 5–6 hours if you leave on a Friday afternoon, hit summer entrance lines, stop for gas, or drive all the way to Yosemite Valley instead of only reaching the park boundary.
The simplest route is I-580 east, I-205 east, then either Highway 120 through Manteca and Groveland or Highway 140 through Merced and El Portal. Highway 120 is usually the most direct from San Francisco, while Highway 140 can be steadier in bad weather because it follows the Merced River at lower elevation.
After you compare the driving route with train-and-bus options, it is easiest to see the full door-to-door trade-off here:
San Francisco To Yosemite Drive: Every Route Compared
San Francisco to Yosemite is a half-day drive, not a short hop. Highway 120 is the usual first choice from the Bay Area, while Highway 140 is the safer backup when winter weather or road delays make the higher route less appealing.
The National Park Service lists the San Francisco Bay Area route as 195 miles and 4–5 hours via I-580, I-205, and either Highway 120 or Highway 140 into the park. Yosemite Valley sits well inside the park, so the entrance station is not the finish line.
The main decision is not mileage alone. The route you choose affects curves, elevation, winter chain risk, gas stops, and how quickly you reach Yosemite Valley after the gate.
| Route Or Mode | Typical Time | Best For |
|---|---|---|
| Drive via Highway 120 | About 4–5 hours | Fastest common route from San Francisco in normal conditions |
| Drive via Highway 140 | About 4.5–5.5 hours | Lower-elevation approach through Merced and El Portal |
| Drive via Highway 41 | About 5.5–6.5 hours | Mariposa Grove or Wawona first, not Yosemite Valley first |
| Friday afternoon drive | Often 5.5–7 hours | Only if you can tolerate Bay Area and Central Valley traffic |
| Early morning drive | About 4–5.5 hours | Best shot at parking before Yosemite Valley fills |
| Amtrak plus YARTS | Usually 6–7.5 hours | Car-free travelers who can work around schedules |
| Private day tour | Often 14+ hours round trip | Travelers without a car who only have one long day |
How Long Does The Drive Really Take?
The real door-to-door driving time is usually 4.5–6 hours from central San Francisco to Yosemite Valley. The official 4–5 hour figure assumes good conditions, no long stops, and no major traffic delays.
Leaving San Francisco before 6 am is the cleanest plan. That timing gets you past the East Bay before the worst commute pressure and gives you a better chance of finding a Yosemite Valley parking spot before midday.
- Best normal-case plan: leave San Francisco around 5–6 am and take Highway 120 if roads are clear.
- Best bad-weather plan: check road status first, then favor Highway 140 if the higher approaches are affected.
- Worst common plan: leave San Francisco after lunch on a summer Friday and expect an easy arrival.
Yosemite entrance waits can change the trip more than the route does. In 2026, Yosemite is not using a timed-entry reservation system, but the park still manages traffic and parking during peak periods.
Which Route Should You Drive?
Highway 120 is usually the best route from San Francisco to Yosemite Valley when roads are open and weather is calm. Highway 140 is the better fallback when you want the lower-elevation approach or plan to stay near Mariposa or El Portal.
Highway 120 Through Manteca And Groveland
Highway 120 is the most direct Bay Area route into Yosemite through the Big Oak Flat Entrance. The road climbs into the Sierra foothills and then winds through forest before dropping toward Yosemite Valley.
Choose Highway 120 if you are driving in dry weather, starting in San Francisco, Oakland, Berkeley, or the Peninsula, and heading straight for Yosemite Valley. Fill the tank before the mountain stretch, because fuel is easier and cheaper in Central Valley towns than near the park.
Highway 140 Through Merced And El Portal
Highway 140 enters Yosemite through the Arch Rock Entrance and follows the Merced River toward the Valley. The road is longer from San Francisco for many drivers, but it is often simpler in winter because it stays lower than Highway 120.
Choose Highway 140 if road conditions look unsettled, you want a less mountainous final approach, or you are staying in Mariposa, Midpines, or El Portal.
Highway 41 Through Oakhurst
Highway 41 makes sense when Mariposa Grove, Wawona, or the South Entrance is your first stop. Highway 41 is usually not the fastest route from San Francisco to Yosemite Valley.
Drivers coming from San Francisco should not use Highway 41 by default unless the itinerary starts in the southern part of the park. The route adds time before you reach the Valley floor.
Road Conditions, Reservations, And Parking
Yosemite driving plans should start with the park’s road page, not a saved map route. The National Park Service says some Yosemite roads close around November through May or June, chains may be required from around October through April, and San Francisco Bay Area drivers should allow 4–5 hours for the 195-mile approach.
Before leaving, confirm the current status on the Yosemite driving directions page. That page is the official source for route guidance, seasonal road cautions, and the park phone number for up-to-the-minute road conditions.
For summer 2026, Yosemite says a reservation is not required to enter the park. That makes spontaneous trips easier, but it does not create more parking. Yosemite Valley lots can still fill early on busy weekends, holidays, and waterfall-season mornings.
Timing tip: aim to enter Yosemite before 8 am on peak days. A late-morning arrival can turn a 4–5 hour drive into a much longer day once gate lines and Valley parking are added.
Should You Rent A Car Or Go Car-Free?
A rental car is the most flexible choice for most San Francisco to Yosemite trips, especially for one-night or two-night visits. Car-free travel works, but the timetable controls your day and usually takes longer.
Driving lets you stop for groceries, reach trailheads earlier, and stay outside the park if Yosemite Valley lodging is full. The downside is parking pressure: once you find a Yosemite Valley space, leave the car there and use the free park shuttle or walk when possible.
If you need wheels for only the Yosemite leg, compare pickup locations in San Francisco, Oakland, or near the airport before choosing. Downtown pickup can save airport fees, while airport pickup can make sense if Yosemite is the first stop after landing.
For a Yosemite road trip from the Bay Area, compare rental options before you lock in lodging:
Car-free travelers can take Amtrak to Merced and connect to Yosemite by YARTS or an Amtrak Thruway bus. Amtrak states that Yosemite-bound riders transfer at Merced to a bus route served by Yosemite Area Regional Transportation System, with the bus ride and park admission included when buying an Amtrak ticket to Yosemite.
Where To Stay After The Drive
Staying overnight near Yosemite turns the San Francisco drive from a draining day trip into a workable park visit. Yosemite Valley is the most convenient base, but El Portal, Mariposa, Groveland, and Oakhurst are practical backups when in-park lodging is full or expensive.
Yosemite Valley saves the most time once you arrive. El Portal is the closest outside base for Highway 140, Groveland fits Highway 120, and Oakhurst fits Mariposa Grove or the South Entrance.
Use the map view to compare drive time to the entrance, not just nightly price:
| Base | Drive Logic | Best For |
|---|---|---|
| Yosemite Valley | No daily entrance commute | First-timers with early hikes or one full day |
| El Portal | Shortest outside approach via Highway 140 | Drivers who want a lower-elevation route |
| Mariposa | About an hour from Yosemite Valley in good conditions | Better dining choice and more rooms outside the park |
| Groveland | Good match for Highway 120 | Bay Area drivers using the Big Oak Flat Entrance |
| Oakhurst | Best for Highway 41 and South Entrance | Mariposa Grove, Wawona, or southern Yosemite plans |
| Merced | Farther, flatter, and tied to transit links | Car-free travelers connecting by YARTS |
| San Francisco | Full round trip in one long day | Only if you accept limited park time |
Your Best Driving Plan
The best plan is to leave San Francisco before sunrise, drive Highway 120 in clear weather, and switch to Highway 140 when winter conditions or road alerts point that way. Book lodging close enough to Yosemite that the return drive does not erase the time you saved.
For a first Yosemite trip, use this simple rule:
- Fastest normal route: Highway 120 from San Francisco to the Big Oak Flat Entrance.
- Most weather-forgiving route: Highway 140 through Merced and El Portal.
- Best one-night plan: sleep in Yosemite Valley, El Portal, Groveland, or Mariposa.
- Best day-trip plan: leave by 5 am, skip far-flung stops, and focus on Yosemite Valley viewpoints and short walks.
- Best car-free plan: use Amtrak to Merced, then YARTS or the Yosemite bus connection into the Valley.
San Francisco to Yosemite is worth the drive, but the day works best when the car is a tool, not the whole trip. Start early, check the road page before departure, and treat parking as part of the schedule.
References & Sources
- National Park Service.“Driving Directions — Yosemite National Park.”Supports the official San Francisco Bay Area distance, driving time, route choices, and seasonal road cautions.