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:

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

moving into apartment
Tech Stocks

If I Could Only Buy and Hold a Single Stock, This Would Be It

Looking for the best stock to buy and hold? Discover why Shopify is a long-term winner in the e-commerce space.

Read more »

looking backward in car mirror
Tech Stocks

1 Magnificent Canadian Tech Stock Down 63% to Buy and Hold for Decades

Gatekeeper Systems stock is down 63% from its highs, but the AI-powered transit safety company has major tailwinds. Here's why…

Read more »

gold prices rise and fall
Tech Stocks

The Only 3 Stocks I’d Consider Buying in March 2026

March 2026 presents unique stock opportunities amid AI spending and geopolitical tensions. Learn which stocks to watch.

Read more »

young adult uses credit card to shop online
Tech Stocks

Shopify Stock Is Still 35% Cheaper Today, And It’s Still a Forever Hold

Shopify is no longer a hype-only story. The business is bigger -- and generating meaningful cash flow.

Read more »

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

2 Canadian AI Stocks Poised for Significant Gains

These two Canadian stocks are showing real strength in the AI space, and they’ve got the numbers to back it…

Read more »

Dividend Stocks

The Best Canadian Stocks to Own During a Trade War

In the face of tariffs, Canadian stocks with scale, pricing power, or defence-linked demand can hold up better than most.

Read more »

young people dance to exercise
Dividend Stocks

Canadians: How Much Should Be in a 20-Year-Old’s TFSA to Retire?

At 20, having any TFSA savings matters more than the size, because consistency is what compounds.

Read more »

gold prices rise and fall
Tech Stocks

This Aggressive Savings Strategy Can Help Make Up for Lost Time

Maximize your wealth with an aggressive savings strategy. Learn how to invest effectively and recover lost time in the market.

Read more »