J.K. Rowling moved to Edinburgh in 1993, where she wrote much of Harry Potter.
She relocated to Scotland with her daughter after living in Portugal and returning to the United Kingdom. Edinburgh became closely associated with the development of the series, especially during the years before the first book was published.
Rowling wrote in several Edinburgh locations, including cafés. The city’s architecture, streets, and atmosphere are often discussed alongside the books, although Hogwarts itself is fictional and is not simply a disguised version of one Edinburgh building.
The city also became significant after the books’ success. Rowling wrote parts of Harry Potter and the Deathly Hallows at the Balmoral Hotel in Edinburgh, where a commemorative bust and signed statement mark the room. Edinburgh’s connection to Rowling is thus both biographical and literary, but the books draw on many places and traditions rather than one single real-world model.