A robust generalized predictive controller (GPC) with a disturbance observer for a permanent magnet synchronous motor (PMSM) is presented. The proposed GPC controller combines the linear predictive control techniques together with the disturbance observer, which is designed to take into account the load torque variations and uncertain electrical and mechanical parameters. Stability of the closed-loop system is guaranteed and the controller is easy to implement. The system performance is tested with an experimental setup consisting of a PMSM and dSPACE DS1104 Board. A good speed tracking performance with no error is obtained while the d-axis current regulation is satisfactorily guaranteed.