A fully involved garbage truck fire near the Cold Canyon Landfill in rural San Luis Obispo caused authorities to shut down Highway 227 on Tuesday morning.
The fire was reported at about 9:40 a.m., according to CHP, and crews were able to knock it down within an hour.
The truck was located on Highway 227 east of Price Canyon Road, about a quarter-mile west of the entrance to the landfill, Cal Fire spokesman Chris Elms said.
The blaze initially threatened nearby vegetation but did not extend beyond the truck, Elms said.
The road closure lasted several hours as crews worked to clean up 20 gallons of hydraulic fluid that were spilled during the fire, according to CHP spokesman Mike Poelking.
All lanes of Highway 227 were reopened by 2:27 p.m., according to Caltrans.