Long-Term Investing: Railway Stocks Are Struggling Now, but They Actually Have a Tonne of Potential

Both of the TSX railway stocks are currently wonderful companies trading at a fair price.

Key Points
  • Canada’s two railway stocks are facing weak sentiment, but their wide moats and cash flows remain intact.
  • Both trade at earnings yields well above the 10-year Government of Canada bond yield, which improves their long-term appeal.
  • For patient investors willing to think in decades, not quarters, today’s prices look far more reasonable than they have in years.

One of the things I’m always on the lookout for as a long-term investor is a wide-moat business that normally trades at a premium but, for one reason or another, is priced more reasonably.

I’m not talking about screaming “undervalued” opportunities. Truly great businesses are rarely cheap. But when you can buy them at a valuation that makes sense relative to their cash flows, balance sheets, and long-term earning power, that’s usually worth paying attention to. On the TSX, there are really only two companies that fit this description for me right now: Canada’s two railways.

Both stocks have struggled, sentiment is lukewarm, and yet the fundamentals remain largely intact. Here’s why I think Canadian railway stocks could be a solid long-term bet heading into 2026.

rail train

Image source: Getty Images

Canadian National Railway

Canadian National Railway (TSX: CNR) hasn’t been an exciting stock recently. Year to date, the shares are down 8.8% on a price basis, not accounting for dividends, and performance over the past five years has been underwhelming compared to the broader market.

But when you look under the hood, very little appears broken. Operating and profit margins remain firmly in the double digits. Return on equity sits around 22%, which tells you management is still deploying capital efficiently. On a trailing 12-month basis, levered free cash flow is roughly $2.9 billion. This business continues to generate an enormous amount of cash.

Freight is still moving across the country. Tariffs and macro noise may impact volumes at the margin, but no one is building another coast-to-coast railway in Canada. The barriers to entry here are massive: land access, regulation, capital intensity, and decades of infrastructure build-out. In 2026, those barriers are even more insurmountable than they were in the past.

From a valuation standpoint, the stock now trades at 16.37 times forward earnings. If you flip that number around, you get an earnings yield of 6.1%. I like to compare that to the Government of Canada 10-year bond yield, which is currently around 3.4%. As a long-term investor willing to hold for 10 years or more, you’re being compensated with an earnings yield meaningfully above risk-free government bonds.

If you were happy buying this stock five years ago at a higher multiple, it’s worth asking yourself why you’d avoid it today when the underlying business hasn’t materially changed. The rails didn’t disappear, and neither did the moat.

Canadian Pacific Kansas City

Canadian Pacific Kansas City (TSX: CP) is the natural companion to CNR. The business shares many of the same characteristics: double-digit margins, strong returns on equity, and robust free cash flow generation.

The main difference today is that CP is still digesting its acquisition of Kansas City Southern. That integration has created some noise and uncertainty, but strategically it also gives CP something unique: a rail network that connects Canada, the U.S., and Mexico. That North American footprint is a long-term asset, even if it makes the company more sensitive to trade headlines and tariff fears in the near term.

Valuation is starting to look more reasonable here as well. CP trades at about 19 times forward earnings, which works out to an earnings yield of roughly 5.3%. Compared to the 10-year Government of Canada bond yield of about 3.4%, that’s still a meaningful premium for owning a dominant, irreplaceable infrastructure asset.

The stock has been hit harder by fears around trade and integration risk, which is precisely why it’s starting to get interesting. If you’re a stock picker with a long time horizon, buying into that fear can make sense when the core economics of the business remain strong.

Fool contributor Tony Dong has no position in any of the stocks mentioned. The Motley Fool recommends Canadian National Railway and Canadian Pacific Kansas City. The Motley Fool has a disclosure policy.

More on Dividend Stocks

customer uses bank ATM
Dividend Stocks

Withdrew $10,000 From Your TFSA This Year? Here’s How to Put It Back to Work in January

January gives a Canadian who withdrew $10,000 in 2026 a fresh chance to rebuild a TFSA and put long-term money…

Read more »

money goes up and down in balance
Dividend Stocks

Automate Your Savings With This Set-and-Forget Strategy for Building a Cash Cushion

Learn how a set-and-forget approach can help you invest wisely and build wealth with minimal effort and ongoing monitoring.

Read more »

a person drops a microphone
Dividend Stocks

3 TSX Stocks in Pole Position to Benefit Since Carney’s Investing Summit

Three summit participants could earn fees, investment income or lending spreads as Canadian projects move toward funding.

Read more »

Blocks conceptualizing Canada's Tax Free Savings Account
Dividend Stocks

How I’d Structure My $20,000 TFSA for Constant Income

A $20,000 TFSA can pay about $1,000 a year. See how Enbridge, Brookfield and Whitecap could build constant income, plus…

Read more »

investor looks at volatility chart
Dividend Stocks

10 Years From Now, You’ll Be Glad You Bought These Magnificent TSX Dividend Stocks

These dividend stocks are solid for buying and holding, especially if you're able to grab shares on meaningful market pullbacks.

Read more »

Business doodle about dividends on chalkboard
Dividend Stocks

How Long Does It Take to Build a Dividend Portfolio That Generates Meaningful Income? 

Learn the various ways to achieve meaningful income that meets your basic and discretionary needs without taking on debt.

Read more »

House models and one with REIT real estate investment trust.
Dividend Stocks

TFSA “Pension”: 3 Top High-Yield Dividend Stocks to Own for a Reliable Retirement Income

Build a reliable TFSA retirement pension with three discounted Canadian monthly dividend stocks paying passive income streams that yield up…

Read more »

arrows hit bullseye on target
Dividend Stocks

How to Target $150 a Month With $45,000 in Canadian Dividend Stocks

Three different dividend payers can cover a $150 monthly budget without each needing to yield 4%.

Read more »