In 1824 the Deil’s Dyke is first recorded in print by Chalmers in his ‘Caledonia’ where he credits Joseph Train, amongst others, for the description of what survived at the time and for recognising its significance, ambiguous as that remains.
In 1841 a second report was published as an appendix in MacKenzie’s ‘History of Galloway’.
 
Originally it was said to run from Loch Ryan to the shores of the inner Solway and was a boundary between the Picts and the Britons of Strathclyde with a defensive palisade, watchtowers and forts however this has been shown to be incorrect as a number of the linear features included were shown to be head-dykes and other unrelated landscape features.
A Dumfries and Galloway survey of 1956 proposed that the dyke runs along a 16 miles route from near Burnmouth Farm (NS 8400 0500), north of Enterkinfoot to Dalhanna Hill, New Cumnock, beside the Afton Water (NS 6169 1142), south-west of New Cumnock.
This section is considered to have some credibility as a single structure constructed and planned through the control of a single controlling authority.

In 1981 a section was excavated and was shown to consist of an earth bank only, likely to have been constructed on one single occasion.
The turves used in its construction were taken from either side giving a width of 4.5 feet (1.4m) at the base with a maximum original height estimated at around 6.5 feet (2m).
although both late Iron Age and medieval dating evidence was found it was not conclusive.

No one single feudal land holder is known to have controlled such a large area so its construction as an estate boundary is implausible, but a mediaeval head-dyke function or a deer hay wind function or a hunting forest demarcation fits the evidence better.
It has been noted that a considerable number of similar earthworks exist in the vicinity of the dyke making interpretation a challenge.

The name 'Deil's Dyke' or 'Devil's Dyke' is commonly associated in myth and legend with structures of this scale however it has also been noted that a name similar or identical to 'Deil's Dyke' can mean a 'march dyke'.

Some of the gaps in the course of the dyke may be due to the historical presence of dense woodland.
Areas of once extensive woodland in Nithsdale are indicated on old maps such as in the 1660s when a Cashogill Wood (sic) is recorded near Enterkinfoot, extending at least as far as Kilbryd Kirk (sic).

The RCAHMS have mapped sections of the Deil's Dyke near Morton Castle and near Gatelawbridge.

In the parish of Eskdalemuir are sections of another similar linear earthwork there known as the 'Deil's Jingle'.
In 1824 the Deil’s Dyke is first recorded in print by Chalmers in his ‘Caledonia’ where he credits Joseph Train, amongst others, for the description of what survived at the time and for recognising its significance, ambiguous as that remains. In 1841 a second report was published as an appendix in MacKenzie’s ‘History of Galloway’.  
Originally it was said to run from Loch Ryan to the shores of the inner Solway and was a boundary between the Picts and the Britons of Strathclyde with a defensive palisade, watchtowers and forts however this has been shown to be incorrect as a number of the linear features included were shown to be head-dykes and other unrelated landscape features. A Dumfries and Galloway survey of 1956 proposed that the dyke runs along a 16 miles route from near Burnmouth Farm (NS 8400 0500), north of Enterkinfoot to Dalhanna Hill, New Cumnock, beside the Afton Water (NS 6169 1142), south-west of New Cumnock. This section is considered to have some credibility as a single structure constructed and planned through the control of a single controlling authority.
In 1981 a section was excavated and was shown to consist of an earth bank only, likely to have been constructed on one single occasion. The turves used in its construction were taken from either side giving a width of 4.5 feet (1.4m) at the base with a maximum original height estimated at around 6.5 feet (2m). although both late Iron Age and medieval dating evidence was found it was not conclusive. 
No one single feudal land holder is known to have controlled such a large area so its construction as an estate boundary is implausible, but a mediaeval head-dyke function or a deer hay wind function or a hunting forest demarcation fits the evidence better. It has been noted that a considerable number of similar earthworks exist in the vicinity of the dyke making interpretation a challenge.
The name 'Deil's Dyke' or 'Devil's Dyke' is commonly associated in myth and legend with structures of this scale however it has also been noted that a name similar or identical to 'Deil's Dyke' can mean a 'march dyke'.
Some of the gaps in the course of the dyke may be due to the historical presence of dense woodland. Areas of once extensive woodland in Nithsdale are indicated on old maps such as in the 1660s when a Cashogill Wood (sic) is recorded near Enterkinfoot, extending at least as far as Kilbryd Kirk (sic).
The RCAHMS have mapped sections of the Deil's Dyke near Morton Castle and near Gatelawbridge.
In the parish of Eskdalemuir are sections of another similar linear earthwork there known as the 'Deil's Jingle'.
Deil's Dyke