UK consumer price inflation remained at 3% in January, the same level as in December.
The rate, as reported by the Office for National Statistics (ONS), is close to November’s six-year high of 3.1%.
Most economists were expecting a small fall in the CPI to 2.9%.
The ONS said that, although petrol prices had risen by less than this time last year, the cost of entry to attractions such as zoos and gardens fell more slowly.
It said though, that after rising strongly since the middle of 2016, food price inflation now appeared to be slowing.