This paper presents an efficient analysis method using time-stepping finite element method for electric machines driven by pulse width modulation (PWM) inverter. In the proposed method, the value of time-step is changed according to the PWM logic of inverter, and the calculation time can be reduced while maintaining analysis accuracy. Using the method, the dynamic characteristics of a permanent magnet linear synchronous motor (PMLSM) driven by PWM inverter are analyzed.