|US exports were bolstered for a second month by strong soybean shipments, worth $5.2 billion|
But trade growth and the deficit remained close to recent lows, reflecting the slow global economy.
Exports were bolstered for a second month by strong soybean shipments, worth $5.2 billion, and with a $932 million surge in gold exports offsetting a $790 million fall in aircraft deliveries.
On the import side, shipments of cellphones, crude oil and aircraft surged.
Ian Shepherdson of Pantheon Macroeconomics said another noteworthy factor in the deficit rise was a 38 percent rise to $1.2 billion in foreign charges for the use of intellectual property: payment for Olympics broadcast rights.
In all the monthly deficit for goods and services came in at $40.7 billion, up from $39.6 billion in July. Exports rose 1.2 percent to $185.7 billion, while imports were up 0.8 percent at $227.4 billion.
Although trade remains relatively weak, the deficit is at a healthy level, according to analysts. For the first eight months of the year, the deficit was $330.7 billion, 1.3 percent below the same period in 2015.