Figures from the Office for National Statistics (ONS) showed industrial production unexpectedly grew by 0.7% month-on-month in September, recording its sixth straight month of growth for the first time in 23 years.
However, construction output fell by 1.6% in the month, the ONS said.
The UK's trade deficit in goods and services narrowed by £0.7bn between August and September 2017 to £2.75bn, mainly due to trade in goods exports increasing by £1.3bn.
In construction, output decreased 0.6 percent after remaining flat a month ago.
The increase in industrial production was better than analysts' forecasts, and the fastest growth seen since December past year.
The factory output, measured by movement in Index of Industrial Production (IIP), had slipped to a low of (-) 2.49 (revised) in July on account of declining output in manufacturing and capital goods sectors.More news: Boeing signs deal to sell 300 planes worth $37 bln to China
The revisions have little effect on GDP growth in the third quarter, the ONS said.
Construction output fell 1.6 percent from August, the most since March previous year.
A widening in the trade deficit in the third quarter, to 9.5 billion pounds from 6.5 billion pounds in the previous three months, means net trade once again dragged on growth during the period.
That leaves construction output down 0.9% in the third quarter following a 0.5% decline in the second quarter.
The industry group "Manufacture of pharmaceuticals, medicinal chemical and botanical products" has shown the highest positive growth of 26.4 per cent followed by 13.2 per cent in "Manufacture of computer, electronic and optical products" and 13.1 per cent in "Manufacture of motor vehicles, trailers and semi-trailers".