| Postcode | DG7 1PJ | 
|---|---|
| Post Town | Castle Douglas | 
| Nearest station | Dumfries (25 km) | 
| Bus stops | Village (SW) Barlochan (SW) Barlochan (NE) | 
| Businesses | 
                        No businesses found
                     | 
| Latitude | 54.891776 | |
|---|---|---|
| Longitude | -3.840428 | |
| Easting | 282055 | |
| Northing | 556778 | |
| Grid reference | NX820567 | |
| UTM reference | 30U 446095 6083071 | |
| what3words | cares.helpfully.leopard | |
| FixPhrase | crunching lunar suffering viability | |
| Plus code | 9C6RV5R5+PR | |
| Altitude | 15 metres (49 feet) | |
| Sunrise (today) | 7:17 | |
| Sunset (today) | 16:42 | |
| Distance away | ||
| Distance to sea | 1.3 KMs (0.8 miles) | 
| Ward | Castle Douglas and Crocketford | S13002883 | 
|---|---|---|
| Council Area | Dumfries and Galloway | S12000006 | 
| Constituency (2024) | Dumfries and Galloway | S14000073 | 
| MP | John Cooper | 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 | 
|---|---|
| Date usage ended | September 2004 | 
| 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 | 
| Index of Multiple Deprivation (2019) | Most deprivedLeast deprived | |
|---|---|---|
| Rural/urban (2021) | Accessible Rural | |
| Rural/urban (2011) | Remote rural area | |
| Census output area (2021) | S00147192 | |
| Census output area (2011) | 8C2 | |
| Lower layer super output area (2011) | Castle Douglas - 05 | S01007538 | 
| Middle layer super output area (2011) | Castle Douglas | S02001415 | 
| Travel to work area | Dalbeattie and Castle Douglas | S22000053 |