Healthcare Stocks Become Anti-AI Bet as Investors Turn Defensive

With investor confidence in the artificial intelligence trade under pressure, traders are turning to healthcare stocks for refuge.

Since the end of April, the S&P 500 Healthcare Index has risen about 23% through Monday’s close — outperforming the broader market and every other sector. That includes high-flying technology names and surging energy stocks that have benefited from the ongoing Iran War. Healthcare’s rally has been led by Eli Lilly & Co., AbbVie Inc. and Johnson & Johnson.

Wall Street has been warming up to the sector, particularly as sentiment around AI — and tech in general — fuels increasing desire for protection from risky assets.

See more: AI Buildout Drives Yields and Market Rotation

Healthcare is being viewed as an anti-AI trade, said Matt Orton, chief market strategist at Raymond James Investment Management, adding that the cohort has been on the other side of selloffs in names related to AI spending “angst.”

Fund flows also point to a change in fortunes. Healthcare exchange-traded funds have outpaced every other sector on a trailing 65-day basis with about $4 billion of inflows, according to data through Oct. 19 compiled by Baird Strategas. Tech, on the other hand, has seen the biggest outflows — $6 billion — during that period.

Up until about six months ago, healthcare stocks significantly underperformed the broader market. “So, from a valuation perspective it’s more attractive,” Orton added. “I think a lot of investors have viewed it as a place to go for safety.”

healthcare-performance

When shares of cloud-computing services provider CoreWeave Inc. slumped as its debt reached levels that typically indicate distress, tech stocks had their worst week since President Donald Trump unleashed his tariff agenda in April 2025. At the same time healthcare extended its streak of weekly gains.