The invention relates to a variable-parameter PID (proportion-integration-differentiation) control circuit and a variable-parameter PID control method for an electric steering gear, which belong to the technical field of automatic control. The PID control circuit comprises a filtering circuit, a PID circuit, an adding circuit, a deviation judgment circuit and an on-off switching circuit, wherein the deviation judgment circuit is used for controlling on and off of two groups of output of an analog switch in the on-off switching circuit by means of a deviation value of input signals and feedback signals of an electric steering gear closed-loop system, so that whether a parallel resistor and a parallel capacitor are inputted into the PID circuit or not are controlled, and online adjustment of PID parameters is realized. By the aid of the variable-parameter PID control circuit and the variable-parameter PID control method, the problem that the electric steering gear of an aviation guided weapon is difficult to achieve good control effect with a group of preset PID parameters in the working environment of great inertia, nonlinearity, strong interference and the like. The variable-parameter PID control circuit is reasonable in design, simple and feasible, is capable of effectively weakening systematic buffeting, increasing systematic robustness and improving control precision, and can guarantee the system to have good control quality in different control phases.