School location and information
J. K. Rowling says she visualises Hogwarts, in its entirety, to be:
A huge, rambling, quite scary-looking castle, with a jumble of towers and battlements. Like the Weasleys' house, it isn't a building that Muggles could build, because it is supported by magic.
In the novels, Hogwarts is somewhere in Scotland (the film Prisoner of Azkaban says that Dufftown is near.) The school is depicted as having numerous charms and spells on and around it that make it impossible for a Muggle to locate it. Muggles cannot see the school; rather, they see only ruins and several warnings of danger.[GF Ch.11] The castle's setting is described as having extensive grounds with sloping lawns, flowerbeds and vegetable patches, a loch (called The Black Lake), a large dense forest (called the Forbidden Forest), several greenhouses and other outbuildings, and a full-size Quidditch pitch. There is also an owlery, which houses all the owls owned by the school and those owned by students. Some rooms in the school tend to "move around", and so do the stairs in the grand staircase. Witches and wizards cannot Apparate or Disapparate in Hogwarts grounds, except when the Headmaster lifts the enchantment, whether only in certain areas or for the entire campus, so as to make the school less vulnerable when it serves the headmaster to allow Apparition.[GF Ch.28] Electricity and electronic devices are not found at Hogwarts. In Harry Potter and the Goblet of Fire, Hermione indicates that due to the high levels of magic, "substitutes for magic (that) Muggles use" such as computers, radar and electricity "go haywire" around Hogwarts. Radios however, make an exception. Rowling explains this by saying that the radios are not powered by electricity but by magic.
Hogwarts is on the shore of a lake, sometimes called the Black Lake. In that lake are merpeople, Grindylows, and a giant squid. The giant squid does not attack humans and sometimes acts as a lifeguard when students are in the lake.
Hogwarts is a coeducational, secondary boarding school, taking children from ages eleven to eighteen. Education at Hogwarts is not compulsory, with some students being home schooled as stated in the seventh book. Rowling initially said there are about one thousand students at Hogwarts. She later suggested around six hundred, while acknowledging that this number was still inconsistent with the small number of people in Harry's year. She further explained that this had resulted from her creating only 40 characters for Harry's year.
Rowling has said that Hogwarts is "a multifaith school". She has further stated on the subject, "The only people I never imagined there are Wiccans." In response to the query, "[D]o you think there are a lot of LGBT students in modern age Hogwarts? I like to imagine they formed an LGBT club," Rowling replied, "But of course."