Compare

EH20

Postcode district

Postcode district covering Loanhead, New Pentland and Straiton, in Midlothian.

Approximate outline worked out by Open Index from the ONS Postcode Directory: each census output area belongs to the district that holds most of its postcodes. People, homes, recorded crime and broadband add up those output areas. House sales count every sale with an EH20 postcode. How census figures are added up

Open in map

Gigabit coverage by postcode district

Connected Nations (Ofcom) · January 2026

Under 60%98% or more

In EH20, 87.8% of homes and businesses could get gigabit-capable broadband in January 2026.

Population
7,007
580th least populated of 2,756
ONS Census 2021 · 2021
Gigabit broadband coverage
87.8%
UK 87.8%
Ofcom · Jan 2026
Claimant rate
2.4%
UK 3.9%
ONS via Nomis · Aug 2026
Aged 15 to 64
62.5%
1,262nd highest of 2,756
ONS Census 2021 · 2021

How EH20 compares

Each dot is a postcode district. The black line marks the middle one.

EH20Middle
Population54 postcode districts, EH · 2021
Population: every postcode district in EH54 areas from 370 to 56,484. The middle area is 14,543. EH20 is 7,007.
7,00719th least populated
Gigabit broadband coverage54 postcode districts, EH · Jan 2026
Gigabit broadband coverage: every postcode district in EH54 areas from 30.4% to 99.2%. The middle area is 92.9%. EH20 is 87.8%.
87.8%16th lowest
Claimant rate53 postcode districts, EH · Aug 2026
Claimant rate: every postcode district in EH53 areas from 0.0% to 4.0%. The middle area is 2.4%. EH20 is 2.4%.
2.4%joint 26th highest
Aged 15 to 6454 postcode districts, EH · 2021
Aged 15 to 64: every postcode district in EH54 areas from 52.8% to 90.1%. The middle area is 63.9%. EH20 is 62.5%.
62.5%17th lowest

What is the population of EH20?

EH20 had 7,007 usual residents at the census.

EH20 is the 580th least populated of 2,756 in the UK.

Neighbourhoods in EH20

NamePeople (census)Recorded crime per 1,000Deprivation decileGigabit broadband
Danderhall, Shawfair and Midlothian North - 01642No figureNo figure99.3%
Loanhead - 01699No figureNo figure95.6%
Loanhead - 02641No figureNo figure88.3%
Loanhead - 03641No figureNo figure91.9%
Loanhead - 04690No figureNo figure81.8%
Loanhead - 051,056No figureNo figure93.8%
Straiton - 01540No figureNo figure94.7%
Straiton - 02852No figureNo figure77.7%
Straiton - 03697No figureNo figure99.0%
Straiton - 04445No figureNo figure75.4%

Your MP

As of , from the UK Parliament Members API. Contains Parliamentary information licensed under the Open Parliament Licence v3.0. Source: UK Parliament, Members API.

Middle areas in EH202

Postcode sectors in EH202

Council1

Postcode districts next to EH205

Nearest rail stations3

More in the EH postcode area2

EH20 in brief

EH20 is a postcode district covering Loanhead, New Pentland and Straiton, in Midlothian.

About 7,240 people lived in EH20 in mid-2024 (worked out by Open Index from NRS small-area estimates).

EH20 had 7,007 usual residents at the census.

In EH20, 87.8% of homes and businesses could get gigabit-capable broadband in January 2026.

In EH20, 2.4% of residents aged 16 to 64 were claiming out-of-work benefits in August 2026.

62.5% of residents in EH20 were aged 15 to 64 at the census.