Disclosed are a compensation network, switching power supply circuit and a circuit compensation method; in the compensation network: an output end of the resistance capacitance network is cascaded to an input end of the unity gain amplifier network, and an output end of the unity gain amplifier network is cascaded to an input end of the error amplifier network; the resistance capacitance network is configured to provide a voltage dividing resistor, and generate a zero and a pole which are mutually canceled; the unity gain amplifier network is configured to generate a zero for canceling a pole in a low pass filter network, and a pole for suppressing a high-frequency noise and improving a phase margin of a switching power supply circuit; and the error amplifier network is configured to generate a pole for increasing low-frequency gain and a zero for canceling another pole in the low pass filter network.