Inspection work at a historic landmark took five weeks to complete.
Caerlaverock Castle has been closed to the public since the spring of 2021 due to concerns over the condition of its masonry, although the grounds can still be accessed.
However, Historic Environment Scotland has now completed its investigation and is now considering what repair work needs to be carried out.