Technology Dominated Q2 As Energy Fell To Last Place
Robert Rapier’s Q2 breakdown shows Technology up 43.5% — but buried in the sector analysis is the story he knows best: utilities and essential-service infrastructure, the physical layer the AI boom can’t build without. For readers who don’t want to guess which AI company wins, Robert covers the companies getting paid to power the entire buildout in Utility Forecaster. See his current recommendations →
The second quarter of 2026 marked a dramatic reversal from the sector pattern that defined the start of the year.
In Q1, Energy and Materials led the market while Technology, Communication Services, and Consumer Discretionary struggled. In Q2, the leadership flipped. Technology surged, Energy collapsed, and the S&P 500 delivered a powerful rebound that masked wide differences beneath the surface.
The S&P 500 gained 14.9% for the quarter, a strong move by any standard. But the headline number does not tell the full story.

The real story was the extraordinary dominance of Technology. The sector gained 43.5% in Q2, nearly tripling the return of the broader market. That kind of outperformance is rare, and it shows just how aggressively investors rotated back into AI, semiconductors, cloud infrastructure, and other technology-related growth themes after the weakness earlier in the year.
Sector Performance
Technology was the clear standout. After being punished in Q1 by concerns over valuation, interest rates, and crowded positioning, the sector roared back in Q2. Investor enthusiasm for artificial intelligence remained the central driver. Capital spending on AI infrastructure, demand for advanced chips, and the buildout of data centers helped revive confidence in the sector.
This was not a modest recovery. A 43.5% quarterly gain suggests investors were not merely buying a dip. They were reembracing the idea that AI-related growth can remain a dominant market force even in a higher-rate environment.
Industrials also delivered a strong quarter, gaining 14.8%, essentially matching the S&P 500. That performance fits with the broader theme of real-economy investment. Aerospace, defense, automation, construction, grid equipment, and infrastructure-related names all benefited from demand tied to manufacturing, electrification, reshoring, and the physical buildout behind the AI economy.
Financials gained 9.0%, rebounding from their weak first-quarter performance. That improvement suggests investors became somewhat more comfortable with the outlook for credit, earnings, and capital markets activity. Higher rates remain a mixed backdrop for the sector, but the market appeared to reward companies with stronger balance sheets and clearer earnings visibility.
Real Estate gained 8.8%, which was notable given the continued pressure from elevated interest rates. The sector remains highly sensitive to financing costs, but Q2 showed that investors were willing to return to select real estate names where valuations had become more attractive and where cash flows appeared durable.
Health Care gained 8.7%, recovering from a sluggish start to the year. The sector’s defensive characteristics likely helped, but the gain also reflected renewed interest in companies with more predictable earnings and less dependence on the consumer cycle.
Consumer Discretionary gained 7.8%, a solid performance but still well below the broader market. That gap is important. Investors were willing to take on more growth exposure in Q2, but they remained selective. The consumer backdrop is still uneven, and discretionary companies remain sensitive to interest rates, wage growth, credit conditions, and inflation.
The more defensive sectors lagged. Materials gained just 2.1%, while Consumer Staples rose 2.0%. Both sectors were positive, but neither came close to keeping pace with the broader rally. Utilities slipped 0.6%, a sharp contrast from their relative strength in Q1. The sector remains attractive for income and stability, but rising capital needs and sensitivity to interest rates weighed on investor enthusiasm.
Communication Services fell 3.1%, making it one of the few negative sectors for the quarter. That weakness is notable because the sector often trades alongside technology in growth-led rallies. In Q2, however, investors clearly distinguished between the strongest AI-linked technology names and other communication-related businesses facing slower growth, valuation concerns, or company-specific issues.
Energy was the worst-performing sector, falling 12.7%. That was a sharp reversal from Q1, when Energy was the market’s leading sector. The decline reflected a change in investor expectations around crude prices, geopolitical risk, and the sustainability of the earlier rally. Energy fundamentals were not uniformly weak, but after a strong first-quarter move, investors took profits as the market shifted back toward growth.
All told, Q2 was almost the mirror image of Q1. The sectors that struggled early in the year came back strongly, while the previous leaders lost momentum.
What It Means Going Forward
The second-quarter rebound shows that investors are still willing to pay for growth when the earnings story is compelling. Technology’s 43.5% gain was the defining feature of the quarter, and it reinforced the market’s continued confidence in the AI investment cycle.
But the scale of that move also creates risk. When one sector runs that far that fast, expectations rise with it. Technology may still have strong long-term tailwinds, but valuations, concentration, and crowded positioning are once again issues investors need to watch.
The strength in Industrials is also worth noting. The AI boom is often discussed as a software or semiconductor story, but it is increasingly tied to physical infrastructure: data centers, power generation, grid upgrades, cooling systems, electrical equipment, and construction. Industrial strength in Q2 suggests investors are beginning to recognize that the AI buildout extends well beyond the technology sector itself.
The weakness in Energy does not necessarily mean the sector is broken. Energy remains volatile, and it often moves in sharp cycles. But Q2 was a reminder that oil and gas stocks can be vulnerable when geopolitical risk premiums fade or when investors rotate away from commodity-linked sectors.
Utilities also deserve attention. The sector’s modest decline came despite a long-term growth story tied to electricity demand, grid investment, electrification, and data centers. The challenge is that utilities are capital-intensive, and higher rates can pressure valuations. For investors, that makes selectivity important. The best opportunities will be in companies that can translate rising power demand into approved investment and earnings growth.
The broader lesson from Q2 is that market leadership can change quickly. Q1 rewarded Energy, Materials, and defensive sectors. Q2 rewarded Technology, Industrials, and growth-oriented themes. Investors who relied only on broad market exposure did well, but sector selection again made a major difference.
As we move into the second half, several variables will shape the next phase of leadership.
The first is interest rates. If inflation remains sticky and the Federal Reserve keeps policy restrictive, high-multiple growth stocks may once again face pressure. If inflation cools and rate-cut expectations return, Technology and Real Estate could continue to benefit.
The second is the durability of AI spending. If corporate capital spending on AI infrastructure remains strong, the market may continue to reward Technology and Industrials. But if investors begin to question returns on that spending, the most extended names could be vulnerable.
The third is energy prices. Energy’s second-quarter decline could create opportunities if crude tightens again, but the sector will remain tied to commodity prices, geopolitical risk, and investor confidence in cash-flow durability.
For now, the takeaway is straightforward. The second quarter was a powerful rebound, but it was not an evenly distributed one. Technology dominated. Industrials confirmed the infrastructure side of the growth story. Energy gave back its first-quarter leadership. Defensive sectors lagged.
This remains a market where sector selection matters. Broad exposure helped in Q2, but the real gains came from being in the right parts of the market at the right time.
The sector dynamics I’ve outlined here reflect a market still catching up to what the AI buildout actually requires — and I think the essential-service infrastructure side of that story has further to run. Data centers, grid upgrades, power generation: these are the physical requirements the AI economy can’t skip, and the regulated utilities and infrastructure companies meeting that demand are only beginning to reprice for it. In Utility Forecaster, I’ve spent more than 30 years focusing on exactly these businesses — the essential-service companies that pay rising dividends and deliver real growth, regardless of which AI company wins the model wars. See my current portfolios and Best Buys →