Skip to content
ClearPostcode

EH postcode area · Edinburgh

EH21 postcode district

EH21 is a postcode district in the EH (Edinburgh) area covering Musselburgh, Fisherrow, Goose Green and 16 more in East Lothian, Scotland. It has 771 live postcodes in 4 sectors (EH21 6 to EH21 9), centred on 55.93798, -3.04531.

771 live postcodes4 sectorsEast LothianDownload CSV
1 km
Live postcodes across EH21, plotted from their coordinates. The pin marks the district's centre.

EH21 at a glance

Council
East Lothian, City of Edinburgh and Midlothian
Constituency
Edinburgh East and Musselburgh and Lothian East
Region
Scotland
Police force
Scotland
Urban share
100% urban
Newest postcode
EH21 8TR, July 2026

Places in EH21: Musselburgh, Fisherrow, Goose Green, Inveresk, Levenhall, Lewisvale, Monktonhall, Newhailes, Pinkie, Pinkie Braes, Stoneybank, Stoneyhill, Westpans, Whitehill, Old Craighall, Wallyford, Whitecraig, Stoneyhill Steading, The Byres.

Sectors

The 4 postcode sectors in EH21

A sector is the district plus the first digit of the inward code, such as EH21 6. Each one lists every postcode inside it.

SectorLive postcodesTerminated
EH21 624059
EH21 724235
EH21 828919
EH21 9029

Councils and wards

Share of EH21's live postcodes in each council and ward.

Wards

  • Musselburgh74%
  • Tranent, Wallyford and Macmerry21%
  • Portobello/Craigmillar5%
  • Preston, Seton and Gosford<1%
  • Dalkeith<1%

Deprivation

Live postcodes by deprivation decile, Scottish Index of Multiple Deprivation 2020: 1 is the most deprived tenth of neighbourhoods, 10 the least. Decile 2: 37 postcodes. Decile 3: 216 postcodes. Decile 4: 154 postcodes. Decile 5: 57 postcodes. Decile 6: 103 postcodes. Decile 7: 78 postcodes. Decile 8: 39 postcodes. Decile 9: 58 postcodes. Decile 10: 29 postcodes.

Constituencies

Check a postcode

Look up any postcode in EH21

Council, ward, constituency, coordinates and status for a single postcode, straight from the live API.

For developers

EH21 in your app

Every live postcode in the district in one call, free up to the monthly allowance. Get a free key.

curl "https://api.clearpostcode.co.uk/v1/outcodes/EH21/postcodes" \
  -H "x-api-key: $CLEAR_KEY"

Or download EH21 as CSV: 771 rows, free, under the Open Government Licence.

Questions

EH21 postcode questions

What area does the EH21 postcode cover?

EH21 covers Musselburgh, Fisherrow, Goose Green, Inveresk, Levenhall and 14 more. It is one of the districts in the EH (Edinburgh) postcode area.

Which council is EH21 in?

Mostly East Lothian (95% of live postcodes), with City of Edinburgh and Midlothian covering the rest. Check a single postcode to be sure which council it falls under.

How many postcodes are in EH21?

771 live postcodes in 4 sectors, plus 142 terminated ones, in the ONS edition of August 2026. 13 of the live postcodes belong to a single large user, such as a business or a PO box.

Which constituency is EH21 in?

Mainly Edinburgh East and Musselburgh (56%), and also Lothian East and Midlothian.

Is EH21 urban or rural?

Urban: 100% of its live postcodes are in urban areas.

How do I get every EH21 postcode?

Download the free CSV on this page, or call https://api.clearpostcode.co.uk/v1/outcodes/EH21/postcodes with a free key: every live postcode with its coordinates, council, ward and constituency.