What Happens to Stocks During Wars — 80 Years of Data
From WWII to Ukraine — how the stock market has reacted to every major military conflict, what recovered, what didn't, and what 80 years of S&P 500 data actually shows.
The S&P 500 fell 8%, then hit a new all-time record — all within 50 days of war. Here's what the data shows and why this conflict breaks the historical pattern.
Educational purposes only. This content does not constitute investment advice. Read our disclaimer
StockCram is not a broker-dealer, investment adviser, or financial institution. All content is for educational and informational purposes only and should not be construed as personalized investment advice. Consult a qualified financial professional before making investment decisions. Past performance does not guarantee future results.
The S&P 500 hit an all-time record on April 16, 2026 — 47 days into a war with Iran. That's not a typo. While U.S. and Israeli forces conducted military operations against Iran, the Strait of Hormuz sat effectively closed, and oil traded near $95 a barrel, the stock market climbed to 7,041 and kept going. At first glance, this doesn't make sense. But the real reason the market is rising has surprisingly little to do with the war itself — and that distinction matters. If you've been following the historical patterns of how stocks react to military conflicts, the recovery might look familiar. The details underneath tell a very different story.
This is Part 3 of our series on war and the stock market. In Part 1, we covered 80 years of S&P 500 data across 7 major conflicts and found a consistent pattern: markets drop on uncertainty, stabilize when conflict begins, and recover within months. The 2026 Iran war has followed that pattern on the surface — but five structural differences make this conflict genuinely unlike any that came before. We'll break down exactly what's happened, which sectors are winning (and which surprise losers have emerged), and where the historical template breaks. Data as of April 21, 2026. Market conditions change rapidly.
The 2026 US-Iran war has produced the fastest drawdown-to-recovery cycle in modern conflict history — the S&P 500 fell ~8% and hit a new all-time high within 50 days. Energy stocks are up ~40% year-to-date while defense stocks are flat or down. The Strait of Hormuz has been effectively closed since March, keeping oil above $85. And a fragile ceasefire — extended on April 21 but with no deal in sight — leaves the outcome uncertain. Historical data is presented for educational context — past performance does not indicate future results.
Here's what you need to know about the 2026 US-Iran war and how it has affected the stock market so far. The big idea: The 2026 Iran war is following the same pattern as past conflicts — markets drop on uncertainty, stabilize when conflict begins, recover within months. But underneath, everything driving that recovery is different. The rally isn't coming from conflict resolution — it's coming from AI. That's what makes this situation easy to misread. Market conditions change rapidly — past performance does not indicate future results.
Key Takeaway: The market has followed the historical wartime pattern on the surface — drawdown followed by recovery. But the recovery's engine (AI/tech, not conflict resolution) and the ceasefire's fragility mean the pattern may not hold.
Before analyzing patterns, let's establish the facts. The US-Iran conflict has moved fast — from military strikes to ceasefire to record highs in under two months. Here's the timeline with corresponding market data, so you can see exactly how the S&P 500 and oil prices responded to each development. Understanding this sequence is essential for seeing how the historical uncertainty premium pattern has played out in real time.
Key Takeaway: The 2026 Iran war has produced the full drawdown-to-recovery cycle in under 50 days — faster than any prior conflict — but the ceasefire's fragility means the cycle may not be over.

Key events and corresponding market data. Data as of April 21, 2026. Past performance does not indicate future results.
| Date | Event | Sp500 | Oil Brent |
|---|---|---|---|
| Feb 28 | US-Israel launches military operations against Iran | ~6,800 (pre-war level) | ~$80/barrel |
| Early March | Strait of Hormuz effectively closes to commercial traffic | Declining | Surging past $90 |
| March 30 | S&P 500 hits war-era low — down ~8% from pre-war | ~6,260 (low point) | ~$100+ |
| April 7 | Two-week ceasefire announced | Rally begins | Begins easing |
| April 12 | First US-Iran talks in Islamabad — Vance vs. Araghchi — fail to reach deal | Recovery continues despite failed talks | ~$95 |
| April 15–16 | S&P 500 hits all-time record high of 7,041 | 7,041 (new ATH) | ~$95 |
| April 18 | Iran says Hormuz open → oil crashes 11% → Iran reclaims control | Volatile | $90 → $83 → rebounds |
| April 19 | US Navy seizes Iranian cargo ship in Gulf of Oman | Declines — Nasdaq snaps 13-day win streak | Jumps to ~$95 |
| April 21 | Trump extends ceasefire at Pakistan's request — naval blockade of Hormuz remains | Stabilizing | WTI $89, Brent $95 |
In our analysis of 80 years of war and the stock market, the central finding was what financial historians call the 'uncertainty premium': markets fear the buildup to war more than the war itself. Once military action begins, the biggest unknown resolves, and markets stabilize. The 2026 Iran war has confirmed this pattern almost perfectly. The S&P 500 dropped approximately 8% between the start of military operations on February 28 and the March 30 low. Then the April 7 ceasefire was announced — and the market rallied +11% over the next nine days, hitting a new all-time record on April 16. This matches the historical template: the Gulf War dropped 19.9% and recovered in 4 months. The Iraq invasion dropped 12% and the market rallied 30% over 12 months. Iran's drawdown was moderate (-8%) and the recovery was the fastest on record. But there's a critical difference. In every prior conflict, the 'uncertainty resolution' was decisive. The Gulf War ended with a military victory. The Iraq invasion removed a regime. The uncertainty didn't come back. In 2026, the ceasefire is diplomatic, contested, and fragile. Iran is dismissive of the extension. The U.S. is maintaining its naval blockade. And no second round of talks has been confirmed. What happens if uncertainty returns? The historical pattern doesn't have a template for a ceasefire that collapses. The closest parallel might be the on-again, off-again nature of the Vietnam War's escalation — but even that played out over years, not weeks. Understanding how bear markets unfold becomes essential context when considering whether the recovery is durable or premature.
Key Takeaway: The historical uncertainty premium pattern has played out almost perfectly in 2026 — but the fragile ceasefire means the cycle may reset. If uncertainty returns, the recovery could reverse in ways history hasn't tested.
In every prior military conflict we analyzed, defense and energy stocks outperformed. That pattern was so consistent across 80 years that it seemed almost guaranteed. The 2026 Iran war has confirmed half of that pattern — and broken the other half in a way that surprises most investors. Energy is the dominant winner. ExxonMobil (XOM) and Chevron (CVX) are both up approximately 40% year-to-date. The Energy Select Sector SPDR Fund (XLE) is crushing the broader market. With oil at $89-95 per barrel and the Strait of Hormuz still effectively closed, energy companies are collecting elevated revenue from supply-constrained global markets. This tracks exactly with the historical pattern. Defense stocks popped — then faded. This is the part that caught us off guard when we looked at the data. Lockheed Martin (LMT) surged 3.4%, RTX rose 4.7%, and Northrop Grumman (NOC) jumped 6% in the first week of the conflict. But those gains didn't hold. As of mid-April, LMT is down 3.6% year-to-date. During Russia-Ukraine in 2022, LMT gained approximately 37% and NOC gained approximately 38% for the full year. Why aren't defense stocks rising this time? Several factors distinguish this conflict. The Iran war is primarily an air and naval campaign with cyber components — not a ground war requiring massive new equipment procurement. Much of the spending goes to existing munitions and missile systems, not new platform orders that drive multi-year revenue. Defense stocks were also trading at elevated valuations before the war, limiting upside. And the proposed $1.5 trillion 2027 defense budget may already be priced in. Now here's the part most people miss. Tech/AI is the real story. The S&P 500's recovery to record highs has been driven largely by technology and AI mega-caps — Apple, Nvidia, Microsoft — which are 'running on their own dynamic independent of anything, including the war,' as one analyst put it. This kind of tech-driven decoupling from geopolitical events is unlike anything in the historical dataset. Airlines and consumer discretionary continue to underperform, consistent with every historical conflict — a pattern familiar to anyone who understands how diversification works across sectors. Understanding how portfolio allocation works across different market environments provides context for how these sector shifts affect diversified investors. StockCram is not affiliated with, endorsed by, or sponsored by any brokerage mentioned on this page. Individual stock and ETF mentions are for educational context only.
Key Takeaway: Energy stocks are the clear winner of the Iran war, while defense stocks — the historical winners — have broken the 80-year pattern. The S&P 500's recovery is driven by AI/tech, not conflict resolution.

Comparison of sector performance during the two most recent military conflicts. Data as of April 21, 2026. Past performance does not indicate future results.
| Sector | Iran 2026 Ytd | Pattern Match | Russia Ukraine 2022 |
|---|---|---|---|
| Energy (XLE) | ~+40% | Confirmed — outperforming | +58.3% |
| Lockheed Martin (LMT) | -3.6% | BROKEN — underperforming | +37% |
| Northrop Grumman (NOC) | Initial +6%, since faded | BROKEN — gains didn't hold | +38% |
| RTX Corporation | Initial +4.7% | Partial — moderate | +17% |
| S&P 500 (SPY) | +2.9% | Different — at record highs | -19.4% |
| Technology (XLK/QQQ) | Driving recovery (AI) | REVERSED — leading, not lagging | -28.2% |
| Airlines (JETS) | Underperforming | Confirmed — lagging | -21.3% |
The Strait of Hormuz is a narrow waterway between Iran and Oman through which approximately 20% of the world's oil supply transits daily. It has been effectively closed to commercial traffic since early March 2026, making this one of the largest sustained oil supply disruptions in modern history. No prior military conflict in our 80-year dataset caused a comparable scale of sustained supply disruption. The 1990 Gulf War threatened roughly 9% of global production. The 2022 Russia-Ukraine conflict disrupted pipeline gas to Europe but didn't physically block a transit chokepoint. The 2019 Saudi Aramco drone attack briefly spiked prices but supply returned within weeks. The Hormuz closure is different because it's structural, not temporary. Even after Iran declared the strait 'open' on April 18, oil prices crashed 11% — and then rebounded within hours when Iran reclaimed control after the U.S. refused to end its naval blockade of Iranian ports. This whiplash illustrates that the market is pricing binary outcomes in real time, exactly as the uncertainty premium theory predicts. The price data tells the story: Brent crude moved from approximately $80 pre-war to over $102 at its mid-April peak, and sits near $95 today. WTI crude is at approximately $89. Even if a lasting ceasefire reopens the strait, analysts estimate it could take months for shipping to normalize — tanker backlogs, elevated insurance costs, and damaged infrastructure will keep supply constrained. But why does oil still matter when the US is energy independent? One critical nuance: the U.S. is far less dependent on Middle Eastern oil than it was during the Gulf War. The shale revolution has made the U.S. the world's largest oil producer and a net exporter. But oil is a global commodity — disruptions anywhere affect prices everywhere. U.S. consumers still feel the pain at the pump even when U.S. production is strong — and elevated energy costs feed directly into broader inflation across the economy. The connection between dollar weakness and commodity price spikes adds another layer to this dynamic. For context on how disruptions like this cascade through the economy, see our analysis of how tariffs and trade policy create similar market uncertainty.
Key Takeaway: The Strait of Hormuz closure makes the 2026 Iran war fundamentally different from past conflicts — the supply disruption is ongoing even during the ceasefire, and full recovery could take months after peace.
This is where the pattern breaks. The historical pattern from 80 years of data provides a useful framework: initial drawdown → uncertainty resolution → recovery. But five structural factors make the 2026 Iran war genuinely unlike any prior conflict in our dataset. These aren't minor differences — they change the risk calculus in ways that historical averages can't capture.
Key Takeaway: The 2026 Iran war follows the historical pattern on the surface — but five structural differences mean the rules for recovery, sector performance, and risk are genuinely different from anything in the 80-year dataset.

How the three most comparable Middle East conflicts differ across key dimensions. Past patterns do not guarantee future outcomes.
| Dimension | Iran 2026 | Iraq 2003 | Gulf War 1990 |
|---|---|---|---|
| Oil supply disruption | ~20% of global oil blocked via Strait of Hormuz closure | Minimal — oil infrastructure largely intact | ~9% of global production threatened |
| Geopolitical alliances | Iran backed by China-Russia axis; sanctions evasion pathways | 'Coalition of the willing,' no UN mandate | Broad coalition, UN-backed |
| US energy dependence | Net exporter — shale revolution changed dependency | Net importer — ~55% from imports | Net importer — ~60% of oil from imports |
| Conflict type | Air/naval + cyber operations, no ground invasion | Full invasion, ground troops, regime change | Ground + air campaign, 43-day war |
| Market recovery driver | AI/tech rally + fragile ceasefire → uncertainty may return | Invasion start → uncertainty resolved | Decisive military victory → uncertainty resolved |
Here's where things get uncertain. The two-week ceasefire announced April 7 was due to expire on April 21 — but hours before the deadline, Trump extended it at Pakistan's request, giving Iran's 'seriously fractured' government time to submit a 'unified proposal.' The naval blockade of the Strait of Hormuz remains in place, which Iran's Foreign Minister Araghchi has called 'an act of war' and a violation of the ceasefire itself. The first round of talks in Islamabad between Vice President Vance and Araghchi failed to produce a deal. The key sticking point: the U.S. proposed a 20-year pause on Iranian uranium enrichment; Iran countered with five years. Iran has not confirmed it will attend a second round of talks, and an adviser to Iran's parliamentary speaker dismissed the extension entirely: 'The losing side cannot dictate terms.' Historical precedent offers imperfect but instructive guidance. Here's how prior conflicts resolved — and what each template would mean for markets if applied to 2026. Understanding why Federal Reserve responses during crises matter adds important context, since the Fed's reaction to oil-driven inflation could amplify or dampen any of these scenarios. Understanding investment risk is also essential context for evaluating uncertain outcomes.
Key Takeaway: The ceasefire's outcome will determine whether the market's recovery holds — and history offers only imperfect guides because no prior conflict in the dataset had this type of fragile, contested diplomatic pause.
Scenarios for educational illustration only. These are not predictions. Past performance does not indicate future results.
| Scenario | Sector Impact | Historical Parallel | Potential Market Implication |
|---|---|---|---|
| Deal reached — conflict ends | Energy loses tailwind, defense neutral, broad market rallies | Gulf War 1991: decisive end → rapid recovery | Oil drops sharply, energy gives back gains, S&P 500 extends rally, Hormuz reopens (but shipping takes months to normalize) |
| Ceasefire collapses — hostilities resume | Energy re-accelerates, broader market declines, volatility surges | No direct parallel — most conflicts didn't have ceasefire collapses | Uncertainty premium returns — [market volatility](/learn/terms/volatility) spikes, could retest March lows. Oil spikes past $100 again. |
| Prolonged stalemate — no deal, no escalation | Energy stays elevated, broader market grinds higher slowly, Fed response becomes key variable | Russia-Ukraine 2022+: market learns to price 'new normal' | Oil stays elevated ($85-100 range), market adapts but inflation risk persists |
So why are stocks going up during a war? The S&P 500's new all-time high of 7,041 on April 16 seems to say: 'The market has moved past the Iran war.' But that headline number is misleading — and understanding why matters for anyone trying to interpret what the market is actually pricing. The S&P 500 is market-cap weighted, meaning the largest companies by market value dominate the index — a concept central to how stock prices actually move. In 2026, technology and AI mega-caps — Apple, Nvidia, Microsoft, and a handful of others — account for an outsized share of the index's total market capitalization. These companies are, as one analyst put it, 'running on their own dynamic independent of anything, including the war in Iran.' AI spending continues to surge, data center buildups are accelerating, and these companies are posting strong earnings regardless of geopolitical events. Put simply: the market isn't reacting to the war anymore — it's reacting to AI. This creates a dynamic rarely seen — if ever — during a prior military conflict. In every previous war in our dataset, the S&P 500's recovery was driven by conflict resolution. In 2026, the S&P 500 is recovering because a handful of AI-driven stocks are surging, while many other stocks haven't recovered at all. The equal-weighted S&P 500 — where each stock counts the same regardless of market cap — tells a different story. Most stocks in the index are still affected by the war, oil prices, and geopolitical uncertainty. The market-cap-weighted version just doesn't show it because the mega-caps are masking the pain. This is where it gets confusing — and where most analysis gets it wrong. The implication: the narrative that the 'war is priced in' may be premature. What's actually priced in is AI spending. The war's impact on energy costs, consumer spending, and global supply chains is still unfolding — and if the ceasefire collapses, the tech rally alone may not be enough to keep the index at record levels.
Key Takeaway: The S&P 500's record high doesn't mean the market has moved past the Iran war — it means AI/tech spending is overwhelming the war's drag on most other sectors. This kind of decoupling is unlike anything in the 80-year dataset.
Adding the 2026 Iran war to the full 80-year dataset from Part 1 reveals both confirmation and deviation. Look at the numbers. The table below shows all eight conflicts side by side — and Iran 2026 fits the pattern in some ways while breaking it in others.
Key Takeaway: Adding Iran 2026 to the 80-year dataset confirms the broad pattern (drawdown → recovery) but reveals a historic first: defense stocks failing to outperform during a major military conflict.
Historical data shown for educational context. 2026 data as of April 21, 2026. Past performance does not indicate future results.
| Dates | Conflict | Recovery Time | 12 Month Return | Dominant Sector | Initial Drawdown |
|---|---|---|---|---|---|
| 1941–1945 | World War II | ~10 months | +15.5% | Defense, industrials | -19.8% |
| 1950–1953 | Korean War | ~3 months | +28.8% | Defense, industrials | -14.0% |
| 1964–1975 | Vietnam War | ~2 months | +10.2% | Defense, mixed | -4.9% |
| 1990–1991 | Gulf War | ~4 months | +23.6% | Defense, energy | -19.9% |
| 2001–2021 | 9/11 & Afghanistan | ~3 months | -16.8% | Defense (dot-com bust overlay) | -11.6% |
| 2003–2011 | Iraq Invasion | ~2 months | +30.1% | Defense, energy | -12.0% |
| 2022–present | Russia-Ukraine | ~1 month | +2.5% | Energy, defense | -5.3% |
| 2026–present | US-Iran War | ~47 days (to new ATH) | TBD (war ongoing) | Energy (defense underperforming) | ~-8% |
This is the question most people searching for 'us iran war stock market' want answered — so here's what the data actually shows. Historically, stocks have tended to fall in the period leading up to and immediately following the start of military conflict, then stabilize once the initial uncertainty resolves, and recover within months in most cases. In 6 of 7 major military conflicts since 1941, the S&P 500 was higher 12 months after the conflict began. The lone exception was 9/11 and Afghanistan, where the market was already in a bear market from the dot-com bust — meaning the war overlapped with a separate downturn. The 2026 Iran war has followed this broad pattern so far — an ~8% drawdown followed by a recovery to record highs within 50 days. However, the recovery has been driven by AI and tech stocks, not by conflict resolution. And the fragile ceasefire means the historical template may not fully apply. Understanding what the stock market is and how it responds to events provides useful foundational context. Past performance does not indicate future results. Every conflict is different.
Key Takeaway: The historical data shows stocks have tended to recover after military conflicts — but each situation is unique, and the 2026 Iran war has structural differences that make direct comparison imperfect.
Common questions about how the 2026 US-Iran conflict has affected the stock market, answered with historical context and current data.
The historical pattern confirmed — mostly
The S&P 500 fell ~8% after the war started Feb 28 and recovered to all-time highs by April 16, matching the 'uncertainty premium' pattern from 80 years of data. But the recovery was driven by tech/AI, not conflict resolution — a key distinction.
Energy, not defense, is the winner
XOM and CVX are up ~40% YTD while LMT is down 3.6%. This breaks the 80-year template where defense stocks were primary beneficiaries. The air/naval/cyber nature of the Iran conflict changed the defense procurement dynamic.
The Strait of Hormuz changes everything
No prior conflict closed 20% of global oil supply for 7+ weeks. The supply disruption is ongoing even during the ceasefire, keeping oil near $95 and creating inflation pressure that could persist regardless of diplomatic outcomes.
The S&P 500 record is misleading
The market's recovery is driven by a handful of AI/tech mega-caps, not by broad-based confidence. The equal-weighted S&P 500 shows most stocks haven't recovered. The narrative that the 'war is priced in' may be premature.
The ceasefire is the key variable
The ceasefire was extended on April 21 but with no confirmed talks, Iran dismissing the terms, and the US maintaining its naval blockade, the 'uncertainty premium' could still return. History offers imperfect guides — no prior conflict had a fragile diplomatic pause like this one.
From WWII to Ukraine — how the stock market has reacted to every major military conflict, what recovered, what didn't, and what 80 years of S&P 500 data actually shows.
Is the U.S. dollar being devalued or just weakening? Learn the real difference between devaluation and depreciation, why markets care, and how it affects inflation, Treasury yields, mortgage rates, and your investments.
Understand Fed independence in plain English. Learn why political pressure on Jerome Powell moves Treasury yields, mortgage rates, stocks, and the dollar—and what it means for your money.
Historically, selling during military conflicts has often meant locking in losses before a recovery. In 7 of 8 major conflicts since 1941 (including the 2026 Iran war so far), the S&P 500 recovered to pre-war levels or higher within months. However, the current ceasefire is fragile — if it collapses, the recovery could reverse. Every situation is different, and past patterns do not guarantee future results. Individual circumstances, risk tolerance, and financial goals all matter. For a framework on how investors think about selling decisions, see our guide. This is a historical observation, not a recommendation.
As of April 21, 2026, energy stocks have been the primary beneficiaries. ExxonMobil (XOM) and Chevron (CVX) are both up approximately 40% year-to-date, driven by elevated oil prices from the Strait of Hormuz closure. Notably, defense stocks (Lockheed Martin, RTX, Northrop Grumman) have not sustained their initial gains — breaking the historical pattern. The S&P 500's recovery to record highs has been driven primarily by tech/AI mega-caps. Past performance does not indicate future results. StockCram is not affiliated with any brokerage.
Approximately 20% of global oil supply transits through the Strait of Hormuz, a narrow waterway between Iran and Oman. Its effective closure since early March 2026 has been the primary driver of oil's surge from ~$80 to $90-100+ per barrel. Even if a ceasefire fully reopens the strait, analysts estimate it could take months for shipping to normalize due to tanker backlogs, elevated insurance costs, and damaged port infrastructure.
The S&P 500's recovery to record highs has been driven largely by AI/tech mega-caps rather than resolution of the conflict itself. The equal-weighted S&P 500 — where each stock counts equally — shows that most stocks haven't fully recovered. This means the 'war is priced in' narrative may be premature. If the ceasefire collapses and uncertainty returns, the market could retest its March lows. Historical patterns show that conflict resolution drove prior recoveries — and the Iran conflict remains unresolved.
Five key differences distinguish the 2026 Iran war: (1) the Strait of Hormuz closure blocks 20% of global oil — no prior conflict disrupted a chokepoint this large; (2) Iran's alliance with China and Russia creates sanctions-evasion pathways that didn't exist during the Gulf War; (3) the US is now a net energy exporter thanks to shale; (4) Iran's cyber warfare capabilities targeting financial infrastructure add a threat vector no prior war had; and (5) post-COVID supply chain fragility means disruptions compound differently. These structural differences mean historical patterns provide a framework but not a precise template for the current situation.