Historic county of Scotland

Midlothian

Midlothian flag or emblem

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.

Outline of Midlothian
County outline

  • 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

Map preview showing Midlothian

Interactive map preview for Midlothian
Open interactive map

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 full Census data for Midlothian

View of Midlothian
City of Edinburgh in the County of Midlothian.

Places

Capital city, Forth shore, Esk valley and southern hill towns in one county.

EdinburghCounty town and national capital, occupying the northern county between the Forth and the Pentlands.
MusselburghForth-side town at the mouth of the Esk.
Livingston (part)The mapped New Town centre and football stadium stand geographically in Midlothian, while Livingston Village is in West Lothian. The council-area geography is different.
DalkeithHistoric inland town on the Esk system south-east of Edinburgh.
PenicuikTown below the Pentland Hills on the North Esk.
RoslinVillage and glen country famous for Rosslyn Chapel.
LoanheadFormer mining town in the central county.
PortobelloSeaside district on the Forth coast east of central Edinburgh.

Landscape & character

A capital and a substantial upland county coexist within the same geography.

North

Edinburgh & Forth

Dense urban country meets the firth along a coast of ports, beaches and islands.

West-southwest

Pentland Hills

The hills rise almost immediately behind the capital.

South-east

Moorfoot Hills

More extensive upland forms the highest ground in the county.

Rivers

North Esk · South Esk

The two rivers drain much of the inland county and unite before reaching the Forth.

Urban contrast

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.

Medieval periodEdinburgh develops as a royal burgh and great political centre within the county.
15th century onwardsThe city’s role as Scotland’s capital increasingly dominates national life.
18th–19th centuriesUrban expansion, mining, paper, railways and planned growth transform the northern county.
19th–20th centuriesEdinburgh’s built-up area expands while Pentland and Moorfoot country remains strongly rural.
TodayMidlothian / Edinburghshire remains the geographic county; city and council areas are separate administrative layers.
In the record · 1851 Census

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.

Source: Census of Great Britain, 1851, Table XII.

Transport & connections

The national capital makes the northern county one of Scotland’s great transport hubs.

Rail

Edinburgh hub

Routes radiate west, north, east and south from the capital.

Road

A1 · A7 · A68 approaches

Major corridors follow the Forth coast and inland valleys.

Hills

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.

Football

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.

Football

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

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.

Horse racing

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

County geometry from RealCounties. Open full 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.

County

Midlothian / Edinburghshire

The geographic county contains Edinburgh and extends south into the hills.

City council

City of Edinburgh

A local-government area centred on the capital, not the county itself.

Midlothian council

Midlothian

Another local-government area borrowing the county’s familiar name while covering only part of the geographic county.

Census geography

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.

Capital

Edinburgh

Castle rock, Old Town, New Town and Forth setting form one of Britain’s great urban landscapes.

Sport

Heart of Midlothian

The county name survives very visibly through one of Scotland’s major football clubs.

Hills

Pentlands & Moorfoots

Upland country begins almost on the capital’s doorstep.

River

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.