FORTUNE — U.S. consumer prices last month posted their largest increase since last summer, as gasoline, shelter and food prices all grew.

The Labor Department on Thursday said its seasonally adjusted consumer price index (CPI) increased 0.3% in April. The gasoline index grew 2.3%, the first increase for the energy index since January, despite declines for electricity and fuel. The food index grew 0.4% last month–the third consecutive increase. The latest increase was due to a sharp rise in meat prices.

The Department of Labor’s CPI measures consumer-level inflation.

MORE: Producer prices see largest increase in over a year

The index for all items excluding food and energy rose 0.2% in April. Prices for shelter, medical care, new vehicles and airline fares all increased, though the indexes for apparel, personal care, and household furnishings were flat.

A report released Wednesday showed U.S. producer prices saw their largest increase in over a year last month, hinting at some inflation pressures at the wholesale level.

The Labor Department said its seasonally adjusted producer price index (PPI) for final demand advanced 0.6% in April, marking the biggest rise since September 2012. It was the second consecutive month that metric advanced. In March, the index increased 0.5%.

MORE:Can America’s middle class save more?

There have been some mixed signs about the strength of the U.S. economy. Employers continue to add jobs, which can help lift consumer discretionary spending, but earlier this week, the Commerce Department reported retail sales grew a less-than-expected 0.1% in April from the prior month.