It was at 5.43 per cent last month and 5.84 per cent in July 2013.
Inflation in the overall food articles basket, which account for 14 per cent of the total Wholesale Price Index, stood at 8.43 per cent. It was at 8.14 per cent in June.
Inflation in vegetables declined 1.27 per cent, and for onion it was (-)8.13 per cent on an annual basis in July, as per the WPI data released on Thursday.
However, potato prices shot up 46.41 per cent and fruits 31.71 per cent during the month. Rate of price rise in milk was at 10.46 per cent.
Inflation in the egg, meat and fish category stood at 2.71 per cent in July as against 10.27 per cent in the previous month.
While the rate of price rise in pulses was 3.31 per cent, it was at 4.46
Modi sticks to failed recipe in India's food-inflation fight
RBI shifts inflation goalpost to Jan 2016
Let's fight the anti-inflation battle once and win: Rajan
Markets extend gains; Hero MotoCorp down 3%
India Inc's encouraging report card in the June quarter