- Ron Weasley: "Hang on a moment! We've forgotten someone! The house-elves, they'll all be down in the kitchen, won't they?"
- Harry Potter: "You mean we ought to get them fighting?"
- Ron Weasley: "No, I mean we should tell them to get out. We don’t want anymore Dobbies, do we? We can’t order them to die for us–"
- — during the Battle of Hogwarts[src]
A veritable legion of house-elves are enlisted by Hogwarts School of Witchcraft and Wizardry. They work in the kitchens, preparing feasts for the entire school. They also move trunks and baggage to and from rooms, clean dormitories, and presumably other areas of the castle as well. They wear togas made of tea-towels bearing the Hogwarts crest. When asked nicely, they will accommodate vegetarian students.
In 1994, Dobby, a house-elf, was hired by Albus Dumbledore to work in the kitchens for a Galleon a week. Another house-elf named Winky, took up work at Hogwarts as well, but during her time there she had turned into a heavy drinker. They soon became titled as Hogwarts house-elves although the other House Elves were disconcerted by them. In the same year, Hermione Granger set up the organistation S.P.E.W., she started coming to the kitchens in order to presude them to be set free. This did not earn her any popularity, as most believe that house-elves enjoy their work; indeed, even the house-elves did not like her campaigning. She started knitting hats and socks, which she left lying around Gryffindor Tower, hoping to free some unsuspecting elf who picked them up while cleaning the common room, so as to grant them freedom. The house-elves did not appreciate this gesture; on the contrary, they took it for insult and refused to clean the common room, with the exception of Dobby.. They became angry with Hermione Granger as she made these attempts to free them.
They participated in the Battle of Hogwarts in 1998 in an unusually bold move for their kind, although this may have been a manifestation of their extreme loyalty to their "masters". They fought with knives and cleavers, hacking at the shins of Death Eaters.
- Harry Potter and the Goblet of Fire (First appearance)
- Harry Potter and the Order of the Phoenix
- Harry Potter and the Half-Blood Prince
- Harry Potter and the Deathly Hallows
- Wonderbook: Book of Potions
- Harry Potter: Hogwarts Mystery