Emergency services workers worked through the night in Mexico City, to search for people trapped in rubble after an explosion hit the headquarters of state-owned oil company Pemex.
Mexican president Enrique Pena Nieto vowed to "work exhaustively to investigate exactly what took place, and if there are people responsible, to apply the force of the law on them."
The death toll rose to 25, and over 100 were thought to be injured.
Shortly after midnight local time, the company said that at least 46 people were still being treated in hospital.
Pemex said the blast would not affect operations.
The state-owned oil provider has been hit by several other safety incidents in recent years.
More top news
David Cameron sets out his case for British jets and drones to strike so-called Islamic State targets in Syria in an address to the Commons.
A drink-driver who "destroyed the lives" of two mothers was allowed to have his curfew lifted so he could go on a foreign stag party.
Demonstrators have blockaded the entrance tunnel to Heathrow Airport in apparent protest at plans to build a third runway.