The Stock Market Just Did Something for the 2nd Time in 100 Years, and History Says What Comes Next

Source Motley_fool

Key Points

  • The CAPE ratio has crossed 40 only twice in history. The first was at the peak of the dot-com bubble in 1999.

  • Unlike the dot-com era, today's market is led by profitable tech giants, but a quirk of accounting may be masking the true cost of AI spending and inflating current earnings.

  • While the CAPE flashes a warning, it's not a timing tool -- sitting in cash when it passed 30 in 2017 would have meant missing years of gains.

  • 10 stocks we like better than S&P 500 Index ›

The CAPE ratio is flashing a warning that, in over a century of stock market history, has only shown up once before: near the top of the dot-com bubble.

With the S&P 500 (SNPINDEX: ^GSPC) and Nasdaq Composite indexes both near record highs, it stands to reason to ask, should I be worried? Here's what you need to know.

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 »

What is the CAPE ratio?

CAPE stands for the cyclically adjusted price-to-earnings ratio. It's basically a smoothed-out version of the regular price-to-earnings (P/E) ratio -- a standard valuation metric for a stock -- but applied to the whole market. It takes the price of the S&P 500 and divides it by the average of its inflation-adjusted earnings over the past 10 years.

The decade-long average helps smooth things out and remove the noise. It gives you a cleaner read on what investors are really paying. When the ratio runs high, the market is expensive relative to what companies have actually earned. The historical average sits around 17, and right now we're north of 40 -- more than double the long-run norm.

We've only been here once before

The only other time the CAPE crossed 40 was in 1999, right at the top of the dot-com bubble. The S&P 500 had roughly tripled over the prior five years, fueled by enthusiasm for internet stocks that mirrors today's enthusiasm for all things artificial intelligence (AI).

Take a look at the CAPE over the last 100 years.

S&P 500 Shiller CAPE Ratio Chart

S&P 500 Shiller CAPE Ratio data by YCharts

Why this time could be different

It might be a mistake to assume this ends the same way, however. There's certainly a good argument for why this is not the same market.

The dot-com highs were driven by speculation on companies that were, in many cases, barely businesses. This was the era of Pets.com and eToys -- stocks were sent soaring based more on a concept than any fundamentals.

Today, the market is dominated by tech giants with massive earnings. Apple, Microsoft, Nvidia, Alphabet, and Amazon have the balance sheets and income statements to back up their stock prices.

Earnings have been soaring, and it's not hard to see the CAPE retreating to more reasonable levels, not through a crash in stock prices, but the steady rise of the net income these companies book.

Why today's earnings might not be as solid as they look

While there's merit to this argument, I'm inclined to push back on it for a key reason: Today's earnings might not be as "real" as they seem. This is because of a pretty straightforward accounting quirk that many investors miss but is critical to understand.

The bulk of the money sloshing around in the AI economy, driving the market, comes from the capital expenditures of the big tech hyperscalers like Alphabet and Microsoft. This money flows out immediately, boosting revenue and earnings across the entire ecosystem, but it isn't counted against the hyperscalers' own earnings up front. It gets spread out over time.

An investor looks at their portfolio.

Image source: Getty Images.

This leads to a lag in which the benefits of that spending are reflected in the CAPE, while the costs show up later. To be sure, there's nothing nefarious going on here; it's just the way accounting works. But when this window closes, the CAPE could suddenly look even more extreme. And that could be coming soon.

What investors should do now?

OK, so where does this leave us? Well, you definitely shouldn't go running for the hills. It matters that the CAPE is at historic levels, but it's not some crystal ball. It guarantees nothing -- most of all, timing. The truth is, while the CAPE is now the second-highest it's ever been, it's been in "danger" territory for more than a decade. You would have missed out on quite a bit of growth had you sat in cash when the CAPE passed 30 in 2017.

It's a cliche, yes, but it's not a tired one, in my opinion: Time in the market beats timing the market. Patient investing over the long term is always the winning formula.

With that said, now is not the time to chase high-flying growth stocks, nor is it the time to be all in on companies with mind-numbing valuations based on the promise of future revenue. Companies that will do well with or without an AI revolution are a great bet.

Should you buy stock in S&P 500 Index right now?

Before you buy stock in S&P 500 Index, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and S&P 500 Index wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $398,052!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,181,688!*

Now, it’s worth noting Stock Advisor’s total average return is 892% — a market-crushing outperformance compared to 205% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of June 30, 2026.

Johnny Rice has no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
SpaceX Stock Heads for Nasdaq 100 – Here’s What to ExpectSpaceX (SPCX) will join the Nasdaq 100 on July 7, just 15 trading days after its initial public offering, setting a record as the fastest index inclusion in the benchmark’s history.The confirmation ca
Author  Beincrypto
Yesterday 02: 17
SpaceX (SPCX) will join the Nasdaq 100 on July 7, just 15 trading days after its initial public offering, setting a record as the fastest index inclusion in the benchmark’s history.The confirmation ca
placeholder
Smart Money is Leaving Nvidia for This AI Chip StockNvidia stock price keeps sliding, yet the usual dip buyers are missing. Institutional money flow on the stock is the most negative of any major chip name, which means big investors are stepping back i
Author  Beincrypto
5 hours ago
Nvidia stock price keeps sliding, yet the usual dip buyers are missing. Institutional money flow on the stock is the most negative of any major chip name, which means big investors are stepping back i
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
5 hours ago
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
The 52% Coincidence: Bitcoin and Silver Are Bleeding in Near-Perfect SyncBitcoin (BTC) and silver have almost nothing in common, yet both now sit roughly 52% below their record highs at the same moment. Their weekly charts have started to rhyme, candle for candle.Bitcoin t
Author  Beincrypto
5 hours ago
Bitcoin (BTC) and silver have almost nothing in common, yet both now sit roughly 52% below their record highs at the same moment. Their weekly charts have started to rhyme, candle for candle.Bitcoin t
placeholder
Strategy launches $2 billion in buybacks and Bitcoin selling program to shore up preferred stockStrategy has announced a pivot in how it will manage capital moving forward, with sales of Bitcoin, stock buybacks up to $2 billion in its own securities, and raising dividends on its troubled STRC preferred shares to 12%, all on the table according to its 8-K filing with the SEC on Sunday. The pivot comes...
Author  Cryptopolitan
5 hours ago
Strategy has announced a pivot in how it will manage capital moving forward, with sales of Bitcoin, stock buybacks up to $2 billion in its own securities, and raising dividends on its troubled STRC preferred shares to 12%, all on the table according to its 8-K filing with the SEC on Sunday. The pivot comes...
goTop
quote