2 Top Tech Stocks to Buy in a Recession

Established tech companies like Constellation Software (TSX:CSU) fare better during recessions when compared to more speculative tech stocks.

| More on:
A worker uses the cloud for paperless work. tech

Source: Getty Images

Would you buy tech stocks in a recession? It sounds like a risky prospect, but some tech stocks have been good recession buys in recent decades. In March 2020, when the COVID-19 pandemic hit North America and caused massive lockdowns, tech stocks were among the first to take a hit. However, they later recovered faster and better than other stocks whose fundamentals were affected by retail closures. Also, tech stocks tumbled more than any other category of stocks in the 2000-2002 dot com bubble but later recovered in a dramatic way, delivering an 810% return in just two decades.

In this article I will explore two tech stocks that could be good buys in today’s tech-led bear market and possible recession.

Constellation Software

Constellation Software (TSX:CSU) is a Canadian technology company founded by Mark Leonard. Leonard’s goal is to be the “best buyer of tech companies in the world.” So far, he has proven himself to be a decent candidate for that title. Since it went public in 2006, CSU has acquired hundreds of medium-sized companies, and its stock has rallied 11,543%. It’s been an incredible run.

What makes Constellation Software such a good recession buy specifically?

It comes down to CSU’s business model. Or rather, the individual business models of the companies in its portfolio. A lot of tech companies sell discretionary goods (i.e., “pleasure goods”) to consumers, or ad space to companies. Both of these types of services tend to see their sales fall during recessions. With Constellation’s companies, it’s just the opposite.

Constellation buys enterprise companies that sell crucial software to businesses and government agencies. Police services, government departments, and local businesses all depend on CSU’s portfolio companies. These are essential companies and organizations that won’t shut down just because there’s a recession. So, it should come as no surprise that CSU’s most recent earnings release beat expectations, with 33% revenue growth and 28% earnings growth.

Apple

Turning now to the United States, we have Apple (NASDAQ:AAPL). Apple is an extremely resilient company that has successfully weathered many a recession over the years. In 2008, when the U.S. financial system almost collapsed, Apple’s sales and earnings both increased by high double digits. It was a similar story in 2020, when the COVID-19 pandemic caused a recession. It doesn’t seem to matter what happens in the economy, people just love buying Apple’s products.

Last quarter, Apple delivered a particularly strong showing, with 8% revenue growth and a modest increase in earnings. Most other tech companies had weak revenue growth and negative earnings growth in the same period. Apple’s iPhone 14 launch was a big success, driving a wave of purchases that propelled Apple’s profits to new heights. This makes Apple a resilient tech stock that’s worthy of being bought, even in the midst of severe recessions.

Foolish takeaway

Recessions are often considered scary, and they are scary if you’re holding low-quality assets. Unprofitable companies sometimes go bankrupt as a result of recessions. It’s just the opposite with quality stocks. Because they are resilient, strong, and profitable, they gain from the turbulence that makes others go broke.

Fool contributor Andrew Button has positions in Apple. The Motley Fool recommends Apple and Constellation Software. The Motley Fool has a disclosure policy.

More on Tech Stocks

AI concept person in profile
Tech Stocks

3 of the Best Canadian Tech Stocks Out There

These three Canadian tech stocks could be among the best global options for those seeking growth at a reasonable price…

Read more »

Digital background depicting innovative technologies in (AI) artificial systems, neural interfaces and internet machine learning technologies
Tech Stocks

I’d Buy This Tech Stock on the Pullback

Celestica (TSX:CLS) stock looks tempting while it's down, given its AI tailwinds in play.

Read more »

AI concept person in profile
Tech Stocks

1 Oversold TSX Tech Stock Down 23% to Buy Now

This oversold Canadian tech name could be a rare chance to buy a global, AI-powered info platform before sentiment snaps…

Read more »

a person watches a downward arrow crash through the floor
Tech Stocks

Have a Few Duds? How to Be Smart About Investment Losses (Tax-Loss Strategies for Canadians)

Tax-loss selling can help Canadians offset capital gains in non-registered accounts, but each underperforming stock should be evaluated carefully before…

Read more »

AI concept person in profile
Tech Stocks

Tesla vs. Alphabet: Which Is the Better AI Stock for 2026?

Both stocks have delivered good returns recently. But only one looks like a good bet going into 2026.

Read more »

A child pretends to blast off into space.
Dividend Stocks

2 Canadian Stocks to Buy for Lifetime Income

Two under‑the‑radar Canadian plays pair mission‑critical growth with paycheque‑like income you can hold for decades.

Read more »

four people hold happy emoji masks
Tech Stocks

5.9% Dividend Yield! I’m Buying This TSX Stock and Holding for Decades

Down almost 75% from all-time highs, Enghouse stock offers significant upside potential and a tasty dividend yield.

Read more »

chip glows with a blue AI
Tech Stocks

How to Invest in Canadian AI Stocks for Long-Term Gains

Investing in AI stocks could be the key to capitalizing on the next transformative technological wave. They can generate long-term…

Read more »