The office of National Statistics said that the biggest increase in inflation from January 2024 increased by 3.6% in the year.
It marks a significant growth at the rate of 3.4% in May.
The rate at which prices matters to shopkeepers, whose money does not go as long as goods and services are becoming more expensive.
The decision will affect whether the Bank of England decides to increase or reduce interest rates as high rates can slow down inflation by reducing economic activity.