The United States' January trade deficit rose slightly to $39.09 billion, near its monthly average for 2013, the Commerce Department said Friday.

Exports climbed 0.6 percent to $192.5 billion, 1.7 percent higher than the monthly average for 2013, while imports edged up 0.6 percent to $231.6 billion, a 12 percent increase over last year's monthly average.

The U.S. trade deficit for all of 2013 totaled $474.9 billion, down 11.2 percent from the previous year.

The United States' trade picture has improved over the past two years due to a shale gas and oil bonanza that has reduced dependence on imported energy.

Last year, U.S. oil exports rose to a record high of $137.2 billion, up 11 percent from 2012, while petroleum imports declined by 10.9 percent to $369.4 billion.

In January, however, oil imports rose 9 percent and petroleum exports declined 8.4 percent.

The U.S. trade deficit with China climbed from $24.5 billion in December to $27.8 billion in January, the Commerce Department said Friday.

The country's January trade deficit with the European Union, meanwhile, fell 12 percent in January to $10.1 billion. EFE