AirOrSeaTravel is an independent guide. Bookings on this page are completed on the provider’s own website. How we are funded.

AirOrSeaTravel — find your way there
San Francisco · United States

Trains to San Francisco

Stations on record, the cities within reach by rail, and estimated times from distance.

Wikidata lists 2 railway stations in San Francisco: San Francisco Transbay Terminal, Third and Townsend Depot. Which one a service uses is set by the operator, so check the station name on the ticket, not just the city.

Rail routes from San Francisco

Trains from San Francisco: distances and estimated journey times
RouteCountryDistanceEstimated time
San Francisco to FremontUnited States46 km (28 mi)about 37 min
San Francisco to AntiochUnited States60 km (37 mi)about 48 min
San Francisco to Santa ClaraUnited States62 km (39 mi)about 50 min
San Francisco to FairfieldUnited States62 km (39 mi)about 51 min
San Francisco to San JoseUnited States67 km (42 mi)about 54 min
San Francisco to StocktonUnited States101 km (63 mi)about 1 h 22 min
San Francisco to SacramentoUnited States121 km (75 mi)about 1 h 38 min
San Francisco to ModestoUnited States126 km (78 mi)about 1 h 42 min
San Francisco to SalinasUnited States139 km (87 mi)about 1 h 53 min
San Francisco to RosevilleUnited States147 km (91 mi)about 1 h 59 min
San Francisco to ChicoUnited States223 km (139 mi)about 3 h 1 min
San Francisco to FresnoUnited States261 km (162 mi)about 3 h 32 min
San Francisco to Los AngelesUnited States559 km (347 mi)about 7 h 34 min
San Francisco to TijuanaMexico765 km (476 mi)about 10 h 40 min
San Francisco to PhoenixUnited States1,051 km (653 mi)about 14 h 13 min
San Francisco to San DiegoUnited States737 km (458 mi)about 9 h 59 min
San Francisco to MexicaliMexico853 km (530 mi)about 11 h 53 min
San Francisco to HermosilloMexico1,434 km (891 mi)about 19 h 59 min
San Francisco to SeattleUnited States1,093 km (679 mi)about 14 h 47 min
San Francisco to VancouverCanada1,277 km (794 mi)about 17 h 17 min

Distances are straight-line; road and rail routes run about 15–25% longer. Times are estimates from distance and typical speeds, not timetables.

Where to buy train tickets

AmtrakThe US national operator, and the only place to book most American rail. Fare tiers and refund rights are set at the point of sale, so booking direct matters here.Check times and fares on Amtrak (opens www.amtrak.com in a new tab)
OmioCompares trains, buses and some flights across European operators in one search.Explore train options on Omio (opens www.omio.com in a new tab)
Every link above leaves this site.

We take no bookings for these providers and hold no reservation with them. The provider you choose handles payment, confirmation, changes and refunds. How that works.

Common questions

Which railway stations does San Francisco have?

San Francisco Transbay Terminal, Third and Townsend Depot.

How are the journey times on this page worked out?

From straight-line distance and typical speeds for each mode, so they are estimates for planning, not timetables. Road and rail routes run 15–25% longer than the straight line.

Where these facts come from

  • GeoNames (CC BY 4.0): population, elevation, time zone, postal codes
  • Wikidata (CC0): area, sister cities, visitor numbers, heritage listings, stations and ports
  • OurAirports (public domain): airports, runways
  • Natural Earth (public domain): map outlines

Data compiled 13 September 2026. Hotel figures are from our booking partner’s catalogue on that date. Journey times on this page are estimates from distance, not timetables; check the operator before you rely on one.