While the Nasdaq was getting obliterated last week, healthcare stocks had their best five-day stretch in months. The Health Care Select Sector SPDR Fund (XLV) rallied 3.50% Monday through Friday, making it the top-performing S&P 500 sector in a week where the broader index fell 2.59% as of Friday’s close. Real estate (XLRE) came second at 3.30%, utilities (XLU) added 2.90%, and consumer staples (XLP) gained 1.72%. Technology (XLK) cratered 7.90%. The Dow, with its lower tech weighting, slipped just 0.32% as of Friday. This is a market telling a very clear story.

The rotation out of growth into defensives was the week’s defining move. Investors fled the AI trade after Broadcom’s guidance cut sent semiconductors into a tailspin, and they landed in the one sector that always benefits when the growth narrative cracks. Healthcare isn’t exciting. That’s precisely the point. When uncertainty spikes, money flows to sectors with predictable earnings, regulatory moats, and inelastic demand. Healthcare has all three.

Let’s look under the hood. Within healthcare, three sub-sectors drove the outperformance. Major pharmaceutical stocks rallied on drug pricing clarity. The Biden administration’s latest Medicare negotiation proposals were seen as less aggressive than market expectations, according to a Reuters report published Wednesday. Large-cap biotech caught a bid on M&A activity after AbbVie announced a $3.2 billion acquisition of an ADC developer midweek, sparking speculation of a broader dealmaking wave across the sector. And managed care names including UnitedHealth and Humana, the most defensive cohort within healthcare, posted steady gains as institutional flows rotated out of growth-oriented tech and into value-oriented HMO and PBM equities.

Here’s the risk: this could reverse as fast as it arrived. If Thursday’s CPI print comes in cool, rate-cut expectations will rise, tech will bounce, and the defensive trade could unwind in a matter of days. We saw a preview of that pattern in late May, when a softer-than-expected PCE reading sent XLV down 1.8% in a single session while the Nasdaq ripped 2.4% higher. The healthcare rally is a function of macro uncertainty, not sector-specific momentum. If that uncertainty clears, so does the rotation.

My take: the rotation has legs as long as the macro fog persists. I’m slightly bullish on healthcare as a relative play. The sector’s earnings visibility, defensive demand floor, and reasonable valuations give it an edge while tech sorts out its AI capex questions. As of Friday, XLV trades at 18.4 times forward earnings, in line with its five-year average. But don’t get complacent. Thursday’s CPI release is the pivot point. A cool number, and money flows straight back to tech. Watch the 8:30 AM ET print like a hawk.