Harmonic current detection has become one of the key factors of influencing the function of active power filter. Due to the impact of the low pass filter,the classical ip-iq algorithm has the disadvantage of slow detection speed and low accuracy .In order to improve the accuracy and tracking speed of harmonic current detection ,the paper proposes a variable step-size LMS/LMF adaptive filter algorithm.The adaptive filter can not only change the step size according to the change of original signal, but also change the proportion of the Least Mean Square(LMS) algorithm and the Least Four-order Moment (LMF) algorithm,which makes the advantages of high detection accuracy of LMF and high detection speed of LMS fully played. The simulation and experiment show the validity and feasibility of the method.