Also highly ranked were institutions from Jack Black's comedy hit School Of Rock and TV's Saved By The Bell.
Lovefilm editor Helen Cowley said she was pleased to see some of the older films landing a place in the table.
"It is great to see some nostalgia creeping into the list, with schools from the 80s and 90s.''
TOP 10 ON-SCREEN SCHOOLS:
1. Hogwarts (Harry Potter series)
2. Rydell High (Grease)
3. Sunnydale High (Buffy The Vampire Slayer)
4. Shermer High (The Breakfast Club)
5. Bayside High (Saved By The Bell)
6. Horace Green (School Of Rock)
7. Padua Stadium High (10 Things I Hate About You)
8. William McKinley High (Glee)
9. Westerberg High (Heathers)
10. New York City High School for the Performing Arts (Fame)
- AAP