Guest, Sign inJoin
Bonnyrigg Parish ChurchPhoto: Richard Webb · CC BY-SA 2.0
C−Health Grade
Health in Bonnyrigg · Public Health Scotland, NHS Scotland, Census 2022

Life expectancy in Bonnyrigg is 78.6 for men and 81.7 for women

These figures are for 2020 to 2024 and the intermediate zones around Bonnyrigg; across Scotland’s towns they are 76.6 and 80.9. Bonnyrigg grades C− for health: life expectancy, and Census bad health and disability adjusted for age; 120th of 296 Scottish towns; #3 of 7 in Midlothian.

Life expectancy, men
78.6
years at birth, 2020–24
Life expectancy, women
81.7
years at birth, 2020–24
What stands out · In brief

What stands out about health in Bonnyrigg

Waits at the nearest A&E run longer than Scotland’s

Royal Infirmary of Edinburgh saw 55% of patients within four hours in the 12 months to August 2026, against 63% across Scotland’s full emergency departments. The standard is 95%. A&E ↓

Written from Public Health Scotland, NHS Scotland and SIMD figures on this page. Life expectancy covers 2020 to 2024; neighbourhoods are 2011 intermediate zones.

Health Grade

Bonnyrigg grades C− for health

Healthier than 21% of UK towns, on age-adjusted measures.

Life expectancy, men (78.6 years)Better than 27% of UK towns
Life expectancy, women (81.7 years)Better than 19% of UK towns
Bad or very bad health (Census) (110 per 100 expected)Better than 25% of UK towns
Disabled (Census) (125 per 100 expected)Better than 15% of UK towns

Behind the typical UK town on every measure. Even its strongest, men’s life expectancy and Census bad health, are in the bottom 30% of UK towns; disability and women’s life expectancy are furthest behind. Among the 33 Scottish towns of 13,000 to 24,000 people, Bonnyrigg’s Health Grade is the 8th highest.

Each measure is ranked against every UK town of 1,000 or more, the ranks are averaged, and the average is ranked again. Every measure allows for the town’s ages: life expectancy is worked out from the death rate at each age, so it doesn’t depend on how old the town’s residents are; the Census answers are counted against what England and Wales’s rates by single year of age would give a town with these ages, so a seaside town of retired people isn’t marked down for being old.

Scottish towns’ Health Grades use Public Health Scotland’s life expectancy for 2020 to 2024 in the small areas that make up the town, and two Census 2022 measures, bad health and disability, adjusted for age to the same standard as England and Wales. Healthy life expectancy isn’t published for Scotland’s small areas, and its early-death and hospital figures are rates on Scotland’s own standard rather than England’s, so the page compares those with Scotland without grading them.

A&E

Royal Infirmary of Edinburgh saw 55% of patients within four hours

The nearest full emergency department in Scotland to Bonnyrigg, 3.6 mi away. Last 12 months: September 2025 to August 2026.

Within four hours
55%
Royal Infirmary of Edinburgh
Scotland’s full EDs 63% · standard 95%
Attendances
135,491
12 months to August 2026
0%20%40%60%80%100%Sep 23Sep 24Sep 25Aug 26
Royal Infirmary of EdinburghScotland’s full emergency departments95% standard

Nearest emergency care

Nearest emergency careDistanceWithin 4 hours, last 12 months
Royal Hospital for Children and Young People (Edinburgh) ↗
Children’s emergency department · NHS Lothian
3.6 mi90%
Royal Infirmary of Edinburgh ↗
Emergency department · NHS Lothian
3.6 mi55%
Western General Hospital ↗
Minor injury unit / other emergency care · NHS Lothian
7.9 mi65%
St John's Hospital ↗
Emergency department · NHS Lothian
16 mi67%
Victoria Hospital (NHS Fife) ↗
Emergency department · NHS Fife
18 mi62%
Queen Margaret Hospital ↗
Minor injury unit / other emergency care · NHS Fife
19 mi100%

The four-hour standard is 95% from arrival to admission, transfer or discharge. Scotland’s comparison pools all full emergency departments, including children’s departments. Minor injury units and other emergency care sites treat a different mix of patients; they are shown separately. A dash means a complete matching 12 months is unavailable. Check opening hours before travelling.

Public Health Scotland, monthly A&E activity, published 6 October 2026, through August 2026. Counts include planned and unplanned attendances, using the published All category once. Site types: NHS Scotland A&E site list, 9 September 2025. Distances are straight lines from the town centre to postcode locations; journeys can be much longer, especially across water.

Against Scotland

Bonnyrigg does better than Scotland on these measures

Public Health Scotland’s figures for the small areas that make up Bonnyrigg. Life expectancy beside Scotland’s towns (2020 to 2024); early deaths and emergency hospitalisations, age-standardised, beside Scotland (2022 to 2024).

Life expectancy, men years

Bonnyrigg78.6
Scotland’s towns76.6

Life expectancy, women years

Bonnyrigg81.7
Scotland’s towns80.9

Deaths under 75 per 100,000

Bonnyrigg421
Scotland435

Emergency hospitalisations per 100,000

Bonnyrigg6,421
Scotland7,291

Life expectancy, men and emergency hospitalisations compare well with Scotland.

Neighbourhoods

Men’s life expectancy across Bonnyrigg runs from 72.9 to 82.4

Life expectancy at birth, 2020–24, in 3 intermediate zones overlapping Bonnyrigg. Circles show men’s life expectancy and are sized by residents in the town.

Newbattle and Dalhousie: men 82.4, women 85.782Bonnyrigg South: men 79.4, women 79.879Bonnyrigg North: men 72.9, women 78.273
3+ years under Scotland’s towns1–3 underwithin a year1–3 over3+ over
MenWomenScotland’s towns
Newbattle and Dalhousie40% of residents
82.4 / 85.7
Bonnyrigg South25% of residents
79.4 / 79.8
Bonnyrigg North31% of residents
72.9 / 78.2
7075808590
Show as a table
2011 intermediate zoneMenWomenOf town residents
Newbattle and Dalhousie82.485.740%
Bonnyrigg South79.479.825%
Bonnyrigg North72.978.231%

Public Health Scotland, ScotPHO, 2011 intermediate zones, 2020 to 2024. An area counts when at least 30% of its Census 2022 residents live in the town; each figure covers the whole zone, including residents outside the town. Comparisons are with Scotland’s towns.

For its circumstances

Men’s life expectancy in Bonnyrigg is close to the Scottish income-deprivation pattern

Each dot is a Scottish town. Across 295 towns, income deprivation and men’s life expectancy have a correlation of −0.83.

Income-deprived
8.4%
SIMD 2020v2 income counts shared to the town
In the most health-deprived fifth
2%
of residents, Scotland’s SIMD health domain
66727884900%10%20%30%40%50%AberdeenAboyneAirdrieAlexandriaAlfordAlloaAlnessAlvaAnnanAnstrutherArbroathArdrossanArmadaleAuchinleckAuchterarderAviemoreAyrBallingryBalloch and HaldaneBanchoryBanffBannockburnBargeddieBarrheadBathgateBearsdenBeithBellshillBiggarBishopbriggsBishoptonBlackburnBlairgowrieBlantyreBo'nessBonhillBonnybridgeBonnyriggBothwellBowling and Old KilpatrickBrechinBridge of AllanBridge of EarnBridge of WeirBrightonsBroxburnBuckhavenBuckieBurnfootBurntislandBusbyCairneyhillCallanderCambuslangCampbeltownCaolCardenden and AuchterderranCarfinCarlukeCarnoustieCarronshoreCastle DouglasChapelhallChrystonClackmannanClarkstonClelandClydebankCoatbridgeCockenzieCove BayCowdenbeath and LumphinnansCowieCrieffCrossgatesCrosshouseCullodenCumbernauldCumnockCuparDalbeattieDalgety Bay and HillendDalkeithDalryDanderhallDarvelDennyDingwallDollarDreghornDronganDumbartonDumfriesDunbarDunblaneDundeeDundonaldDunfermlineDunipaceDunoonDunsDuntocher and HardgateDyceEagleshamEast CalderEast KilbrideEdinburghElderslieElginEllonErskineEyemouthFaifleyFalkirkFallinFauldhouseForfarForresFort WilliamFraserburghGalashielsGalstonGartcoshGiffnockGirvanGlasgowGlenboigGlenrothesGorebridgeGourockGrangemouthGreenockGretnaGullaneHaddingtonHallglenHamiltonHarthillHawickHelensburghHolytownHoustonHuntlyHurlford and CrookedholmInnerleithenInschInvergordonInverkeithingInverkipInvernessInverurieIrvineJedburghJohnstoneKeithKelsoKeltyKemnayKennowayKilbarchanKilbirnieKilmacolmKilmarnockKilmaursKilsythKilwinningKincardineKinghornKingswellsKinrossKintoreKirkcaldy and DysartKirkcudbrightKirkintillochKirklistonKirkmuirhill and BlackwoodKirkwallKirriemuirLanarkLangleeLarbertLargsLarkhallLaurencekirkLawLennoxtownLenzieLerwickLeslieLesmahagowLevenLinlithgowLinwoodLivingstonLoanheadLocharbriggsLochgellyLochwinnochLockerbieLongniddryLossiemouthMacduffMaddistonMauchlineMayboleMayfieldMenstrieMethilMid CalderMilltimberMilngavieMilton of CampsieMilton of LeysMintlawMonifiethMontroseMoodiesburnMotherwellMuir of OrdMusselburghNairnNeilstonNetherleeNew CumnockNew StevenstonNewarthillNewmacharNewmainsNewmilnsNewport-on-Tay and WormitNewton MearnsNewton StewartNewtonhillNorth BerwickObanOldmeldrumOrmistonPaisleyPeeblesPenicuikPerthPeterculterPeterheadPitlochryPlainsPolbethPolmontPort GlasgowPortlethenPrestonpansPrestwickReddingRenfrewRosythRothesayRutherglenSaltcoatsSauchieSconeSelkirkShottsSmithtonSouth QueensferrySt AndrewsStamperlandStenhousemuirStornowaySteppsStevenstonStewartonStirlingStonehavenStonehouseStranraerStrathavenTainTayportThornliebankThursoTillicoultryTranentTroonTullibodyTurriffUddingstonViewparkWallyfordWest CalderWest KilbrideWesthillWesthillWhitburnWickWinchburghWishaw
Income-deprived residents, SIMD 2020v2 →Men’s life expectancy, years

For 8.4% income deprivation, the Scottish line predicts 78.8 years for men; Bonnyrigg records 78.6. A difference from this line does not establish the cause or measure healthcare quality.

Health indicators behind SIMD 2020

MeasureTown’s areasSource period
Deaths, all ages90.02014–17
Emergency hospital stays87.22014/15–2017/18
Anxiety, depression or psychosis prescriptions18%2017/18

Scottish Government, SIMD 2020v2, 2011 data zones shared to the town by Census 2022 residents. The health-deprived fifth means health-domain deciles 1–2; it is a share of residents, not an averaged rank. The older deaths and emergency-stay indicators are age-sex-standardised ratios (Scotland = 100), averaged by residents; prescriptions are a percentage. Income deprivation uses published deprived counts and population denominators. Life expectancy: ScotPHO, 2020–24. These are context only; no new measure feeds the Health Grade.

Getting care

Care in and near Bonnyrigg

For urgent advice during opening hours, contact your GP practice. In an emergency, call 999.

Nearest full emergency department in Scotland
3.6 mi
Royal Infirmary of Edinburgh
GP practices in Bonnyrigg
3
main practice addresses in the locality
Urgent care out of hours
111
Phone NHS 24 when your GP practice is closed
GP practices

3 GP practices in Bonnyrigg

Main practice addresses inside the Census 2022 locality. Branch surgeries are not separately counted.

GP practices
3
main practice addresses in Bonnyrigg
1 July 2026
Registered patients
23,472
at 3 practices with published counts
Average practice list
7,824
Scotland 6,894 per practice
PracticeRegistered patients
Dalhousie Medical Practice
Dalhousie Medical Practice, The Health Centre, 109-111 High Street, Bonnyrigg EH19 2ET
9,676
Quarryfoot Practice
Quarryfoot Practice, Health Centre, 109-111 High Street, Bonnyrigg EH19 2ET
5,532
Strathesk Medical Group
Strathesk Medical Group, Health Centre, 109-111 High Street, Bonnyrigg EH19 2ET
8,264

Practice lists include patients living outside the town. List size does not measure staffing, appointment availability or care quality.

Public Health Scotland, GP practice contact details and list sizes, 1 July 2026. Addresses assigned by postcode to NRS Census 2022 output areas and localities. Find a GP practice →

NHS dentists

3 NHS dental practices in Bonnyrigg

Practices and NHS registrations at 31 March 2026. Whether a practice takes new NHS patients is not in the open data; ask the practice.

Dental practices
3
addresses in Bonnyrigg
NHS registrations
7,294
at 3 practices with published counts
PracticeNHS registrations
59A HIGH STREET
BONNYRIGG, MIDLOTHIAN EH192DB
655
64 HIGH STREET
BONNYRIGG, MIDLOTHIAN EH192AB
346
BONNYRIGG DENTAL CARE
3 STAISIDE COURT, BONNYRIGG EH193PZ
6,293

Registrations are attached to practices, not town residents, and do not show recent treatment or available appointments. Suppressed counts remain blank.

Public Health Scotland, dental practices and patient registrations, 31 March 2026. Find dental services →

Census health

81% of residents say their health is good or very good

Census 2022, all residents, as answered (not adjusted for age).

Bonnyrigg81% · 5.9%
Midlothian80% · 6.2%
Scotland78% · 7.2%
Good or very goodFairBad or very bad

Adjusted for age, 110 report bad health for every 100 expected, more than the national rate.

Show as a table
Census 2022BonnyriggMidlothianScotland
Good or very good health81%80%78%
Fair health13%14%14%
Bad or very bad health5.9%6.2%7.2%
Day-to-day activities limited by a health problem or disability22%23%24%
Day-to-day activities limited a lot9.5%10%11%

Midlothian and Scotland: all residents of their towns and cities, from the same Census 2022 output areas.

Towns its size

Bonnyrigg’s Health Grade is 8th of 33 Scottish towns of 13,000 to 24,000

Ordered by Health Grade: the top three, the towns either side of Bonnyrigg, and others in Midlothian. Life expectancy for men / women, 2020–24.

#TownPeopleLife expectancyHealth
1Bishopbriggs East Dunbartonshire23,75980.6 / 86.3B−
2Inverurie Aberdeenshire15,11579.7 / 83.4C+
3St Andrews Fife16,46577.1 / 84.6C+
…
6Prestwick South Ayrshire14,55078.3 / 82.4C−
7Penicuik Midlothian16,43176.5 / 82.9C−
8Bonnyrigg Midlothian18,08878.6 / 81.7C−
9Dalkeith Midlothian15,12577.9 / 82.5C−
10Erskine Renfrewshire14,85778.6 / 82.3C−
…
17Mayfield Midlothian14,25977.5 / 81.7D
…
33Bellshill North Lanarkshire19,48873.1 / 77.9D−

These are Scottish towns of a similar size, ordered by Health Grade (graded against every UK town). Life expectancy: Public Health Scotland, 2020–24. Early deaths and hospitalisations use Scottish rates in Against Scotland; they do not feed the grade.

Neighbours

Health in the places around Bonnyrigg

Life expectancy for men / women. Tap a town for its health page.

ABCD
TownPeopleLife expectancyHealth
Bonnyrigg18,08878.6 / 81.7C−
Loanhead7,00776.9 / 82.3C−
Mayfield14,25977.5 / 81.7D
Dalkeith15,12577.9 / 82.5C−
Danderhall3,38978.8 / 83.0C−
Gorebridge8,90077.2 / 80.7D
Penicuik16,43176.5 / 82.9C−
Musselburgh21,47677.0 / 81.8C−

Penicuik, 5 miles away, has men’s life expectancy of 76.5, 2.1 years shorter than Bonnyrigg’s.

How to read these numbers

What this data can and can’t tell you

  • Small areas, summed to the town. Life expectancy is published for 2011 intermediate zones of about 4,000 people, weighted here by the Census 2022 residents living in the town. Small towns share a zone’s figure with countryside around them.
  • Rates, not ratios. ScotPHO early deaths and emergency hospitalisations are age-standardised rates per 100,000, compared with Scotland. They are not England’s per-100-expected ratios. The older SIMD indicators have their own periods and definitions.
  • Different years. Life expectancy covers 2020–24; early deaths and emergency hospitalisations 2022–24. Scotland’s Census was on 20 March 2022, a year after England and Wales’s lockdown census. SIMD 2020v2 uses older indicators, with periods shown beside them.
  • A&E periods and types. Twelve-month figures pool attendance counts over the same complete months. The trend shows 36 calendar months and breaks across missing months. Scotland’s comparison contains full emergency departments, including children’s departments; minor injury units are separate. The 95% standard applies to all A&E sites.
  • Practices and registrations. The main practice postcode assigns a GP or dentist to its Census locality; branch surgeries are not separately counted. Patients can live outside the town. Scotland has no equivalent of England’s GP Patient Survey in these sources, so GP patient ratings are not shown. New NHS dental patient availability is not published here.
  • Distances are straight lines. This list covers NHS Scotland services; an English hospital may be closer near the border. Postcode centroids locate services; where needed, NRS output-area centroids are used. Road journeys are longer and straight lines can cross water. Check the service and its opening hours. For urgent advice contact your GP, or NHS 24 on 111 when it is closed; in an emergency call 999.
  • What feeds the Health Grade. Only the existing ScotPHO life expectancy and Census bad-health and disability measures feed the Health Grade. Care, deprivation, early deaths and hospitalisations are described here and compared within Scotland.

Questions about health in Bonnyrigg

How healthy is Bonnyrigg?

Bonnyrigg earns a C− for health. Life expectancy is 78.6 for men and 81.7 for women (Public Health Scotland, 2020 to 2024), against 76.6 and 80.9 across Scotland’s towns.

Where is the nearest full A&E in Scotland to Bonnyrigg?

Royal Infirmary of Edinburgh, about 3.6 mi from the town centre in a straight line. It saw 55% of patients within four hours in the 12 months to August 2026; the standard is 95%. In an emergency call 999; for urgent advice when your GP is closed, phone NHS 24 on 111.

How many GP practices are in Bonnyrigg?

3 main practice addresses are inside the Census 2022 locality (1 July 2026). Their patients may live outside Bonnyrigg. List sizes do not show staffing or appointment availability.

Can I register with an NHS dentist in Bonnyrigg?

3 NHS dental practices have addresses in the town (31 March 2026), but whether they take new NHS patients is not in the open data. Ask the practice directly.

Does life expectancy vary across Bonnyrigg?

Men’s life expectancy ranges from 72.9 in Bonnyrigg North to 82.4 in Newbattle and Dalhousie (ScotPHO, 2020–24). These figures cover whole 2011 intermediate zones, including residents outside the town.

Sources: Public Health Scotland, ScotPHO profiles (life expectancy 2020–24; early deaths and emergency hospitalisations 2022–24); NHS Scotland A&E sites (9 September 2025), monthly A&E activity through August 2026 (published 6 October 2026), GP practices and list sizes (1 July 2026), dental practices and registrations (31 March 2026); Scottish Government SIMD 2020v2 domain deciles, income counts and health indicators; NRS Census 2022 output areas, localities and postcode lookup; ONS Postcode Directory. Census age-standardised ratios use the unchanged England and Wales 2021 standard. Grades: TownRatings’s existing summary, ranked against UK towns. Open Government Licence v3.0; contains OS data © Crown copyright and database right 2026 and Royal Mail data © Royal Mail copyright and database right 2026.

Contains public sector information licensed under the Open Government Licence v3.0. Contains HM Land Registry data © Crown copyright and database right 2026. Contains OS data © Crown copyright and database right 2026 (ONS boundaries). Northern Ireland: Source: NISRA; contains Land & Property Services data and Ordnance Survey of Northern Ireland information, © Crown copyright, licensed under the Open Government Licence v3.0. Scotland: contains National Records of Scotland data, Registers of Scotland data and SEPA data, © Crown copyright / © SEPA 2025, licensed under the Open Government Licence v3.0.