The invention provides a notch filter for a distributed power supply system, and belongs to the field of filters. The input end of the notch filter is connected with an inverter controller, the outputend of the notch filter is connected with an inverter filter, the input end of the inverter controller is connected with a grid-connected inverter, the output end of the inverter filter is connectedwith a grid-connected switch which is used for conducting and closing the distributed power supply system, the output end of the grid-connected switch is connected with a power grid meter, and the notch filter comprises a resonance circuit, the resonance circuit comprises a resistor R1, an inductor L1 connected with the resistor R1 in series, a capacitor C1 connected with the inductor L1 in series, the resistor R1 is connected with the inductor L1 in series, and the inductor L1 is connected with the capacitor C1 in series. The improved notch filter is adopted, the resonance peak of the inverter filter is suppressed, the stability of the distributed power supply system is kept, the distributed power supply system has small steady-state errors and enough stability margin, and the low-frequency-band gain is improved.