Historic county of Scotland
Midlothian

Meadhan Labhdaidh / Edinburghshire / County of Edinburgh
Capital and Forth shore north, Pentlands and Moorfoots rising south.
Midlothian / Edinburghshire runs from the southern shore of the Firth of Forth into the hills of southern Scotland. Edinburgh dominates the northern county, while inland the landscape passes through river valleys, farmland and increasingly open hill country.
That makes Midlothian much more than a rural hinterland around the capital. Edinburgh is itself part of the geographic county, and the contrast between great city, firth-side lowland and southern uplands is fundamental to Midlothian’s character. The city grew within the county landscape; it did not replace it.

- Ancient heart of Lothian
- Sheriffdom recorded c.1120
- 'Midlodine' in charters
- Area: 362 sq miles / 938 km²
- Population: 674,493 (Scotland’s Census 2022)
- County top: Blackhope Scar 2,136 ft / 651 m
County geography
Current Census
Contemporary Census profile
Scotland Census 2022. Detailed contemporary statistics are available in the Geographic County Census Explorer.
- Population density
- 1,841.8 people per sq mi (711.13 people per km²)

Explore Midlothian
Places
Capital city, Forth shore, Esk valley and southern hill towns in one county.
Landscape & character
A capital and a substantial upland county coexist within the same geography.
Edinburgh & Forth
Dense urban country meets the firth along a coast of ports, beaches and islands.
Pentland Hills
The hills rise almost immediately behind the capital.
Moorfoot Hills
More extensive upland forms the highest ground in the county.
North Esk · South Esk
The two rivers drain much of the inland county and unite before reaching the Forth.
Capital and countryside
The city’s scale does not erase the county’s large rural and hill landscapes.
History
The national capital grew within Midlothian rather than replacing it.
A city and east/west county districts
East Edinburghshire District · Edinburgh City · West Edinburghshire District
The Census uses these three statistical components in its county table. They are valuable evidence of nineteenth-century treatment, but the page should present them explicitly as census geography rather than assume they are timeless internal divisions.
Transport & connections
The national capital makes the northern county one of Scotland’s great transport hubs.
Edinburgh hub
Routes radiate west, north, east and south from the capital.
A1 · A7 · A68 approaches
Major corridors follow the Forth coast and inland valleys.
Pentland routes
Short distances separate the city from upland walking and reservoir country.
Sport in Midlothian
Edinburgh’s football and rugby traditions are an important part of the county’s cultural life.
Heart of Midlothian · Tynecastle Park
The county name is internationally familiar through the club. Its actual home ground, Tynecastle Park, has been checked against both full-resolution Historic Counties Trust county-border definitions and lies geographically in Midlothian.
Hibernian · Easter Road
Easter Road’s stadium reference point has likewise been verified against both HCT county-border definitions and lies in geographic Midlothian.
Rugby in Edinburgh
Murrayfield is a nationally recognised centre of rugby, while local clubs and professional matches contribute to the capital’s wider sporting life.
Musselburgh horse racing
Horse racing has a long association with Musselburgh. The town lies in geographic Midlothian / Edinburghshire; the separate racecourse site has not yet had its entire perimeter checked against the county boundary.
Midlothian / Edinburghshire
The key educational task is to keep capital, county and council geographies separate.
Midlothian / Edinburghshire
RealCounties map
Explore the county map
Explore this county on the RealCounties map.
Reference points
- Edinburgh
- Forth coast
- Pentland Hills
- Esk valleys
- Moorfoot Hills
Exact place and boundary statements remain tied to RealCounties mapping rather than council areas, postcodes or present transport patterns.
Are Midlothian and Edinburghshire different counties?
No. They are long-established names for the same geographic county; County of Edinburgh is another historical form.
Is Edinburgh in Midlothian?
Yes. HCI’s existing county material treats Edinburgh as geographically in Midlothian. The City of Edinburgh council area is a separate local-government geography.
The 1851 census divisions
East Edinburghshire, Edinburgh City and West Edinburghshire belong to a statistical table. They should be useful research filters, not mistaken for the only authentic internal geography.
Does Livingston extend into Midlothian?
Yes. The New Town crosses the geographical boundary with West Lothian. The HCT full-resolution Definition A and B datasets place independent mapped Livingston town-centre points in Midlothian, and Livingston Village in West Lothian. The stadium centre, football pitch and three individual stands at Almondvale also fall in Midlothian. The complete stadium perimeter is still awaiting its final footprint comparison.
Pentlands and Moorfoots
The hill ranges are vital to understanding how much of the county lies outside the mental image of urban Edinburgh.
Territorial layers
Few counties need the layer distinction more clearly stated.
Midlothian / Edinburghshire
The geographic county contains Edinburgh and extends south into the hills.
City of Edinburgh
A local-government area centred on the capital, not the county itself.
Midlothian
Another local-government area borrowing the county’s familiar name while covering only part of the geographic county.
East · City · West
A historical statistical division with another purpose again.
County identity
The capital does not make Midlothian less of a county; it makes its range more remarkable.
Edinburgh
Castle rock, Old Town, New Town and Forth setting form one of Britain’s great urban landscapes.
Heart of Midlothian
The county name survives very visibly through one of Scotland’s major football clubs.
Pentlands & Moorfoots
Upland country begins almost on the capital’s doorstep.
Esk
The two Esk branches provide a strong natural structure for the inland county.
Sources & evidence
The central distinction is geographic county versus capital/council administration.
Original documents and first-hand testimony
Walter W. Moore — contemporary first-hand account
“climbed her heights in every direction—Arthur’s Seat, Salisbury Crags, Calton Hill, The Castle”
A Year in Europe (1905), Edinburgh letter dated 27 August 1902. Moore recalls exploring Edinburgh’s hills and historic skyline. It is evidence of a visitor’s experience, not a source for a precise county border or the origin of Edinburghshire.
Original HCI Project document — Census of Great Britain, 1851. The official Summary Tables, Table XII, “Houses and Population in 1851 in the Districts and other Subdivisions of the Counties of Scotland”, printed p. ccxv (published 1852), records “East Edinburghshire District”, “Edinburgh City” and “West Edinburghshire District”. These are official period census divisions recorded under Edinburghshire; they are neither modern council areas nor a final delineation of the geographic county.
County geography: The Historic Counties Standard and authoritative RealCounties map determine the county’s present geographical identity, boundaries and any detached or separated parts. A first-hand account or historical census classification can only support the facts and usages it specifically records.
County record
Names and continuity
- Formal name
- County of Midlothian
- Local name
- Meadhan Labhdaidh
- Alternative name
- Edinburghshire
- Foundation
- 12th Century
Midlothian, Edinburghshire and County of Edinburgh are forms associated with the same county. Capital, Forth plain and southern hills together form its enduring geography.
