Primary exterior: Alnwick Castle, Northumberland, England.
No single building = Hogwarts. The filmmakers created a composite:
| Location | Used For |
|---|---|
| Alnwick Castle | Exterior walls, courtyards, flying lessons, Quidditch pitch (early films) |
| Durham Cathedral | Interior corridors, Chapter House = McGonagall's classroom, Cloisters = corridors |
| Gloucester Cathedral | Corridors, Lavatory (troll), Snape's Potions dungeon |
| Christ Church, Oxford | Great Hall (staircase, dining hall — replicated at Leavesden) |
| Lacock Abbey | Potions classroom, Snape's office, corridors |
| Glenfinnan Viaduct | Hogwarts Express crossing (iconic train shots) |
| Leavesden Studios | Great Hall (full set), Gryffindor common room, moving staircases, most interiors |
Digital matte paintings and models unify disparate locations into cohesive "Hogwarts." The castle seen in wide shots is largely a digital model built from Alnwick + Durham + Gloucester references.