| Route | East Coast Main Line (ECML) |
| Section | Edinburgh Waverley (East) to NR Regional Boundary |
| Remarks | East: Eastern station limits |
| Maps | ECM8 Interactive • Local: Edinburgh (North) , Edinburgh , Edinburgh (South East) , Drem , ELR change ECM7-ECM8 |
| ELR Extent | 0M 0598y to 54M 1134y • 54.305 miles • 87.395 km |
| Measured 87.469 km (+75 m, relative to reported extent) ⓘ | |
| Track ID Extents | ☐ 0M 0598y to 0M 0617y • 0.011 miles • 0.017 km |
| ☒ 0M 0617y to 54M 1107y • 54.278 miles • 87.353 km | |
| ☐ 54M 1107y to 54M 1134y • 0.015 miles • 0.025 km | |
| Grouping | ECM1 , ECM2 , ECM3 , ECM4 , ECM5 , ECM6 , ECM7 , ECM8 , ECM9 |
| Neighbours | CPH , ECM7 , ECM9 , LHS1 , MHL1 , MHL2 , NBK , NDE1 , SUB1 |
| NR Region | 🟦 Scotland |
| LOR | 🟡 LN600 Shaftholme Jn to Reston GSP 🔵 SC147 Berwick to Haymarket West Jn (via Waverley) |
| TRACKmaps | 🔵 Scotland 🟡 Eastern |
| Urban Areas | Edinburgh |
| Milepost | Feature | Connections |
|---|---|---|
| 0 ● | ECM8 / ECM9 interface | ECM9 |
| 0 ●● | Abbeyhill Jn | |
| 1 ●●● | Powderhall Jn | CPH |
| 3 ● | Portobello Jn | LHS1 , NDE1 , SUB1 |
| 5 | MUSSELBURGH | |
| 5 ●●● | Monktonhall Jn | MHL1 |
| 7 ●● | WALLYFORD | |
| 9 ● | PRESTONPANS | |
| 13 ● | LONGNIDDRY | |
| 17 ●●● | DREM | |
| 18 | Drem Jn | NBK |
| 23 | EAST LINTON | |
| 29 | DUNBAR | |
| 46 ●● | RESTON | |
| 54 ●● | ECM7 / ECM8 interface | ECM7 |
| From | To | Nearest Place | District / County | Proximity |
|---|---|---|---|---|
| 0 ● | 0 ●● | Canongate | City of Edinburgh | Near |
| 0 ●● | 0 ●●● | Calton | City of Edinburgh | Adjacent → Near |
| 0 ●●● | 0 ●●● | Abbeyhill | City of Edinburgh | Near |
| 0 ●●● | 1 ● | Sunnybank | City of Edinburgh | Adjacent → Near |
| 1 ● | 1 ●● | Meadowbank | City of Edinburgh | Adjacent → Near |
| 1 ●● | 2 ● | Piershill | City of Edinburgh | Adjacent → Distant |
| 2 ● | 2 ●● | Northfield | City of Edinburgh | Distant |
| 2 ●● | 3 ●● | Portobello | City of Edinburgh | Near → Remote |
| 3 ●● | 3 ●●● | Brunstane | City of Edinburgh | Distant → Remote |
| 3 ●●● | 4 | Joppa | City of Edinburgh | Distant |
| 4 | 4 ●● | Brunstane | City of Edinburgh | Distant |
| 4 ●● | 4 ●●● | Stoneyhill | East Lothian | Near → Distant |
| 4 ●●● | 5 ● | Whitehill | East Lothian | Near |
| 5 ● | 6 | Monktonhall | East Lothian | Adjacent → Distant |
| 6 | 6 ●●● | Inveresk | East Lothian | Near → Distant |
| 6 ●●● | 7 | Pinkie | East Lothian | Distant |
| 7 | 8 | Wallyford | East Lothian | Near → Remote |
| 8 | 8 ● | Westpans | East Lothian | Remote |
| 8 ● | 9 | Cuthill | East Lothian | Distant → Remote |
| 9 | 10 | Prestonpans | East Lothian | Near → Remote |
| 10 | 10 ● | The Heugh | East Lothian | Remote |
| 10 ● | 11 ● | Seton | East Lothian | Near → Remote |
| 11 ● | 12 ● | Seton Mains | East Lothian | Near → Remote |
| 12 ● | 13 ●●● | Longniddry | East Lothian | Adjacent → Remote |
| 13 ●●● | 15 | Spittal | East Lothian | Adjacent → Remote |
| 15 | 16 ●●● | Ballencrieff | East Lothian | Near → Remote |
| 16 ●●● | 19 | Drem | East Lothian | Adjacent → Remote |
| 19 | 19 ● | Athelstaneford | East Lothian | Remote |
| 19 ● | 21 ●●● | East Fortune | East Lothian | Adjacent → Remote |
| 21 ●●● | 24 | East Linton | East Lothian | Near → Remote |
| 24 | 24 ●● | Preston | East Lothian | Remote |
| 24 ●● | 25 ●●● | Tyninghame | East Lothian | Remote |
| 25 ●●● | 26 | Pitcox | East Lothian | Remote |
| 26 | 27 ● | Bielside | East Lothian | Near → Remote |
| 27 ● | 27 ●●● | West Barns | East Lothian | Near → Distant |
| 27 ●●● | 28 ●● | Belhaven | East Lothian | Near → Distant |
| 28 ●● | 29 ●● | Dunbar | East Lothian | Near → Remote |
| 29 ●● | 31 ●● | Broxburn | East Lothian | Near → Remote |
| 31 ●● | 34 | Innerwick | East Lothian | Remote |
| 34 | 35 ●●● | Bilsdean | East Lothian | Adjacent → Remote |
| 35 ●●● | 36 ● | Dunglass | East Lothian | Adjacent → Near |
| 36 ● | 36 ●● | Cove | Scottish Borders | Near |
| 36 ●● | 37 ●●● | Cockburnspath | Scottish Borders | Near → Remote |
| 37 ●●● | 39 ●● | Old Cambus | Scottish Borders | Remote |
| 39 ●● | 42 ●● | Grantshouse | Scottish Borders | Adjacent → Remote |
| 42 ●● | 44 ●●● | Houndwood | Scottish Borders | Near → Remote |
| 44 ●●● | 45 | Auchencrow | Scottish Borders | Remote |
| 45 | 47 ●●● | Reston | Scottish Borders | Adjacent → Remote |
| 47 ●●● | 50 ●●● | Ayton | Scottish Borders | Distant → Remote |
| 50 ●●● | 52 ●● | Burnmouth | Scottish Borders | Near → Remote |
| 52 ●● | 54 | Lamberton Shiels | Scottish Borders | Near → Remote |
| 54 | 54 ●● | Lamberton | Scottish Borders | Remote |
| From | To | Country | Administrative Area |
|---|---|---|---|
| 0 ● | 4 ●●● | Scotland | Edinburgh |
| 4 ●●● | 5 ●●● | Scotland | Midlothian |
| 5 ●●● | 36 | Scotland | East Lothian |
| 36 | 54 ●● | Scotland | Scottish Borders |