2 TSX Stocks to Buy in 2024 and Hold for the Next 10 Years

These two attractive TSX stocks could outperform the broader market by a huge margin in the next decade.

| More on:
four people hold happy emoji masks

Source: Getty Images

The TSX Composite Index rallied by more than 8% in 2023, attracting the attention of many new investors towards the stock market. However, if you’re new to the stock market and eyeing the Toronto Stock Exchange with dreams of quick, substantial gains, you may want to rethink your strategy. While the allure of quick returns is definitely tempting, this path is fraught with big risks.

It’s important for new investors to understand that a long-term investment approach with the well-proven Foolish Investing Philosophy is not just safer but potentially more rewarding. Focusing on the bigger picture and investing with patience could help you benefit from emerging market trends in the long run. That said, let me quickly highlight two of the best TSX stocks to buy in 2024 that can help you earn some eye-popping returns if you hold them for at least the next 10 years.

Lightspeed stock

Lightspeed Commerce (TSX:LSPD) is a fundamentally strong Canadian growth stock that you can consider buying in 2024 to hold for the long term. After rallying by 24.2% in the last year, LSPD stock currently trades at $24.66 per share with a market cap of $3.8 billion.

This Montréal-based tech firm focuses on offering a complete commerce service that makes it easier for small- and medium-sized merchants to grow their business, manage both online and store sales, and improve customer service. Their system also helps merchants handle payments across the globe and connect with suppliers.

In the four years between its fiscal year 2019 and 2023 (ended in March 2023), Lightspeed’s total revenue has jumped 843%. During these four years, its adjusted annual net loss reduced from US$5.53 per share to US$0.17 per share, as it continues to inch closer to sustainable profitability.

The consistently increasing demand for its one-stop commerce services and its focus on expanding its global presence can help Lightspeed’s financials grow at a fast pace, making it a very attractive TSX stock to buy in 2024 and hold for years to come.

OpenText stock

OpenText (TSX:OTEX) could be another amazing Canadian tech firm to invest in 2024. This Waterloo-based company currently has a market cap of $14.6 billion as its stock trades at $53.63 per share after advancing by 31.3% in the last year. OTEX specializes in information management through its software and services, and its client base includes public and private businesses of all sizes and individuals globally.

Interestingly, OpenText is also among a handful of tech companies that reward their investors with decent dividends. At the current market price, this TSX stock offers an annualized dividend yield of 2.5% and distributes its dividend payouts every quarter.

In the five years between its fiscal year 2018 and 2023 (ended in June 2023), OpenText’s sales have grown positively by 59.3% despite facing pandemic-driven operational challenges and other macroeconomic worries in between. During these five years, its adjusted earnings also improved by 28.5%. Another key factor that makes OpenText’s business model reliable and its financial growth trends predictable is the strong share of annual recurring revenue in its total sales. In its fiscal year 2023, annual recurring revenue made up about 81% of its total revenue.

Besides that, OpenText continues to utilize artificial intelligence to make its software solutions more attractive to help its customers make decisions faster with more insights and improved visibility. Given that, I wouldn’t be surprised if this top TSX stock continues to outperform the broader market by a huge margin in the next decade.

The Motley Fool recommends Lightspeed Commerce. The Motley Fool has a disclosure policy. Fool contributor Jitendra Parashar has no position in any of the stocks mentioned.

More on Tech Stocks

voice-recognition-talking-to-a-smartphone
Tech Stocks

Outlook for Telus Stock in 2026

Down almost 50% from all-time highs, Telus is a TSX dividend stock that offers you a yield of over 9%…

Read more »

3 colorful arrows racing straight up on a black background.
Tech Stocks

This Canadian Stock Could Rule Them All in 2026

Constellation Software’s pullback could be a rare chance to buy a proven Canadian compounder before its next growth leg.

Read more »

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

The Best Canadian AI Stocks to Buy for 2026

Celestica and CMG are two AI-powered Canadian tech stocks that are poised to deliver market-beating returns to shareholders.

Read more »

AI image of a face with chips
Tech Stocks

Outlook for Kraken Robotics Stock in 2026

The stock is already up 36% in 2026. Could the new $35M deal signal a massive year ahead for Kraken…

Read more »

Young adult concentrates on laptop screen
Tech Stocks

Where Will Constellation Software Stock Be in 5 Years?

Down 35% from all-time highs, Constellation Software is a TSX tech stock that offers significant upside potential to investors.

Read more »

top canadian stocks january 2026
Tech Stocks

Just Released: 5 Top Motley Fool Stocks to Buy in January 2026

Stock Advisor Canada is kicking off 2026 with our newest collection of top stocks to buy this month.

Read more »

hot air balloon in a blue sky
Tech Stocks

1 Soaring Stock I’d Buy Now With No Hesitation

Looking for a soaring stock with real momentum? Shopify’s growth, profitability, and AI expansion make it a compelling buy right…

Read more »

visualization of a digital brain
Tech Stocks

2 Top Canadian AI Stocks to Buy in January

Canadian AI stocks such as Docebo and Kinaxis offer significant upside potential to shareholders in January 2026.

Read more »