NEW YORK (CNNMoney) -- The U.S. trade gap widened to a three-month high in December, driven largely by rising commodities prices.
The trade balance, which measures the difference between the nation's imports and exports, grew to a $40.6 billion deficit in December, up from $38.3 billion in November, the Commerce Department said Friday.
That number was roughly in line with analysts' estimates, and represents the highest level since September 2010.
Exports totaled $163 billion in December, a rise of $2.8 billion from the month before, and imports totaled $203.5 billion, or $5.1 billion more than in November.
Rising oil prices took their toll on imports, particularly on industrial supplies and materials, said Jennifer Lee, an economist with BMO Capital Markets.
Imports in that category rose a whopping 10.4% largely due to rising energy prices and soaring prices for raw materials, she said.
For the year overall, the U.S. trade deficit fell much deeper into the red, to a whopping $497.8 billion, up from the $375 billion trade deficit in 2009.
But exports grew at a faster rate than imports, and that's at least an encouraging sign, Lee said.
"That's good news for U.S. manufacturers who are in the business of making and shipping goods overseas," she said. "And it helps the president's goal of doubling exports."
A year ago, President Obama announced his goal to double U.S. exports by 2015, spurring job growth in the American manufacturing sector.
Industry experts say that may be a lofty goal, especially given what they say is still an uneven playing field with the world's second largest economy, China.
"We do expect to see strong growth in exports in 2011," said Dan Meckstroth, chief economist for the Manufacturing Alliance. "But doubling exports is still a stretch goal. If the Chinese would allow their currency to appreciate 30% to 50%, it could be a more viable target."
Since the recession, trade imbalances have driven the rift between the two countries wider, as the U.S. still struggles with a trade deficit, and China builds a massive trade surplus.
Carrier workers don't believe Donald Trump can keep their jobs in America. More
The U.K. is preparing to split from the European Union, which means about $1.3 trillion in trading relationships will have to be reset. More
Apple is more focused on social responsibility than ever before, but it's also becoming more bureaucratic and potentially losing its innovative streak. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
An impending October rule change by the Securities and Exchange Commission ? a reform that stems from the 2008 financial crisis ? is spurring a mass exodus from some of these funds. More