Investors: Should You Buy CNR or CP Stock Right Now?

These two railway companies have long been superior investments. But one seem to slightly edge out the other.

Canadian railways have long been a cornerstone of the country’s economy, offering steady returns for investors. Railways are integral to North America’s supply chain, moving over $250 billion worth of goods annually. Not only are Canadian rail companies highly efficient, but they also consistently generate significant cash flow, thereby making them strong contenders for long-term investment. But which is the better buy?

A train passes Morant's curve in Banff National Park in the Canadian Rockies.

Source: Getty Images

CNR stock

Canadian National Railway (TSX: CNR) is one of the largest railway companies in Canada and is a strong long-term investment. With a market cap of $98.49 billion and a trailing price-to-earnings (P/E) ratio of 18.58, CNR stock has established itself as a stable player in the market. Despite recent fluctuations in earnings, the company’s operating margin of 40.42% and profit margin of 32.02% signal efficient management and robust profitability. Over the last quarter, CNR stock reported a 6.70% revenue growth year over year, indicating solid business momentum. The company’s focus on efficiency and strategic expansion makes it a compelling buy for long-term investors. In the words of CNR’s chief executive officer (CEO) Tracy Robinson, “Our disciplined approach to growth and efficiency has positioned us well for future opportunities.”

Earnings momentum for CNR stock has been strong, with net income reaching $5.46 billion over the trailing 12 months and a quarterly revenue growth rate of 6.70% year over year. While there was a minor dip in quarterly earnings growth, down 4.5%, CNR stock continues to generate significant free cash flow, reporting $2.55 billion in levered free cash flow. CNR’s consistent dividend payouts, with a forward annual dividend rate of $3.38 at writing, make it attractive for dividend investors as well. Despite short-term fluctuations, its long-term growth prospects remain solid due to its essential role in transportation infrastructure.

CP stock

For Canadian Pacific Kansas City (TSX: CP), another leading railway company on the TSX, the case for investment is equally strong. With a market cap of $104.87 billion and a forward P/E of 21.79, CP has continued to perform well despite the challenges in the global economy. The company has consistently posted strong revenue growth, with a quarterly year-over-year revenue increase of 13.50%. CP’s operating margin stands at 38.38%, reflecting its efficient operations and strong market position. Its history of growth and commitment to long-term success make it a standout investment option in the transportation sector.

Although CP saw a 31.6% decline in quarterly earnings growth year over year, its ability to maintain robust revenue and free cash flow generation demonstrates resilience. CP reported earnings before interest, taxes, depreciation, and amortization (EBITDA) of $7.33 billion and levered free cash flow of $2.04 billion, thus indicating it can comfortably handle debt and finance growth initiatives. CP also offers a dividend yield of 0.68%, providing a reliable income stream for investors. As CP’s CEO Keith Creel stated, “Our strategy of disciplined growth, operational excellence, and shareholder returns positions us well for the future.”

Foolish takeaway

Both CNR stock and CP are strong long-term investment options for Canadian investors. These companies are deeply embedded in the economic framework of North America, offering a reliable mix of income through dividends and capital appreciation. The consistent earnings momentum and ability to navigate economic challenges make them safe and valuable holdings for the next decade. Whether you’re building a portfolio or looking to diversify, the stability and growth potential of Canada’s rail sector are hard to ignore.

When comparing both, however, CNR stock edges out as the better buy for long-term investors. With a stronger operating margin and a more attractive dividend, CNR stock presents a combination of stable income and solid growth potential. While both companies have robust revenue streams, CNR’s higher efficiency and dividend reliability make it a slightly safer bet for those focused on long-term returns.

Fool contributor Amy Legate-Wolfe 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

Two seniors walk in the forest
Dividend Stocks

Sun Life Stock Pays 3.3%: How Much to Invest for $100 a Month in Dividends

Sun Life Financial (TSX:SLF) might be a massive bargain after Thursday's vicious plunge as stock markets sold off hard.

Read more »

TFSA (Tax free savings account) acronym on wooden cubes on the background of stacks of coins
Dividend Stocks

How to Turn Your TFSA Into $1,000 a Month in Tax-Free Income

Build toward $1,000 a month in tax-free income with a TFSA. See how Enbridge, Scotiabank and ZWC could help, and…

Read more »

customer fills up car with gasoline
Dividend Stocks

How Much Emergency Money Do Canadians Actually Need?

A safety fund equivalent to 3 to 6 months of living expenses is generally the baseline buffer that Canadians would…

Read more »

woman holding steering wheel is nervous about the future
Dividend Stocks

Still Up Double Digits This Year: Should You Still Invest in TSX Stocks After Thursday’s Dramatic Drop?

The TSX has gained about 136% over the past decade. So, stay invested, dollar‑cost average, and maintain diversification. 

Read more »

Real estate investment concept
Dividend Stocks

Intact Stock: Would I Buy It for Growth, Income, or Both?

Intact’s modest yield makes profitable long-term growth the main attraction, with catastrophe losses putting the next purchase to a test.

Read more »

Data center woman holding laptop
Dividend Stocks

3 Canadian Data Centre Stocks to Buy Now, Ranked

Three Canadian stocks offer strategic exposure to the AI buildout and in-demand data centres.

Read more »

hiker with backpack in the mountains
Dividend Stocks

2 Top Canadian Dividend Stocks for $1,850 in Annual Passive Income

With reliable cash flows, high dividend yields, and strong growth prospects, these two Canadian stocks suit income-seeking investors.

Read more »

people sit in two wooden beach chairs facing the Caribbean ocean holding drinks and making a toast
Dividend Stocks

Is Manulife Worth Buying for Its Dividend for Retirement Income?

Manulife Financial (TSX:MFC) stock looks like a bargain buy for retirees seeking strong, growing dividends.

Read more »