Commencing with incandescent light bulbs, every load today creates harmonics. Unfortunately, these loads vary with respect to their amount of harmonic content and their response to problems caused by harmonics. The prevalent difficulties with harmonics are voltage and current waveform distortions. In addition, Electronic equipment like computers, battery chargers, electronic ballasts, variable frequency drives, and switching mode power supplies generate perilous amounts of harmonics. Issues related to harmonics are of a greater concern to engineers and building designers because they do more than just distort voltage waveforms, they can overheat the building wiring, cause nuisance tripping, overheat transformer units, and cause random end-user equipment failures. Thus power quality is becoming more and more serious with each passing day. As a result, active power filters (APFs) have gained a lot of attention due to their excellent harmonic compensation. However, the performance of the active filters seems to have contradictions with different control techniques. The main objective of this paper is to analyze shunt active filters with fuzzy and pi controllers. To carry out this analysis, active and reactive current methods (i d -i q ) are considered. Extensive simulations were carried out. The simulations were performed under balance, unbalanced and non sinusoidal conditions. The results validate the dynamic behavior of fuzzy logic controllers over PI controllers.