Route guide

San Francisco to Yosemite: the entrance decision comes first

The Bay Area is the most common starting point for a Yosemite trip, and the route you pick decides your entire hotel shortlist.

There is no single road from San Francisco to Yosemite. There are two practical approaches, they reach different entrances, and they put you in different parts of the park.

Highway 120 East across the central valley leads to the Big Oak Flat Entrance and the northern part of the park. Dropping further south to Highway 140 through Mariposa leads to the Arch Rock Entrance and is the shorter route to Yosemite Valley once you are inside.

The two routes, compared

Driving times are not published here because they depend heavily on traffic leaving the Bay Area and on the season.
RouteEntranceBest forWhere to stop
Highway 120 EastBig Oak FlatNorthern park, Tioga Road in season, the shortest total driveGroveland
Highway 140 via MercedArch RockYosemite Valley focus, winter reliabilityMariposa or El Portal

Which one to take

If your trip is a general first visit and you want the shortest drive, take Highway 120 and stay in the Groveland corridor. Rush Creek Lodge sits 0.9 straight-line miles from the entrance, which is the best entrance proximity available anywhere on this site.

If your trip is three or four days in Yosemite Valley, the extra detour south to Highway 140 pays for itself. El Portal is 10.9 straight-line miles from the Valley floor, against roughly 17 for the nearest Groveland properties.

In winter, Highway 140 is the safer choice regardless. It is the lowest elevation approach and the least exposed to snow, though chain controls can apply on any road.

Breaking the drive

The drive is long enough that arriving in the park on the same day as a transatlantic or transcontinental flight makes for a poor first day. Spending the first night in the gateway corridor rather than pushing into the Valley is usually the better plan.

Groveland and Mariposa both work as a first stop, and both put you at an entrance early the next morning.

Questions travelers ask

How long is the drive from San Francisco to Yosemite?

It is a long half-day drive on either route, and the time varies substantially with traffic leaving the Bay Area and with conditions. This site does not publish a figure, because a single number would be wrong most of the time.

Which entrance should I use from San Francisco?

Big Oak Flat on Highway 120 for the shortest total drive and the northern part of the park. Arch Rock on Highway 140 if Yosemite Valley is your focus or if you are travelling in winter.

Should I stay overnight on the way?

If you are driving out on the day you arrive in California, yes. Groveland or Mariposa put you at an entrance the following morning without a long drive first.

Affiliate disclosure. Yosemite-Hotels.com may earn a commission when you book through selected links. This does not change how hotels are selected or compared.

Distances on this site are straight-line miles calculated from published coordinates. Real driving distance is longer, and driving time depends on the road, the season and traffic.

Hotel data checked 2026-08-21. Guest scores and review counts change over time; figures on this page reflect the selection on that date. For park conditions, road status and current rates, check the National Park Service and the booking partner at the time of travel.