A massive plume of smoke rose from the Nico Lopez refinery in Havana Bay on Friday, though it quickly subsided. BBC reported.
The ministry of energy and mines said the fire, which broke out in one of the refinery's warehouses, had been brought under control.
"The cause is under investigation," the ministry said in a post on X.
The fire occurred not far from where two oil tankers were moored. Two Mexican navy ships arrived at the same harbor on Thursday with more than 800 tonnes of much-needed humanitarian aid.