OTTAWA -- The annual pace of inflation jumped last month to 2.4 per cent, its fastest rate in almost two years, fuelled by higher costs at the gas pump, pricey tomatoes and a rare surge in clothing costs.

The move compared with a year-over-year increase of 2.2 per cent in December, and topped the 2.3 per cent economists predicted for January in a poll by financial markets data firm Refinitiv.

Much of the bump came as concerns about events in the Middle East helped pushed gas prices up 11.2 per cent compared with January 2019 when a global supply glut lowered oil prices.

Statistics Canada said Wednesday excluding gasoline the year-over-year inflation rate would have been two per cent in January.

But by the end of January, prices dropped over concerns of the novel coronavirus outbreak and economists said that the effect of gas prices should dissipate.

Experts also said the data released Wednesday by the national statistics office only slightly dents the odds of the Bank of Canada cutting its key interest rate this year.

The central bank has left the door open to a rate cut to stimulate growth -- and consumer spending -- if it sees an economic slowdown that is more persistent than expected.

"I think they're a bit concerned that with slower growth more recently, inflation won't stay on target," said Josh Nye, a senior economist with RBC Economics.

"Despite a bit of upside surprise in terms of the headline rate in January and core inflation still at two per cent, I think the door is still open to the Bank of Canada lowering interest rates this year."

The average of Canada's three measures for core inflation, which are considered better gauges of underlying price pressures and closely tracked by the Bank of Canada, was 2.033 per cent compared with 2.067 per cent for December.

"Despite the acceleration in headline inflation, underlying price pressures appear to be losing some momentum," Royce Mendes, a senior economist at CIBC, wrote in a note.

The overall increase in prices of 2.4 per cent compared with a year ago was also driven by increased mortgage interest costs, purchases of passenger vehicles, auto insurance premiums, and a bump in rents, Statistics Canada said.

Increases were partly offset by lower prices for telephone services, internet access, tuition fees and traveller accommodation, the agency said.

Costs grew for fresh vegetables by five per cent, largely attributable the agency says to a 10.8 per cent bump in the price of tomatoes stemming from inclement weather in growing regions of the United States and Mexico.

And clothing and footwear -- normally not an inflationary driver -- shot up 3.9 per cent from a year earlier, which economists noted was its fastest annual growth recorded since 1991.

BMO chief economist Douglas Porter noted housing costs seemed strangely mild -- rent costs slowed to 2.4 per cent in January from the 3.4 per cent in December -- even as home prices across the country flared higher.

The headline inflation figure may be understating jumps in home costs over the last year, he said.

Overall, the inflation rate "slightly reduce the odds of a Bank of Canada rate cut," Porter said.

"But make no mistake, the market is still largely expecting a rate cut at some point this year."

Regionally, prices on a year-over-year basis rose more in January than December in every province except Ontario and Quebec.

Here's what happened in the provinces (previous month in brackets):

Newfoundland and Labrador: 2.2 per cent (2.0)

Prince Edward Island: 3.0 (2.3)

Nova Scotia: 2.6 (2.2)

New Brunswick: 2.5 (2.3)

Quebec: 2.7 (2.7)

Ontario: 2.1 (2.1)

Manitoba: 2.5 (2.3)

Saskatchewan: 2.3 (1.6)

Alberta: 3.0 (2.3)

British Columbia: 2.3 (2.1)

The agency also released rates for major cities, but cautioned that figures may have fluctuated widely because they are based on small statistical samples (previous month in brackets):

St. John's, N.L.: per cent 2.1 (1.8)

Charlottetown-Summerside: 3.1 (2.2)

Halifax: 2.7 (2.2)

Saint John, N.B.: 2.0 (2.2)

Quebec: 2.2 (1.9)

Montreal: 2.7 (2.8)

Ottawa: 2.6 (2.7)

Toronto: 1.6 (1.9)

Thunder Bay, Ont.: 1.3 (1.0)

Winnipeg: 2.5 (2.5)

Regina: 2.4 (1.7)

Saskatoon: 2.1 (1.5)

Edmonton: 2.7 (2.3)

Calgary: 2.8 (2.1)

Vancouver: 2.2 (1.9)

Victoria: 2.1 (2.1)

This report by The Canadian Press was first published Feb. 19, 2020