Harry was sorted into Gryffindor. During his sorting the Sorting Hat strongly considered placing him in Slytherin, but Harry expressly asked not to be sorted into Slytherin. While Harry was not a true hatstall (where the Sorting Hat takes more than five minutes to sort), there was serious deliberation on its part.

Gryffindor is the house of courage, dare (and recklessness). Albus Dumbledore, Hermione Granger, Ron Weasley, etc. also belong to Gryffindor. Gryffidors are brave and because of that they tend to do things without thinking of the consequences. So if you see anyone attempting to push his car to the oil station when the car runs out of oil, he is probably a Gryffindor.

Harry’s sorting has led to many conversations over the years… Was Harry only considered for Slytherin because of the part of Voldemort’s soul that was in him? Does someone have to ask to placed in Gryffindor in order to be sorted into it? While the answers to these are never made clear, Harry’s son Albus being sorted into Slytherin is an example that good people can be sorted into Slytherin… even if they really don’t want to be.