This paper proposes an adaptive fuzzy sliding-mode controller with proportional-integral learning algorithm (PI-AFSMC) for the unknown nonlinear systems. All the controller parameters are on-line tuned by the derived learning algorithms in the Lyapunov stability theorem, thus the stability of the system can be guaranteed. Finally, the proposed PI-AFSMC is applied to control a linear piezoelectric ceramic motor. Experimental results demonstrate the effectiveness of the proposed PI-AFSMC can achieve favorable tracking performances with unknown the controlled system dynamics