The influence of anode voltage ripple on injection locking of a magnetron with frequency pushing effect has been studied systematically. Theoretical analysis shows that, when power supply ripple and injection ratio are constant, frequency pushing effect will increase the magnetron’s locking bandwidth. Meanwhile, the locking bandwidth decreases with the increase of power supply ripple. Thus, to achieve injection locking, both power supply ripple and frequency pushing effect must be considered. The experiment results show that at injection ratio μ of 0.003, frequency pushing effect at 0.5, and power supply ripple increases from 0% to 1% and 2.5%, the locking bandwidth of magnetron decreases by 0.32 MHz, 2.12 MHz. With the amplitude of ripple increasing, the spectrum after injection locking deteriorates, and output amplitude reduces, which verifies the theoretical analysis. Considering anode voltage ripple and frequency pushing effect, the research results contribute to the realization of high-quality output of injection locked magnetrons.