
Prices rose 3.6% in the year to October, up from 3.5% in September, the Office for National Statistics (ONS) said.
Higher oil prices were also affecting the wider economy, the ONS said, continuing to drive up the cost of raw materials and goods leaving factories.
Global oil prices have surged in recent months due to the US-Iran war, with the Bank of England raising nterest rates for the first time in three years earlier this month in a bid to slow price rises.
Rates were increased to 4%, with the Bank signalling a further rate rise could be likely unless the conflict in the Middle East is resolved.