The Brutal Logic of Why Markets Surge During War

The Brutal Logic of Why Markets Surge During War

You’re staring at a screen watching red-hot headlines about missiles and troop movements while your portfolio turns green. It feels wrong. It feels like the world is breaking, yet the S&P 500 is hitting new highs. You aren't crazy for thinking this is a paradox, but you are wrong if you think it’s a mistake.

The stock market doesn't have a pulse. It doesn't have a conscience. It has a calculator.

When war breaks out, the immediate human reaction is fear. We think about supply chains, oil prices, and the sheer tragedy of the situation. Investors, however, are looking six to nine months into the future. They've already priced in the chaos. By the time the first shot is fired, the "uncertainty"—which is what markets actually hate—has often already peaked.

History shows us this pattern over and over. From the onset of World War II to the Gulf War and the invasion of Ukraine, the story is remarkably consistent. Markets often dip in the nervous buildup to a conflict and then rally once the "event" becomes a known reality. It’s a cold, hard truth of global finance.

Markets trade on expectations not today's headlines

The biggest mistake you can make is equating "bad news" with "bad stock performance." They aren't the same thing. Markets are a discounting mechanism. This means they're constantly trying to guess what the world looks like a year from now.

Think about the buildup to a major conflict. For months, news outlets speculate. Will they or won't they? This creates a massive cloud of uncertainty. Investors hate not knowing the rules of the game. They sell off or sit on the sidelines, driving prices down.

When the war actually starts, that uncertainty vanishes. It’s replaced by a grim certainty. Now, the market has a set of facts to work with. How much will oil go up? Which defense companies get the contracts? How will the Fed react? Once these questions have even partial answers, the risk premium starts to shrink.

I’ve seen traders jump back into the fray while the smoke is still clearing because the "worst-case scenario" is finally on the table. It’s no longer an invisible monster under the bed. It’s a monster they can measure.

The massive wave of government spending

War is expensive. Extremely expensive.

When a nation goes to war—or supports an ally in one—the taps open. We aren't talking about a few million dollars. We’re talking about hundreds of billions in fiscal stimulus. This money flows directly into the private sector.

Defense giants like Lockheed Martin, Raytheon, and Northrop Grumman see their order books explode. But it doesn't stop there. Think about the logistics, the tech, the energy, and the infrastructure needed to support a war effort.

This is basically a massive, forced injection of cash into the economy. In many ways, war acts as an accidental Keynesian stimulus package. It creates jobs, fuels R&D, and keeps factories humming. While the deficit grows—a problem for another day—the immediate effect on corporate earnings is often positive.

During the Vietnam War, for example, the U.S. economy saw significant growth driven by defense spending, even as social unrest grew. The market tracks that spending. It follows the money.

Commodities and the inflation hedge

Wars almost always disrupt the flow of raw materials. Whether it’s wheat from Ukraine, neon gas for semiconductors, or oil from the Middle East, supply shocks are part of the deal.

Prices for these goods spike. For a consumer, this is a nightmare. For a certain segment of the market, it’s a goldmine.

Energy companies see their margins widen. Mining firms get more for every ounce of metal. If you look at the 1970s, a decade defined by geopolitical conflict in the Middle East, energy stocks were some of the few bright spots in a dismal decade for the broader market.

Investors use these sectors as a hedge. They know inflation is coming, so they move capital into the very things that cause that inflation. This rotation keeps the indices afloat even when tech or consumer discretionary stocks are struggling under the weight of higher costs.

The Federal Reserve safety net

There’s a silent partner in every wartime rally: the central bank.

When a geopolitical crisis threatens global stability, central banks like the Fed often turn "dovish." They're less likely to hike interest rates aggressively because they don't want to break the economy while it’s already under stress.

Sometimes, they even provide extra liquidity to keep the gears of the financial system turning. This "liquidity backstop" is like high-octane fuel for stocks. If the market thinks the Fed will stay its hand or even cut rates to offset war-related drag, stocks will climb.

We saw a version of this in 2022. While the initial shock of the Ukraine invasion caused a dip, the market was simultaneously trying to figure out if the Fed would slow down its rate hikes. Cheap money, or even the hope of it, is a more powerful force than almost any headline.

Why you shouldn't bet against the trend

It’s tempting to try and "time" the market based on the news cycle. Don't.

I know people who sold everything in February 2022 thinking the world was ending. They missed the subsequent relief rallies. The data from Ned Davis Research shows that the average drop in the S&P 500 following a major geopolitical event is about 5%, and the recovery usually takes less than 50 days.

If you sell during the panic, you're almost certainly selling at the bottom. The market is smarter than your gut feeling. It knows that humans are incredibly resilient and that companies will find ways to make money even in a fractured world.

The dark side of the rally

Let’s be honest. It’s grisly to talk about profits while people are losing their lives. But if you’re managing your retirement or your family’s future, you have to separate your emotions from your assets.

The market isn't a moral barometer. It’s a reflection of global capital flows. When those flows shift toward defense, energy, and tech-heavy security, the numbers move up.

How to position your portfolio right now

You don't need a PhD in international relations to survive a wartime market. You just need a strategy that isn't based on panic.

First, check your exposure to aerospace and defense. These aren't just "war stocks" anymore; they're technology plays. Companies building autonomous drones and AI-driven satellite tracking are the new tech leaders.

Second, look at energy independence. Any company helping the West decouple from volatile regimes is a long-term winner. This includes nuclear energy, LNG infrastructure, and even renewables.

Third, keep your cash. You want to have "dry powder" to buy the initial dip that almost always happens when a conflict escalates. That’s the moment when the "uncertainty" is highest and the prices are lowest.

Stop reading the headlines and start reading the balance sheets. The world is messy, but the logic of the market is surprisingly clean. It follows the path of least resistance toward growth and government spending.

Rebalance your winners, don't panic-sell your losers, and remember that the market has survived every war it has ever encountered. It'll survive this one too.

RM

Ryan Murphy

Ryan Murphy combines academic expertise with journalistic flair, crafting stories that resonate with both experts and general readers alike.