One of the objectives of electrical distribution networks is to provide customers with access to high‐quality electricity. Because any disruptions in these systems result in voltage disorders, different devices are employed to offset these disruptions on consumers who are more susceptible. One of the most important and contemporary pieces of equipment that is connected in series with the network is dynamic voltage restoration (DVR), which shields delicate loads from network voltage issues by injecting the proper voltage. This article presents a DVR control scheme optimized with improved grey wolf optimization (IGWO) that uses a proportional derivative (PD) controller and adaptive notch filter (ANF). The output LC filter’s resistance has been removed, and the control system has actively engaged in oscillation damping in order to accelerate dynamic responsiveness and lower system losses. The major component of the voltage, which comprises its frequency, amplitude, and phase, is extracted using ANF. The capacitor current of the output filter in this structure is fed back to the control system and from the current mode control in the inner loop to boost stability. Owing to the occasionally complex dynamic behavior in distribution networks, particularly during a fault, the system’s frequency response has been altered and response speed has been accelerated using the PD controller. This kind of controller is distinguished by its accurate functioning in the presence of frequency deviations and its swifter dynamic reaction in the face of voltage swell and sag. In order to improve the THD and voltage sag indicators of the sensitive load, the PD coefficients were adjusted using the IGWO algorithm. As a consequence, the simulation results demonstrated that the suggested controller performed better than traditional controllers.