Under the background of a large number of nonlinear loads and distributed power sources access to the distribution network , the configuration of active power filters is one of the effective measures to solve a series of harmonic pollution problems, such as voltage waveform distortion, surge of harmonic losses, and power quality degradation. In order to reasonably select the installation location and capacity of the active power filter in the distribution network, and to coordinate the relationship between the cost and effct of harmonie control, this paper proposes a multi-objective optimal configuration method for active power filters based on sensitivity analysis, which is realized quick solution of the location and capacity of the active filter. A harmonic power flow calculation model for the distribution network is established , and sensitivity analysis method is used to process all nodes to obtain a set of installed nodes. A filter capacity optimization model is established considering the harmonic distortion rate of the node voltage and the investment cost ; then, the optimization model is solved by decomposing the multi-objective evolutionary alorithm. The IEE-18-bus power distribution system is simulated and the results show the effectiveness of the method proposed in the paper.