This research paper presents an optimization of shunt active power filter with proportional integral (PI) control in three-phase three-wire power systems. The method of optimization is to create a prototype shunt active power filter three-phase connected to the grid system with three-phase, three-wire, non-linear load supply to provide harmonics current monitors that occur in the system are reduced. This research has the advantage of using a threephase waveform voltage detection principle to generate one reference sine signal and calculate the current for compensation when compared to the harmonic current generated in the system. The compensated current will be used for PWM modulation with a hysteresis principle to control the three-phase shunt active power filter. That can control the follow-up current harmonic that occurs in the system. The results of the prototype equipment testing show that when the non-linear load is not shared by the parallel power filter prototype equipment with PI control, there is a total harmonic distortion of current in the grid system 40.56%. Conversely, when combined with the prototype of the power filter, the shunt active power filter with PI control causes the total harmonic distortion of current is reduced to 13.79%. Consequently, increasing the optimization of shunt active power filter with PI control in the three-phase three-wire power system can confirm that the method this will be used to develop and apply in the industry that there is a harmonic current generating device in the system.