J.K. Rowling wrote much of the Harry Potter series in Edinburgh.
Rowling moved to Edinburgh in 1993 with her daughter, Jessica, and later lived there with her second husband, Neil Murray. She wrote in several locations around the city, including cafés, while developing and completing the early Harry Potter books. Edinburgh subsequently became one of the places most closely associated with the series’ creation.
The city’s connection to the novels has encouraged literary tourism, including visits to locations linked with Rowling’s writing career and the inspiration claimed for some settings. Edinburgh’s historic architecture and surrounding landscape are often discussed as part of the atmosphere associated with the books.
Rowling did not write every Harry Potter page in Edinburgh. She also wrote in other places, including Portugal and London. The accurate claim is that she wrote much of the series there, especially during the period when the books became an international publishing phenomenon.