In this article, a novel single-stage transformerless buck–boost inverter is introduced. The proposed inverter can share a common ground between the DC input side and the grid; this leads to having a zero-leakage current. The proposed inverter also provides the buck and boost voltage capabilities. Additionally, the power switches are operated at high frequency in the half-cycle of the sinusoidal wave, so the efficiency of the proposed inverter can be improved. Operating analysis, design consideration, comparison, and simulation study are presented. Finally, a 500 W laboratory prototype is also built to confirm the correctness and feasibility of the proposed inverter.