The tech-heavy Nasdaq-100 index has gained 17.4% since March 30.
A widely watched software sector ETF is up 18.8% since April 10.
Investors are showing signs of strong risk appetite beyond tech stocks -- which tends to be good news for the Nasdaq-100.
The Iran war came as an unwelcome shock to the stock market and the global economy. Between Feb. 27 (the day before U.S. military strikes on Iran began) and March 30, the tech-heavy Nasdaq-100 index lost 8% of its value. With the news full of alarming headlines, investors fled to safe-haven assets and moved away from tech stocks.
A longer, more destructive Iran war would have longer-lasting and more damaging impacts on the economy. Higher oil prices would drive up prices all over, which could cause higher-for-longer inflation.
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 »
Image source: Getty Images.
The need to put downward pressure on inflation might drive the Federal Reserve to delay further interest rate cuts -- or possibly to hike the federal funds rate again. More government borrowing to pay for the war would also drive up yields on longer-term U.S. debt instruments like the influential 10-year Treasury bond. Higher interest rates also tend to be bad for stock prices, especially for growth stocks.
As of this writing, the Iran war has not been declared over. The news is still dominated by updates on ceasefires, negotiations, and blockades of the Strait of Hormuz, through which much of the global supply of oil and natural gas travels.
But in the past few weeks, since the major market indexes hit their low points for the year, it seems that investors are declaring the "all clear" signal. The tech-heavy Nasdaq-100 is up 17.4% since March 30 and has now gained 6.7% year to date.

^NDX data by YCharts.
Let's look at a few reasons why the Nasdaq-100 is on a winning streak despite the Iran war -- and why tech investors might want to keep buying.
Most U.S. tech companies aren't affected much by Middle East oil shipments or the other disruptions caused by the war. Though Iran has attacked a few data centers in the Middle East, targeting them with drones and missiles, the conflict doesn't pose a direct physical threat to the infrastructure or operations of most large tech companies.
The Nasdaq-100 rally since March 30 is a sign that investors believe the worst of the war is over, and that it's safe to buy tech stocks again. This is an optimistic signal that the worst-case scenarios will be avoided, interest rates won't go up, and tech companies can keep delivering strong earnings growth for the rest of 2026.
Part of the rally in tech stocks is coming from the software sector. Remember the SaaSpocalypse? It wasn't long ago that many investors were worrying that artificial intelligence (AI) was going to put software-as-a-service (SaaS) companies out of business. But that narrative seems to be fading.
The iShares Expanded Tech-Software Sector ETF (NYSEMKT: IGV), which holds more than 100 software stocks, including major names like Microsoft and Salesforce, is up 8.8% from its prewar close on Feb. 27. Since its April 10 close, the ETF has gained 18.8%.
Software companies might not be out of the woods yet -- this fund is still down 16% year to date. But their recent rally is another good sign for tech investors.
It's not just the Nasdaq-100 that's rallying. The S&P 500 index is up 4.3% year to date, and up 12.5% since its 2026 low on March 30. The rest of the world's stock markets, and many of the exchange-traded funds (ETFs) indexed to them, are rising too. The Vanguard Total International Stock ETF (NASDAQ: VXUS) holds nearly 8,800 stocks from dozens of countries, and it has gained 10.7% since March 30.
Emerging markets such as China, Taiwan, and India are up even more. The Vanguard FTSE Emerging Markets ETF (NYSEMKT: VWO) is up 12% since March 30 and has gained 9.3% year to date -- outperforming the Nasdaq-100 so far in 2026.

^NDX data by YCharts.
These are signs that investors are in a "risk-on" mood. When the broader appetite for riskier assets is up, the tech-heavy Nasdaq-100 often benefits.
There's no one simple answer for why the Nasdaq-100 is rallying. But if these favorable trends can continue -- a resumption of energy shipments from the Middle East, lower market volatility, and lessened concern about inflation and interest rates -- that would be good news for tech stocks.
Before you buy stock in iShares Trust - iShares Expanded Tech-Software Sector ETF, 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 iShares Trust - iShares Expanded Tech-Software Sector ETF 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 $502,837!* 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,241,433!*
Now, it’s worth noting Stock Advisor’s total average return is 977% — a market-crushing outperformance compared to 200% 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 23, 2026.
Ben Gran has positions in Vanguard Total International Stock ETF. The Motley Fool has positions in and recommends Microsoft, Salesforce, and Vanguard FTSE Emerging Markets ETF. The Motley Fool has a disclosure policy.