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
Mainly dry. Light rain out of thicker cloud over hills. Breezy at times and cooler than average
A look ahead at the forecast for the Border region.
Pictures from the commemoration marking the centenary of the Quintinshill rail disaster, which killed more than 200 people, is underway.