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
Cumbria Police has defended its decision to spend one £1.8 million on replacing traditional notebooks with new electronic devices.
Hundreds of people have turned out at the Border Reivers festival in Hawick today.
A brighter afternoon but windy with showers. Further rain/showers into Sunday. Some sunshine developing but winds staying strong and cooler