The A76 trunk road is closed at Sanquhar after a lorry carrying 15,000 litres of glue overturned.
The accident happened at around 5.20am this morning (22nd February).
Police and firefighters were called to the scene at the Burnside Filling Station on the outskirts of Sanquhar.
The glue is up to six inches deep in some places and has covered about 400 metres of road as well as the petrol station forecourt.
Dumfries and Galloway Police say the road will be closed until around 5pm this evening.
The 50 mile diversion currently in place is:
Southbound onto A70 at Cumnock, onto then B7078 to Abington Services, onto A702, then rejoin the A76.
Northbound motorists are advised to reverse this route.