The utility model discloses a power distribution cabinet with an automatic fire extinguishing function, which comprises a power distribution cabinet body, a
fire detection tube is arranged in the power distribution cabinet body, and the upper end part of the
fire detection tube extends out of the power distribution cabinet body and is connected with a container
bottle filled with a fire extinguishing agent; a heat dissipation grid with heat dissipation holes is embedded in the side wall of the power distribution cabinet body, and a sealing
assembly used for blocking the heat dissipation grid is arranged above the heat dissipation grid. The sealing
assembly is designed on the heat dissipation part, when a fire disaster happens and a
flame sensor senses flames, the
electromagnet is powered on at the moment, the
electromagnet attracts the permanent
magnet after being powered on and drives the
insertion rod to be removed from the
insertion groove, and at the moment, the sealing plate can fall into the outer end of the heat dissipation grid under the action of the gravity of the sealing plate to block the heat dissipation grid. Air can be prevented from entering, the
flame combustion condition is
cut off, the fire extinguishing effect is better, meanwhile, flames can be prevented from running out along the heat dissipation
grating, and larger harm can be avoided.