West Yorkshire Fire and Rescue Service were called to the scene at around 11am (Jan 5).
Traffic was stopped between junction 23 and junction 22.
A statement from National Highways: Yorkshire said: "The #M62 westbound between J23 (#Huddersfield) and J22 (#Denshaw), traffic has been temporarily STOPPED due to a vehicle fire. @WYFRS are on scene. We will keep you updated."
Travellers on the opposite side of the motorway said traffic was building, with queues stretching for miles behind the incident.
Traffic was released around 45 minutes later, and traffic was flowing freely a short time later.