The inferno on Wednesday evening stunned even a country where deadly accidents are common on highways that are often poorly regulated.
Videos showed huge pillars of flame from the tanker and from more than two dozen other vehicles that had caught fire, strewn across the multi-lane Ring Road.
Drivers fled their trapped vehicles in panic to escape the blaze.
"It was God's hellfire on the Ring Road," said Salah Ahmed, a driver for one of the thousands of public microbuses that carry commuters on the Ring Road.
He said he was on the highway when the tanker burst into flames but was held back by the traffic, which saved his life.
"People are still in shock," he said on Thursday.
An Associated Press video on Thursday showed the charred span of overpasses with piles of soot and ash lining the roadway, even as morning rush-hour traffic returned.
Scorch marks covered the metal railings and a high-voltage electricity line lay twisted on the ground.
The Ring Road encircles the Egyptian capital, linking its centre with surrounding towns and the array of suburbs that have been constructed in the desert over the past decades, an urban conglomeration home to between 20 million and 30 million people.
But the network of overpasses, bridges and expressways is notoriously decrepit and chaotic with pedestrians on the sides of the road, minibuses and trucks entering unexpectedly and many speeding drivers, with little monitoring.
Prosecutors said in a statement on Facebook that authorities had detained the driver of the vehicle suspected of causing the fuel tanker to overturn on the highway as it passed through Waraq, a densely populated neighbourhood on the northern side of the ring.
They said the driver told investigators he was speeding between lanes when he hit the fuel tanker in its right rear side.
He then lost control of his car and veered far to the right while one of the fuel truck's tyres burst.
That caused the fuel tanker to hit the concrete wall of the highway and overturn, leading to a fuel spill and the fire, according to the prosecutors' statement.
The fire left 27 vehicles charred and injured 26 people, according to authorities.
The public prosecutor's office said DNA testing were underway to identify the victims.
Ahmed, the microbus driver, said most of those killed were likely people returning from work or students returning home.