Key Takeaways:
- S&P 500 Energy sector rallied 8% in July as WTI crude topped $82 a barrel
- Energy trades at 9.5 times forward earnings, a 40% discount to the S&P 500
- U.S.-Iran hostilities and Strait of Hormuz blockade drove oil prices higher
Key Takeaways:

Energy stocks are having their best month of 2026, with the S&P 500 Energy sector surging as WTI crude climbed above $82 a barrel — yet the group still trades at a discount to the broader market.
The S&P 500 Energy sector has rallied roughly 8% in July, outpacing the benchmark index's 1.6% decline over the same period, as escalating U.S.-Iran hostilities drove crude prices higher and investors rotated into a group that remains the cheapest in the S&P 500 by forward earnings.
"Energy is pricing in a geopolitical risk premium that didn't exist two months ago, but the sector's valuation still reflects none of the structural supply tightness we're seeing," said Omar Tariq, a commodities strategist who previously covered oil markets for Bloomberg in London. "You're getting a war premium for free on top of a sector trading at 9 times earnings."
WTI crude settled at $82.15 a barrel on July 17, up 4% on the day, after U.S. Central Command said it "hit dozens of Iranian military targets" and Kuwait reported an Iranian strike on one of its power generation and water distillation plants. Brent crude rose 4.2% to $87.75. The moves extended a weeks-long rally that began after President Donald Trump ordered the Strait of Hormuz blockade in early July, cutting off roughly a fifth of global petroleum liquids supply, according to the U.S. Energy Information Administration.
The energy rally comes as the broader market struggles. The S&P 500 fell 1.6% in the week through July 17, its first weekly loss since early June, as technology shares sold off on renewed concerns about artificial intelligence spending. The Nasdaq Composite dropped 2.9% over the same five sessions. The 10-year Treasury yield hovered near 4.55%, while gold rose 0.7% to $4,020 an ounce — signaling a classic rotation out of growth and into value and hard assets.
Why energy stocks remain cheap despite the rally
The S&P 500 Energy sector trades at roughly 9.5 times forward earnings, a discount of about 40% to the S&P 500's 16 times multiple, according to FactSet data. That gap has persisted even as the sector has gained 18% year-to-date, trailing only communications services among the 11 S&P 500 sectors.
The valuation discount reflects years of investor skepticism toward fossil fuels, even as oil companies have maintained discipline on capital spending. The U.S. oil rig count stood at 585 in the week ended July 10, down from 620 a year earlier, Baker Hughes data show, as producers prioritized shareholder returns over output growth. ExxonMobil and Chevron, the two largest U.S. energy companies by market capitalization, have both kept capital expenditure within operating cash flow for five consecutive quarters.
"The market is treating energy as a melting ice cube, but the ice isn't melting as fast as anyone thought," Tariq said. "Meanwhile, the geopolitical premium in crude could persist for months if the Strait of Hormuz remains contested."
Inflation relief from falling oil prices may be short-lived
The oil surge has complicated the Federal Reserve's inflation outlook. Trailing 12-month headline inflation fell to 3.5% in June from a three-year high of 4.2% in May, as peace talks between the U.S. and Iran briefly lowered crude prices. The Cleveland Fed's Inflation Nowcasting tool projects a further decline to 3.32% in July.
But core Personal Consumption Expenditures — the Fed's preferred inflation gauge — has proven stickier. The measure excludes food and energy, meaning the oil-driven headline decline masks persistent price pressures elsewhere in the economy. The Fed's July 16 inflation forecast showed policymakers divided on whether the recent moderation is sustainable.
For energy investors, the calculus is straightforward: if geopolitical tensions keep Brent above $85, energy companies will generate record free cash flow at valuations that assume $60 oil. Chevron's free cash flow yield stands at roughly 8.5%, more than double the S&P 500's 3.8%, according to Bloomberg data.
The risk, Tariq said, is that a diplomatic resolution could unwind the war premium quickly. "If there's a ceasefire, oil could drop $10 in a day, and energy stocks would follow," he said. "But the structural underinvestment thesis doesn't change with a truce — that's a multiyear story."
This article is for informational purposes only and does not constitute investment advice.