Image copyright Getty Images

Productivity in the UK fell at its fastest annual pace in five years in the April-to-June quarter, according to the Office for National Statistics.

The figure - measured by output per hour - fell by 0.5%, after two previous quarters of zero growth.

Both services and manufacturing saw a fall from April to June, the ONS said.

It added: "This sustained period of declining labour productivity represents a continuation of the UK's 'productivity puzzle'."

The ONS added that productivity since the economic downturn in 2008 was "growing more slowly than during the long period prior to downturn".

Tej Parikh, chief economist at the Institute of Directors, said: "These figures hammer home the impact uncertainty is having on the business environment.

"Unsure of what's around the corner, businesses' investment in the new equipment and technology that drives up their performance has been stifled. Many companies are also trimming their investment pipelines for the year ahead to build up a cash cushion in anticipation of challenging economic conditions ahead."

Analysis: Andrew Walker, BBC economics correspondent

Why does productivity, the amount of output you get from each worker, matter so much

In the long term, rising living standards need rising productivity.

There's a well-known line from the Nobel Prize-winning economist Paul Krugman on this: "Productivity isn't everything, but in the long run it is almost everything. A country's ability to improve its standard of living over time depends almost entirely on its ability to raise its output per worker".

The period of weak productivity growth after the financial crisis has been a time when the economy has, for most of the time, been growing but not strongly.

The one rather brighter spot has been the other element in the productivity calculation, employment.

Britain now has the highest percentage of the population in employment since at least 1971 (that's how far back this particular data series goes).

More jobs, but less productive than they would have been, had productivity grown at the rates we have seen in previous decades.

Jon Boys, from the Chartered Institute of Personnel and Development, said: "Businesses may have more immediate concerns than raising productivity, but it's the only way to increase pay packets in the long term.

"We mustn't be fooled by recent strong earnings growth figures, which have been driven by a tight labour market and not an increase in employers' ability to pay."

Howard Archer, chief economic adviser to the EY Item Club, commented: "Heightened concerns over Brexit - especially serious concerns among many companies of the UK leaving the EU without a deal - has clearly caused companies to limit their investment with damaging implications for productivity.

"If a Brexit deal is agreed and enacted by 31 October, this will hopefully dilute business uncertainty and provide some boost to business investment, which would be good news for productivity prospects."