CO2 fire extinguishers (carbon dioxide) are the only fire extinguisher recommended for fires involving electrical equipment. CO2 is safe to use on and around electrical equipment, as the gas itself is non-conductive, and once used, there is no sticky foam or messy powder left behind. They are also effective on Class B fires (flammable liquids).
CO2 fire extinguishers are safe to use on fires in, on or around electrical equipment and live cables. CO2 gas is dry, inert in air, and leaves behind no residue that will affect electrical equipment’s future operation. So, you will often find a CO2 fire extinguisher next to precious electrical equipment, from switch gear to mobile discos.