01387 is the area code for Dumfries.
Phone numbers that start 01387 belong to Dumfries and the places around it. Here is what the code covers, and how a business keeps its 01387 number when the landline goes.
The 01387 code at a glance
Check another postcode- Area code
- 01387
- Covers
- Dumfries
- How a number is written
- 01387 xxxxxx, usually six digits after the code
- Calling from abroad
- +44 1387 xxxxxx
Postcodes in the 01387 area
These postcode districts sit closest to the 01387 code. Dialling codes do not follow postcode boundaries, so a district near the edge can use a neighbouring code instead.
- DG1
- DG2
Keep your 01387 number, lose the landline
Your number comes with you. Moving to a digital line does not mean a new number. In most cases your 01387 number moves to Honeytel whole, code included, and the people who call you notice nothing.
It rings wherever you are. The same 01387 number rings on a cordless handset, on your laptop and on your mobile, so a call to the business reaches you in Dumfries or out on the road.
There is a date to plan around. BT and Openreach close the old analogue phone network on 31 January 2027. See what the switch-off means for your line.
Area codes follow Ofcom's national numbering plan. The postcode matches are our closest-fit estimate. Checked on 12 November 2026.