How old do you have to be to drink alcohol in a pub in the uk?

The minimum age to purchase and consume alcohol in Uk licensed premises is 18.

However a person 16 or 17 may consume, but not buy, alcohol if they are accompanied by an adult. This is at the landlords discretion.