The invention discloses a common-mode voltage suppression method of a non-isolated T-type three-level photovoltaic grid-connected inverter, which collects the voltage of the capacitor C1 on the DC bus and the voltage of the capacitor C2 under the DC bus in real time, and obtains the voltage of the capacitor C1 on the DC bus and the voltage of the DC bus. The absolute value of the voltage difference dUdc of the capacitor C2 under the bus bar, by judging whether dUdc>dUref is true, and judging whether it is true, choose to use the large and medium zero vector synthesis method or the large, medium and small vector synthesis method or the large and small zero vector synthesis method for non-isolated T-type Three-level photovoltaic grid-connected inverter for modulation. The invention adopts three kinds of vector synthesis methods to modulate the non-isolated T-type three-level photovoltaic grid-connected inverter, which can not only balance the midpoint potential of the DC side of the three-level inverter, but also suppress the amplitude of the common-mode voltage change and frequency, thereby suppressing the common-mode current of the non-isolated T-type three-level photovoltaic grid-connected inverter, and optimizing the efficiency, volume, weight, and cost of the system.