A wet autumn pushed up vegetable prices to high levels in May.
Modest fruit and vegetable falls didn't slow annual price increases.
Despite a monthly fall of 0.4 per cent for fresh fruit and vegetables, annual vegetable prices kept food prices rising in the year ended June 2017. Overall, food prices increased 3 per cent in the year.
Vegetable prices increased 18 per cent in the year ended June 2017, led by higher prices for tomatoes, kumara and lettuce.
The average price for 1kg of tomatoes was $8.69 in June 2017, compared with $6.77 in June 2016. Tomatoes are typically more expensive in winter, often going above $10 a kg.
Grocery food prices rose 2.1 per cent in the year to June 2017, led by higher prices for dairy products.
Spending on grocery food such as dairy, bread, and cereals makes up about $35 of every $100 spent on food, compared with $15 for fruit and vegetables.
Because the annual increase for grocery food was much lower than fruit and vegetables, the overall increase in food prices was just 3 per cent.