The invention discloses a high voltage inverter capable of automatically extinguishing fire comprising a high voltage inverter body, a base, a supporting seat, an iron core transformer arranged in the high voltage inverter body, a control box arranged in the high voltage inverter body and a power unit arranged in the high voltage inverter body, wherein the supporting seat is installed on the base, the high voltage inverter body is installed on the supporting seat, a vertical division plate is arranged in the high voltage inverter body, three transverse division plates are arranged in the high voltage inverter body on a left side of the vertical division plate, the control box is installed on a right side of the vertical division plate, the power unit is installed on the three transverse division plates, the iron core transformer is installed at the bottom in the high voltage inverter body, a through hole is formed in the supporting seat, and a heat dissipating draught fan is arranged on the high voltage inverter body. The high voltage inverter is simple in structure, convenient to use and install, simple to operate, low in cost, convenient for wiring, good in heat dissipating effect, labor-saving, wide in application range, long in service life, and is safe and reliable.