Railroad stocks were responsible for one of the first big investment booms in U.S. history. More than a century later, railroads remain a key part of the economy. Railroad stocks offer ownership in the companies that operate in the railway industry. Over the years, the industry has consolidated to a handful of titans responsible for moving most of the goods around the country and to and from ports.

As shippers and truckers faced disruptions during the COVID-19 pandemic, railroads held up better than most because of their unique 24/7 business model and ability to move a lot of cargo with very few people. And in an age where fuel efficiency is increasingly a priority, railroads are only growing in importance as the transportation solution of choice.
Transportation stocks tend to be cyclical, but rail holds up better than most in an economic downturn because rail companies are larger and better capitalized than trucking companies. Despite high oil prices leading to higher fuel bills, railroads also tend to do well when fuel costs spike because trains can transport a lot more cargo than trucks for each gallon of diesel burned.
For much of the 20th century, the railroad industry was plagued by bankruptcies. But today, thanks to years of consolidation and a recent push known as Precision Scheduled Railroading, the remaining companies are able to get more from their assets. The changes have brought down costs throughout the industry and allowed the companies to return more cash to shareholders.
Five railroad stocks to buy right now
1 - 3

NYSE: UNP
Key Data Points
Union Pacific (UNP +0.26%) is one of two large railroads operating in the western half of the country. Its track connects the ports of Los Angeles and Long Beach with U.S. population centers. Union Pacific has long had a reputation among investors as the best-run U.S. railroad, with vast stretches of track through rural areas and connections to western energy assets.
Like most railroads, Union Pacific pays a dividend, with the stock yielding about 2.1% in late 2025. Over the past five years, the railroad has increased revenue at a compound annual rate of about 2.2%. Union Pacific is also seeking to consolidate the industry, in 2025 announcing plans to combine with Norfolk Southern.
2. Canadian Pacific

NYSE: CNI
Key Data Points
Canadian National (CNI -0.78%) has been public only since the mid-1990s, but the government entity-turned-private company provides access to almost every corner of Canada and a shipping link to the Gulf of Mexico. The railroad has more than 20,000 route miles of track and hauls agricultural products, energy, and containers from coast to coast.
Canadian National offers something that its U.S. counterparts can't match: Access to both the Atlantic and Pacific oceans, as well as all geography in between. The company is well-positioned to benefit from strong demand for Canadian energy assets and the impact of companies bringing their supply chains to North America.

4. CSX
5. Norfolk Southern

NYSE: NSC
Key Data Points
Norfolk Southern (NSC +0.26%) is the other Eastern-focused railroad, operating more than 19,000 track miles across 22 states and the District of Columbia. The company is a major transporter of industrial, agricultural, and consumer products and is a primary source of transportation for coal and auto parts. Norfolk Southern also has an extensive intermodal network in the East that carries containers from ship hulls to truck flatbeds.
It remains to be seen how long Norfolk Southern will be an independent company. The railroad has agreed to a merger with Union Pacific -- although the deal is subject to regulatory review and could take years to close.
One other "railroad company" is a lot more than railroading
Another railroad competes against Union Pacific out West, but it is hidden inside the massive portfolio of Berkshire Hathaway (BRK.A +2.48%)(BRK.B +2.31%). In 2009, Berkshire Hathaway bought full control of Burlington Northern Santa Fe (BNSF), giving it ownership of North America's largest railroad. BNSF operates more than 32,500 miles of track in 28 states and three Canadian provinces.
BNSF's earnings make up only a small fraction of Berkshire Hathaway's overall revenue, and it would be unwise to buy Berkshire solely for its railroad. But for investors looking for exposure to rail in a diversified package, Berkshire Hathaway could be an attractive investment.
Are railroad stocks right for you?
Rail can be plodding, but it does deliver. In a world where the supply chain is under pressure and fuel efficiency is king, rail is well positioned to take a larger part of the transportation pie in the years to come.
- Rail offers the ability to haul a lot more cargo than other transportation methods with just a handful of employees.
- Unlike trucking, rail has a 24/7 operating model.
- Rail companies are reliable dividend payers.
These railroad companies provide a steady stream of income, reliable cash flows, and modest but sustainable revenue growth. Railroad stocks can be an attractive way to diversify for investors looking to keep a growth-focused portfolio on the rails when tech stocks are out of favor.
Risks of investing in railroad stocks
Among the risks investors should consider:
- Rail is cyclical and closely tied to the health of the economy. Railroads have no control over demand for their goods. If the economy is weak and companies are not shipping as many goods, revenue and profitability will fall.
- Rail has exposure to specific commodities, including coal and oil. As demand for those commodities ebbs and flows, so too can revenue.
- Accidents happen, and the company can take a financial and reputational hit from a spill, derailment, or other accident.
Related investing topics
How to invest in railroad stocks
- Open your brokerage app: Log in to your brokerage account where you handle your investments.
- Search for the stock: Enter the ticker or company name into the search bar to bring up the stock's trading page.
- Decide how many shares to buy: Consider your investment goals and how much of your portfolio you want to allocate to this stock.
- Select order type: Choose between a market order to buy at the current price or a limit order to specify the maximum price you're willing to pay.
- Submit your order: Confirm the details and submit your buy order.
- Review your purchase: Check your portfolio to ensure your order was filled as expected and adjust your investment strategy accordingly.






