The invention discloses a single-phase three-level inverter circuit which comprises a bus, a first power switch module 1, a second power switch module 2, a third power switch module 3, a fourth power switch module 4, a fifth power switch module 5, a sixth power switch module 6, a first diode D1, a first inductor L1 and a second inductor L2. Or the fifth power switch module 5 and the sixth power switch module 6 are replaced by a seventh power switch module 7 and an eighth power switch module 8. The first power switch module 1 to the eighth power switch module 8 respectively comprise a main power switch and an auxiliary circuit. The auxiliary circuit is unidirectionally conducted when the main power switch is conducted, and reverse current is prevented from flowing through the main power switch. The auxiliary circuit for protecting the main power switch is added, the main power switch is prevented from being attacked by reverse current, the service life of a device is prolonged, the stability of the circuit is improved, soft switching of the main power switch can be achieved, and the working efficiency of the inverter is improved.