The invention discloses a control method of an automatic gain in a power line carrier communication network, and belongs to the technical field of power line carriers. The control method relates to a front end low noise amplifier, an active band-pass filter, a programmable gain amplifier, an analog-digital conversion unit and an automatic gain control unit. The method comprises the steps that an input carrier signal passes through the front end low noise amplifier, lower noise amplification is conducted on the input signal firstly, and after band-pass filtering, the carrier signal with a high signal-to-noise ratio is obtained; the carrier signal is amplified through the programmable gain amplifier, an initial gain value of the programmable gain amplifier is set to be the maximum value in a preset reference range, analog-digital conversion is conducted on the input carrier signal after the input carrier signal is amplified, sampling is conducted on the converted carrier signal, and median filtering is conducted on an obtained sampling signal to obtain average intensity of the carrier signal; and the gain of the programmable gain amplifier can be adjusted according to a difference between the average intensity of the carrier signal and the preset reference range.