Rubeus Hagrid is a fictional character in the Harry Potter book series written by J. K. Rowling. Hagrid is introduced in Harry Potter and the Philosopher's Stone as a half-giant and half-human who is the gamekeeper and Keeper of Keys and Grounds of Hogwarts, the primary setting for the first six novels.