Better Buy: Canadian Pacific Railway Stock or Canadian National Railway?

Both CNR and CP are excellent long-term buy-and-hold stocks. Here’s how I would invest in them.

| More on:
rail train

Image source: Getty Images

While I usually find myself at odds with Canada’s bank and telecom oligopolies — thanks to their poor customer service, lack of choice, and noncompetitive fees — I must admit that I have a soft spot for Canadian National Railway (TSX:CNR) and Canadian Pacific Railway (TSX:CP) duopoly.

Maybe it’s because their operations don’t directly affect me as a consumer in the way that banks and telecoms do. Regardless, what really piques my interest is how well this duopoly can work for me as an investor.

Beyond the appealing financial metrics these companies often exhibit, the duopoly situation grants CNR and CP a rare trait that most companies can only dream of — a wide economic moat.

Let’s break down what that economic moat actually means, how it serves as a protective barrier against competition, and why it makes both of these railway stocks compelling investment options.

What the heck is a wide moat?

Warren Buffett, the Oracle of Omaha himself, has frequently emphasized the importance of an “economic moat” when selecting investments.

He has been quoted as saying, “In business, I look for economic castles protected by unbreachable moats.” But what exactly does this metaphor mean in the context of investing?

In simple terms, an economic moat refers to a company’s sustainable competitive advantage that protects it from competition, much like how a medieval castle’s moat protects it from invading armies.

This moat could be in the form of brand recognition, cost advantages, regulatory advantages, or, as in the case of CNR and CP, control over an industry with high barriers to entry.

For example, consider a small lemonade stand with a secret recipe that makes it incredibly popular. If it’s the only stand that knows how to make this special lemonade, it has a “wide moat” because other lemonade stands can’t easily replicate its success and thus steal its customers and market share.

Similarly, CNR and CP operate in an environment where it would be exceedingly difficult and costly for a new competitor to build a rail network and gain the necessary regulatory approvals.

In short, this wide moat acts as a protective barrier, helping the company maintain its market share and pricing power, which ultimately benefits investors.

The effects of a wide moat

For long-term investors, a company with a wide moat offers several key benefits that contribute to more stable and potentially higher returns.

One of the most immediate advantages is pricing power. A strong competitive edge allows these companies to set prices without losing customers to competitors, often leading to higher profit margins.

Case in point: CP currently has an incredibly high operating margin of 41.51%, while CNR sits at 46.59%. Both companies possess a return on equity (ROE) of 11.22% and 24.97%, respectively, signifying that both companies are efficiently using their shareholders’ equity to generate profits.

Finally, take a look at the backtest below, which shows CP and CNR outperforming the benchmark S&P/TSX 60 Index from 2002 to the present.

Normally, I don’t feel comfortable picking individual stocks, but I make an exception for wide-moat companies like CP and CNR. In this case, I would simply split the difference and buy both sides of the duopoly.

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 Investing

The letters AI glowing on a circuit board processor.
Tech Stocks

Meet the Canadian Semiconductor Stock Up 150% This Year

Given its healthy growth outlook and reasonable valuation, 5N Plus would be a compelling buy at these levels.

Read more »

top TSX stocks to buy
Stocks for Beginners

Top Canadian Stocks to Buy With $5,000 in 2026

If you are looking to invest $5,000 in 2026, these top Canadian stocks stand out for their solid momentum, financial…

Read more »

Dam of hydroelectric power plant in Canadian Rockies
Energy Stocks

2 Stocks Worth Buying and Holding in a TFSA Right Now

Given their regulated business model, visible growth trajectory, and reliable income stream, these two Canadian stocks are ideal for your…

Read more »

money goes up and down in balance
Tech Stocks

1 Magnificent Canadian Stock Down 26% to Buy and Hold Forever

Lightspeed isn’t the pandemic high-flyer anymore and that reset may be exactly what gives patient investors a better-risk, better-price entry…

Read more »

A worker drinks out of a mug in an office.
Dividend Stocks

2 Magnificent TSX Dividend Stocks Down 35% to Buy and Hold Forever

These two top TSX dividend stocks are both high-quality businesses and trading unbelievably cheap, making them two of the best…

Read more »

happy woman throws cash
Dividend Stocks

This 7.5% Dividend Stock Sends Cash to Investors Every Single Month

If you want TFSA-friendly income you can actually feel each month, this beaten-down REIT offers a high yield while it…

Read more »

dividends grow over time
Dividend Stocks

1 Smart Buy-and-Hold Canadian Stock

This ultra-reliable Canadian stock is the perfect business to buy now and hold in your portfolio for decades to come.

Read more »

man touches brain to show a good idea
Stocks for Beginners

The No-Brainer Canadian Stocks I’d Buy With $5,000 Right Now

Explore promising Canadian stocks to buy now. Invest $5,000 wisely for new opportunities and growth in 2027.

Read more »