Alnwick Castle in Northumberland was used for the Quidditch and broomstick lessons.
Alnwick (pro-nounced 'An-ick') is the second largest castle in Britain that people still live inside!
It has been used in many other films and television shows such as Robin Hood: Prince of Thieves and Star Trek: The Next Generation.