US stocks log their best quarter in six years in 2026, with the S&P 500 and Nasdaq surging on AI earnings strength, a Supreme Court ruling preserving Fed independence, and a US-Iran ceasefire.
- The S&P 500 rose approximately 14% in Q2 2026 β its strongest quarterly gain since the pandemic rebound of Q2 2020, six years ago.
- The Nasdaq Composite surged roughly 20% for the quarter; the Dow Jones is on course for its best first half in five years.
- AI earnings leadership, Federal Reserve independence affirmed by the Supreme Court, and Iran peace talks powered the stock market rally June 2026.
Lead
US stocks closed the second quarter of 2026 on June 30 with the S&P 500 posting a roughly 14% gain for the period β its best quarterly performance in six years β while the Nasdaq Composite surged approximately 20%, the strongest three-month stretch for both indexes since markets bounced sharply from the pandemic collapse of Q2 2020. On the final trading day of the quarter, the S&P 500 rose 1.18% to settle at 7,440.43 and the Nasdaq climbed 2.07% to 25,820.14, as two catalysts materialized simultaneously: a Supreme Court ruling affirming Federal Reserve independence and the announcement of US-Iran peace talks in Doha following a military de-escalation.
What Happened
The second quarter unfolded in two distinct phases. Markets entered April under pressure from tariff uncertainty and geopolitical tension, with volatility suppressing equity valuations through early spring. The reversal was sharp: as trade negotiations advanced, corporate earnings repeatedly exceeded forecasts, and AI-linked capital expenditure continued to scale, investor confidence returned in force β producing one of the most powerful quarterly recoveries in recent memory.
The S&P 500 crossed 7,600 for the first time on June 2, recording its 24th all-time high of 2026, before pulling back modestly through mid-month during a technology-sector repricing. By quarter-end the index stood at 7,440 β comfortably above its Q1 close. Year-to-date, the S&P 500 has gained approximately 9%, embedding the Q2 rebound within a broader multi-year advance.
The Dow Jones Industrial Average, briefly trading above 51,000 intraday in late June, is on course for its best first half in five years.
Market Reaction: June 30
The quarter's final session amplified its gains. Tesla led single-stock movers with an 8.5% advance as positive sentiment around AI integration returned to the EV sector. Alphabet rose nearly 5%, buoyed by its entry into the Dow Jones Industrial Average and continued cloud and AI services momentum. Nvidia, which had declined across five consecutive sessions amid a broader valuation reset, reversed course and added more than 1%.
The catalyst mix on June 30 was unusually potent. The Supreme Court's ruling preserving Federal Reserve independence removed a tail risk that had weighed on rate expectations through much of the month. Separately, confirmation of a US-Iran ceasefire β with formal negotiations set for Doha β eased energy-market uncertainty and compressed the geopolitical risk premium that had elevated oil prices.
The AI and Earnings Engine
Corporate profit growth provided the durable foundation beneath the US stocks best quarter 2026 performance. The earnings growth rate for S&P 500 companies in Q2 2026 stands at 23.1%, above the 18.8% consensus projected at the quarter's outset. A record 85% of S&P 500 companies exceeded earnings expectations β well above five- and ten-year historical averages.
Artificial intelligence has been the primary accelerant. Forty-four AI-linked companies within the S&P 500 are on pace to contribute roughly 60% of the index's total earnings growth for calendar 2026, expanding profits at an estimated 40.7% β more than triple the rate of the remaining constituents. The Magnificent Seven technology giants collectively committed approximately $668 billion in AI-related capital expenditure in 2026, equivalent to roughly 2% of US GDP, anchoring expectations for sustained infrastructure demand.Revenue growth tracked the earnings surge: S&P 500 companies are on course to report 12.3% revenue expansion for the quarter, the highest rate since Q2 2022. Micron Technology joined the $1 trillion market capitalization club in late May, reflecting the breadth of the AI buildout beyond the largest platform companies.
Breadth and Small Caps
The stock market rally June 2026 was not confined to large-cap technology. The Russell 2000 index of small-capitalization US stocks surged more than 21% year-to-date, putting it on course for its best first half since 1991, as domestic-oriented businesses benefited from resilient consumer spending, easing credit conditions, and improved trade-policy clarity.
That breadth β large and small caps rising in tandem β reinforced the view that the rally reflected fundamental earnings improvement rather than narrow momentum within a handful of mega-cap names.
Strategic Context
The Nasdaq rebound news of Q2 2026 arrives against a backdrop of elevated but supported valuations. The S&P 500 currently trades at approximately 21.4 times estimated 2026 earnings and 18.5 times 2027 estimates. S&P 500 earnings are on pace to grow more than 15% in 2026, following a 13% rise in 2025, a trajectory that lends structural support to those multiples.
Federal Reserve policy remains a central variable. Inflation's continued decline β driven by moderating services prices and slower wage growth β has sustained expectations of an accommodative stance through the second half of the year. Tariff uncertainty, while not fully resolved, has receded as a near-term market driver as trade negotiations have advanced.
Outlook
US stocks set for best quarter in 6 years enter the second half of 2026 from a position of unusual breadth: earnings strength across sectors, a deepening AI buildout, easing geopolitical pressure, and a central bank whose independence has been judicially reaffirmed. The S&P 500 record highs logged through the first six months of the year β 24 in total β reflect the cumulative weight of those forces.
Risks remain. Elevated valuations leave limited margin for disappointment if AI earnings momentum softens; a renewed geopolitical flare-up could rapidly reverse oil-price relief; and Federal Reserve flexibility depends on inflation staying on its current glide path. The structural drivers that powered Q2's gains β corporate profit growth, AI capital deployment, and broadening market participation β remain intact as the second half begins.
Mentioned tickers: SPY, QQQ, NVDA, TSLA, GOOGL, MU, DELL, HPQ




