(Bloomberg) -- Canada’s merchandise trade balance swung back into deficit as surging imports of computers and electronics outweighed a spike in gold exports to non-US countries.

The trade shortfall hit C$583 million ($421 million) in October, according to Statistics Canada data released Thursday. Economists surveyed by Bloomberg expected a larger deficit of C$1.5 billion.

The share of Canada’s exports headed to the US fell to 67.3%, the lowest level on record outside the pandemic in data going back to 1997. Shipments south of the border fell another 3.4% in October, driven by falling exports of aircraft and gold.

Overall, Canadian imports were up 3.4% as the country brought in record shipments of computers and computer parts, including processing units from Ireland, the agency said. Smartphones, precious metals, and industrial machinery also drove the increase.

Total exports rose 2.1%, driven by gold shipments, specifically to the UK. Unwrought exports of the precious metal, as well as silver and platinum, jumped 47.4% in October. Energy exports fell 8.4%.

“Higher gold prices have largely been behind this recent growth, but volumes were also up, increasing by nearly 40% in October 2025 on a year-over-year basis,” the agency said.

Stripping away prices, exports fell 0.4% and imports rose 2.6% on a volume basis.

“The mild deterioration in the trade balance was expected, and partially offset by ongoing strength in gold exports,” Shelly Kaushik, senior economist at Bank of Montreal, said in a report to investors. 

“While some evidence of diversification can be seen in the data, trade flows will continue to be under pressure as tariff and geopolitical uncertainty remain elevated.”

The yield on the Canadian government two-year bond was up about two basis points to 2.575% as of 9:56 a.m. in Ottawa. The loonie was relatively unchanged on the day at C$1.3860 per US dollar. Traders continue to expect the Bank of Canada to hold its key rate steady at 2.25% for most of this year. 

Under President Donald Trump, the US has slapped major tariffs on imports of Canadian goods. Autos, lumber, steel and aluminum face particularly heavy levies, slowing shipments across the border.

Canadian export volumes were up a meager 0.8% in the first 10 months of 2025 compared with the same period in 2024, capturing how the trade war has weighed on activity.

At the same time, many products are exempt from tariffs through the US-Mexico-Canada Agreement, known as CUSMA in Canada, leaving the northern nation with an effective tariff rate of between 5 and 7%, according to economist estimates. The deal is set to be reviewed this year.

“Canadian exporters remain challenged by US tariffs and uncertainty around CUSMA renegotiations, and likely won’t see a sustained improvement in activity until that uncertainty fades further into 2026,” Katherine Judge, economist at Canadian Imperial Bank of Commerce, told investors in a note.

--With assistance from Mario Baker Ramirez.

More stories like this are available on bloomberg.com

©2026 Bloomberg L.P.