The annual inflation rate increased slightly in May as an uptick in grocery inflation somewhat offset lower prices at the gasoline pump.

And while inflation was relatively tame, economists said they expect President Trump’s tariff policy to raise consumer prices in coming months — and that there was already some evidence of their impact.

The consumer price index, an inflation barometer, rose 2.4% in the 12 months through May, up from 2.3% in April, the Bureau of Labor Statistics said Wednesday.

That increase to the annual inflation rate was largely due to a data quirk called “base effects,” economists said. (Basically, inflation one year prior, in May 2024, was unusually low, making the May 2025 numbers look high by comparison.)

The monthly inflation rate paints a rosier picture and gives a better indicator of underlying trends, economists said: CPI increased 0.1% from April to May, down from 0.2% the prior month, the BLS said.