The Hogwarts Ghosts are the spirits that haunt Hogwarts Castle. J.K. Rowling's writing defines a ghost as "the transparent, three-dimensional imprint of a deceased witch or wizard, which continues to exist in the mortal world"; Muggles cannot become ghosts, and "the wisest witches and wizards choose not to" linger at all. The best known are the four house ghosts — Nicholas de Mimsy-Porpington for House Gryffindor, the Bloody Baron for Slytherin, the Grey Lady for Ravenclaw and the Fat Friar for Hufflepuff — alongside Moaning Myrtle in her bathroom, the ghost teacher Cuthbert Binns, and Peeves the poltergeist, who is not a ghost. The stories the ghosts tell about their lives are gathered at House Ghost Stories.
Organization
The spirits resident at Hogwarts Castle: four house ghosts plus the castle's other hauntings
Purpose
No duty; ghosts linger over unfinished business, and each house keeps a resident ghost
Members
Nearly Headless Nick, the Bloody Baron, the Grey Lady, the Fat Friar, Moaning Myrtle, Professor Binns; Peeves is a poltergeist
Period
Present across the whole series; each ghost's origin lies in the life it left unfinished
Purpose & Origins
Rowling's writing explains who becomes a ghost: those with unfinished business — fear, guilt, regrets or strong attachment to the material world — "refuse to move on to the next dimension," choosing what she calls "a feeble simulacrum of mortal life."
The choice fixes them: a ghost's knowledge and outlook "remains at the level it had attained during life," which is why old grievances persist — her own example being resentment "at having an incompletely severed neck."
Only witches and wizards leave imprints at all; Muggles cannot become ghosts, and the wisest among magical folk decline to.
Not every resident spirit is a ghost: Peeves is "Hogwarts' very own poltergeist," a different kind of entity, and the official encyclopedia keeps him in a fact file of his own rather than among the ghosts.
Membership & Structure
Nearly Headless Nick is the Gryffindor ghost; his head "was attached to his body by a single flap of skin" after a botched beheading, he never qualified for the Headless Hunt, and his hobbies include reenacting his beheading and throwing parties. The official fact file notes he appears in all seven books.
The Bloody Baron, "terrifying in appearance," haunts Slytherin; the silver blood on his robes hints at his crimes — he murdered Helena Ravenclaw, then "killed himself in deep regret," and carries heavy chains "as a symbol of his repentance." His listed skill is "Controlling Peeves."
The Grey Lady is Helena Ravenclaw, "daughter of Hogwarts founder, Rowena Ravenclaw"; jealous of her mother, she "stole her diadem and ran away to Albania," and her listed hobby is "Keeping secrets."
The Fat Friar is Hufflepuff's ghost, "a jolly spirit dressed in clergyman's clothes" who embodied kindness, acceptance and generosity; his fact file records no cause of death, and notes his sympathy for Peeves.
Beyond the four houses: Moaning Myrtle haunts the second-floor girls' bathroom, where her fact file places her; Professor Binns is the ghost who teaches History of Magic, in lessons the official guide calls "dreadfully dull."
Role in Canon
Nick is the ghost readers know best, appearing in all seven books per his fact file, and the occasion of his Deathday Party is recorded at Nearly Headless Nick Deathday Party.
The Grey Lady's secret — the stolen diadem, recorded in her fact file — ties her to Ravenclaw's Diadem and to the founding generation; the fact file lists Deathly Hallows among her appearances.
Peeves supplies the comic friction of castle life, "throwing things, blowing raspberries or writing rude words on the blackboard," and warring with the caretaker Argus Filch; no one, his fact file says, disliked him more.
The ghosts' afterlife follows Rowling's rule rather than serving the plot: they are the school's memory, fixed at the moment of death, and the books treat them with that melancholy, not as supernatural staff.