After a reintroduction programme was introduced 40 years ago, species numbers are now on the rise locally.
Experts say this is a reason for celebration because pine marten populations suppress grey squirrels, which in turn gives red squirrels the opportunity to thrive.
The area’s Pine Marten Group was set up in 2021 to raise awareness and support conservation.
The den boxes were made by volunteers at Glenken’s Mens Shed and Gatehouse Men’s Shed because natural habitats are scarce due to the young age of the region’s forests – and then gifted to the group.
Dr Stephanie Johnstone, chair of The Dumfries and Galloway Pine Marten Group, said: “The volunteers at Glenkens and Gatehouse Mens’ Sheds have been amazing.
“Our volunteers are looking forward to getting out in the next couple of months and installing these new homes.”
Tom Leach, secretary of Glenkens Men’s Shed, said: “Members have worked very hard over the last couple of months to produce 20 nesting boxes.”
The Pine Marten Group is on Facebook and Twitter. Meanwhile, the Glenkens Men’s Shed is open in Balmaclellan on Monday, Wednesday and Friday mornings at 9.30 am and new members are always welcome.
The project has been funded by the Kilgallioch Wind Farm Community Fund and the Galloway Glens Scheme.