A Once-in-a-Generation Market Warning Just Flashed. What History Says Happens Next.

Source Motley_fool

Key Points

  • The CAPE ratio is showing a market that could struggle over the next three years.

  • However, there are good reasons to believe history won't repeat itself.

  • These 10 stocks could mint the next wave of millionaires ›

The S&P 500 (SNPINDEX: ^GSPC) is again on its way to a strong annual return. The artificial intelligence (AI) boom has helped the index climb a wall of worry that would likely have derailed many past bull markets. After all, the U.S. remains in conflict with Iran, consumers are struggling with high costs, and long-duration interest rates have been edging higher.

AI has sparked one of the largest corporate spending booms in history, with major tech companies investing an unfathomable amount of money in AI infrastructure and seeing strong returns. At the same time, AI investments are helping companies across industries reduce costs and improve efficiency, boosting corporate earnings.

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a "Double Down" signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same "Total Conviction" signal is flashing for a company 1/100th the size of Nvidia. Continue »

However, while the market remains in bull mode, a valuation red flag from the dot-com era has just resurfaced.

Bull and bear figurines trading stocks on phone.

Image source: Getty Images

For three consecutive months, the S&P 500's cyclically adjusted price-to-earnings (CAPE) ratio has remained above 40. This metric was devised by famed economist Robert Shiller in 1988 to help smooth out earnings cyclicality and is based on a 10-year average of inflation-adjusted earnings.

To put that into context, the CAPE ratio has only hovered above 40 one other time in history, and that was right before the tech bubble burst in 2000. That 40 score is about 50% above its 20-year historical average and well above its historical baseline of around 17.

Meanwhile, history shows that the S&P 500 has never had a positive three-year return after the CAPE index finished a month above 40.

Why history may not repeat itself

Despite history indicating that the market could be in for a rough ride over the next three years, there is no guarantee this will happen.

First, the sample size of the CAPE hitting 40, is very small. Second, the S&P 500 is much different today than it was 10 years ago, but the CAPE ratio gives the 2016 S&P 500 index as much weight as it does today's S&P 500.

A decade ago, the benchmark index had far more exposure to lower-margin, asset-heavy industrial and energy companies. Today, the index is heavily weighted toward high-margin tech companies that generate tremendous operating cash flow and have fortress balance sheets.

At the same time, AI looks like a huge technological game changer that is quickly moving the needle, while the technology innovation curve is also accelerating. While the internet was a massive breakthrough, it took telecom and web infrastructure companies over a decade to generate a return on their investment. Amazon recently said it expects to break even on its AI infrastructure investments within two to three years, while Space Exploration Technologies (SpaceX) has said it will achieve payback within a year. At the same time, AI is helping corporate America save costs and become more efficient, driving profit growth.

Most large tech companies that currently dominate the S&P 500's top holdings aren't expensive based on future earnings expectations. Meanwhile, if hyperscalers (owners of large data centers) can continue to show strong returns on their AI infrastructure investments and enterprise customers continue to use AI to help drive operational efficiencies, corporate earnings growth should continue to outpace earlier years. The CAPE ratio does not capture what could be a major fundamental shift in the market driven by AI.

How investors should play it

A CAPE ratio of 40 isn't an automatic sign that you should dump your stock holdings and start hiding cash under your mattress. However, it is a warning signal, and if AI infrastructure spending slows dramatically in the coming years, you can be sure the S&P 500 will take a hit, given its current tech-heavy makeup.

That said, there is no need to panic. I'd personally follow Warren Buffett's current strategy and keep some cash on the sidelines in case the market does see a major pullback. Otherwise, I'd keep dollar-cost averaging into top exchange-traded funds (ETFs), such as the Vanguard S&P 500 ETF (NYSEMKT: VOO), because generally, trying to time a market crash is a foolhardy endeavor.

Where to invest $1,000 right now

When our analyst team has a stock tip, it can pay to listen. After all, Stock Advisor’s total average return is 978%* — a market-crushing outperformance compared to 213% for the S&P 500.

They just revealed what they believe are the 10 best stocks for investors to buy right now, available when you join Stock Advisor.

See the stocks »

*Stock Advisor returns as of September 7, 2026.

Geoffrey Seiler has positions in Amazon and Vanguard S&P 500 ETF. The Motley Fool has positions in and recommends Amazon and Vanguard S&P 500 ETF. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
XRP Price Prediction for July 2026: Can Buyers Finally Break the Downtrend?XRP (XRP) price trades near $1.05, caught between a year-long downtrend and a sudden burst of buying.July has historically rewarded XRP holders. This year the month arrives with on-chain accumulation
Author  Beincrypto
Jun 30, Tue
XRP (XRP) price trades near $1.05, caught between a year-long downtrend and a sudden burst of buying.July has historically rewarded XRP holders. This year the month arrives with on-chain accumulation
placeholder
What to Expect From Ethereum (ETH) in July 2026Ethereum (ETH) enters July 2026 trading near $1,570, close to multi-month lows, after recording its first run of three consecutive red quarterly candles in its history.On-chain data and price charts n
Author  Beincrypto
Jul 01, Wed
Ethereum (ETH) enters July 2026 trading near $1,570, close to multi-month lows, after recording its first run of three consecutive red quarterly candles in its history.On-chain data and price charts n
placeholder
XAUUSD Gold Analysis: Gold Holds Above $4,350 Ahead of US Inflation Data Is $4,500 Next? Gold holds above $4,350 following weak US jobs data. As inflation reports approach and UBS eyes $5,000, can XAUUSD break resistance at $4,435 to rally toward $4,500?
Author  Naoufal Seddik
Aug 12, Wed
Gold holds above $4,350 following weak US jobs data. As inflation reports approach and UBS eyes $5,000, can XAUUSD break resistance at $4,435 to rally toward $4,500?
placeholder
Gold Price Analysis Today: Gold Drops 1.32% Despite Lower Fed Rate-Hike Bets, Can $4,313 Support Hold? Gold fell 1.32% on August 13 after rising to $4,449.73, then reversing lower and closing near $4,349.918 below the $4,356.46 support. Softer US inflation data reduced Fed rate hike expectations, but selling pressure still dominated the session. Will $4,313 support hold?
Author  Naoufal Seddik
Aug 14, Fri
Gold fell 1.32% on August 13 after rising to $4,449.73, then reversing lower and closing near $4,349.918 below the $4,356.46 support. Softer US inflation data reduced Fed rate hike expectations, but selling pressure still dominated the session. Will $4,313 support hold?
placeholder
Gold Price Analysis Today: Gold Gains 0.94% as Markets Expect Fed to Hold Rates, Can $4,449 Resistance Break? Gold gained 0.94% on August 17, closing near $4,417.30 as softer US data strengthened expectations for unchanged Fed rates in September. Gold remains bullish, with $4,449.730 resistance and $4,310.650 support in focus.
Author  Naoufal Seddik
Aug 18, Tue
Gold gained 0.94% on August 17, closing near $4,417.30 as softer US data strengthened expectations for unchanged Fed rates in September. Gold remains bullish, with $4,449.730 resistance and $4,310.650 support in focus.
goTop
quote