The S&P 500 Posted Its Best Quarterly Performance Since 2020. History Says This Happens Next.

By: Alex Freidmen

Key Points

  • The S&P 500, after a difficult first quarter, recovered in recent weeks.

  • Investors returned to growth stocks amid optimism about peace negotiations in Iran and strong earnings reports from companies.

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

The S&P 500 has roared higher in recent years, amid a bull market that’s pushed the index to record highs multiple times. Though the positive momentum paused in the first quarter, with the index declining amid concerns about turmoil in Iran and worries about tech companies’ spending on artificial intelligence (AI), it returned in full force in the second quarter.

5 Stocks Our Experts Predict Could Double In the Next Year

By submitting your email, you'll also get a free pivot & flow membership. A free daily market overview. You can unsubscribe at any time.

The famous benchmark soared 14% over the three months, for its best quarterly performance in six years. This was amid optimism about peace negotiations in Iran and as corporate earnings suggested that AI investments were bearing fruit — and would continue to do so.

Missed Nvidia in 2009? This Rare Signal Is Flashing Again. In 2009, a “Double Down” signal flashed for a little-known chipmaker called Nvidia. For the first time in years, that same “Total Conviction” signal is flashing for a company 1/100th the size of Nvidia. Continue »

Now, after this spectacular performance, investors may be wondering about what will happen next. History offers us a clear idea.

An investor cheers while looking at something on a smartphone.

Image source: Getty Images.

A rough start to the year

So, first, a quick recap of the index’s path this year. As mentioned, the S&P 500 got a rough start to the year, losing more than 4% in the first quarter. The war in Iran pushed energy prices higher and introduced uncertainty into the market — something investors don’t like. This prompted a shift away from growth stocks, seen as risky, and into stocks viewed as safer, such as dividend players and healthcare stocks.

Meanwhile, investors also focused on the enormous amounts that tech companies were spending on AI amid the infrastructure build-out. For example, Amazon, Alphabet, Microsoft, and Meta Platforms plan on spending a total of nearly $700 billion this year alone. The concern was that the revenue opportunities wouldn’t justify such spending — and this weighed on AI stocks, from AI chip giant Nvidia to software player Palantir Technologies.

So, what happened in the second quarter to turn things around? Steps toward negotiations in Iran eased investors’ minds, oil prices started to decline, and U.S. tech companies reported strong earnings and high demand for AI products and services. And tech giants offered the same message, predicting ongoing demand at these levels as more and more companies put this hot technology to use through agentic AI. These are the AI systems that address a problem and take steps that usually would be taken by humans to solve it.

IPO excitement

Finally, excitement about technology IPOs — from Space Exploration Technologies‘ (SpaceX) recently completed operation to Anthropic’s confidential filing with regulators — added to optimism about technology stocks.

See also  Rivian vs. Lucid: Which EV Stock Is the Better Buy?

And that brings us to the S&P 500’s fantastic performance for the quarter. Now, let’s consider our question: What’s next for this major benchmark?

A look at history, according to data compiled by The New York Times, shows us that over the past 10 years, the S&P 500 posted a quarterly advance of 10% or more seven times. And six of those times, the index went on to gain for at least two consecutive quarters. So, if history is right, the S&P 500 could be on track for a strong second half.

What this means for you

What does this mean for you as an investor? First, it’s important to note that, though history may offer us valuable clues about what often happens, it isn’t correct 100% of the time. If unexpected economic or geopolitical headwinds emerge, for example, or if a major sector like tech delivers bad news, the index — otherwise on track to gain — could quickly shift gears.

So why even consider historical trends? They offer us an idea of what generally happens in certain situations, and that may help us somewhat along the investment path. But the best news of all is the following: Though history may not always get it right when it comes to near-term performance, it’s always been right about one thing. The S&P 500 gains over the long run.

This means that, regardless of the index’s performance over the coming months or quarters, you can be certain that over a period of years, it will advance. It’s always done so in the past. And you, too, can score a win by investing in quality stocks at reasonable prices, and/or buying a fund that tracks the S&P 500, and holding 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 $385,055!* 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,228,089!*

Now, it’s worth noting Stock Advisor’s total average return is 902% — a market-crushing outperformance compared to 209% 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 July 1, 2026.

Adria Cimino has positions in Amazon. The Motley Fool has positions in and recommends Alphabet, Amazon, Meta Platforms, Microsoft, Nvidia, and Palantir Technologies. The Motley Fool has a disclosure policy.