
While home with the Dursleys for the summer, Harry Potter is not getting any mail from his friends, Ron and Hermione. On his twelfth birthday (July 31) Harry is visited by Dobby, a house-elf, who warns Harry that he will be in mortal danger if he returns to Hogwarts. Harry ignores Dobby's dire warning and is determined to return. It turns out that Dobby has been collecting Harry's letters to make it seem as though his friends had forgotten him, hoping Harry might then not want to return to Hogwarts. Seeing that he will have to use force, Dobby decides to destroy, by the use of a charm, a pudding that Aunt Petunia has made for an important dinner party attended by a potential client and his wife of Vernon Dursley. Harry is blamed by the Ministry of Magic for Dobby's charm, and is told that if he does magic outside school again, he will be expelled. On learning that Harry cannot perform magic outside school, the Dursleys, previously fearful of his wizarding, lock Harry?s books and wand away and Vernon Dursley fits bars onto his bedroom window, making Harry a prisoner.
A few days later, Fred, George and Ron Weasley come to his rescue in their father's enchanted Ford Anglia. After a pleasant summer together in the the Weasley house, everyone heads to Platform 9¾ to take the Hogwarts Express back to school. To their shock, Harry and Ron are unable to enter the barrier between platforms 9 and 10. In desperation, they fly to Hogwarts in the car, crashing into the Whomping Willow and damaging Ron's wand. The semi-sentient car ejects them and their belongings and disappears into the Forbidden Forest.
Controversy at Hogwarts
Harry Potter soon finds he is the unwanted center of attention of three people: the vain new Defence Against the Dark Arts Professor, Gilderoy Lockhart (a wizard perpetuating his own legend), admirer Colin Creevey (a young first year Gryffindor who endlessly takes photos of Harry and begs for autographs), and Ron's sister, Ginny Weasley, who fancies Harry. Events take a turn for the worse when the Chamber of Secrets is opened and a monster stalks the castle, with the power to turn people to stone. To the horror of Hogwarts, the monster petrifies several students. According to legend, the Chamber was built by Salazar Slytherin and can only be opened by his heir, in order to purge Hogwarts of students who are not pure-blood wizards. Many suspect Harry is the heir of Slytherin, especially after he inadvertently speaks Parseltongue (the language of snakes), a rare ability Harry gained after Voldemort's failed murderous attack upon him when he was an infant.
Harry, Ron, and Hermione attempt to discover the Heir of Slytherin's true identity. Using Polyjuice Potion brewed by Hermione, Ron and Harry disguise themselves as Slytherin students, Crabbe and Goyle, hoping to learn from Draco Malfoy the identity of the Heir. Malfoy, they learn, does not know who the Heir of Slytherin is, but he inadvertently provides Harry and Ron with an important clue about the Chamber of Secrets.
Unfortunately, the hair that Hermione took from Millicent Bullstrode's uniform was from a cat, and as the Polyjuice Potion is only intended for human transformations she assumes a feline appearance; it takes several weeks to restore her normal human form. During her time in the hospital wing, the shades are pulled around Hermione's bed so that she does not have to endure the shame and humiliation of being stared at by other students, with rumours going around about her disappearance, and Harry and Ron bring Hermione her homework at her request. She is released from the hospital wing in early February, her normal appearance restored, and looks over the diary of Tom Riddle when Harry shows it to her, but she cannot make much of it.