Over the years, some amazing novels have been set in Edinburgh – from golden oldies like The Heart of Midlothian to modern classics such as Trainspotting.
Truth is, our list could have included a lot more than the 19 novels we’ve opted for – but we’re sure you’ll agree there’s some great stuff to get your teeth into here.
Our list features newer releases, classics and everything in between. The books are assembled in no particular order.
Have a scroll through our picture gallery to see which booked we opted for – and please let us know your own favourites in the comments section before you go.

5. The Heart of Midlothian by Sir Walter Scott
It’s tricky to know where to start with the works of the late Sir Walter Scott, a pivotal figure in Scotland’s literary landscape. Often considered his best novel, The Heart of Midlothian is our go-to. Set against the backdrop of the Porteous Riots, the novel follows Jeanie Deans as she seeks justice for her sister, who was wrongly sentenced to death. It’s a poignant story that centres on a truly remarkable heroine. Scott urges us to question justice and our commitment to each other in this classic work of historical fiction. Photo: Scottish Book Trust General

6. Trainspotting by Irvine Welsh
The era-defining novel that became an era-defining film portrays a side of late 20th century Edinburgh that few visitors to the capital would otherwise experience. A Scots language classic, this witty, raw and dark book explores addiction in a way that can’t help but leave a mark on readers. Photo: Third Party

7. The Prime of Miss Jean Brodie by Muriel Spark
In 1930s Edinburgh, unconventional teacher Jean Brodie brings a new lease of life to her class of girls. As comic as it is tragic, the short novel unpacks the unglamorous risks of excessive pride. Adapted into both a film and a stage play, this modern classic hails Muriel Spark as one of Scotland’s most beloved authors. Photo: Third Party

8. The Fair Botanists by Sara Sheridan
In the summer of 1822, the newly widowed Elizabeth arrives in Edinburgh to live with her late husband’s aunt Clementina in a grand house bordering the Botanic Garden. Fascinated by the garden – and its rare Agave Americana plant, which is about to flower for the first time in decades – Elizabeth offers her services as an artist, which leads her to meet perfume creator Belle Brodie. This is a lush, vibrant tale of female empowerment and scandal set against the backdrop of Enlightenment-era Edinburgh. Photo: Scottish Book Trust General


