Tunnel View overlook of Yosemite Valley with waterfall
Routes

San Francisco to Yosemite

East to the national park by car, bus or YARTS.

By the Viamo editorial team · Editor Terje Moy · Last updated July 2026 · 5 min read

Fastest ~3.5-4.5h by car

At a glance Typical options on this route – details, caveats and booking advice below.
🚆 Train~5-6hAmtrak San Joaquin/bus to Merced, then YARTS bus
🚌 Busseasonal, variesDirect Bay Area coaches, mainly summer weekends
🚗 Car~3.5-4.5h300-320km; Tioga Pass closed ~Nov-May

Planning this trip? Currency converter · Jet-lag calculator · Trip budget · Compare routes

Yosemite National Park is roughly 300 km from San Francisco, and while there is no train station anywhere near the park itself, a well-organised bus network fills the gap for travellers without a car. Both the journey and the destination reward a little planning, since the park's own transport and parking rules shape how you should arrive. Here is how the options compare.

Public transport: Amtrak plus YARTS via Merced

The most reliable way into Yosemite without driving is a combination of Amtrak's San Joaquin train from the Bay Area (via a connecting Thruway bus from San Francisco to the rail line) to Merced, followed by the YARTS (Yosemite Area Regional Transportation System) bus into the valley. Total journey time runs to around 5–6 hours door to door, longer than driving, but it delivers you right into Yosemite Valley without needing a car once there — a genuine advantage given the park's limited and often full parking. See the USA by train for how the San Joaquin service and its Thruway bus connections fit into the wider Amtrak network.

YARTS buses also run directly from other gateway towns along Highway 140 and Highway 120, and fares typically include the park entrance fee, which is a useful saving worked into the ticket price.

Road winding toward the granite mountains of Yosemite

Direct bus options from the Bay Area

Seasonal and weekend coach services also run more directly from San Francisco and the wider Bay Area into Yosemite, particularly in the busier summer months, cutting out the Merced changeover. These tend to run less frequently than the train-and-YARTS combination and are worth checking specifically for your travel dates, since schedules can be sparse outside peak season.

Some of these services are aimed squarely at day-trippers, with an early departure from San Francisco and a same-day return, while others allow an overnight stay in or near the park before returning. Given the total travel time involved, an overnight or multi-day visit generally makes far better use of the journey than trying to see Yosemite Valley in a single long day from the city.

Driving: the most flexible, but plan for the park itself

The drive is about 300–320 km, taking 3.5–4.5 hours depending on the route — commonly via Highway 120 from the north or Highway 140 from Merced, both offering scenic approaches into the valley. Driving gives the most flexibility for reaching areas beyond Yosemite Valley itself, such as Glacier Point or Tuolumne Meadows in summer, which YARTS does not serve as comprehensively. General guidance on hiring a car and driving rules for visitors is covered in driving in the USA and renting a car abroad.

Parking and reservations: Yosemite Valley parking fills early on summer days, and the park has at times required a separate vehicle reservation for peak-season entry. Check the National Park Service website for current entry requirements before driving in, particularly for a spring or summer visit.

Winter driving also brings its own catch: Highway 120 (Tioga Pass) through the high country closes completely from around November to May or June, so travellers approaching from the eastern Sierra in winter must use a longer western route instead.

Flying: only useful for the wider trip

There is no commercial airport near Yosemite Valley. Some travellers fly into Fresno, which sits closer to the park's southern entrance than San Francisco, then hire a car for the final stretch. For a San Francisco-based trip, this rarely saves time once transfers are included, and is only worth considering if Yosemite is one stop on a longer California itinerary alongside routes like San Francisco to Los Angeles.

What to bring for the journey

Whichever way you travel, pack for a range of conditions once you arrive — Yosemite Valley sits at around 1,200 metres, and the surrounding high country climbs considerably higher, so temperatures can swing well below what you left behind in San Francisco, particularly in the evenings. If you are travelling by YARTS or the train-and-bus combination, note that luggage space is more limited than in a car, so pack accordingly for a multi-day stay.

Choosing a base and season

Most first-time visitors head straight for Yosemite Valley, home to the park's best-known sights — El Capitan, Half Dome and Yosemite Falls — and this is exactly where both YARTS and the main roads are heading. Travellers with more time sometimes base themselves in a gateway town such as Mariposa or Oakhurst instead, trading a longer daily commute into the valley for cheaper accommodation and a quieter evening away from the crowds.

Season matters considerably here. Summer brings the fullest crowds, the highest chance of a parking or entry reservation requirement, and the best access to the high country via Tioga Pass. Spring, when snowmelt feeds Yosemite Falls and the valley's other waterfalls at their most dramatic, is a popular sweet spot before summer crowds peak. Winter access is more limited, with some roads closed, but YARTS and the main valley roads generally remain open, making the park considerably quieter for those who don't mind the cold.

Which should you choose?

Without a car, the Amtrak-plus-YARTS combination is the dependable year-round option, and it neatly avoids Yosemite's parking squeeze. With a car, driving is faster and gives access to more of the park, provided you check seasonal road closures and any entry reservation requirements first. For a similarly car-dependent day trip from the Bay Area, compare with San Francisco to Lake Tahoe, which shares much of the same no-direct-train, plan-around-a-bus-connection logic.

Frequently asked questions

Is there a train station in Yosemite?

No. The nearest Amtrak station is in Merced, from where the YARTS bus connects directly into Yosemite Valley.

Does YARTS include the park entrance fee?

Typically yes — YARTS tickets are usually priced to include entry, which can work out as a saving compared with driving in and paying separately.

Can I drive into Yosemite via Tioga Pass in winter?

No. Highway 120 over Tioga Pass closes for the winter, generally from around November to May or June, so a western approach is needed outside that window.

Do I need a car once inside Yosemite Valley?

Not for the valley floor itself, which has a free shuttle system, but a car helps considerably for reaching areas like Glacier Point or Tuolumne Meadows in summer.

Sources and further reading: