Inflation rises to a 3-year high on spiking gas prices, highlighting affordability challenges

A pump fills up the tank of a vehicle at an Exxon gasoline station
A pump fills up the tank of a vehicle at an Exxon gasoline station in Litttleton, Colo., Tuesday, May 12, 2026. (AP Photo/David Zalubowski)

WASHINGTON (AP) — Rising gas prices pushed inflation to its highest level in three years last month, a headache for the Federal Reserve and a potential political challenge for the Trump administration as midterm elections near.

Consumer prices rose 4.2% in May from a year earlier, the Labor Department said Wednesday, up from 3.8% in April and the third straight increase. On a monthly basis, prices rose 0.5% last month, after big gains of 0.6% in April and 0.9% in March.

Inflation had been cooling before President Donald Trump imposed sweeping tariffs in April 2025, which lifted the costs of many goods. Prices have since surged after the Iran war made oil and gas more expensive, making affordability a key political issue. A key question is whether rising prices will spread more broadly through the economy.