In this paper, a disturbance observer (DOB) based erbium-doped fiber amplifier(EDFA) gain controller is proposed. In order to stabilize an EDFA gain in wavelength-division-multiplexing (WDM) channel add/drop networks, the channel add/drop is estimated based on a mathematical EDFA model and compensated using DOB technique. The performance of the proposed control method is theoretically analyzed using Lyapunov method. The performance of the proposed DOB-based gain control algorithm was investigated through simulations. Simulation results verify the excellent performance of the proposed gain control methodology.