The Consumer Prices Index rose to 1.9%, up from 1.5% in May, according to the Office for National Statistics.
The rate of UK inflation rose sharply in June, pushed up by higher clothing and footwear, and food and non-alcoholic drinks prices, official figures show.
Rising air fares and furniture prices also pushed the inflation rate up, the ONS said.
The rate is now close to the Bank of England’s 2% target.
It has remained below the target for seven consecutive months.
The pound jumped against the dollar following the rise, climbing as high as $1.7144, around three quarters of a cent higher on the day.
Women’s clothing prices, including for trousers and skirts, helped push up the rate of inflation, the ONS said.
The price of vegetables, bread & cereals, sugar, jam, syrups, and chocolate and confectionery, also contributed.