Drivers were warned to stay clear of the road on Sunday afternoon after it was closed due to a spillage of highly-inflammable liquid propane.
Police closed the road between Junction 36 at Tankersley and Junction 37 at Barnsley after a tanker carrying the gas overturned shortly before noon.
They then enforced a 1,000m cordon around the scene to ensure it did not ignite.
At one point, southbound traffic was queueing back to Leeds, while northbound queues stretched back to Junction 34 at Meadowhall.
Diversions were in operation until the motorway reopened shortly before 7pm following an investigation into the accident.