| Postcode | DG3 5LY | 
|---|---|
| Post Town | Thornhill | 
| Nearest station | Sanquhar (18 km) | 
| Bus stops | Cross (NW) Drumlanrig St (NW) East Morton Street (SW) Drumlanrig St (SE) East Morton Street (NE) Wallace Hall (NE) | 
| Roads in this postcode | |
| Number of UPRNs | 43 View | 
| Businesses | 
| Latitude | 55.239886 | |
|---|---|---|
| Longitude | -3.763455 | |
| Easting | 287969 | |
| Northing | 595383 | |
| Grid reference | NX879953 | |
| UTM reference | 30U 451455 6121751 | |
| what3words | overlooks.reset.transit | |
| FixPhrase | crushed lunchbox skydiver wager | |
| Plus code | 9C7R66QP+XJ | |
| Altitude | 78 metres (256 feet) | |
| Sunrise (today) | 7:18 | |
| Sunset (today) | 16:41 | |
| Distance away | ||
| Distance to sea | 28.7 KMs (17.9 miles) | 
| Ward | Mid and Upper Nithsdale | S13002886 | 
|---|---|---|
| Council Area | Dumfries and Galloway | S12000006 | 
| Constituency (2024) | Dumfriesshire, Clydesdale and Tweeddale | S14000074 | 
| MP | David Mundell | Conservative | 
| Police force | Scotland | |
| Water company | Scottish Water | |
| NUTS/ITL 3 | Dumfries and Galloway | |
| NUTS/ITL 2 | Southern Scotland | |
| NUTS/ITL 1 | Scotland | |
| Country | Scotland | S92000003 | 
| Date introduced | January 1980 | 
|---|---|
| Last updated | September 2025 | 
| User type | Small (addresses receive less than 25 items of mail per day) | 
| Quality | Within the building of the matched address closest to the postcode mean | 
| Population (2011) | 53 | |
|---|---|---|
| Households (2011) | 24 | |
| Index of Multiple Deprivation (2019) | Most deprivedLeast deprived | |
| Rural/urban (2021) | Accessible Rural | |
| Rural/urban (2011) | Accessible rural area | |
| Census output area (2021) | S00146137 | |
| Census output area (2011) | 7D1 | |
| Lower layer super output area (2011) | Thornhill - 02 | S01007560 | 
| Middle layer super output area (2011) | Thornhill | S02001420 | 
| Travel to work area | Dumfries | S22000055 |