Elrig is a Clachan in Dumfries and Galloway, Scotland. Located in the Machars peninsula, about 3 miles north of Port William.
Elrig is the birthplace of author and naturalist Gavin Maxwell, who was born at the House of Elrig. His boyhood is recounted in The House of Elrig, published in 1965. The grounds of his family estate are open to the public, but the house is private with no public access.
A standing stone, the Carlin stone, can be found on The Derry, near to the head of Elrig Loch, which is also home to the remains of a crannog. The ruins of a mediaeval church can be found at Barhobble, which is near to the House of Elrig. None of the above are within Elrig but are rather merely part of Mochrum parish.