The town of Bonnyrigg is located within the county of Midlothian.
Bonnyrigg is situated in the Scotland region of the UK and is governed by Midlothian, council.
The town of Bonnyrigg is in the East Lothian and Midlothian region of Eastern Scotland within Scotland.