This paper proposes an auto-tuned constrained state-feedback controller (SFC) to attenuate periodic disturbances present in permanent magnet synchronous (PMSM) motor drives. An online auto-tuning process of SFC has been made using a powerful nature-inspired optimization algorithm—artificial bee colony (ABC)—to achieve high-performance operation of the drive. A novel performance index is proposed to minimize the impact of pulsating torque and obtain smooth-velocity of the drive. The proposed approach is a practical application of classic control theory with novel engineering-tools for improving the operational quality of a PMSM drive system. The obtained results are compared with a classical cascade control structure (CCS) based on proportional-integral (PI) regulators and disturbance observer-based control (DOBC). A detailed time- and frequency-domain analysis has been conducted in respect to periodic disturbances present in a PMSM drive system. Moreover, the robustness of SFC against parameter variations of inductance and resistance has been tested.