The U.S. trade deficit widened 1.7% in October to $63.1 billion. The politically sensitive gap in the trade of goods with China and Mexico grew.

The gap between the goods and services the United States sold and what it bought abroad rose from $62.1 billion in September, the Commerce Department reported Friday.

The deficit in the trade of goods with China rose 9% to $26.5 billion and the gap with Mexico rose 10% to $11.8 billion.

FILE - In this Nov. 4, 2019 file photo, John Deere tractors made by Deere & Company are shown as they are readied for export to Asia  at the Port of Tacoma in Tacoma, Wash.  The U.S. trade deficit fell in September 2020 after hitting a 14-year high in August as exports outpaced imports. The Commerce Department reported, Wednesday, Nov. 4, 2020,  the gap between what the U.S. sells and what it buys abroad fell to 63.9 billion in September, a decline of 4.7% from a $67 billion deficit in August. (AP PhotoTed S. Warren, File)

FILE - In this Nov. 4, 2019 file photo, John Deere tractors made by Deere & Company are shown as they are readied for export to Asia at the Port of Tacoma in Tacoma, Wash. The U.S. trade deficit fell in September 2020 after hitting a 14-year high in August as exports outpaced imports. The Commerce Department reported, Wednesday, Nov. 4, 2020, the gap between what the U.S. sells and what it buys abroad fell to 63.9 billion in September, a decline of 4.7% from a $67 billion deficit in August. (AP PhotoTed S. Warren, File)

So far this year, the overall gap in the trade of goods and services with the rest of the world has risen to $536.7 billion, up 9.5% from January-October 2019.

President Donald Trump, who vowed to reduce the trade deficit, has imposed tariffs on foreign steel, aluminum and on $360 billion in Chinese products. The coronavirus, however, has upended trade in services such as education and travel in which the United States runs persistent surpluses. U.S. services exports are down nearly 20% so far this year, and America's trade surplus in services dropped in October to $18.3 billion, lowest since August 2012.