Can foam fire extingusihers be used on electrical fires?

AFF foam fire extinguishers must not be used on Electrical fires. If done this could endanger the user of the fire extinguisher. There are two different types of fire extinguisher that can are able to be used on electrical fires. These are ABC Powder fire extinguishers and CO2 fire extinguishers.