The U.S. trade deficit climbed in May as a surge in imports of Chinese-made cellphones and computers pushed the politically sensitive imbalance with China to the highest level in six months.

The Commerce Department says the trade deficit rose to $41.1 billion in May compared to April's $37.4 billion. It was the largest imbalance since February.

Exports, which have struggled this year because of a strong dollar and weak growth in overseas markets, edged down 0.2 percent to $182.4 billion. Imports jumped 1.6 percent to $223.5 billion.

America's deficit with China jumped 19.4 percent to $29 billion, the largest imbalance since November. Presumptive Republican presidential nominee Donald Trump has accused the Obama administration of failing to protect U.S. workers from unfair trade practices in China and other countries.