''Harry Potter and the Philosopher's Stone'' Hagrid is introduced in the opening chapter of the first novel, ''
Harry Potter and the Philosopher's Stone'' (1997). Following the murder of
James and
Lily Potter by
Lord Voldemort,
Albus Dumbledore entrusts Hagrid with the infant
Harry Potter, who survived Voldemort's attack. Ten years later, Hagrid brings the
Philosopher's Stone from
Gringotts Wizarding Bank to
Hogwarts, where it is guarded by an enormous three-headed dog named Fluffy. Dumbledore also gives Hagrid the task of locating Harry and helping him buy school supplies for his first year at Hogwarts. Later in the novel, a hooded person—Professor
Quirinus Quirrell in disguise—gives Hagrid a dragon egg in exchange for details about Fluffy. Harry and his friends
Ron Weasley and
Hermione Granger are also curious about Fluffy, and Hagrid lets slip that the way to get past him is to play music. When Harry and his friends decide to seek the Philosopher's Stone, they soothe Fluffy to sleep with a flute which Hagrid carved for Harry. When the dragon egg hatches, the three friends assist Hagrid by helping to remove the baby dragon Norbert, who is taken to a dragon sanctuary in Romania.
Harry Potter and the Chamber of Secrets Hagrid returns in
Harry Potter and the Chamber of Secrets (1998). The novel reveals that Hagrid was a student at Hogwarts at the same time as Tom Riddle, the wizard who later became Voldemort. Hagrid was expelled after being caught in the company of Aragog, a
gigantic spider. It was believed that Aragog was responsible for mysterious attacks upon students, and that Hagrid had released him from the
Chamber of Secrets. The belief of Hagrid's guilt was encouraged by Riddle, the actual criminal, who had been using a different monster—a
Basilisk—to assault students. In
Chamber of Secrets, the Basilisk is unleashed again and Hagrid, seemingly guilty once more, is sent to the wizard prison
Azkaban. Before being arrested, Hagrid tells Harry and Ron to follow spiders into the Forbidden Forest so they can meet Aragog and discover the truth about the monster. After Harry defeats the Basilisk in the Chamber of Secrets, Hagrid is freed from prison.
Harry Potter and the Prisoner of Azkaban Hagrid becomes the
Care of Magical Creatures professor at Hogwarts in
Harry Potter and the Prisoner of Azkaban (1999). He was cleared of wrongdoing after the events of the previous novel, and is now allowed to perform magic. During his first class, he introduces Buckbeak and other
hippogriffs to the students. After
Draco Malfoy provokes Buckbeak, the hippogriff attacks him. As a result, the
Ministry of Magic sentences Buckbeak to death. Near the end of the book, Hermione and Harry use a
Time-Turner to save Buckbeak from execution.
Harry Potter and the Goblet of Fire In
Harry Potter and the Goblet of Fire (2000), it is revealed that Hagrid is a half-giant. His mother was the giantess Fridwulfa, and his father was a human wizard. Hagrid's parentage is exposed in the
Daily Prophet newspaper by the tabloid journalist
Rita Skeeter, who portrays Hagrid as dangerous and incompetent. Hagrid is deeply affected by her article and attempts to resign from his position, but Dumbledore will not accept his resignation. During the course of the novel, Hagrid develops a romantic interest in
Olympe Maxime, the towering headmistress of the French wizarding school
Beauxbatons.
Harry Potter and the Order of the Phoenix Hagrid is absent during the first part of
Harry Potter and the Order of the Phoenix (2003). He later reveals to Harry, Ron and Hermione that he and Madame Maxime travelled across Europe together on a mission to find giants and convince them to ally themselves with Dumbledore. However,
Death Eaters managed to bring the giants to Voldemort's side. Hagrid was attacked by giants during the mission, and saved by Maxime. During the journey, Maxime became exasperated with Grawp, Hagrid's giant half-brother whom he was attempting to bring with them. Hagrid introduces Grawp to Harry and Hermione, and asks them to supervise him when Hagrid leaves Hogwarts. During the course of the novel, the High Inquisitor of Hogwarts
Dolores Umbridge supervises classes and seeks an excuse to fire Hagrid. Eventually, Umbridge and other Ministry of Magic officials attempt to arrest him, but he manages to escape. He is later reinstated as a professor.
Harry Potter and the Half-Blood Prince Harry, Ron, and Hermione are no longer Care of Magical Creatures students in
Harry Potter and the Half-Blood Prince (2005). Hagrid is both angry and disappointed, but he realises that it is not because they do not like him. When Aragog dies, Hagrid gives the spider a proper funeral. Afterwards, Hagrid and Professor
Horace Slughorn drink large quantities of
Firewhisky, which allows Harry the opportunity to retrieve an important memory from Slughorn. Towards the end of the novel, Death Eaters attack Hogwarts and set fire to Hagrid's hut as he tries to fight them.
Harry Potter and the Deathly Hallows In
Harry Potter and the Deathly Hallows (2007), Hagrid is part of the Order of the Phoenix delegation assigned to transport Harry to the
Burrow. Hagrid takes Harry on his flying motorcycle, but the journey goes awry when the delegation is ambushed by Death Eaters. Hagrid and Harry manage to arrive at the Burrow after being attacked by Voldemort himself. When the Death Eaters take over Hogwarts, Hagrid is driven into hiding in the mountains. Later, during the
Battle of Hogwarts, Hagrid is carried off by a swarm of spiders after attempting to protect them. He is later captured by Death Eaters and brought into the Forbidden Forest, where Harry intends to sacrifice himself to Voldemort. Harry seems to die at Voldemort's hand, and Hagrid carries his body back to Hogwarts. When Harry is revealed to be alive, Hagrid participates in the second part of the battle. He injures
Walden Macnair, the executioner who nearly executed Buckbeak. In the epilogue of
Deathly Hallows, set nineteen years after Voldemort's death, Hagrid is still at Hogwarts. He invites Harry's son
Albus Severus Potter to his hut for tea. According to Rowling, Hagrid acts as a guardian and guide for Harry throughout the series. She was planning for him to carry Harry to Hogwarts in
Deathly Hallows before ''Philosopher's Stone'' was even published. ==Portrayal in other media==