The U.S. trade deficit widened in September as imports increased to the highest level in 10 months while exports slipped.

The Commerce Department says the deficit increased to $41.8 billion, up 8 percent from August. It was the largest trade gap since May and marked the third straight month that the deficit has risen since hitting a four-year low in June.

Exports, which hit a record high in June, slipped for the third straight month, dipping 0.2 percent to $188.9 billion, with sales of commercial aircraft and autos both down. Imports rose 1.2 percent to $230.7 billion, the highest level since November.

The deficit with China hit an all-time high of $30.5 billion.

So far this year, the deficit is running 11.7 percent below the pace of 2012.