Head of national accounts at the ONS, Darren Morgan, said: "Growth in the third quarter of 2017 continued at a similar rate as seen in the first half of the year". While services grew by 1%, construction contracted by 0.7%.
Manufacturing also returned to growth after a weak second quarter, increasing by 1.0%.
This breaking news story is being updated as more information emerges - please refresh the page for the most recent version.
The "surprise acceleration" has paved the way for the Bank of England to raise interest rates for the first time in a decade next week, says Bloomberg.
The Chancellor, Philip Hammond, said of the performance: "We have a successful and resilient economy which is supporting a record number of people in employment".
Sterling shot up following the release, rising more than 0.3% against both the USA dollar and the euro to 1.317 and 1.119, respectively.
Inflation in the United Kingdom has jumped to a five-and-a-half year high at 3%, while wage growth remains subdued.More news: Storm Brian set to batter United Kingdom with heavy rain and 70mph winds
More news: Oil steady as United States output gains offset Middle East tensions
More news: OnePlus 5T's Latest Leak Shows A New Slim-Bezel Display
However, it sent the UK FTSE's 100 index tumbling 0.4% to 7,496 as stronger economic growth fuels speculation about an interest rate rise at the Bank of England.
"However, construction output fell for the second consecutive quarter, although it remains above its pre-downturn peak".
Growth was "slightly higher" than the 0.3% predicted by City analysts, The Independent reports, but it came at a "slower pace" than past year. With households feeling the squeeze as wage growth continues to fall behind inflation, concerns remain elevated over the sustainability of the U.K.'s consumer-driven economic growth.
"The GDP figures revealed that the economy regained a bit of momentum in the third quarter and have probably sealed the deal on an interest rate hike next week", said Ruth Gregory, UK economist at Capital Economics. The real question will be how rapidly rates rise through next year going back above the level they were cut to in March 2009 following the financial crisis.
But the United Kingdom is still languishing well below the 0.6 per cent registered by the eurozone in the second quarter.
"If the MPC doesn't raise interest rates on 2 November following this preliminary GDP estimate, Mark Carney will be branded as the central banker who cried wolf once too often".