Terry Boot: "How come you're not in Ravenclaw? With brains like yours?"
Hermione: "Well, the Sorting Hat did seriously consider putting me in Ravenclaw during my Sorting, but it decided on Gryffindor in the end."
Hermione enjoyed her years as a pupil at Hogwarts, and took assignments, classes, and school rules very seriously. Her favourite subject was initially Charms, and later Arithmancy, and the only areas of study that gave her trouble were Flying and Divination. Some students, such as Terry Boot, wondered why Hermione was sorted into Gryffindor house rather than Ravenclaw, given her keen mind. Hermione admitted that the Sorting Hat did consider putting her in Ravenclaw. Being sorted into Gryffindor, Hermione would share a dormitory with Lavender Brown, Parvati Patil, Fay Dunbar and another girl.
But she proved her rightful place in Gryffindor with her steadfast bravery and loyalty to her friends, Hogwarts, and Dumbledore's Army. It is likely that the Sorting Hat put her in Gryffindor in the first place, because she chose to be in it, just like Harry chose to not be in Slytherin; on the train, she mentions that, "Gryffindor...sounds by far...