Walmart is on pace for its best monthly performance since 1999, closing Thursday, October 22, 2026, at $121.12 after rising 2.82%. The stock's gain leaves the retailer with a market value of $960.94 billion, just 4.1% or roughly $39 billion short of the $1 trillion milestone. This surge occurs as the Nasdaq Composite falls 2.60% to 26,008.86, its worst day since June, highlighting a rotation away from technology and AI sectors toward defensive consumer staples.

Walmart's shares have climbed 16.6% from a September 30 close of $103.92, with six trading sessions remaining in the month. The company first crossed the $1 trillion threshold on February 3, 2026, becoming the first retailer to achieve this valuation. With 7.93 billion shares outstanding, returning to that level requires a share price of approximately $126.05, a level below the 52-week high of $135.16.

The recent price action follows no new corporate announcements, filings, or guidance changes. The most recent reported results are from the second quarter of fiscal 2027, where adjusted earnings per share of $0.81 exceeded the consensus estimate of $0.7413. Despite the strong performance, Walmart trades at 44 times earnings, and its $0.99 annual dividend yields only 0.82%.

The broader consumer staples sector is also experiencing a significant rally. Over the first 16 trading days of October, the S&P staples sector gained 11.1%, marking its third-best start to a month since 1990. The State Street Consumer Staples Select Sector SPDR ETF is up 11.7% from $80.60 in October.

Market flows indicate a shift in investor behavior. Bank of America clients sold a record $14.8 billion of individual U.S. stocks in the week through October 16, while staples remained one of the few sectors they purchased. Bank of America has also placed staples among the highest readings on its Bubble Risk Indicator.

Historical context suggests caution for investors in this sector. Five of the seven previous months with similar staples gains occurred in 2000 and 2001, preceding the recession that began in March 2001. However, in February 2026, the fund rose 7.8% while the S&P 500 fell 0.9%, and the index later gained 11.8% over the following six months.

Prediction markets currently assign a 7.5% probability of a recession by the end of 2026, rising to 35% by the end of 2027. Walmart's next earnings report is scheduled for November 19, 2026, before market open, though the company has not yet confirmed the date. The company has provided third-quarter adjusted EPS guidance of $0.62 to $0.64.