The S&P 500 (^GSPC -0.17%) is up a phenomenal 14% year to date, and if this year is anything like previous years, it will end 2026 even higher. That would be the fourth year in a row with double-digit gains, which hasn't happened since the late 1990s, when the S&P 500 had five years of double-digit gains.
There's something else that hasn't happened since then, either. The cyclically adjusted price-to-earnings ratio, or CAPE ratio, surpassed 40 only one other time -- in January 1999, the fifth year of double-digit market gains.
This metric, which adjusts the price-to-earnings ratio for inflationary impact, is seen as a more reliable valuation metric for the market than the average P/E ratio for the 500 stocks in the index. Today, it's nearly 41 after surpassing the 40 mark in May.
The CAPE ratio reached 44 in January 2000, preceding three years of market losses. Should investors be worried?
S&P 500 Index
Key Data Points
Bull markets and rich valuations
The market has enjoyed a strong bull run over the past three and a half years, doubling since the beginning of 2023.
The gains have been driven by artificial intelligence (AI), which didn't exist as an industry before 2023. Over the past three years, the category has grown by leaps and bounds, and the large companies that are leading the charge continue to invest billions in developing their platforms. Companies like Amazon and Alphabet are planning to spend about $700 billion this year, and, according to JPMorgan Chase's Jamie Dimon, that will increase to $1 trillion next year.
Some of the biggest gainers aren't these hyperscalers themselves but the infrastructure companies that provide the data centers, energy, and memory products to make this all happen. A large chunk of the massive spend is going to these companies, and they're already experiencing incredible growth.
Image source: Getty Images.
All this appears quite similar to the dot-com bubble that led to a boom-and-bust in 2000. Extraordinary sums were being spent on internet-based businesses, which were then new. Eventually, big money pulled out of these unprofitable businesses.
Is now any different? It could be. But the similarities, from the gargantuan investments to the years of market gains to the rising CAPE ratio, are glaring.
Bargains and opportunities
Make sure you have a fully diversified portfolio that includes growth stocks to benefit from current AI trends, as well as defensive stocks in case the market crashes. This should always be your setup, but it's even more critical considering today's market conditions.
If you've been focused on hot growth stocks, the time to make the shift is before things go south. By then, it will be too late. If your portfolio is packed with resilient dividend stocks, it will be able to withstand a downturn.
Don't forget that the S&P 500 has always rebounded and gone on to new heights. There could be a prolonged period of weakness, as there was in 2000, when the broader index lost value for three consecutive years. But since 2003, it has gained 782%. Stay in it to win it.






