Ever wonder why Los Angeles turned into the giant it is today while San Diego stayed a lot smaller? A big part of the answer goes back about 150 years, to a railroad race San Diego really wanted to win. Spoiler: LA got the railroad, and that one decision shaped both cities for generations.

Here's the quick history, in plain English.

San Diego was supposed to be the end of the line

In 1871, Congress chartered the Texas and Pacific Railway to build a southern transcontinental line from Marshall, Texas all the way to San Diego. For a little harbor town, that was massive. A direct rail link to the rest of the country could have made San Diego the main port of Southern California.

It never happened. The Texas and Pacific couldn't finance the build to San Diego, and its tracks never made it west of El Paso. Meanwhile, the Southern Pacific was building its own line east out of California, using land the Texas and Pacific had surveyed. The two lines ended up meeting at Sierra Blanca, Texas in 1881, and San Diego was left out.

LA was already connected

While San Diego was waiting, Los Angeles was getting plugged in. On September 5, 1876, Southern Pacific drove a golden spike at Lang Station in Soledad Canyon (near today's Santa Clarita), linking Los Angeles to San Francisco by rail for the first time. Fun fact: that spot just celebrated its 150th anniversary in September 2026.

That's the core of what I talked about in my Reel. LA had the infrastructure first, more people using it, money behind it and the political pull. San Diego had a great harbor and a lot of potential, but in deals like this, the city that's ready usually wins.

San Diego finally got a train, then lost it again

San Diego didn't give up. The California Southern Railroad, backed by the Santa Fe, started building north from National City in 1881. Here's the timeline, based on the San Diego History Center:

  • 1881: Shops, a roundhouse and rail yards go up in National City.

  • 1882: The line reaches Temecula, running through Temecula Canyon.

  • 1884: Winter storms wash out the Temecula Canyon tracks. Service through the canyon doesn't resume until early 1885.

  • November 1885: The last spike is driven and San Diego finally has a transcontinental connection.

For a minute, it looked like San Diego had won after all. But the Santa Fe was focused on the much bigger Los Angeles market. In 1887, the National City shops were downgraded and the work moved to San Bernardino. In 1888, the coastal "Surf Line" opened, bypassing Temecula Canyon, and the canyon route became a branch line. San Diego was officially at the end of a spur instead of the start of a main line.

Spreckels and the "Impossible Railroad"

San Diego got one more shot thanks to John D. Spreckels, who built the San Diego and Arizona Railway to finally give the city its own direct route east. Engineers nicknamed it "The Impossible Railroad" because of the brutal terrain. The Carrizo Gorge stretch alone had 17 tunnels in about 11 miles. It was finished in November 1919 and cost around $18 million, roughly three times the original estimate.

It was an incredible feat, but by then Los Angeles was way ahead, and San Diego was never going to catch up as a rail hub.

So was losing actually a bad thing?

Honestly, a lot of locals think it worked out. San Diego grew slower, kept more of its small town feel and its coastline, and today it's one of the best places to live in the country. I'll let you decide if we "lost."

And trains are still a big part of the story here. The $124 million double track project in North County is fixing a major bottleneck on the coastal line, and there's the ongoing push for an airport train connection.

Good to know

  • See the history in person: The Santa Fe Depot at 1050 Kettner Boulevard downtown opened in March 1915 for the Panama California Exposition. Those twin domed towers are still the southern end of the Amtrak Pacific Surfliner and the COASTER, and the Trolley stops right there.

  • Ride the old Spreckels line: The Pacific Southwest Railway Museum in Campo runs weekend train rides on the historic San Diego and Arizona Railway through the backcountry. Check psrm.org for current times and prices before you go.

  • Learn more: The San Diego History Center in Balboa Park has tons of local history, including the railroad era.

  • Road trip idea: Pair the Campo ride with a backcountry day trip from my San Diego things to do guide.

So what do you think? Would San Diego be better or worse today if we had gotten the railroad instead of LA?

Want more San Diego like this?

Grab my free San Diego Insider Guide. It's got my favorite spots, the best places to eat and so much more, and you'll get added to my free San Diego newsletter. Get it free below!

About the author: Danny Quesada is a San Diego local and the founder of Launch Social, a San Diego social media marketing agency.

Keep Reading