This article investigates the position tracking control problem of permanent magnet synchronous motors (PMSMs) with mismatched disturbances based on adaptive fuzzy gain-varying finite-time command filtered backstepping method. First, the anti-disturbance ability of the system is improved by constructing gain-varying functions instead of the traditional static gains. Then, the command filter is adopted to overcome the explosion of complexity in classical backstepping method, and the gain-varying error compensation mechanisms are introduced to reduce the errors produced by command filters. In addition, the finite-time control technique makes the tracking error converges to a small neighborhood of origin in finite time. The fuzzy logic systems (FLSs) are used to approximate the nonlinear functions with strong coupling of PMSMs systems, and this article further utilizes the characteristics of FLSs to separate the states and handle the coupling of PMSMs systems. Finally, the simulation results prove the validity of the proposed strategy.