J.K. Rowling completed Harry Potter and the Philosopher’s Stone in Edinburgh. She moved to the Scottish capital in 1993, and Edinburgh became closely associated with the early development and completion of the first Harry Potter novel.
Rowling wrote in several places during this period, including cafés, while caring for her daughter. She finished the manuscript before it was accepted by Bloomsbury, which published the UK edition in 1997. Edinburgh’s streets, architecture, and atmosphere are often discussed in connection with the books, although Hogwarts itself is a fictional school rather than a direct depiction of one Edinburgh building.
A common misunderstanding is that Rowling wrote the entire first novel in a single café. She worked in different locations and over an extended period. Edinburgh was the city where she completed the book, while earlier ideas and drafts had developed during travels and other stages of her life.