Nervous About the Iran War Uncertainty? This Stock Has Been Rock Solid Over the Last Two Months

Source The Motley Fool

Key Points

  • Stocks remain volatile as Iran just closed down the Strait of Hormuz again.

  • Consumer staples stocks are a popular choice for investors looking to avoid volatility.

  • Costco is well-prepared to weather any turmoil from the Iran conflict.

  • 10 stocks we like better than Costco Wholesale ›

Just when investors were ready to put the Iran war behind them, Iran closed the Strait of Hormuz again, and uncertainty continues to surround the conflict in the Middle East, especially as President Trump has said that the two-week ceasefire is unlikely to be extended.

Finding stocks that can weather this kind of storm isn't easy. Energy stocks soared in March as oil prices spiked, but have since come down, while cyclical stocks fell in the initial stages of the war, but have climbed in response to signs of a detente.

Will AI create the world's first trillionaire? Our team just released a report on the one little-known company, called an "Indispensable Monopoly" providing the critical technology Nvidia and Intel both need. Continue »

However, one stock has been nearly unflappable over the last two months, trading as if the Iran conflict wasn't even happening. That's Costco (NASDAQ: COST), the retail giant known for its recession-resistant qualities. As you can see from the chart below, Costco only fell as much as 4% in March, just half the maximum drop on the S&P 500, though the S&P 500 surged past it in April.

COST Chart

COST data by YCharts

Why Costco can win no matter what happens in the Middle East

Costco has long earned a premium from investors because it has a number of qualities that make it well-positioned to grow in any kind of environment.

Its membership model, for example, means retail sales are less important than they are for most retailers. In fact, Costco makes most of its profit from membership fees. That allows it to charge rock-bottom prices for its members, which keeps retention high -- around 90% -- and keeps them returning frequently to the store to shop.

Like other retailers, Costco has some exposure to high oil prices, as they tend to make products more expensive by increasing shipping costs. However, Costco also sells gasoline, which again gives it a buffer when oil prices spike. Because of its reputation for low prices, Costco tends to see higher traffic for gasoline when prices are high, which both leads to profit from its fuel division and drives traffic to its stores.

Because of its membership model, Costco also has a higher-income customer base than the typical retailer, meaning its customers are less sensitive to the general economy. That means they're more likely to keep visiting Costco and continue being members.

Finally, most of Costco's sales come from staples like groceries, rather than discretionary items, so most of Costco's customers are coming to buy products that they need and are cheaper than they are at competitors.

A woman shopping in a Costco-like store

Image source: Getty Images.

Is Costco a buy?

Consumer staples stocks like Costco tend to trade at a premium because of their recession-resistant qualities and ability to withstand shocks like the Iran war.

Costco now trades at a price-to-earnings ratio of 52, which is nearly double that of the S&P 500. That's a level typically reserved for promising growth stocks.

While Costco might not be thought of as a growth stock, it continues to deliver strong results, with comparable sales adjusted for gas prices and foreign exchange up 6.4% for the first 31 weeks of the fiscal year, outpacing nearly every other retailer.

For investors looking for a safe stock to ride out the storm in the Middle East, Costco looks like an excellent choice.

Should you buy stock in Costco Wholesale right now?

Before you buy stock in Costco Wholesale, consider this:

The Motley Fool Stock Advisor analyst team just identified what they believe are the 10 best stocks for investors to buy now… and Costco Wholesale wasn’t one of them. The 10 stocks that made the cut could produce monster returns in the coming years.

Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you’d have $524,786!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you’d have $1,236,406!*

Now, it’s worth noting Stock Advisor’s total average return is 994% — a market-crushing outperformance compared to 199% for the S&P 500. Don't miss the latest top 10 list, available with Stock Advisor, and join an investing community built by individual investors for individual investors.

See the 10 stocks »

*Stock Advisor returns as of April 20, 2026.

Jeremy Bowman has no position in any of the stocks mentioned. The Motley Fool has positions in and recommends Costco Wholesale. The Motley Fool has a disclosure policy.

Disclaimer: For information purposes only. Past performance is not indicative of future results.
placeholder
Natural Gas sinks to pivotal level as China’s demand slumpsNatural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
Author  FXStreet
Jul 01, 2024
Natural Gas price (XNG/USD) edges lower and sinks to $2.56 on Monday, extending its losing streak for the fifth day in a row. The move comes on the back of China cutting its Liquified Natural Gas (LNG) imports after prices rose above $3.0 in June. It
placeholder
ECB Policy Outlook for 2026: What It Could Mean for the Euro’s Next MoveWith the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
Author  Mitrade
Dec 26, 2025
With the ECB likely holding rates steady at 2.15% and the Fed potentially extending cuts into 2026, EUR/USD may test 1.20 if Eurozone growth proves resilient, but weaker growth and an ECB pivot could pull the pair back toward 1.13 and potentially 1.10.
placeholder
My Top 5 Stock Market Predictions for 2026Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
Author  Mitrade
Jan 06, Tue
Five 2026 market predictions written in a native, news-style voice: AI’s winners and losers, broader sector leadership, dividend demand, valuation cooling as the Shiller CAPE sits at 39 (Dec. 31, 2025), and quantum-computing bursts—while keeping all original facts and numbers unchanged.
placeholder
Gold slumps below $4,800 on renewed Strait of Hormuz tensions Gold price (XAU/USD) slumps to around $4,775 during the early Asian session on Monday. Traders digest renewed tensions between the United States (US) and Iran over the critical Strait of Hormuz.
Author  FXStreet
23 hours ago
Gold price (XAU/USD) slumps to around $4,775 during the early Asian session on Monday. Traders digest renewed tensions between the United States (US) and Iran over the critical Strait of Hormuz.
placeholder
U.S.-Iran Standoff Suddenly Escalates Over Weekend, Crude Jumps 8% at Monday OpenOver the weekend, the U.S. and Iran engaged in a new round of maneuvering over the situation in the Middle East, leading to a rapid escalation in geopolitical risks. As a result, internat
Author  TradingKey
22 hours ago
Over the weekend, the U.S. and Iran engaged in a new round of maneuvering over the situation in the Middle East, leading to a rapid escalation in geopolitical risks. As a result, internat
goTop
quote