British inflation jumped further above the Bank of England's target in June when it hit 2.5%, its highest since August 2018 and up from 2.1% in May.
The increase will put the focus of the Bank of England's plan to keep its huge stimulus programme in place.
Official data showed higher prices for food, fuel, second-hand cars, clothing and footwear all pushed inflation up last month as the economy bounced back from its lockdown slump, the Office for National Statistics said.
The reading was above all forecasts from economists polled by Reuters who mostly had expected consumer price inflation (CPI) to hit 2.2% in the 12 months to June.
Data published yesterday showed US consumer prices rose by 5.4% in the 12 months to June, the biggest increase in 13 years, and the Federal Reserve has said its top officials were poised to act if inflation risks build.
Britain's inflation broke above the Bank of England's 2% target for the first time in almost two years in May, but its rise is expected to be much less sharp than in the US/
The Bank of England has said inflation will peak above 3% as Britain before falling back.
But the central bank's departing chief economist, Andy Haldane, who took part in his last Monetary Policy Committee meeting in June, has warned of inflation of 4% and the risk that higher price growth sticks.
"Today's figures will be of concern to the Bank of England. With the weight of opinion on the MPC set against early action and with the hawkish Andy Haldane has now retired, it is not obvious who might advance the case for early action," James Sproule, an economist with Handelsbanken, said.
"At least a start to unwinding of the quantitative easing program should be a considered this autumn and that diversity of opinion on the MPC needs to be preserved," he added.
The Bank of England worries that the phasing out of the government's jobs subsidies programme by the end of September could lead to higher unemployment which would take the heat out of the rise in inflation.
Core inflation, which excludes the price of food, energy, alcohol and tobacco was 2.3% in the 12 months to June compared with 2% in May, the ONS said.
The acceleration of inflation reflects the weakness of demand last year when much of the country's economy was shut down and consumers were ordered to stay at home. Global oil prices have climbed this year as the world economy recovers.
Today's figures showed British fuel prices in June were 20.3% higher than a year earlier, the biggest rise since 2010.
Prices paid by manufacturers for their inputs rose by 9.1% in the 12 months to June, while the prices they charged rose by 4.3%.