Town · Midlothian · Scotland

Bonnyrigg: population and statistics

Bonnyrigg is a town in Midlothian, a local authority, Scotland. NRS estimates that about 18,320 people lived in Bonnyrigg in mid-2020 (a mid-year estimate, not a census count).

Bonnyrigg at a glance

Key figures for Bonnyrigg (NRS Localities 2020)
MeasureBonnyriggBasis
Population18,320 (mid-2020 est.)NRS mid-2020 population estimate
Aged under 1620%NRS mid-2020
Aged 65 and over18%NRS mid-2020

Age profile of Bonnyrigg

52.2% of residents are women and 47.8% men. 18.4% are aged 65 or over and 20% are under 16. Age groups are NRS’s published bands (they are not all five years wide).

MenWomen0-45-910-1516-1920-2425-2930-3435-3940-4445-4950-5455-5960-6465-6970-7475-7980-8485-8990 & over
Show the figures
Residents of Bonnyrigg by age band and sex
AgeMenWomen
0-4573532
5-9582611
10-15696668
16-19394395
20-24441468
25-29502536
30-34551645
35-39605670
40-44567621
45-49563602
50-54606676
55-59595709
60-64569579
65-69437500
70-74438504
75-79307357
80-84184248
85-89101170
90 & over3880

Where Bonnyrigg is

The Bonnyrigg boundary used for these statistics (NRS Localities 2020). Generalised for display.

Midlothian — includes Bonnyrigg

Bonnyrigg is part of Midlothian, a local authority in Scotland.

These are figures for the whole Midlothian local authority, which is a larger area than Bonnyrigg. They are context, not statistics for Bonnyrigg itself, and are kept apart from the Bonnyrigg figures above.

Midlothian local authority (district-level, not Bonnyrigg)
MeasureMidlothian districtPeriod
Population100,3902025
Average house price£277,9392026
Median weekly pay (residents)£629 a week2025

Midlothian local-authority statistics · House prices across Midlothian

About these figures

Bonnyrigg is a locality as defined by National Records of Scotland: a group of contiguous addresses forming a recognisable place. Localities are the town- and village-sized building blocks of Scottish settlements.

The relationship to local authorities is measured, not assumed: Midlothian (100%). Method: sampling the settlement boundary against current local-authority boundaries.

NRS mid-2020 population estimate (Settlements and Localities, 2020 boundaries); not a census count.

Do not compare these figures with other nations’ settlement statistics without checking definitions: England and Wales use Census 2021 built-up areas, Scotland uses NRS mid-2020 estimates for localities and settlements, and Northern Ireland uses NISRA’s approximated Census 2021 settlements. Census 2021 describes March 2021, not the population today.

Geography: NRS Localities 2020. Source: National Records of Scotland — Population estimates for settlements and localities in Scotland, mid-2020. Names and alternative-language names: Ordnance Survey OS Open Names. Registry built 20261118; boundary definitions are versioned and are not mixed across vintages.