Firefighters battled to get the blaze under control in the city of Blagoveshchensk, eastern Russia.
Footage shows bystanders fleeing as the fireworks shot out of the warehouse.
More than 130 firefighters and around 40 fire trucks were sent to put out the massive blaze. Three were taken to hospital with non life-threatening injuries.
It is not yet clear what caused the explosion.