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
Three northern MPs have been left feeling confident after discussing devolution in the north with David Cameron.
PM's pledge to England may help SNP recover from referendum defeat
Not a bad start to the week. A little chilly on Monday morning, any mist lifting quickly