The headline rate of retail price index inflation also rose to 3.3% in June, from 3.1% in May, the Office for National Statistics confirmed.
The underlying rate of retail price index inflation increased to 3.3% in June, from 3.1% in May.
More top news
Prisons hit record highs for the number of inmates released in error, as well as for the number of assaults on both prisoners and staff.
One person was killed and several others injured when a fairground ride malfunctioned and broke apart mid-swing.
The government has faced questions as to why the expert analysis of one of the central issues of Brexit was not ordered sooner.