The invention provides a hybrid inverter with the uninterruptible power supply function. The hybrid inverter with the uninterruptible power supply function comprises a transducer, a bidirectional transducer, a bus, a bidirectional inverter, a controller, a first switch, a second switch and a third switch. One end of the first switch, one end of the second switch and one end of the third switch are connected, a first port is led out from the other end of the first switch, a second port is led out from the other end of the second switch, a third port is led out from the other end of the third switch, the first port is connected with alternating-current output of a hybrid inverter body, and the second port and the third port are used for being connected with a power grid and a load respectively; one end of the transducer is connected to a new energy power generation unit, the other end of the transducer is connected with the bus, one end of the bidirectional transducer is connected to an energy storage unit, the other end of the bidirectional transducer is connected to the bus, one end of the bidirectional inverter is connected with the bus, and the other end of the bidirectional inverter is connected with the first port. When one of the power grid and the inverter breaks down, only one switch is needed for operation and the responding speed is high.