The Stock Market Is on Track to Do Something It Hasn't Done Since the Dot-Com Bubble in 1998. Here's What Might Happen Next.

In This Article:

The S&P 500 (SNPINDEX: ^GSPC) is sitting on a gain of 28% in 2024, which follows a 26% return in 2023.

Back-to-back annual gains of at least 25% have only happened once since the S&P 500 was established in 1957. The index rose by 33% in 1997 and then by 29% in 1998, fueled by the dot-com bubble, which drove stock valuations to dizzying heights.

There is nowhere near as much exuberance in the stock market today, but the technology sector is driving the S&P higher once again thanks to emerging themes like artificial intelligence (AI). If the index does end 2024 with a gain of at least 25%, here's what history suggests could happen next.

More upside might be around the corner

The S&P 500 soared by 21% in 1999, adding to its incredible gains from 1997 and 1998. That suggests another strong year in 2025 isn't out of the question, but history doesn't always repeat.

There was a level of irrationality during the dot-com boom that isn't present today. Investors were flooding into internet companies even if they had no revenue -- and many didn't even have a concrete business plan.

Pets.com was one of the biggest failures of that era. It raised $82.5 million from investors during its initial public offering in 2000, and it was bankrupt just nine months later.

The stock market is on a much firmer footing this time around. Nvidia is leading the AI revolution, and not only does it generate truckloads of revenue, but it's also highly profitable. According to Wall Street's average forecast (provided by Yahoo!), Nvidia is on track to deliver $129 billion in revenue during fiscal 2025 (which ends in January) -- an increase of 111% from the prior year.

Here's the point I'm making: Predicting the end of a speculative frenzy (like the dot-com bubble) is practically impossible, so the fact the S&P 500 rose in 1999 isn't a good indication of what could happen in 2025. However, the S&P could deliver a positive return next year because the largest companies in the index are generating so much growth.

2025 won't be 1999, but valuations are definitely stretched

This is the challenging part when it comes to generating further gains immediately after two strong years. The S&P 500 currently trades at a price-to-earnings ratio (P/E) of 27.9, which is a 54% premium to its long-term average of 18.1.

S&P 500 P/E Ratio Chart
S&P 500 P/E ratio; data by YCharts.

But valuation metrics are not reliable timing tools, because markets can remain expensive for much longer than investors expect. During 1999, the S&P 500 actually reached a P/E of 34, meaning the index continued to climb despite being significantly overvalued relative to its historical average (although it eventually crashed during a three-year span from 2000 to 2002).