Around 400 metres of road is covered in glue on the A76, near Sanquhar, after a lorry overturned.
The road is expected to be closed for several hours.
The current diversion is 50 miles long.
More top news
After a cold weekend the temperatures rise, but cloud, rain and stronger winds move in. Here's the forecast for the next few days
John Davidson, who grew up in Newcastleton, was killed while trying to arrest a suspect last week.
Police are looking at CCTV footage after money was taken from her bag in a shop in the town.