Control method for a wind farm connected to a power grid (1) and comprising a plurality of generating units (2) and a local controller (3) associated to each generating unit (2), whereby the presence or absence of a voltage disturbance in the grid (1) is determined in a dynamic and recurrent manner, a control phase being implemented in a dynamic and recurrent manner when the presence of a disturbance is determined, and the generating units (2) being controlled during said presence so that they generate power and participate in stabilizing the voltage of the grid (1) during said control phase, wherein furthermore, when the disappearance of said disturbance is determined in the method, and in the absence of another disturbance, implementation of the control phase stops and a stabilization phase is implemented in a dynamic and recurrent manner for a limited time interval, while the generating units (2) continue to be controlled for generating power during said stabilization phase for providing a smooth and controlled transient until the voltage of the grid (1) stabilizes.