The US stock market closed out May 2026 in remarkable fashion, with the S&P 500 posting its ninth consecutive weekly gain and the Nasdaq Composite surging roughly 8 percent for the month to reach a new all-time high of 26,972. Three converging forces drove the rally: growing optimism that a ceasefire with Iran is turning into something more durable, a pair of blowout technology earnings reports that reset expectations for AI infrastructure spending, and a persistent wave of investor enthusiasm for artificial intelligence that has proven resistant to every interruption thrown at it.

As CNBC reported on May 30, the S&P 500 finished the month at 7,580, up approximately 5 percent for May, while the Nasdaq closed the final week of the month at 26,972.62. The S&P 500’s nine-week winning streak is one of the longest in recent market history, and May’s performance delivers what some analysts are calling the best month for US equities since the post-pandemic recovery of 2021.

The Iran Ceasefire Effect

The single biggest catalyst for the week’s final leg higher was news that US and Iranian negotiators had reached a draft 60-day agreement to extend the April ceasefire. The S&P 500 closed at 7,563.63 on Wednesday, May 28, after the ceasefire extension report sent markets climbing, with the Nasdaq rising 0.91 percent on that session alone.

The Iran war’s impact on financial markets has been one of the dominant themes of 2026. When the conflict began on February 28 with the US-Israeli strikes on Iran that killed Supreme Leader Ali Khamenei, equity markets initially sold off sharply on war risk concerns and the oil price spike that followed the closure of the Strait of Hormuz. The S&P 500 dropped roughly 8 percent in the two weeks following the outbreak of hostilities before beginning its recovery as markets recalibrated the timeline for ceasefire negotiations.

The April 8 ceasefire marked the beginning of the current winning streak, as investors began pricing in an end to the war premium that had weighed on equities since February. Each development suggesting progress toward a more permanent agreement has been met with buying. The draft 60-day extension was the most concrete signal yet that both sides see a path to a deal, and markets responded accordingly.

The economic logic is straightforward: an end to the Iran war removes several significant headwinds simultaneously. Oil prices, which remain elevated relative to pre-war levels due to the ongoing Hormuz disruption, would be expected to decline further as shipping normalizes. Inflation expectations, which have been elevated partly because of energy price pressures, would moderate. And the general uncertainty premium that investors attach to geopolitical risk would compress, freeing capital to move back into risk assets.

The S&P 500 has historically performed well in the aftermath of geopolitical crises that resolve without long-term structural damage to the US economy. The Iran conflict, while severe in its acute phase, has not fundamentally impaired American economic output. GDP growth has slowed from its pre-war pace, but recession has been avoided. Corporate earnings, outside of the energy-intensive sectors most exposed to oil price volatility, have continued to grow. The market’s nine-week run reflects an investor base that is increasingly confident the conflict will be filed in the category of painful but temporary disruptions rather than permanent structural damage.

Dell’s Historic Earnings Beat

If Iran peace hopes provided the backdrop for the rally, Dell Technologies provided its most spectacular single-day catalyst. On Friday, May 29, Dell stock surged more than 32 percent after reporting what the company called its fastest revenue growth since it relisted on the New York Stock Exchange in 2018. The performance was not simply a beat of analyst expectations: it was a statement about the scale and durability of AI infrastructure spending.

Dell reported quarterly revenue of $43.84 billion, an 88 percent year-over-year increase that shattered the LSEG consensus estimate of $35.43 billion. In addition to the revenue beat, Dell announced a $9.7 billion software deal with the Pentagon, underscoring the company’s positioning at the intersection of AI infrastructure and national security spending. The quarter represented Dell’s best single trading session ever.

For context, Dell’s revenue growth of 88 percent YoY is a number that belongs in the vocabulary of early-stage technology companies, not a 40-year-old hardware and services firm serving enterprise customers. What produced it was the surge in AI server demand as hyperscale cloud providers, enterprise customers, and government agencies accelerated their AI infrastructure build-outs. Dell has positioned itself as a critical supplier of the servers, storage systems, and networking infrastructure that AI workloads require, and the results confirm that positioning.

The broader market took Dell’s results as a read-through to the entire AI infrastructure ecosystem. If enterprise customers are ordering AI servers at a pace that produces 88 percent revenue growth at Dell, then every company in the supply chain from chip manufacturers to data center operators to power utilities benefits from a longer and more intensive spending cycle than even the most optimistic forecasters projected.

This ties directly to the broader case for AI stocks that has been driving markets throughout 2025 and into 2026. Ed Yardeni’s S&P 500 target of 8,250 is explicitly grounded in earnings growth expectations that assume AI-driven productivity improvements will sustain corporate profit margins and revenue growth above historical averages. Dell’s quarter is the kind of data point that validates that thesis.

Snowflake’s Amazon Deal and the Cloud AI Race

The week’s other blockbuster earnings story came from Snowflake, the data cloud company, which reported results late Wednesday and saw its stock rocket 37 percent in a single session. Snowflake beat both earnings and revenue estimates, but the headline that drove the stock higher was the announcement of a five-year, $6 billion commitment to expand its Amazon Web Services infrastructure partnership.

The Snowflake-AWS deal is a significant signal about the economics of AI at scale. Snowflake’s business is built on enabling organizations to store, query, and analyze massive datasets, which is the foundational capability required for enterprise AI deployments. A $6 billion, five-year commitment to AWS is not a sign of financial caution: it is a bet that demand for data cloud services will continue to grow at a rate that justifies locking in enormous compute capacity years in advance.

For investors watching the AI infrastructure buildout, the Snowflake deal joined a growing list of evidence that the spending cycle is both real and durable. Amazon, Microsoft, Google, and Meta have all committed to AI capital expenditures that dwarf anything in previous technology investment cycles. The downstream effects are felt across a wide range of companies, including the AI stocks that big tech earnings have consistently rewarded.

The market’s reaction to Snowflake, combined with the Dell result, compressed the timeline of investor thinking about AI monetization. For much of 2024 and early 2025, a frequent bear argument was that AI spending would eventually face a “show me the ROI” moment when corporate buyers demanded evidence that AI investments were producing measurable returns. The Dell and Snowflake results suggest that at least in the infrastructure layer of AI, where servers, cloud compute, and data management tools live, demand is exceeding supply rather than the reverse.

Best Buy and the Broader Consumer Picture

The earnings story was not limited to AI infrastructure. Best Buy, the consumer electronics retailer, reported first-quarter results that beat Wall Street expectations on both earnings and revenue. Best Buy earned $276 million, or $1.31 per share, in the quarter, up from $202 million, or 95 cents per share, in the prior year period. Revenue rose to $8.94 billion from $8.77 billion.

Best Buy’s results are significant as a read on consumer health. The company sells discretionary goods into middle-income American households, a segment that has faced real pressure from the cumulative effect of elevated interest rates, higher food and energy prices, and general economic uncertainty. A beat from Best Buy suggests that household balance sheets, while strained, have not collapsed, and that consumers are still willing to spend on electronics and appliances when motivated by the right value proposition or product cycle.

The consumer discretionary sector has been a mixed picture in 2026. Some retailers facing the most direct exposure to import costs from tariffs and supply chain disruptions have reported weak results. Best Buy’s performance suggests the high end of the consumer electronics market remains reasonably healthy, which is consistent with the labor market data showing continued low unemployment despite the headwinds from the Iran oil shock.

What the Nine-Week Streak Means

The S&P 500’s nine-week winning streak is a statistical outlier. Nine consecutive weeks of gains happen perhaps once or twice a decade in normal market environments, and the fact that this one is occurring against the backdrop of an active war in the Middle East, elevated oil prices, and ongoing Federal Reserve uncertainty says something meaningful about the underlying resilience of US corporate earnings.

Market structure may also be a factor. The shift toward passive investing over the past decade means that every dollar of new investment flowing into index funds must by construction be invested in equities, regardless of broader economic conditions. When risk sentiment improves, as it has with each positive Iran news item over the past two months, the marginal dollar flows into equities with a persistence that would not exist in a market dominated by active stock-pickers with the discretion to hold cash.

The AI enthusiasm factor is perhaps the most powerful single variable. Equity markets have priced in an AI-driven productivity boom that is not yet visible in macro-level productivity statistics but is showing up in company-level results like Dell’s 88 percent revenue growth. The market is, in effect, betting that the AI infrastructure buildout currently underway will translate into measurable productivity improvements within a two-to-three-year horizon, justifying current valuations.

That bet may prove correct. It may also prove to be ahead of itself in timing, even if correct in direction. But the momentum of the current market, sustained by a combination of genuine earnings strength, Iran peace progress, and AI optimism, shows no obvious near-term catalyst for reversal. The S&P 500 at 7,580 is pricing in continued earnings growth, declining geopolitical risk premium, and an AI-driven productivity story that corporate results are, for now, validating.

Frequently Asked Questions

How many weeks in a row has the S&P 500 gained in May 2026? The S&P 500 posted its ninth consecutive weekly gain in the final week of May 2026, closing the month at approximately 7,580. The Nasdaq Composite closed at an all-time high of 26,972.62. The nine-week winning streak is one of the longest in recent market history.
What drove Dell stock up 32% in May 2026? Dell Technologies reported quarterly revenue of $43.84 billion, an 88 percent year-over-year increase that crushed the consensus estimate of $35.43 billion. The company also announced a $9.7 billion Pentagon software deal. The results reflected surging demand for AI servers and infrastructure, and Dell's stock had its best single trading session in the company's history.
What was the Snowflake earnings news in May 2026? Snowflake beat both earnings and revenue estimates and announced a five-year, $6 billion commitment to expand its Amazon Web Services infrastructure partnership. The stock surged 37 percent in a single session, driven by investor confidence that enterprise AI data infrastructure demand will remain robust for years.
How has the Iran ceasefire affected stock markets? The April 8, 2026 ceasefire marked the beginning of the current S&P 500 winning streak as investors began pricing out war risk premiums. Each positive development in US-Iran negotiations has been met with buying. A draft 60-day ceasefire extension announced in late May pushed the S&P 500 to new record highs, as markets anticipated lower oil prices, reduced inflation risk, and improved economic growth prospects.
Is the stock market rally sustainable given ongoing economic risks? The sustainability debate centers on whether AI-driven earnings growth is real and durable, whether the Iran ceasefire holds and oil prices normalize, and whether the Federal Reserve can navigate inflation without tipping the economy into recession. The current nine-week rally is supported by genuine earnings strength from companies like Dell and Snowflake, ceasefire progress, and continued labor market resilience, but each of those three supports carries its own risks.