# EH20

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

EH20 is a postcode district covering Loanhead, New Pentland and Straiton, in Midlothian. About 7,240 people.

Postcode district. Code EH20. In: [Postcodes](https://openindex.co.uk/postcode) › [EH](https://openindex.co.uk/postcode/eh)

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](https://openindex.co.uk/sources/population)

## Key figures

- **Population: 7,007** (2021). EH20 had 7,007 usual residents at the census (Scotland's Census 2022). 580th least populated of 2,756. Source: Census 2021, England and Wales and Scotland's Census 2022 and Census 2021, Northern Ireland, 2021. Published 21 July 2026. https://openindex.co.uk/postcode/eh20#f-population
- **People in radon Affected Area squares: 92%** (2022). About 92% of people in EH20 live in a 1 km square that the radon atlas marks as a radon Affected Area. UK 44%. Source: Worked out by Open Index from the UKHSA and BGS radon atlas and census output areas. Published 1 December 2022. https://openindex.co.uk/postcode/eh20#f-radon-affected-share
- **Gigabit broadband coverage: 87.8%** (January 2026). In EH20, 87.8% of homes and businesses could get gigabit-capable broadband in January 2026 (Ofcom). UK 87.8%. Source: Connected Nations (Ofcom), January 2026. Published 13 May 2026. https://openindex.co.uk/postcode/eh20#f-gigabit-coverage
- **Claimant rate: 2.4%** (August 2026). In EH20, 2.4% of residents aged 16 to 64 were claiming out-of-work benefits in August 2026 (ONS via Nomis). UK 3.9%. Source: Claimant count (Nomis), August 2026. Published 15 September 2026. https://openindex.co.uk/postcode/eh20#f-claimant-rate

## On the map

- [Radon Affected Area by postcode district](https://openindex.co.uk/map/radon-affected-areas?place=EH20) (Worked out by Open Index · 2022): About 92% of people in EH20 live in a 1 km square that the radon atlas marks as a radon Affected Area.
- [Average house price by council](https://openindex.co.uk/map/house-prices?place=EH20) (UK House Price Index · August 2026): Published for whole councils, so the map colours all of Midlothian, where most of this postcode district lies. The outline is EH20.
- [Crimes by council](https://openindex.co.uk/map/scotland-crime-count?place=EH20) (Recorded crimes and offences in Scotland · 2025/26): Published for whole councils, so the map colours all of Midlothian, where most of this postcode district lies. The outline is EH20.
- [Population by postcode district](https://openindex.co.uk/map/population?place=EH20) (Census 2021, England and Wales): EH20 had 7,007 usual residents at the census.

## How EH20 compares

Each postcode district against every other postcode district the measure covers.

| Measure | EH20 | Rank | Compared with |
| --- | --- | --- | --- |
| Population | 7,007 | 19th least populated | 54 postcode districts, EH · 2021 |
| People in radon Affected Area squares | 92% | 5th most people in radon Affected Areas | 54 postcode districts, EH · 2022 |
| Gigabit broadband coverage | 87.8% | 16th lowest | 54 postcode districts, EH · Jan 2026 |
| Claimant rate | 2.4% | joint 26th highest | 53 postcode districts, EH · Aug 2026 |

## 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

| Area | People (census) | Recorded crime per 1,000 | Deprivation decile | Gigabit broadband |
| --- | --- | --- | --- | --- |
| [Danderhall, Shawfair and Midlothian North - 01](https://openindex.co.uk/midlothian/neighbourhood/s01018188) | 642 | – | – | 99.3% |
| [Loanhead - 01](https://openindex.co.uk/midlothian/neighbourhood/s01018148) | 699 | – | – | 95.6% |
| [Loanhead - 02](https://openindex.co.uk/midlothian/neighbourhood/s01018149) | 641 | – | – | 88.3% |
| [Loanhead - 03](https://openindex.co.uk/midlothian/neighbourhood/s01018150) | 641 | – | – | 91.9% |
| [Loanhead - 04](https://openindex.co.uk/midlothian/neighbourhood/s01018151) | 690 | – | – | 81.8% |
| [Loanhead - 05](https://openindex.co.uk/midlothian/neighbourhood/s01018152) | 1,056 | – | – | 93.8% |
| [Straiton - 01](https://openindex.co.uk/midlothian/neighbourhood/s01018144) | 540 | – | – | 94.7% |
| [Straiton - 02](https://openindex.co.uk/midlothian/neighbourhood/s01018145) | 852 | – | – | 77.7% |
| [Straiton - 03](https://openindex.co.uk/midlothian/neighbourhood/s01018146) | 697 | – | – | 99.0% |
| [Straiton - 04](https://openindex.co.uk/midlothian/neighbourhood/s01018147) | 445 | – | – | 75.4% |

## Your MP

- [Midlothian](https://openindex.co.uk/constituency/midlothian): Kirsty McNeill (Labour (Co-op)), MP since July 2024.

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

## Middle areas in EH20

[Loanhead](https://openindex.co.uk/midlothian/loanhead), [Straiton](https://openindex.co.uk/midlothian/straiton)

## Postcode sectors in EH20

[EH20 0 (1 postcode)](https://openindex.co.uk/postcode/eh20-0), [EH20 9 (235 postcodes)](https://openindex.co.uk/postcode/eh20-9)

## Council

[Midlothian](https://openindex.co.uk/midlothian)

## Postcode districts next to EH20

[EH10](https://openindex.co.uk/postcode/eh10), [EH17](https://openindex.co.uk/postcode/eh17), [EH18](https://openindex.co.uk/postcode/eh18), [EH22](https://openindex.co.uk/postcode/eh22), [EH25](https://openindex.co.uk/postcode/eh25)

## Nearest rail stations

[Eskbank (4.7 km from the middle)](https://openindex.co.uk/map/rail-stations?around=-3.0831,55.8818), [Newtongrange (5.7 km from the middle)](https://openindex.co.uk/map/rail-stations?around=-3.0694,55.8670), [Shawfair (5.9 km from the middle)](https://openindex.co.uk/map/rail-stations?around=-3.0902,55.9179)

## More in the EH postcode area

[All EH postcode districts](https://openindex.co.uk/postcode/eh), [Every UK postcode area](https://openindex.co.uk/postcode)

## 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.
About 92% of people in EH20 live in a 1 km square that the radon atlas marks as a radon Affected Area.
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.

## About

- Type: Postcode district
- Code: EH20
- Postcode area: [EH](https://openindex.co.uk/postcode/eh)
- Constituency: [Midlothian †](https://openindex.co.uk/constituency/midlothian)
- Council: [Midlothian †](https://openindex.co.uk/midlothian)
- Area: 3.25 km²
- People, mid-2024: 7,240*
- Neighbourhoods: 10
- Output areas: 57

* People: worked out by Open Index from neighbourhood estimates, shared out by where people lived at the census (by area in Northern Ireland). This area's edges do not follow neighbourhood edges, so the figure is close but not exact.
† Best fit: the constituency, council and nation this postcode district mostly lies in. Its edges do not follow theirs.

## Next door

[EH22](https://openindex.co.uk/postcode/eh22), [EH10](https://openindex.co.uk/postcode/eh10), [EH18](https://openindex.co.uk/postcode/eh18), [EH25](https://openindex.co.uk/postcode/eh25), [EH17](https://openindex.co.uk/postcode/eh17)

## Latest updates for EH20

- August 2026 house prices published: HM Land Registry and partners · Oct 2026.
- September 2026 rent published: ONS private rents · Oct 2026.
- Schools updated: Ofsted · Oct 2026.
- GP practices updated: NHS England · Oct 2026.

The same figures as JSON: https://openindex.co.uk/v1/places/EH20

## How to cite

Source: Open Index, openindex.co.uk. Link to this page, https://openindex.co.uk/postcode/eh20, or to one figure with its anchor, https://openindex.co.uk/postcode/eh20#f-population.

Open Index's own text and the figures it works out are licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Source data keeps its publishers' licences, named with each figure. Give each figure's period and source with it.

Snapshot 2026.10.9. The HTML page: https://openindex.co.uk/postcode/eh20
