The Stock Market Recently Did Something Witnessed Only Once Before in 154 Years -- and History Is Very Clear About What Happens Next.

Source Motley_fool

Key Points

  • The S&P 500 has reached record highs after weeks of volatility.

  • AI stocks have played a central role in stock market performance in recent years.

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

The S&P 500 has taken investors on a wild ride over the past few months. The index fluctuated between gains and losses amid turmoil in Iran, and as investors worried about the future revenue potential of artificial intelligence (AI) companies. In recent days, though, these risks have attenuated, prompting the index to soar. The S&P 500 rebounded and even reached new highs -- the index is now heading for a gain of more than 3% for the year.

A ceasefire in Iran has increased optimism that a resolution will be reached, and positive comments from AI companies have brought these stocks back into the spotlight.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

Still, as the new earnings season unfolds, investors are wondering whether this positive momentum will last or whether the uncertain mood that reigned just a few weeks ago will return. We can turn to a recent stock market movement for some clues. The market recently did something that's been witnessed only once before in 154 years, and history is very clear about what happens next.

Two investors look at documents while working in an office.

Image source: Getty Images.

What's driven stock market gains

Before diving in, it's key to take a look at what's driven the stock market over the past few years -- and what's represented a risk. As mentioned, AI companies set the pace for the benchmark, with giants such as Nvidia, Alphabet, and Palantir Technologies soaring.

These players have been delivering explosive growth thanks to their strengths in AI -- customers have rushed to them for AI products and services since this technology has the potential to drive efficiency and innovation. Investors, seeing this potential, have scooped up shares of companies developing and selling AI as well as companies that may benefit from applying AI to their businesses.

All of this helped AI stocks to surge, and since many of these players are big tech companies that are heavily weighted in the S&P 500, the benchmark also advanced.

The only problem is that, as a result of this run-up, many stocks reached peak valuations. In fact, the entire index found itself in expensive territory -- and the risk was that these levels were not sustainable. This brings me to the stock market's recent move. Earlier this year, stocks reached a valuation level only seen once before over more than 150 years -- the last time was during the dot-com bubble about 26 years ago.

S&P 500 Shiller CAPE Ratio Chart

S&P 500 Shiller CAPE Ratio data by YCharts

A look at valuation

We can see this through the S&P 500 Shiller CAPE ratio, which measures stock price and earnings per share over a 10-year period. This allows for fluctuations in the economy, so it presents a pretty accurate picture of a company's valuation.

The Shiller CAPE ratio peaked in February, and since that time, as stocks slid, valuation has also declined.

That said, valuation remains close to these highest levels, so in spite of the declines in stocks in the first quarter, overall, the market remains expensive.

Now, let's consider what history tells us about the future. A look at the past decade of valuation and stock market performance shows us that every time stocks have dropped from a valuation peak, the market has gone on to gain.

S&P 500 Shiller CAPE Ratio Chart

S&P 500 Shiller CAPE Ratio data by YCharts

And these periods of positive momentum have often lasted a couple of years. So history is very clear: As prices become more reasonable, investors scoop up stocks, and the S&P 500 generally enters a new phase of growth.

Does this mean that the increase we're seeing now could be the start of this trend? Possibly. But there's one key element to keep in mind, and this is something that could either drag the index down or limit gains. Though valuation has started to decline, as I said above, stocks today remain much pricier than the average over time -- and pricier than they were following the 2000 valuation peak. So, investors may pick up bargains here and there, but today's overall high valuation level may stop them from rushing to buy stocks hand over fist.

Regardless of the market's next move, here's some fantastic news for you right now: History shows us that over time, the S&P 500 always has climbed. And that means the best strategy is to selectively pick up quality stocks when the price is right -- you'll find these opportunities during any market environment -- and hold on for the long term.

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 $498,522!* 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,276,807!*

Now, it’s worth noting Stock Advisor’s total average return is 983% — a market-crushing outperformance compared to 200% 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 April 26, 2026.

Adria Cimino has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Alphabet, Nvidia, and Palantir Technologies. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Solana Price Outlook: What To Expect From SOL In April 2026Solana (SOL) price enters April 2026 under pressure. March is closing at roughly -0.88%, extending a red streak that now stretches six consecutive months since October 2025.A head-and-shoulders breakd
Author  Beincrypto
Mar 31, Tue
Solana (SOL) price enters April 2026 under pressure. March is closing at roughly -0.88%, extending a red streak that now stretches six consecutive months since October 2025.A head-and-shoulders breakd
placeholder
What to Expect From NVIDIA Stock Price in April 2026?NVIDIA (NASDAQ: NVDA) stock price trades at $177.64 on the 2-day chart, up 5.31% over the past days but still down 6% year-to-date. April sits at a unique inflection for the stock. The Iran conflict c
Author  Beincrypto
Apr 08, Wed
NVIDIA (NASDAQ: NVDA) stock price trades at $177.64 on the 2-day chart, up 5.31% over the past days but still down 6% year-to-date. April sits at a unique inflection for the stock. The Iran conflict c
placeholder
MicroStrategy Reports Massive Bitcoin Gain and Yield in AprilMicroStrategy reported a 6.2% BTC yield and a gain of 47,079 Bitcoin gain in the first three weeks of April. The Bitcoin (BTC) treasury company, led by Michael Saylor, said the gain is worth approxima
Author  Beincrypto
Apr 22, Wed
MicroStrategy reported a 6.2% BTC yield and a gain of 47,079 Bitcoin gain in the first three weeks of April. The Bitcoin (BTC) treasury company, led by Michael Saylor, said the gain is worth approxima
placeholder
Palantir Earnings Could Ignite AI Stocks Before NvidiaOne AI stock reports earnings on May 4, three weeks before Nvidia prints, and the technical setup is the most oversold it has looked in a year.Palantir (PLTR) closed above $143 on April 23, down about
Author  Beincrypto
Apr 24, Fri
One AI stock reports earnings on May 4, three weeks before Nvidia prints, and the technical setup is the most oversold it has looked in a year.Palantir (PLTR) closed above $143 on April 23, down about
placeholder
Tesla stock drops as the company raised its 2026 capex plan to $25 billion from $20 billionTesla stock is falling today because investors are dealing with rising spending, merger talk, and a market that chases big stories when numbers look weak. After earnings on Wednesday, the stock moved lower as traders focused on a spending plan that came in bigger than expected. Tesla raised its full-year capex target to $25 billion […]
Author  Cryptopolitan
Apr 24, Fri
Tesla stock is falling today because investors are dealing with rising spending, merger talk, and a market that chases big stories when numbers look weak. After earnings on Wednesday, the stock moved lower as traders focused on a spending plan that came in bigger than expected. Tesla raised its full-year capex target to $25 billion […]
goTop
quote