Blog
Silicon Valley and Stanford by Caltrain
How to ride Caltrain from 4th and King down the Peninsula to Stanford, Mountain View and San Jose, with the history of Silicon Valley at each stop.
You will not find Silicon Valley on a map. It is a name for a string of cities around the southern end of San Francisco Bay, and the cheapest way to see it from the city is the train down the Peninsula. Caltrain starts at 4th and King Streets, a few blocks from Oracle Park, and runs south through San Mateo and Santa Clara counties on tracks laid in the 1860s. Along the line sit the campuses, garages and museums where much of the modern computer industry was born. A day by rail explains the geography of that industry: the university in the middle, the research labs that grew from it and the corporate campuses that followed.
The railroad itself
Caltrain is the Peninsula commuter railroad. Its northern end is the 4th and King Street station in San Francisco, and the southern end is Tamien station in San Jose, with weekday rush-hour service continuing to Gilroy. The line is 77.2 miles long and has 30 stations, with major stops at San Francisco, Millbrae, San Mateo, Redwood City, Palo Alto, Mountain View, Sunnyvale, Santa Clara and San Jose Diridon.
The history runs deep. The San Francisco and San Jose Railroad built the original line in 1863, and the Southern Pacific acquired it in 1870, which makes this one of the oldest railroad corridors in the West. The Peninsula Corridor Joint Powers Board was formed in 1987 and bought the right of way in 1991, and it oversees the line today. Its member agencies are the transit agencies of San Francisco, San Mateo and Santa Clara counties (San Francisco Municipal Transportation Agency).
Electric trains began running on August 11, 2024, and full electrification between San Francisco and Tamien was completed on September 21, 2024, when diesel trains were retired on that stretch. Diesel trains still run between San Jose and Gilroy. Ridership dropped sharply during the pandemic: average weekday ridership topped 63,000 in 2019 and was about 42,000 in March 2026.
How the service is organized
Caltrain's timetables use numbered service types: 100-series local trains that stop at every station, 400-series limited trains that skip some stops and 500-series express trains that stop at only a few. Weekend trains have their own series. A traveler who wants speed should pick a limited or express train that stops at the intended station, and one who wants a particular small station should pick a local. The timetable pages show which trains stop where, and the website lists the current schedule.
Caltrain accepts Clipper, the regional fare card, and the agency also offers a Clipper START discount for eligible riders. Fares depend on the zones traveled, and they change, so this post gives no figures; the Caltrain site lists the current table (Using BART and Caltrain from San Francisco).
Stop one: Palo Alto and Stanford
Palo Alto is the usual first stop, the station nearest Stanford University and the center of the valley's story. Stanford, officially Leland Stanford Junior University, was founded in 1885 by Leland and Jane Stanford in memory of their only child, who died of typhoid at age 15, and admitted its first students in 1891. The campus covers about 8,180 acres on the Peninsula, adjacent to Palo Alto.
Visitors usually head for the campus's central landmarks:
- The Main Quad and Memorial Church, the historic core of the campus.
- Hoover Tower, the tallest building on the campus, with a view over the grounds.
- The Cantor Arts Center, which holds one of the world's largest collections of work by Auguste Rodin.
- Stanford Stadium, where the football team plays.
The campus is a short bus ride or a longer walk from the Palo Alto station, and the university runs shuttles (the campus's transportation page lists current routes). The campus is open to walk through, and guided tours are offered.
How a university seeded an industry
The valley's story runs through the campus. After World War II, Stanford's dean of engineering, Frederick Terman, encouraged students and faculty to start companies, and in 1951 the university established the Stanford Industrial Park, now called the Stanford Research Park, the first university research park in the world. Stanford leased land to technology firms, and the first tenant was Varian Associates. The model, in which a research university and nearby firms feed each other, is the one other regions have copied.
The best-known origin story is smaller. In 1938, Bill Hewlett and David Packard began working on an audio oscillator in a garage in Palo Alto. The garage is often called the birthplace of Silicon Valley, and it remains a landmark, though it is private property and visitors should respect its limits.
Stop two: Mountain View and the Computer History Museum
Farther south is Mountain View, where one chapter of the story began in 1956, when William Shockley founded Shockley Semiconductor Laboratory. In 1957, eight engineers left to start Fairchild Semiconductor, the group later known as the "traitorous eight," and two of Fairchild's founders, Robert Noyce and Gordon Moore, went on to found Intel. Intel released the 4004 in 1971, the first single-chip microprocessor. The valley got its name the same year: the journalist Don Hoefler used "Silicon Valley U.S.A." as the title of an article in the January 11, 1971 issue of Electronic News, defining the region as the urbanized parts of the San Francisco Peninsula and the Santa Clara Valley, a place named for the silicon in transistors and chips (tech as the city's revenue engine).
The Computer History Museum is at 1401 N. Shoreline Boulevard in Mountain View, a few miles from the Caltrain station. It is open Wednesday through Sunday from 10 a.m. to 5 p.m. and closed Monday and Tuesday, as of November 2026. Its main exhibition, Revolution: The First 2000 Years of Computing, fills 19 galleries and 1,100 objects, and the museum also shows exhibits on artificial intelligence and software. Tickets are sold through the museum's site, and its directions page covers transit options; plan the last leg with a bus, shuttle or ride, since the museum is not at the station.
Mountain View is also home to the Googleplex, the headquarters of Google. Company campuses are generally closed to the public, so a visitor passing through should treat them as a sight to see from the outside (the downtown office market and the budget).
Stops three and four: Sunnyvale to San Jose
Sunnyvale, Santa Clara and San Jose are the larger cities at the southern end of the line. Santa Clara is the site of the 49ers' stadium, Levi's Stadium, which opened in 2014 and is about 38 miles from San Francisco, and San Jose is the largest city in the valley and the third-largest in California, after Los Angeles and San Diego. San Jose Diridon is the major transit hub, where Caltrain meets other rail and bus services, and the end of the line for most day trips (From Candlestick to Levi's Stadium, The Sharks, Earthquakes and Bay FC).
Cupertino, where Apple's headquarters sits, and other well-known campuses are not on the rail line and are reached by bus or car. The valley's geography is why a rail trip shows only part of it: the line follows the older towns along the old Southern Pacific route, and the later tech campuses grew up on the flat land between the line and the bay.
From chips to computers to the web
The valley's industry moved in waves, and the places along the line mark them. The first was components: the transistor and the integrated circuit, born in the Shockley and Fairchild era in Mountain View and Palo Alto and carried to Intel. The second was the personal computer. The Homebrew Computer Club, a hobbyist group, inspired Steve Jobs and Steve Wozniak to build the Apple I and Apple II, and Apple's initial public offering in 1980, reported at $1.3 billion, greatly expanded the supply of venture capital in the region. Apple's headquarters, Apple Park, is in Cupertino. The third was the internet and software: Google's Googleplex is in Mountain View, and many of the largest companies in the world have their headquarters within a few miles of the rail line.
This is the economy that now supplies a large part of the tax base of the entire Bay Area, and the reason the cities on the Peninsula have some of the highest housing costs in the country. A traveler on the morning train will notice commuters going the other way: workers who live in San Francisco and ride south to campuses too far from the city for a bike ride, a pattern with its own name, the reverse commute.
Reading the towns from the window
The train itself is a lesson in how the Peninsula is organized. The line runs along the flat bay side of the Peninsula, with the Santa Cruz Mountains to the west and the bay marshes to the east. Between San Francisco and San Mateo the stations are close together and the towns older and denser. South of Redwood City the landscape opens into broad, low-rise valley floor, with large corporate campuses, parking structures and neighborhoods of single-family houses. The towns near the stations are the older ones, laid out around the railroad in the nineteenth century, and the vast campuses came later.
Millbrae, near the northern end, is where Caltrain meets BART, and BART connects to San Francisco International Airport, so the two systems form a loop for travelers coming from the airport (BART from the Transbay Tube to SFO, Getting from SFO to the city).
A sample day
- Morning train from 4th and King to Palo Alto, choosing a limited or express service if you want speed.
- Stanford. Walk the Main Quad, see Memorial Church and, if time allows, the Cantor Arts Center. Lunch in Palo Alto.
- Train to Mountain View and a ride to the Computer History Museum for the afternoon, remembering that it is closed Monday and Tuesday.
- Return train from Mountain View, checking the last departures. The schedule has fewer trains in the evening and on weekends.
A trip to San Jose adds a southern leg and makes for a longer day. Either way, check the return schedule ahead of time, since a missed last train makes for a long ride home.
Why make the trip
The city's own economy depends on the valley, and that is the pull. The tech industry that drives much of San Francisco's revenue and real-estate market is rooted along this line, and the city's debates over office space and visitor spending are tied to what happens in the industry (The hotel tax and the Moscone Center). A day at Stanford and the museum makes those arguments concrete, by showing the people and places that built an industry. It is also an easy, calm trip, since the train does the driving.