image AFP/Getty Images
The large U.S. trade deficit, a source of irritation to President Trump, fell 2.1% in April to a seven-month low.

The numbers: The U.S. trade deficit shrank 2.1% in April — before the Trump tariffs took effect — and tumbled to a seven-month low. But the gap is still on track to widen in 2018 to the highest level in a decade

The deficit declined to $46.2 billion in April from a revised $47.2 billion in March, the Commerce Department said Wednesday[1]. Economists polled by MarketWatch had forecast a $48.8 billion gap.

What happened: Exports edged up 0.3% to a record $211.2 billion. The U.S. shipped out the most domestically produced petroleum in five years, along with more soybeans and corn.

Also Read: Economy can’t keep on truckin’ without more drivers to ease flat-bed shortage[2]

Exports to Mexico also hit an all-time high, but the U.S. trade gap is still larger at this point in the year than it was in the first four months of 2017.

Exports of commercial aircraft fell sharply in April, but it’s a volatile category that jumps around from month to month.

Imports, meanwhile, slipped by 0.2% to $257.4 billion. The U.S. imported fewer cell phones, consumer electronics and foreign autos.

The U.S. trade deficit in goods with China fell sharply because of a drop in imports, but the decline is probably unrelated to pending tariffs on billions in Chinese goods.

U.S. merchants could actually import more Chinese goods in May to take advantage of lower prices before the tariffs kick in.

Big picture: The large U.S. trade deficit has become Public Enemy No. 1 in the view of President Trump, who’s unveiled broad tariffs on an array of foreign goods to try to force other countries to rework trade deals he views as unfair.

Also Read: Mnuchin reportedly urged Trump to exempt Canada from steel tariffs[3]

The White House’s tough approach has unnerved financial markets and invited retaliation, but a much-feared trade war that damages the global economy has so far been averted.

The U.S. is still on track to post another huge deficit that could reach nearly $600 billion in 2018, but the recent decline is likely to give a boost to gross domestic product in the second quarter. A smaller trade deficit increases GDP.

Market reaction:The Dow Jones Industrial Average DJIA, -0.06%[4] and the S&P 500 SPX, +0.07%[5] ...

Read more from our friends at MarketWatch