In order to ensure the voltage stability of distribution network with doubly fed induction generator, it is more significant to determine the reactive power distribution of the grid reasonably except installation of on load tap changing transformer and shunt capacitor bank. However, the reactive power control capability of doubly fed induction generator is not fully implemented in the reactive power optimization of distribution network. In this paper, on the premise of utilizing wind energy maximally, the wind farm with doubly fed induction generator is considered as a continuous reactive power source to participate in the reactive power optimization. Then the constructed reactive power optimization problem is converted to a nonlinear mixed integer optimization problem which is solved by intelligent genetic algorithm. Finally, the IEEE 16 node system is chosen as an example for simulation, the computation results verify the effectiveness of the proposed algorithm.