Bonnyrigg is a small town located in Midlothian, Scotland, around 8 miles southeast of the capital city of Edinburgh. The town has a rich history dating back to the 13th century, and its architecture reflects this with several historic buildings still standing today, including the 16th-century Dalhousie Castle. Bonnyrigg has a range of local amenities, including shops, cafes, and restaurants, and is surrounded by beautiful countryside, making it a popular destination for outdoor enthusiasts. The town is also home to a range of local sports clubs and facilities, including a golf club and a leisure center.