This paper proposes an optimal design method for passive power filters (PPFs) and hybrid active power filters (HAPFs) set at high voltage levels to satisfy the requirements of harmonic filtering and reactive power compensation. Multiobjective optimization models for PPF and HAPF were constructed. Detuning effects and faults were also considered by constructing constraints during the optimal process, which improved the reliability and practicability of the designed filters. An effective strategy was adopted to solve the multiobjective optimization problems for the designs of PPF and HAPF. Furthermore, the particle swarm optimization algorithm was developed for searching an optimal solution of planning of filters. An application of the method to an industrial case involving harmonic and reactive power problems indicated the superiority and practicality of the proposed design methods.