J.K. Rowling identified Edinburgh as the city where she wrote much of Harry Potter and the Philosopher’s Stone.
Rowling moved to Edinburgh in 1993 with her daughter Jessica and later lived there while developing the Harry Potter story. She wrote in several locations, including cafés, and Edinburgh became closely associated with the series’ early composition and her literary life.
The city is not the fictional location of Hogwarts; Hogwarts is an invented Scottish school whose exact position is never given. Edinburgh’s connection is biographical and cultural. Visitors often associate the city with Rowling through locations such as cafés where she wrote and Greyfriars Kirkyard, whose gravestones are linked to names that resemble characters.
The first Harry Potter book was not written entirely in one café or one building. Rowling worked in different places over time, and popular retellings sometimes simplify that history. Edinburgh is best understood as the real city where a substantial part of the first novel’s creation took place.