The fire affected two transmission lines and caused the collapse of the electricity system across the island, officials say.
Supply is expected to be restored to most areas on Thursday.
Puerto Rico's Electric Power Authority has been undergoing restructuring and is seeking funds to update what it says is outdated equipment.
The fire department said it had extinguished the blaze at the power plant in the south of the island, which serves most of the island's 3.5 million people.
The cause of the fire is still unclear.
There was traffic chaos as the outage forced schools and businesses to close earlier, reports say.
The blackout also caused 15 fires across Puerto Rico as a result of malfunctioning generators.
Nouveau black-out, ce lundi 19 décembre. Ce qui a engendré un embouteillage monstre dans la capitale. Les feux de signalisation ne marchaient pas, sans compter les personnes bloquées dans les ascenseurs.
4 years, 2 months ago
Rumours are rife that the Sun itself will be totally blacked out by an 'alignment' of the Universe causing those who are easily led astray to hyperventilate about doomsday - using NASA's own data!
8 years, 2 months ago
Anyone can stick up a shack on the sand, stock it with beers and call it a beach bar. But what makes a great beach bar? It could be the sand-in-your-toes factor, or the washing and hissing of the waves nearby, or the sunsets or the people you meet.
8 years, 3 months ago