Household spending rose 0.9 percent, the fastest pace in nearly two years, the Office for National Statistics said on Friday. "In contrast, construction decreased by 0.4% and agriculture decreased by 1.0%", the ONS said in the report.
On the year, growth was confirmed at 2.2%, compared to 2% in the first quarter.
Household spending was up 0.9 per cent on the previous quarter and 3 per cent on the same quarter a year ago.
"The fact that the United Kingdom avoided an immediate crisis does not tell us much about the future", said Mr Holger Schmieding, chief economist at Berenberg Bank, adding that he thought Britain would probably avoid a technical recession (two consecutive quarters of falling economic output). Net trade continued to drag on GDP growth as the gap between exports and imports widened further in the second quarter.
Jonathan Chitty, Investment Analyst at Brown Shipley, added: "Aside from declines seen in agriculture and construction the survey illustrates that the United Kingdom economy was doing well in the second quarter, with output now around 8% higher than the pre-financial crisis peak".
It marked the biggest increase in annual terms since before the beginning of the financial crisis, with a 3% jump over the year.
"Looking ahead, consumers might be able to maintain strong growth in their spending for another quarter, but when inflation picks up in earnest early next year and firms follow through on plans to freeze hiring, they will have to slow down".
They found GDP soared by 0.6% between April to June. "We see few signs that Brexit has derailed the consumer recovery", he added.
Joe Grice, chief economist at the ONS, even suggested that there was no fall off in activity in the final week of the quarter following the Brexit vote on June 23.
"The UK economy was firing ahead in the lead up to the referendum, but not quite on all cylinders".
GDP was also up 2.2% on an annualised basis, in line with a Reuters' analyst poll.
"We suspect that the UK's vote to leave the European Union in the 23 June referendum will significantly weigh down on United Kingdom economic activity for a prolonged period, primarily due to prolonged uncertainty over the outlook affecting business investment and employment", Archer said.
A recent slew of official data covering the first month after the Brexit vote suggests the British economy is also faring better than initially expected.
He says while sales at Sainsbury's fell by 0.6% and Morrisons down 1.8% the 5.5% fall in Asda figures will undoubtedly focus new CEO Sean Clarke's mind on the work ahead to regain position. Also, quarterly growth for investment will provide a small boost to confidence surrounding the outlook.
"Admittedly, consumer spending appears to have held up fairly well since the referendum".
United Kingdom retail sales in August reversed much of an immediate post-Brexit vote fall, with retailers reporting their strongest sales in six months, showed industry data on Thursday, partly due to a weaker pound attracting overseas buyers.
Archer also noted that consumer fundamentals will progressively decline due to an increasing squeeze on purchasing power from rising inflation, limited earnings growth and a nominal increase in unemployment.