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.
Wilbur Ross, Trump's pick for commerce secretary, is angered by these sneaky tactics he says China and other countries use to cheat the U.S. on trade. More
China and Japan sold a large amount of U.S. Treasury bonds in November. It's not just a reaction to Donald Trump and possible stimulus though. They have been selling bonds for months. If this continues, rates could creep even higher. More
In 1998, Ntsiki Biyela won a scholarship to study wine making. Now she's about to launch her own brand. More
If you're smart about when you first claim Social Security, you can increase your benefits and reap the rewards for the rest of your life. More