The UK inflation rate remained steady at 2.4% in October, confounding analyst expectations of a rise to 2.5%.
The Consumer Prices Index (CPI) figure included falls in food and clothing costs, but rising utility bills and petrol prices, said the ONS.
The inflation figure comes a day after data showed that wages were rising by 3.2% – the fastest pace in nearly a decade, reports BBC.
Core inflation also held steady at 1.9% in October. That figure strips out the out the effects of energy, food, alcohol and tobacco prices.
Inflation hit a five-year high of 3.1% in November 2017, as the inflationary effect of sterling’s decline after the June 2016 Brexit vote hit its peak.
However, it is still above the Bank of England’s 2% target.
Shoppers browse aisles in a supermarket in London, Britain
The ONS’s head of inflation, Michael Hardie, said: “Prices paid by consumers continued to rise at a steady rate, with falls in food and clothing offset by rising utility bills and petrol, as crude [oil] prices continued to rise.”
The Bank of England expects inflation will drift lower, but expects to have to raise interest rates in coming years to keep inflation at or near its target figure.
Food prices cooled off. The cost of oils and fats dropped by 6.3% compared with the previous month, while milk, cheese, and eggs prices were down 1.4%.
Overall food and non-alcoholic drink prices dropped by 0.2% in October. Clothing and footwear also dipped by 0.5%. But gas and electricity prices both jumped by 2%, while liquid fuels soared by 7.2%.
Looking at the latest date, for manufacturers, the cost of raw materials was 10% higher than in October 2017. And manufacturers increased the prices they charged by 3.3% year-on-year compared with 3.1% the previous month.
The ONS said house prices in September rose by an annual 3.5% against 3.1% in August. But prices in London fell for a third month running, down by 0.3%.
According to Laith Khalaf, senior analyst at Hargreaves Lansdown: “Brexit is still the elephant in the room when it comes to the future path of inflation, and consequently of monetary policy.
“That’s because the pound now waxes and wanes with the Brexit negotiations, and that has a big impact on how much UK consumers pay for imported goods.