The data supports the Biden administration's messaging that the U.S. economy has turned a corner, as it looks to quell consumers' concerns about the impact of rising prices going into the likely rematch against former president Donald Trump.
The annual consumer price index (CPI) came in at 3.4% in April, down 0.1 percentage point from March, the Labor Department said in a statement.
This was in line with the median forecast of economists surveyed by Dow Jones Newswires and The Wall Street Journal.
Monthly inflation came in at 0.3%, slightly below expectations.
The CPI data also helps the U.S. Federal Reserve, which has hiked interest rates to their highest level for 23 years in a bid to bring inflation back down firmly to its long-term target of 2%.
It marks the first month of slowing annual data since January, although both the annual and monthly figures remain too high.
"The index for shelter rose in April, as did the index for gasoline," the Labor Department said in a statement.
"Combined, these two indexes contributed over seventy percent of the monthly increase in the index for all items," it added.
A widely-watched inflation measure excluding volatile food and energy prices also eased last month, rising at an annual rate of 3.6%, down from 3.8% in March.
The so-called "core" inflation index rose 0.3% in April from a month earlier, according to the Labor Department, also slightly lower than in March.
All rights reserved ©2024 Agence France-Presse.