J.K. Rowling completed the manuscript for Harry Potter and the Deathly Hallows on January 11, 2007.
She famously finished writing in a room at the Balmoral Hotel in Edinburgh, signing and dating the final page. The book was published on July 21, 2007, concluding the seven-novel series that began with Philosopher's Stone in 1997.
The January 2007 completion date followed roughly six months of intensive writing after Half-Blood Prince (2005). Rowling has described the process as emotionally draining—knowing she was writing the final chapters of a world she'd inhabited for 17 years.