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.

Source The Motley Fool

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.

Start Your Mornings Smarter! Wake up with Breakfast news in your inbox every market day. Sign Up For Free »

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).

Therefore, investors shouldn't rush to sell their stocks just because the market looks expensive today. In fact, there are some real tailwinds that could drive further returns from here.

First of all, the U.S. Federal Reserve is cutting interest rates. That reduces the yield on risk-free assets like cash and Treasury bonds, which makes growth assets like stocks appear more attractive, even at elevated valuations. Plus, lower rates let companies borrow more money to accelerate their growth, and their interest cost also falls, boosting their earnings.

Second, AI should remain a catalyst for some of the biggest companies in the S&P. According to Morgan Stanely, four companies -- Microsoft, Amazon, Alphabet, and Meta Platforms -- will spend a combined $300 billion on AI infrastructure during 2025 alone.

They are spending that money because they expect to earn a significant financial payoff in the future. But in the shorter term, that spending will benefit chipmakers and suppliers of data center components like Nvidia, Advanced Micro Devices and Broadcom, which will contribute to more gains in the S&P 500.

Golden bull and bear figurines standing on top of a newspaper.

Image source: Getty Images.

Volatility could rock the stock market next year

Politics might be something for investors to keep in the back of their minds as we enter the new year. The incoming Trump administration will introduce economic policies very different from the Biden administration's, which could spark short-term volatility as markets adjust.

During Trump's previous term, he imposed tariffs on steel and aluminum imports from almost every country in the world. Some countries, including China, retaliated with tariffs of their own, and investors were fearful of a potential trade war. That was a key reason the S&P 500 almost slipped into a bear market during 2018.

Since it appears tariffs are at the top of Trump's agenda once again, I won't be surprised to see the S&P 500 temporarily move lower after he takes office on Jan. 20. However, that might be a blessing in disguise if it brings valuations down to more reasonable levels, because it would create a buying opportunity for long-term investors.

Don’t miss this second chance at a potentially lucrative opportunity

Ever feel like you missed the boat in buying the most successful stocks? Then you’ll want to hear this.

On rare occasions, our expert team of analysts issues a “Double Down” stock recommendation for companies that they think are about to pop. If you’re worried you’ve already missed your chance to invest, now is the best time to buy before it’s too late. And the numbers speak for themselves:

  • Nvidia: if you invested $1,000 when we doubled down in 2009, you’d have $342,278!*
  • Apple: if you invested $1,000 when we doubled down in 2008, you’d have $47,543!*
  • Netflix: if you invested $1,000 when we doubled down in 2004, you’d have $496,731!*

Right now, we’re issuing “Double Down” alerts for three incredible companies, and there may not be another chance like this anytime soon.

See 3 “Double Down” stocks »

*Stock Advisor returns as of December 16, 2024

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool's board of directors. Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool's board of directors. Randi Zuckerberg, a former director of market development and spokeswoman for Facebook and sister to Meta Platforms CEO Mark Zuckerberg, is a member of The Motley Fool's board of directors. Anthony Di Pizio has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Advanced Micro Devices, Alphabet, Amazon, Meta Platforms, Microsoft, and Nvidia. The Motley Fool recommends Broadcom and recommends the following options: long January 2026 $395 calls on Microsoft and short January 2026 $405 calls on Microsoft. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Japanese Yen stands tall near one-month top against USD on hawkish BoJ talksThe Japanese Yen (JPY) rallied to the highest level since early February against its American counterpart on Friday amid bets for an imminent shift in the Bank of Japan's (BoJ) policy stance.
Author  FXStreet
Mar 11, Mon
The Japanese Yen (JPY) rallied to the highest level since early February against its American counterpart on Friday amid bets for an imminent shift in the Bank of Japan's (BoJ) policy stance.
placeholder
Why Tesla Stock Jumped Again TodayTesla (NASDAQ: TSLA) stock has seemingly gone straight up since the U.S. election. That more than 80% rise has brought it to new all-time highs. Shares jumped another 5.6% today as
Author  The Motley Fool
Yesterday 02: 21
Tesla (NASDAQ: TSLA) stock has seemingly gone straight up since the U.S. election. That more than 80% rise has brought it to new all-time highs. Shares jumped another 5.6% today as
placeholder
Solana Poised For Growth In 2025 With Record $173 Million Q3 Funding—ReportAccording to Messari’s most recent analysis, Solana (SOL) is primed for explosive expansion in 2025, fueled by major funding, technological improvements, and growing institutional interest.
Author  NewsBTC
10 hours ago
According to Messari’s most recent analysis, Solana (SOL) is primed for explosive expansion in 2025, fueled by major funding, technological improvements, and growing institutional interest.
placeholder
Why XRP Is A Long-Term Gem, According To A Wealth GuruA notable financial expert and wealth mentor, Linda Jones, has explained why XRP is a good long-term investment. In her video “Why Do I Hold XRP?”, she underlines the cryptocurrency’s potential to change finance. Many investors are watching XRP as a crypto market challenger due to Ripple’s progress and institutional involvement.
Author  NewsBTC
10 hours ago
A notable financial expert and wealth mentor, Linda Jones, has explained why XRP is a good long-term investment. In her video “Why Do I Hold XRP?”, she underlines the cryptocurrency’s potential to change finance. Many investors are watching XRP as a crypto market challenger due to Ripple’s progress and institutional involvement.
placeholder
XRP Price Steals the Spotlight: Dips Look Increasingly AttractiveXRP price started a fresh increase above the $2.50 zone. The price is now consolidating gains and might soon aim for a move above the $2.62 resistance. XRP price started a fresh increase above the
Author  NewsBTC
6 hours ago
XRP price started a fresh increase above the $2.50 zone. The price is now consolidating gains and might soon aim for a move above the $2.62 resistance. XRP price started a fresh increase above the
goTop
quote