The government revised trade data going back to 2013. Economists polled by Reuters had forecast the trade deficit rising to $41.3 billion in April.
When adjusted for inflation, the deficit widened to $57.6 billion from $56.1 billion in March.
The trade deficit for April was smaller than the monthly average for the first quarter, suggesting trade will probably contribute to gross domestic product in the April-June period. Trade has been a drag on GDP growth over the last three quarters.
In April, exports of goods increased 2.5 percent to $120.1 billion. Exports have been undercut by a strong dollar and sluggish global demand. With the dollar's rally ebbing and U.S.-made goods becoming more competitive on international markets, some of the weight on exports is starting to lift.
Overall exports of goods and services rose 1.5 percent to $182.8 billion in April. Exports to the European Union fell 6.0 percent, while goods shipped to Canada increased 1.1 percent. Exports to China fell 3.2 percent.
Imports of goods rose 2.4 percent to $178.9 billion in April, pointing to a pick-up in domestic demand. Part of the increase reflected a rise in oil prices. Oil prices averaged $29.48 per barrel in April, up from $27.68 in March. The petroleum trade deficit was the smallest since February 1999.
Imports from China surged 10.5 percent. With exports falling, the politically sensitive U.S.-China trade deficit increased 16.3 percent to $24.3 billion in April.□
Lucia Mutikani, Reuters