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.

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.

A worker uses the cloud for paperless work. tech

Source: Getty Images

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

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

Celestica Raised Its 2026 Revenue Outlook to US$20.5 Billion: I Think the Stock Is a Buy Now

Here’s why Celestica’s growing role in AI infrastructure and its recent pullback make it one of the top Canadian stocks…

Read more »

quantum correlation
Tech Stocks

5N Plus Is Down 45% and Looks Cheap: The Price at Which it Becomes a Buy

With expanding production capacity, a robust order backlog, and favourable long-term industry trends, 5N Plus appears well-positioned for sustained growth,…

Read more »

telehealth stocks
Tech Stocks

1 Canadian Stock Down 42% to Buy and Hold Forever

This health tech stock is trading at a discount as it continues to grow and expand a business very much…

Read more »

space ship model takes off
Tech Stocks

Ottawa’s Defence Spending Boom: This Canadian Tech Stock is Already Cashing In

MDA has identifiable government and defence work, but its backlog and profit margins reveal more than the spending headlines.

Read more »

Printing canadian dollar bills on a print machine
Tech Stocks

I’d Keep Shopify for its 18% Free Cash Flow Margin

With an expanding 18% free cash flow margin and massive share buybacks, Shopify proves why it remains a top TSX…

Read more »

quantum computing is still in infancy
Tech Stocks

A Quantum Computing Stock Canadian Investors Can Buy Now

Looking for a quantum computing stock? D-Wave offers exposure to an emerging industry, with paying customers and plenty still to…

Read more »

ETF is short for exchange traded fund, a popular investment choice for Canadians
Tech Stocks

A Handful of Tech Giants Is Carrying Wall Street: Canadians Holding U.S. Index ETFs Should Know How Concentrated They Really Are

XQQ's top 10 holdings make up 46% of the fund. See how concentrated Canada's Nasdaq 100 ETF is and why…

Read more »

man makes the timeout gesture with his hands
Dividend Stocks

Why Dividend Cuts Happen and How to Spot the Warning Signs

Learn why dividend cuts happen and how to spot warning signs, using BCE and TELUS to examine cash flow, debt,…

Read more »