Thick palls of black smoke from a burning lorry caused the closure of the M1 motorway in West Yorkshire.
The vehicle caught fire at the Lofthouse Interchange at junction 42 on the southbound carriageway shortly after 16:00 GMT.
Highways officials initially closed both north and southbound carriageways of the motorway as a precaution.
Highways England advised motorists to consider using the A1M going south.
West Yorkshire Fire and Rescue Service sent four crews to the scene and earlier Highways England said traffic queues approaching the area were about 4.5 miles (7km) long.
The northbound carriageway was fully reopened shortly before 18:00, but a section of the southbound side is to remain closed overnight for repairs to fire damage to the road surface.
Highways England said: "The diversion is to leave the M1 for the M62 and then rejoin the M1 from the roundabout.
"We apologise for the ongoing delays in this complex incident."
BBC Look North reporter Ian White took a video from near to the site, showing smoke covering the area.
M1 near Lofthouse/Robin Hood earlier as lorry fire sends thick black smoke over the area - roads now very congested pic.twitter.com/8FxUFuslsp— Ian White (@IanWhiteNews) March 13, 2019