WASHINGTON -- For the third straight month the U.S. trade deficit shrank in July helped by gains in exports especially from the automotive sector, Commerce Department data showed Thursday.
The monthly trade balance came in at a negative $40.5 billion, down from a $40.8 billion deficit in June.
Exports rose $1.8 billion to $198.0 billion, while imports gained $1.6 billion to $238.6 billion.
Cars and trucks, parts and engines were the primary force behind the export gains, up $1.7 billion in the month to $15.3 billion.
Also showing strength were exports of oil products, industrial machinery and telecommunications equipment, including cellphones.
Meanwhile crude oil imports picked up, while consumer goods imports fell.
For the year to July, the trade deficit at $295.3 billion was 4.6% larger than a year ago, with exports for the seven month period up 3.1% year on year and imports growing 3.4%.
Analysts said the improvement in the deficit should give a boost to overall economic growth in the third quarter, if sustained.
Copyright Agence France-Presse, 2014