The S&P 500 is on pace to generate double-digit gains for a third consecutive year.
Some investors are worried that the stock market is in a bubble.
History shows that investing during market downturns is a profitable idea in the long run.
With only a handful of trading days left in the year, it's looking like the S&P 500 (SNPINDEX: ^GSPC) will post double-digit gains for the third year in a row. As of mid-day trading on Dec. 19, the S&P 500 hovered around a near-record level of 6,839.
For nearly three years, the stock market has been largely driven by one megatrend: artificial intelligence (AI). With AI stocks leading the market higher into the new year, some investors may be bullish for what's in store in 2026.
Where to invest $1,000 right now? Our analyst team just revealed what they believe are the 10 best stocks to buy right now. Continue »
However, a little-known market indicator is flashing a warning sign for just the second time in over a century -- and history has a predictable track record for what could happen next.
Is the stock market going to crash in 2026? Read on to find out.
Image source: Getty Images.
When Wall Street analysts talk about the market being expensive or frothy, what exactly do they mean?
Well, for some it means they are looking at valuation multiples -- specifically price-to-earnings (P/E) or forward earnings estimates -- and benchmarking these ratios and growth rates relative to historical thresholds. While there is merit to this methodology, it tends to be more useful when analyzing patterns around individual companies.
When it comes to the broader market, however, a helpful tool to look at is the S&P 500 Shiller CAPE ratio. This measures inflation-adjusted earnings over a 10-year period relative to the current level of stock prices.

Data by YCharts.
As the chart above illustrates, there are two particular instances when the CAPE ratio hovered near its current level of 39: the late 1920s and the year 2000. It's been more than 20 years since the market was priced at a similar level to where it is today.
Per the graph in the prior section, stocks experienced the same outcome after the CAPE ratio peaked. During the late 1920s, the stock market crashed, which ushered in the Great Depression.
In more recent history, the CAPE ratio peaked at a level of 44 prior to the dot-com bubble bursting in early 2000.
Against this backdrop, history indicates that stocks should be headed for a pronounced reversal in 2026.
While stocks could plummet next year, there are some important nuances to point out.
First, comparing the rise of the internet to the current AI supercycle may be misaligned. Many companies that marketed themselves as next-generation beneficiaries of the dot-com boom lacked a tangible business model. In other words, investors bought into a narrative or an idea rather than a concrete company with proven sales and compelling unit economics.
The same dynamic can't be said about AI as a whole. The biggest contributors to the S&P 500's rise over the last three years are megacap technology stocks like Nvidia, Alphabet, Amazon, Microsoft, Broadcom, Meta Platforms, and Apple. Virtually all of these companies have already monetized and profited from the rise of generative AI and ongoing infrastructure investment.
Furthermore, while history is consistent about corrections occurring shortly after the market peaks, the length of these reversals is quite variable. In other words, market crashes and even recessions could last years, or they could span a time period of a few months.
While it appears likely that stocks could take a breather for some amount of time in 2026, one other market indicator remains true no matter what happens.

Data by YCharts.
Investing in the S&P 500 has been an overwhelmingly positive decision over the course of a long-term time horizon. With average annual gains of roughly 7% for nearly 100 years, outperforming the S&P 500 index is a tall order. I bring this up to make clear that even if history does repeat next year, buying the dip will be profitable in the long run.
For these reasons, investors shouldn't worry about trying to time their buys and sells as the market becomes ever more heated. Rather, smart investors will take advantage of sell-offs and continue buying quality companies that produce strong earnings power throughout 2026 and beyond.
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 $502,783!* 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,126,057!*
Now, it’s worth noting Stock Advisor’s total average return is 975% — a market-crushing outperformance compared to 193% 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 December 23, 2025.
Adam Spatacco has positions in Alphabet, Amazon, Apple, Meta Platforms, and Nvidia. The Motley Fool has positions in and recommends Alphabet, Amazon, Apple, Meta Platforms, and Nvidia. The Motley Fool recommends Broadcom. The Motley Fool has a disclosure policy.