Hogwarts Library

The Hogwarts Library is located at the fourth floor of Hogwarts School of Witchcraft and Wizardry and contains tens of thousands of books on thousands of shelves. Overseen by Madam Irma Pince, the library is where students can go to peruse or borrow books to supplement their studies (or for personal enjoyment). The library closes at 8 pm.

Security
The library books have various spells on them to prevent students from defacing or stealing them. Hermione Granger tore a page out of a library book about magical creatures without being cursed, jinxed or hexed by the book. How she did this is unknown. Chocolate and (presumably) other food is forbidden in the library.

Taking out Books
Students and teachers may take out books from the library, with the librarian’s permission. Books from the Restricted Section require a signed note from a teacher to be checked out. Professor Severus Snape told Harry Potter that it was against the rules to carry a library book out of the castle. He just made that rule up to get Harry into trouble. Students seem to can place books on hold – on the 1992/1993 school term the book Hogwarts: A History  had a two-week waiting list.

Sections
Included in its many sections are:


 * An Invisibility Section (wherein a browsing student will disappear);
 * A Dragon Section;
 * A Restricted Section (contains books that explore Dark Magic, books of great antiquity and books of highly advanced magic).

Appearances

 * Harry Potter and the Philosopher's Stone
 * Harry Potter and the Philosopher's Stone (film)
 * Harry Potter and the Philosopher's Stone (video game)
 * Harry Potter and the Chamber of Secrets
 * Harry Potter and the Chamber of Secrets (film)
 * Harry Potter and the Chamber of Secrets (video game)
 * Harry Potter and the Prisoner of Azkaban
 * Harry Potter and the Prisoner of Azkaban (video game)
 * Harry Potter and the Goblet of Fire
 * Harry Potter and the Goblet of Fire (film)
 * Harry Potter and the Order of the Phoenix
 * Harry Potter and the Order of the Phoenix (video game)
 * Harry Potter and the Half-Blood Prince
 * Harry Potter and the Deathly Hallows