Skip to main content
Golden grass hills dotted with oaks on the drive inland from San Francisco

San Francisco to Yosemite National Park Road Trip: The Routes

San Francisco to Yosemite Valley is 195 miles and four hours, and which of the three entrances you use changes the drive completely, especially in winter.

5 min read
The short answer

San Francisco to Yosemite Valley is about 195 miles and four hours via Highway 120 and the Big Oak Flat entrance. Highway 140 through Mariposa takes 20 minutes longer, sits lower and is the better winter route. Leave the city by 6am to reach the valley before the entrance queue builds, and carry chains from November to April.

San Francisco to Yosemite Road Trip: Routes, Stops and Timing

San Francisco to Yosemite, at a glance

One hundred and ninety five miles and about four hours to Yosemite Valley without stops, and closer to five with them. Highway 120 through Groveland and the Big Oak Flat entrance is the fastest. Highway 140 through Mariposa and the Arch Rock entrance is 20 minutes longer, stays lowest and is the one to use in snow. Highway 41 from the south through Oakhurst is for people continuing to Los Angeles. Leave by 6am, fill the tank in Groveland or Mariposa, and expect the last hour inside the park to be slow. Our Yosemite 2 day itinerary picks up where the drive ends.

The three routes

  • Highway 120 west, via Groveland. One hundred and ninety five miles, four hours. The standard route: I-580 to I-205, Highway 120 through Manteca and Oakdale, then the climb through Groveland to the Big Oak Flat entrance. Best in summer, and it puts you 45 minutes from the valley floor at the gate.
  • Highway 140, via Mariposa. Two hundred and ten miles, four hours 20 minutes. Follows the Merced River in through the Arch Rock entrance, reaching only 2,000 feet at the gate. This is the all season route, the one that stays open in storms, and the one to take if there is any snow in the forecast.
  • Highway 41, via Oakhurst. Two hundred and thirty miles, four and a half hours. Comes in at the south entrance next to Mariposa Grove and delivers you at Tunnel View. Worth it if you want the sequoias first or are driving on to Los Angeles afterwards.

Tioga Pass on the east side is a summer road only, usually shut from November into late spring, so it is never the answer from San Francisco.

Stops worth making

  • Knights Ferry on Highway 120, with the longest covered bridge west of the Mississippi.
  • Groveland, a gold rush main street with the last reliable fuel and coffee before the park.
  • Rainbow Pool on the South Fork Tuolumne, a swimming hole 20 minutes before the entrance.
  • Mariposa on Highway 140, with a mining museum and the last supermarket.
  • Hetch Hetchy, a 45 minute detour off Highway 120 inside the park boundary, open all year, and almost empty compared to the valley.

Timing the drive

Two queues decide your morning. The Bay Bridge and I-580 through the Altamont Pass back up from about 7am on weekdays, and the park entrance stations back up from about 9am in summer. Leaving San Francisco at 6am clears both. Leaving at 9am can add 90 minutes to the same journey.

On the way home, the reverse applies: leaving the valley after 4pm on a Sunday puts you into the I-205 crawl. Either leave by 1pm or eat dinner in Groveland and drive late.

Winter, chains and closures

From November through April, Caltrans can require chains on any of the three approaches, including on dry roads if there is snow at elevation, and hire cars almost never come with them. Two solutions: rent an all wheel drive vehicle and carry chains anyway, or take Highway 140, which is the lowest route and the last to be restricted. Snow tyres alone are not always accepted at a chain control. Our Yosemite winter guide covers what is open once you arrive.

The train and bus alternative

You do not need a car. Amtrak's San Joaquins runs from Emeryville, with a bus connection from San Francisco, to Merced in about four hours. From Merced the YARTS bus goes straight into Yosemite Valley, and your park entry fee is included in the fare. Total time is longer than driving, and once you are in the valley the free shuttle reaches every trailhead, so you never queue for parking. In peak summer that trade is often worth it.

Making it a road trip rather than a drive

If you have a spare day each way, the better shape is a loop. Out on Highway 120 to Yosemite, then south on 41 and west to the coast for Big Sur, and back up Highway 1. Or, in summer only, over Tioga Pass to the east side for Mono Lake and the Eastern Sierra, which is one of the best drives in California and covered in our Eastern Sierra loop.

Have us plan the trip

Tell us your dates and we will pick the entrance that will be open, time the drive around the queues and book the beds. Planning is free, and we earn only if you book through us.

Ready-made tripYosemite 2 Day Itinerary: What Fits, and What to SkipEvery place in this guide, already timed, mapped, and planned day by day. See the full itinerary.See the full itinerary →

San Francisco to Yosemite National Park Road Trip: The Routes FAQs

Verified guests

What hikers say about us.

All reviews are from verified guests. ★★★★★ 5.0 average from 20+ bookings.

★★★★★

"Felt like going out with a really knowledgeable friend who just happens to know everything about the area. No awkward tour-guide energy, just a magnificent day."

★★★★★

"Yulia is an incredible guide. She knew every trail, every viewpoint, and exactly how to pace the day for our group. The photos she took of us were stunning. 100% booking again."

★★★★★

"I was visiting Seattle solo and this was the best decision I made on the trip. Yulia picked me up, had snacks, and took us to a trail I never would have found on my own. Absolute must-do."

★★★★★

"We did this as a couple's trip and it was perfect. Yulia adapted everything to us, our pace, our interests, our photo obsession. The mountain views were unreal."

★★★★★

"Phenomenal experience. Yulia has deep local knowledge and a real passion for the outdoors. She went out of her way to show us the hidden gems tourists never see. Will remember this forever."

★★★★★

"I've done a few guided hikes and this was by far the best. Yulia is warm, funny, and genuinely expert. The trail she chose had the most insane wildflower bloom, we got so lucky."

Was this helpful?

One tap. It goes straight to Yulia and Margarita.

Free permit watch

You can't hike it if you can't get the permit.

The best hikes in America run on lotteries that open once a year and sell out in minutes. Every trail runs on its own calendar. Pick the ones you want and we do the watching.

29 trails watched daily

How it works

  • An email the morning each window opens, never the day after.
  • A 14-day heads-up so you can line up your group and dates.
  • Win odds and a ranked backup plan for every trail you pick.

Didn't win? We keep watching. We check recreation.gov every day for The Enchantments, Half Dome and Angels Landing, and email you the moment a sold-out date frees up. Cancellations are the second chance most people never hear about.

Hikers we've helped
L
Liudmila S.New
Local Guide · 10 reviews
★★★★★

I’ve requested to book a Chain Lakes Loop guide on ExplorOFF, and it was the best idea ever! I highly recommend going with their guided option since you get a real human connection on the trail and don’t have to worry about a thing. Yulia was great to talk to!

The turquoise water of Iceberg Lake on the Chain Lakes Loop below Mount BakerFireweed in bloom on the slope below Table Mountain on the Chain Lakes Loop
Verified Google review
Yosemite 2 Day Itinerary: What Fits, and What to Skipday by day, ready to book
View trip