Harry Potter dies during the Battle of Hogwarts in the seventh book, Deathly Hallows. Harry accepted Voldemort’s previous offer to give himself up and save the lives of his friends and colleagues after many battles and several defeats.