J.K. Rowling wrote much of the first Harry Potter novel in Edinburgh.
After moving to Scotland, Rowling worked on Harry Potter and the Philosopher’s Stone while caring for her daughter. Edinburgh became closely associated with the book’s early development, and she wrote in several locations around the city, including cafés and her home.
The city’s architecture, streets, and atmosphere are often discussed in connection with the books, although Hogwarts itself is fictional and is not a direct representation of one Edinburgh building. Rowling has also said that many ideas for the series existed before her time in Scotland.
Edinburgh is sometimes confused with Manchester or London because Rowling lived and worked in other parts of Britain. The specific city most associated with writing the first novel is Edinburgh.