Bonnyrigg is a town in Midlothian, Scotland, which is eight miles (13 kilometres) southeast of Edinburgh city centre, between the Rivers North and South Esk.
In 1865, the villages of Bonnyrigg, Red Row, Polton Street, Hillhead and Broomieknowe[3] combined to form the burgh of Bonnyrigg, and then, in 1881, the village of Lasswade and part of Broomieknowe combined to form the burgh of Lasswade.
Bonnyrigg was a mining village until the 1920s, while its Henry Widnell & Stewart carpet factory was demolished in 1994.
The X31 service runs from Haymarket in Edinburgh to Rosewell via Bonnyrigg Toll and Hopefield at peak times.
Lasswade Rugby Football Club was founded in 1921 and initially played in a field to the west of Dobbies Road before moving to their current ground at Hawthornden in 1974.
King George V Park in Bonnyrigg contains a monument to the miners leader, Mick McGahey.
[citation needed] Bonnytown, the birthplace of the eponymous protagonist of John Galt's novel Lawrie Todd (1830) is based on Bonnyrigg.
Galt identifies it as 'situated in one of the pleasantest holms of the sylvan Esk' and several chapters of the book are set in the village and surrounding parts of Midlothian.