By air: Fresno Yosemite International (FAT) is about 1.5–2.5 hours by car from the park's south entrance on Highway 41. San Francisco (SFO), Oakland (OAK) and Sacramento (SMF) are 3.5–4.5 hours away. In summer, flights to Mammoth Lakes on the east side may be an option for the Tioga Road.
By train and bus: Amtrak's San Joaquins trains run to Merced, where YARTS buses continue into Yosemite Valley via Highway 140; YARTS also runs seasonal routes from Fresno, Mammoth Lakes and Sonora. Check timetables.
By road: four main approaches — Highway 41 from Fresno (South Entrance, near Wawona and the Mariposa Grove), Highway 140 from Merced and Mariposa (Arch Rock Entrance, open most of the year), Highway 120 from the Bay Area (Big Oak Flat Entrance) and the Tioga Road (Highway 120 east) from Lee Vining, which closes with snow each winter.
Check the National Park Service (nps.gov) for current entry reservations, road status and closures before you go.