The drive from San Francisco to Yosemite Valley covers ~195 miles and typically requires 3.5-4.5 hours, but conditions dramatically affect actual travel time. Two primary routes offer different trade-offs:
CA-120 East (Fastest, ~3.5 hrs): I-580 E → I-205 E → CA-120 E through Manteca, Oakdale, Groveland. Climbs to 6,000+ ft at Priest Grade. Closes November-May at Tioga Pass (9,943 ft)—irrelevant for valley access but affects high-country plans. Steep grades, heavy truck traffic.
CA-140 East "All-Weather Highway" (~4 hrs): I-580 E → I-5 N → CA-140 E through Merced, Mariposa. Lower elevation (max ~2,000 ft), stays open year-round. Scenic Merced River canyon. Preferred in winter/spring.
I-580 E → CA-120 E via Sonora Pass: Longer, higher, seasonal—rarely used for valley access.
Critical factors: Summer weekends: add 1-2 hrs for valley traffic/parking. Winter: chains required (Nov-Mar), check Caltrans. Entrance: $35/vehicle. Fuel: fill before park (prices 50%+ higher inside). Rest stops: Oakdale (CA-120), Mariposa (CA-140).
Real-time: Check NPS Yosemite website, Caltrans QuickMap, YARTS for transit alternatives. The drive is half the experience—Sierra foothills gold country, oak savannas, then dramatic granite entrance.