This paper summarizes the reactive power optimization of power system characteristics and requirements, proposed to target the active power loss of reactive power optimization mathematical model, And the traditional classical algorithm can not handle the limitations of discrete variables, using the adaptive particle swarm optimization algorithm to solve the problem of reactive power optimization. By testing on IEEE30 bus system simulation, comparing different algorithm optimization results show the effectiveness and superiority of APSO algorithm.