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
Looking back on a turbulent year: Paul Brand and guests discuss Brexit, Trump - and hopes for 2017.
Hawick's Balcary House has been converted into a hotel. It used to be a Banardos children's home. Two ex-residents showed us around.
A support worker has been jailed for stealing more than £6,000 from a pensioner she was supposed to be looking after