While the United States was burning through cruise missiles, threatening to destroy Iranian civilization, and watching its vice president shuttle between Budapest and Islamabad in the same week, Xi Jinping was doing something far more strategic.
Nothing.
Not quite nothing. China condemned the US strikes, quietly kept buying Iranian oil, helped coax Tehran toward the Pakistan-brokered ceasefire table according to Trump himself, and watched the rest of the world draw its own conclusions. That combination of minimal action and maximum positioning is how China has conducted its foreign policy for years. The Iran war just gave it the most favourable conditions it has had in a long time to do exactly that.
The country that may have gained the most from this war never fired a shot.
The Military Gift Nobody Asked For
Start with the part that should be keeping Pentagon planners up at night.
The US committed roughly 80% of its JASSM-ER stealth cruise missile inventory to the Iran fight, pulling stockpiles from the Pacific to feed the campaign. The conflict significantly depleted US supplies of Tomahawk and Patriot missiles, THAAD interceptors, and drones.
Those shortages are already rippling outward. THAAD components have been pulled from South Korea. Patriot batteries are unavailable for Ukraine. The US military is the most powerful in the world. It is also not infinite. The Iran campaign consumed munitions at a pace that took years to rebuild, and it did so while US military attention and assets were redirected away from the Pacific toward the Gulf.
Beijing did not have to do anything to produce this outcome. Washington produced it for them.
The second military gift was intelligence. Beijing got a free masterclass in modern American warfighting: how the US uses AI to target, how it rotates carrier groups, how cheap Iranian drones drain the most expensive interceptors in the American arsenal. For Chinese war planners gaming out a Taiwan contingency, six weeks of watching the US military operate in real combat conditions against a real adversary was more valuable than any simulation or satellite image.
When Trump called on NATO allies and Indo-Pacific partners to provide military support to reopen the Strait of Hormuz, both refused. He publicly rebuked Japan, South Korea, and Australia for declining to join US-led attacks on Iran. The alliance fracture was visible, loud, and logged by every government watching from the region.
America’s allies saw the US pull missile defence assets from South Korea, leave partners in Asia without Patriot coverage, and shift naval power from the Pacific to the Gulf. The message received in Seoul, Tokyo, Canberra, and Taipei: American security commitments have an asterisk. Beijing did not write that message. Washington did. But Beijing will quote it for years.
How the Energy Equation Moved in China’s Favour
The conventional assumption was that a war disrupting the Strait of Hormuz would badly hurt China. It is the world’s largest oil importer, roughly a third of its overseas oil supply transits Hormuz. When the Strait closed on March 4, the assumption seemed validated.
It was more complicated than that.
China remains relatively insulated in the short term, its strategic petroleum reserves are full. Renewables plus nuclear now exceed 20% of China’s total energy consumed, having passed oil as the second-largest energy source last year. The country is roughly 85% energy self-sufficient.
More importantly, the disruption accelerated a shift that was already happening. When oil and gas supplies get weaponised, import-dependent countries accelerate their transition to alternatives. China owns over 70% of global solar, wind, battery, and electric vehicle supply chains. The longer Hormuz stays disrupted, the deeper the world’s dependency on Chinese clean energy infrastructure gets. Every government that watched oil hit $120 a barrel and decided to accelerate its renewables buildout is, functionally, increasing its reliance on Chinese-manufactured components. The war was, in this sense, the stress test that Beijing’s energy strategy was designed for.
According to a 2025 tally by the Lowy Institute, 145 economies now trade more with China than with America.The energy disruption did not reverse that, it deepened it.
The Diplomacy That Didn’t Cost Anything
While Trump was threatening to bomb Iran “back to the Stone Ages,” Beijing was quietly helping Pakistan bring both sides to the table in Islamabad. Trump acknowledged this directly, saying China had helped get Iran across the line toward the ceasefire. China spent no diplomatic capital visibly, made no public commitments, and still walked away with credit for contributing to the resolution of a war it had condemned.
China condemns American strikes against Iran but expands its economic ties with Iran’s Gulf neighbours. It touts its partnership with Russia while positioning itself to help reconstruct postwar Ukraine. It maintains a treaty alliance with North Korea while working to stabilise relations with South Korea. In short, China maintains a diversified portfolio of transactional relationships centred primarily around commerce.
This is not an inconsistency, it is a strategy. China does not need to pick a side in the Iran war to benefit from it. It simply needs the war to end without either destroying global trade or producing a US-dominated Middle East that excludes Chinese influence. The Pakistan-brokered ceasefire, which China supported from the margins, achieved both.
The exposure of limits in US coercive power — not just in the region but in the eyes of every actor watching from Taipei to Vilnius — is the most consequential outcome, more damaging than any battlefield result. Capitals from Riyadh to Jakarta that are weighing which superpower to align with watched the US start a war without congressional approval, alienate its allies, deplete its Pacific munitions, and produce a ceasefire that both sides immediately accused the other of violating. They drew their own conclusions. Beijing did not need to lobby anyone. The demonstration effect did the work.
The AI Window
The Gulf’s massive AI buildout — billions from Microsoft, Oracle, Nvidia, and others, faces indefinite geopolitical risk after Iranian strikes on AI-related targets across the region. China already has the world’s second-largest AI compute capacity, it does not need Gulf cooperation to scale. Every dollar of Western investment that stalls in the Gulf is a dollar that does not build an alternative to Chinese infrastructure.
This is the quietest dimension of China’s Iran war dividend and possibly the most consequential over time. The race for AI compute capacity is one of the defining competitions of the next decade. Western tech companies had been building data centre infrastructure across the Gulf at scale. That buildout is now delayed, paused, or being reconsidered. China’s domestic AI capacity kept running throughout the war. The gap between Chinese and Western compute infrastructure in the region has narrowed in ways that have nothing to do with semiconductors or export controls, and everything to do with a war that made the Gulf a less attractive place to invest.
The Limits Are Real
Xi does not want simply a diminished United States, he wants one that still helps to preserve a stable world order. Beijing does not interpret every US setback as a Chinese gain. More often, it waits, watches, and calculates. It asks not simply whether the United States has been weakened but whether the surrounding environment has become more stable or more chaotic.
China’s economy remains structurally dependent on export demand. Europe alone absorbs 15% of Chinese exports. A sustained energy shock that tips Europe and the US into recession would collapse Chinese export orders, compound the ongoing property crisis, and expose the weakness of domestic demand. Standard modelling suggests China’s GDP falls roughly 0.5% for every 25% rise in oil prices.
Chinese officials told reporters that Beijing wanted the war to end as soon as possible. What China ultimately craves is geopolitical and economic stability. A prolonged war that keeps Hormuz disrupted, tips Europe into recession, and collapses Chinese export markets is not a Chinese win. It is a mutual loss with asymmetric short-term benefits.
The distinction matters. China gained from this war. It did not engineer this war for that purpose. Beijing’s preference is a world stable enough for trade to flow and influence to accumulate gradually. The Iran war delivered some short-term strategic advantages while threatening the conditions that make China’s long-term rise possible. Xi is patient enough to understand the difference.
What It Adds Up To
The Iran war produced a long list of losers. Iran was devastated militarily, the Gulf states absorbed strikes they did not want, Lebanon lost over 2,000 people. The US spent $18 billion and counting, depleted its Pacific munitions, and fractured its alliance relationships. The global economy took an energy shock described by the IEA as the largest supply disruption in history.
China spent nothing, fired nothing, and lost no one.
It watched American warfighting up close, it saw the Pacific stripped of missile defences, it witnessed US allies refuse to join the fight. It watched governments accelerate their dependence on Chinese clean energy infrastructure. It helped broker the ceasefire from the margins and received public credit from the US president for doing so. And it did all of this while publicly calling for peace and stability, which is the correct position to take if you want to be seen as the responsible superpower in a world where the other one just started a war during active nuclear negotiations.
The ceasefire is fragile. The Islamabad talks are ongoing, nothing is resolved. But the strategic balance of the past six weeks has moved in one direction, and it was not toward Washington.

