An echo state network (ESN) for extended state observer (ESO) and sliding mode control (SMC) of permanent magnet synchronous motor (PMSM) in an electric vehicle system is investigated in this paper. For the PMSM model, most researches neglect the hysteresis loss and other nonlinear factors, which reduces the accuracy of the PMSM model. We present a modified PMSM model considering the hysteresis loss and then transform the new PMSM model to a canonical form to simplify the controller design. In order to deal with the hysteresis loss, an ESN is utilized to estimate the nonlinearity. Considering that some states cannot be directly obtained, an ESO with ESN is proposed to estimate unknown system states of the electric vehicle PMSM system. Afterwards, an SMC is adopted to control the closed-loop system based on the ESO with ESN, and a double hyperbolic function instead of the sign function is used to suppress the chattering of the SMC. e stabilities of the observer and the controller are all guaranteed by Lyapunov functions. Finally, simulations are presented to verify the validity of the echo state network for extended state observer and the neural network sliding mode control.