Authorities closed the north 5 near Lebec at around 8:45 a.m., where the spilled diesel fuel and burning truck were splayed across the roadway.
By around 12 p.m., all traffic was allowed past the crash site, which was in the quarter-mile-wide center median near the Grapevine Road exit.
During the delay, motorists coming from Los Angeles toward northern California were being detoured east on California 138 to routes 14 and 58 to reach the San Joaquin Valley via Tehachapi or Lancaster.
The crash is under investigation. AP and CNS contributed to this report.