U.S. stock markets closed the second quarter of 2026 with notable gains, culminating in their strongest performance in several years. On Tuesday, the Dow Jones Industrial Average rose 0.3%, or 136.46 points, to finish at a record 52,319.20. The S&P 500 increased by 0.8%, while the Nasdaq advanced 1.5%, supported in part by strong performances in semiconductor stocks. Shares of Nvidia, Advanced Micro Devices, and Intel climbed 2.6%, 7.7%, and 6%, respectively, helping to drive broader market optimism.

The quarter marked a significant rebound for equities as investors looked past ongoing concerns about overvaluation in artificial intelligence-related stocks and expressed cautious hope about the possibility of a final peace agreement with Iran. The Dow recorded its best six-month stretch since 2021, rising 8.9% in the first half of the year. The S&P 500 and Nasdaq posted gains of 9.6% and 12%, respectively, their highest quarterly advances since the onset of the COVID-19 pandemic.

Market activity during the period was influenced by fluctuations in oil prices tied to the conflict in Iran, alongside evolving investor sentiment toward AI sector valuations. Looking ahead, analysts warn that volatility may persist, particularly given uncertainties surrounding geopolitical developments, the upcoming U.S. midterm elections in November, and significant corporate events on the horizon.

Kenin Spivak, chief executive of SMI Group, identified the Iran conflict as a key market driver for the coming quarter. He noted that renewed hostilities could potentially reverse recent market gains, while shifts in political control of Congress might impact investor confidence. “If markets expect the Democrats to take control of both houses, it could depress pricing due to potential legislative gridlock affecting the Trump administration’s agenda,” Spivak said. Additionally, he highlighted the market’s attention on commercial space ventures and the anticipated IPO of Anthropic, an AI-focused company.

Ken Mahoney, CEO of Mahoney Asset Management, expressed a cautiously optimistic outlook, anticipating continued bull market conditions but with persistent volatility. He cautioned that the third quarter of midterm election years historically tends to be weaker and more erratic. “July has strong historical statistics, yet quarter three of midterm years can be quite weak and volatile,” Mahoney explained. He also pointed to September’s historical tendency toward market instability and the possibility of a late-summer lull.

Investors will likely monitor geopolitical developments, election forecasts, and corporate earnings closely as these factors intersect to shape market dynamics in the months ahead.