Consumer prices rose in annual terms by 3.4 per cent in May, the Office for National Statistics said on Wednesday, just as a Reuters poll of economists and the Bank of England had predicted.
Services price inflation - a crucial metric for the BoE - cooled to 4.7 per cent from 5.4 per cent in April, matching the BoE's forecast for May. The Reuters poll had pointed to a reading of 4.8 per cent.
Earlier in June, the ONS said April's headline consumer price inflation reading of 3.5 per cent had been overstated by 0.1 percentage points due to an error in car tax data from the government.
April's figures were not amended, but the correct data was used for May's readings.
Air fares fell sharply after an Easter holiday spike in April's readings.
The data is unlikely to shift interest rate expectations among economists and investors who think the BoE will leave borrowing costs on hold when it announces its June policy decision on Thursday.
Sterling rose slightly against the US dollar after the ONS data release.
Gas, electricity and water prices rose in April alongside higher taxes on employers, causing inflation to leap from 2.6 per cent in March.Â
A rise in oil prices since the start of the Iran-Israel conflict last week could cause inflation to rise again.
Food prices rose by 4.4 per cent in the 12 months to May, the biggest increase in more than a year, the ONS said, a blow for low-income households.
Some BoE officials have said they disagree with the central bank's key assumption reached at its May meeting that the recent climb in inflation would not have longer-running effects on pricing behaviour.
Market pricing on Tuesday pointed to an 87 per cent chance the BoE will leave rates on hold this week, with two 0.25 percentage-point cuts priced in by the 2025's end.
The BoE lowered rates by a quarter-point to 4.25 per cent on May 8.