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
Can the First Minister measure up in bid to close to attainment gap?
Monday proves a brighter, colder day than Sunday. One or two showers pushing in and turning wintry over the hills inland
Emma Jesson brings you Sunday night's forecast