A rise in exports and lower imports of oil helped push the U.S. trade deficit to its narrowest point in nearly three years in December, suggesting the economy did much better in the fourth quarter than initially estimated.
The country's trade gap narrowed to $38.5 billion during the month, the Commerce Department said on Friday. Analysts polled by Reuters had expected a deficit of $46 billion.
"Trade data for December paint a reassuring and encouraging picture of the US economy at the end of last year," said Chris Williamson, chief economist at Markit.
That suggests the U.S. government will revise upward its advance reading for fourth-quarter gross domestic product, which showed the economy contracted at a 0.1 percent annual rate in part because of a decline in inflation-adjusted exports.
The government had released its estimate for fourth-quarter GDP before the December trade data was available. That GDP report projected a decline in December exports. (Read More: Why This Is 'Best-Looking' GDP Drop You'll Ever See)
Ian Shepherdson, chief economist at Pantheon Macroeconomic Advisors, said December's data could add 0.7 percentage point to the fourth-quarter GDP reading.
Friday's data showed U.S. exports surged by $8.6 billion during the month, boosted by sales of industrial supplies, including a $1.2 billion increase of non-monetary gold.
In a reflection of America's current boom in the output of oil and natural gas, petroleum exports rose by nearly $1 billion during the month to a record high level.
A fall in petroleum imports led overall purchases from abroad to decline $4.6 billion in December. For the entire year, the country's imports of crude oil fell to their lowest levels since 1997 in terms of volume.
Investors appeared unmoved by the data. Futures for U.S. stocks were little changed.
For all of 2012, the U.S. trade gap fell by 3.5 percent to $540.4 billion. Running trade deficits means the country bleeds dollars, so trade is still a drag on the U.S. economy. But rising exports are helping it to be less of a drag than in prior years.
Exports last year rose 4.4 percent.
While the overall trade deficit shrank, it grew with China during the year. That raised hackles from American manufacturers who want the United States to pressure the Asian giant more to strengthen its currency.
"Congress and the administration must take on currency manipulation," said Scott Paul, president of the Alliance for American Manufacturing
But even the figures on China had a silver lining. While U.S. imports last year from China increased to a record high, so did America's exports to the country. America's December trade deficit with China for goods, which was not seasonally adjusted, narrowed by $4.5 billion on a drop in imports.
The U.S. trade deficit increased with the European Union last year but America's surplus with Brazil rose.