EH postcode area · Edinburgh
EH40 postcode district
EH40 is a postcode district in the EH (Edinburgh) area covering East Linton and Preston in East Lothian, Scotland. It has 68 live postcodes in 1 sector, centred on 55.98954, -2.66111.
EH40 at a glance
- Council
- East Lothian
- Constituency
- Lothian East
- Region
- Scotland
- Police force
- Scotland
- Urban share
- 100% urban
- Newest postcode
- EH40 3BZ, June 2023
Places in EH40: East Linton, Preston.
Sectors
The 1 postcode sector in EH40
A sector is the district plus the first digit of the inward code, such as EH40 3. Each one lists every postcode inside it.
| Sector | Live postcodes | Terminated |
|---|---|---|
| EH40 3 | 68 | 7 |
Councils and wards
Share of EH40's live postcodes in each council and ward.
- East Lothian100%
Wards
- Dunbar and East Linton94%
- North Berwick Coastal6%
Deprivation
Constituencies
- Lothian East100%
Check a postcode
Look up any postcode in EH40
Council, ward, constituency, coordinates and status for a single postcode, straight from the live API.
For developers
EH40 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/EH40/postcodes" \
-H "x-api-key: $CLEAR_KEY"Or download EH40 as CSV: 68 rows, free, under the Open Government Licence.
Questions
EH40 postcode questions
What area does the EH40 postcode cover?
EH40 covers East Linton and Preston. It is one of the districts in the EH (Edinburgh) postcode area.
Which council is EH40 in?
East Lothian: every live postcode in EH40 sits in it.
How many postcodes are in EH40?
68 live postcodes in 1 sector, plus 7 terminated ones, in the ONS edition of August 2026.
Which constituency is EH40 in?
Lothian East.
Is EH40 urban or rural?
Urban: 100% of its live postcodes are in urban areas.
How do I get every EH40 postcode?
Download the free CSV on this page, or call https://api.clearpostcode.co.uk/v1/outcodes/EH40/postcodes with a free key: every live postcode with its coordinates, council, ward and constituency.