The cost of the AI Boom: A trade deficit the president detests

Wait 5 sec.

WASHINGTON — President Donald Trump has long viewed the US trade deficit, the gap between what the country exports and imports, as a negative barometer of the economy.But these days, the trade deficit is being driven in part by something essential to the success of Trump’s presidency.But it is also fueling the US trade deficit, as tech companies import expensive foreign computers and chips to fill their new data centers.US imports of computers, computer accessories and semiconductors topped more than $450 billion over the past year, shooting up more than 60% from when Trump was inaugurated through this January, according to US trade data.Computers and electronics have become a sizable chunk of overall US goods imports, which reached $3.4 trillion last year.The 2025 trade deficit in goods grew to a record $1.2 trillion. In particular, the US trade deficit with Taiwan, the source of the most advanced AI semiconductors, roughly doubled last year, to $146 billion.Brad Setser, a senior fellow at the Council on Foreign Relations who has analyzed the trade data, said the construction of AI data centers across the country was “very import intensive,” with South Korea, Taiwan and China all reporting strong export growth in AI-related products.Story continues below this ad“Unless there is a shock that reduces planned investment, it is hard to see how this doesn’t result in a larger US trade deficit in 2026,” he said.Trump sees the trade deficit as sign of economic weakness, and he is trying to bring it down by imposing tariffs on foreign goods. It’s a strategy many economists have questioned.Some economists say the trade deficit is driven largely by other economic forces, such as government spending or the value of the dollar. Others say that tariffs may reduce demand for foreign goods, but that Trump has carved out significant swathes of imports that avoid high tariffs, like such as pharmaceuticals and electronics.Unlike cars, steel and other goods, electronics were intentionally spared by Trump. Last April, the administration issued an exemption from tariffs for smartphones, computers, semiconductors and other electronics. It was a significant break for tech companies, such as Apple, Nvidia and Dell, that have lobbied the president against broad tariffs.Story continues below this adThe administration argued that other tariffs would soon hit the sector, under a national security-related trade investigation. But those tariffs never arrived.The tariff exemption has increased demand for imports of computers, semiconductors and other equipment. So has rapid data center construction around the United States. According to the property firm JLL, more than 35 gigawatts of data center capacity is under construction in North America, equivalent to the annual electricity consumption of Britain or Italy.The AI boom has helped to prop up an otherwise lackluster US economy. It is also powering growth in the stock market, which Trump has long seen as a metric of his administration’s success. Over the past three years, the United States’ largest tech stocks — a group known as the Magnificent Seven — have been responsible for more than half of the 88% gain in the S&P 500.Like the Biden administration before it, the Trump administration has tried to encourage the construction of more US factories to make AI chips and computers. The goal is seen as particularly crucial given the industry’s dependence on Taiwan, which could someday be under threat from a Chinese blockade or invasion.Story continues below this adThe Taiwan Semiconductor Manufacturing Co., the island’s premier chipmaker, has promised to expand its operations in the United States as part of a US-Taiwan trade deal.But construction of these plants is expected to take years, and will still leave the United States dependent on foreign technology suppliers.Commerce Secretary Howard Lutnick has called for moving 40% of Taiwan’s capacity for advanced chip production to the United States within the next three years.Taiwanese officials have called the goal “impossible.” At a news conference on Tuesday, Jensen Huang, the CEO of Nvidia, the world’s biggest manufacturer of AI chips, said that bringing 40% of Taiwanese chip production to the United States would be “very challenging in the near term,” in part because demand for AI chips continues to grow so rapidly.This article originally appeared in The New York Times.