In the final book of the series, Harry Potter and the Deathly Hallows, Harry Potter does not get married. However, he does enter a romantic relationship with Ginny Weasley. Their marriage occurs later, as revealed in the epilogue set 19 years after the Battle of Hogwarts.