Hogwarts School of Witchcraft and Wizardry (/ˈhɒɡwɔːrts/) is a fictional boarding school of magic in the Harry Potter series by J. K. Rowling. It is the primary setting for the first six novels and films and also serves as a major setting in the Wizarding World media franchise.
In the novels, Hogwarts is described as a coeducational, secondary boarding school that enrolls children from ages eleven to eighteen. According to Rowling, any child in Britain who shows magical ability is invited to attend the school. The Wizarding World website states that Hogwarts was founded in the Highlands of Scotland sometime between the 9th and 10th century by Godric Gryffindor, Helga Hufflepuff, Rowena Ravenclaw and Salazar Slytherin. Rowling has offered varying accounts of how many students are enrolled at Hogwarts at any given time.