Which stocks are most likely to thrive in a recession? Here's what history shows

Recession-proof stocks must offer something that makes investors want to buy them even when the economy is tanking.

| More on:
A male investor wearing a white shirt and blue suit jacket sits at his desk looking at his laptop with his hands to his chin, waiting in anticipation.

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

We won't officially be in a recession until the National Bureau of Economic Research says so. However, you can nearly throw a rock in any direction and find an economist who thinks a recession is probably on the way.

For example, Johns Hopkins economics professor Steve Hanke stated a month ago that he believes there's at least an 80% chance of a recession. Non-profit research group The Conference Board recently pegged the probability at 96%. The latest Bloomberg economic model projects a 100% chance of a recession by October 2023. 

These forecasts don't guarantee that a recession is coming. But it's possible that the current bear market will continue for a while longer. That doesn't mean that every stock will be a big loser, though. Which stocks are most likely to thrive in a recession? Here's what history shows.

Some bad news

The SPDR Select Sector exchange-traded funds (ETFs) are good proxies for gauging how different sectors perform during recessions. One primary downside of using them is that most of these ETFs have only been around since the late 1990s. However, the U.S. has experienced three recessions during that period, so the SPDR Select Sector ETFs should be able to help in determining which stocks historically thrive in a recession.   

I've got some bad news, though. None of the SPDR Select Sector ETFs performed well in all three recessions that occurred over the past 25 years. 

The Consumer Staples Select Sector SPDR Fund (NYSEMKT: XLP) held up well during the recession of 2001. However, it still slid a little. The Materials Select Sector SPDR ETF (NYSEMKT: XLB) performed similarly during the first recession of this century. (The shaded area in the charts below indicates the period when the U.S. economy was in recession.)

XLP Chart

XLP data by YCharts

However, both of these ETFs plunged during the Great Recession that began in late 2007 and went through mid-2009. So did every other sector ETF -- including (perhaps surprisingly) the Utilities Select Sector SPDR Fund (NYSEMKT: XLU)

XLP Chart

XLP data by YCharts

All of the sector ETFs also tanked during the brief coronavirus-fueled recession of 2020. However, the Consumer Staples Select Sector SPDR Fund didn't fall nearly as much as the others did.

Looking for exceptions

The cold, hard truth is that no category of stocks thrives in all recessions. But it's clear from examining the past that consumer staples stocks tend to perform better than most. Your best bet, though, is to look for exceptions. I'm referring to stocks that have factors working to their advantage so much that investors want to buy them even when the overall economy stinks.

Johnson & Johnson (NYSE: JNJ) stood out as this kind of stock during the recession of 2001. The healthcare giant continued to deliver revenue and earnings growth throughout the period. It completed the $10.5 billion acquisition of ALZA Corporation. The blue-chip stock was also viewed as a safe haven for investors worried about the dot-com bubble bursting.

JNJ Chart

JNJ data by YCharts

Walmart (NYSE: WMT) performed exceptionally well during the Great Recession, especially considering how most stocks plunged. Investors realized that the serious economic downturn would mean that consumers would have to tighten their purse strings. That worked to the advantage of the big discount retailer.

WMT Chart

WMT data by YCharts

Moderna's (NASDAQ: MRNA) share price skyrocketed during the quick recession of 2020. That's not surprising. The company was one of the early leaders in developing coronavirus vaccines. Moderna was a natural choice for investors to flock to during the uncertain times at the beginning of the COVID-19 pandemic.

MRNA Chart

MRNA data by YCharts

Likely outliers in the next recession

Which stocks might be outliers in the next recession, assuming it isn't too far off? I think we can learn from history. 

Walmart could again defy gravity if the U.S. economy enters into a recession. My view is that another discount retailer, Dollar General (NYSE: DG), should do so as well.

Dollar General is outperforming Walmart so far this year. The company continues to build new stores. It's also expanding its frozen and refrigerated goods offerings. Dollar General should benefit as consumers increasingly try to stretch their dollars.

Just as Johnson & Johnson and Moderna performed well during two previous recessions, I suspect another drug stock will do so during the next recession -- Vertex Pharmaceuticals (NASDAQ: VRTX). Vertex's revenue and earnings will almost certainly grow robustly even amid an economic downturn. 

The big biotech also has a pipeline with multiple potential blockbusters likely on the way. Vertex expects to file for regulatory approvals for one of them (gene-editing therapy exa-cel) before year-end. With fears of a recession increasing, I think that Vertex is arguably the best stock to buy right now.  

This article was originally published on Fool.com. All figures quoted in US dollars unless otherwise stated.

Wondering where you should invest $1,000 right now?

When investing expert Scott Phillips has a stock tip, it can pay to listen. After all, the flagship Motley Fool Share Advisor newsletter he has run for over ten years has provided thousands of paying members with stock picks that have doubled, tripled or even more.*

Scott just revealed what he believes could be the 'five best ASX stocks' for investors to buy right now. We believe these stocks are trading at attractive prices and Scott thinks they could be great buys right now...

See The 5 Stocks *Returns as of 30 April 2025

Keith Speights has positions in Dollar General and Vertex Pharmaceuticals. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Vertex Pharmaceuticals and Walmart Inc. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has recommended Johnson & Johnson and Moderna Inc. The Motley Fool Australia has recommended Vertex Pharmaceuticals. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on International Stock News

Delighted adult man, working on a company slogan, on his laptop.
International Stock News

Prediction: This artificial intelligence (AI) stock will be worth $5 trillion in 5 years

Amazon is integrating artificial intelligence (AI) across many areas of its business.

Read more »

Robot humanoid using artificial intelligence on a laptop.
International Stock News

Google must win at artificial intelligence or its search business could crumble. Does this make Alphabet an AI stock to buy?

Here's a deeper look into how Alphabet is faring in the battle for AI supremacy.

Read more »

A delivery man wearing a cap and smiling broadly delivers two boxes stacked on top of each other at the door of a female customer whose back can be seen at the edge of a doorway.
International Stock News

2 "Magnificent Seven" stocks billionaires are buying

The Magnificent Seven includes some of the most profitable and dominant tech companies in the world.

Read more »

Happy man working on his laptop.
International Stock News

Prediction: This artificial intelligence (AI) stock will be the biggest winner of 2025

Artificial intelligence will be one of the biggest growth opportunities this century.

Read more »

Legendary share market investing expert and owner of Berkshire Hathaway Warren Buffett
International Stock News

Could Warren Buffett's last move as Berkshire Hathaway CEO be buying this beaten-down "Magnificent Seven" stock?

Buffett is a value investor at his core, and he doesn't often buy shares of expensive companies.

Read more »

A woman holds a soldering tool as she sits in front of a computer screen while working on the manufacturing of technology equipment in a laboratory environment.
International Stock News

Prediction: This artificial intelligence (AI) stock will be worth $5 trillion in 3 years

Let's take a closer look at the catalysts that could propel this stock toward that valuation.

Read more »

A woman sits at her computer with her chin resting on her hand as she contemplates her next potential investment.
International Stock News

This Artificial Intelligence (AI) chipmaker just got a game-changing boost from Amazon, and Nvidia investors should be paying close attention

Amazon just made a notable investment in Nvidia's top rival.

Read more »

Happy man working on his laptop.
International Stock News

A once-in-a-decade opportunity: Here's why I'm buying Alphabet stock like there's no tomorrow

Alphabet's stock rarely gets this cheap, and right now could be a once-in-a-decade opportunity to scoop up shares at a…

Read more »