Britain's yawning trade gap narrowed in July thanks to a post-Brexit vote boost to exports.
The Office for National Statistics (ONS) said the UK's deficit on trade in goods and services hit £4.5 billion, shrinking from £5.6 billion in June.
However, the figure came in shy of expectations, with economists pencilling in a figure of £4.2 billion for July.
The brighter picture for UK trade was driven by a jump in exports, lifting £800 million to £43.8 billion.
The plunge in the value of the pound to 31-year lows following Britain's vote to leave the European Union has made UK goods more competitive on the global market, helping exports to grow.
The trade gap was also aided by an easing in the total number of imports last month, dropping back by £300 million to £48.3 billion.
The shrinking of the trade deficit will boost hopes that the economy can continue to grow in the third quarter despite initial fears that Britain was on course to enter recession.
Howard Archer, chief UK and European economist at IHS Global Insight, said the result adds evidence to the economy's "current resilience".
"A major hope for the UK economy going forward is that the substantial overall weakening of the pound since the UK voted to leave the European Union in June's referendum will increasingly feed through to boost foreign demand for UK goods and services."
He added: "While the pound has recently firmed from its post-Brexit vote lows, it is still at an extremely competitive level and is likely to remain so for an extended period."
The ONS said the trade gap was helped by a rise in the export of ships and fuel, which both stepped up by £500 million.
There were smaller export increases from food, drinks, tobacco and machinery, but these rises were offset by a £500 million fall in aircraft exports.
It came as car imports shifted into reverse, dropping by £300 million.
Samuel Tombs, chief UK economist at Pantheon Macroeconomics, questioned whether the trade deficit was feeling the impact of Sterling's drop in the wake of the Brexit vote.
"Looking ahead, the lesson from the past is that it takes at least a year for Sterling depreciations to boost net trade, as it takes time for firms to re-negotiate contacts and exporters to invest in new capacity.
"In addition, multinational companies have warned vocally that they will hold back from investing and relocating production to the UK to take advantage of Sterling's weakness until the UK's future trade arrangements are known. As such, the trade boost from Sterling's depreciation looks set to be a damp squib."