The control of UPS inverters has a special importance in applications where a high quality output voltage is needed. Several control schemes have been proposed for the control of three-phase inverter. This paper presents a simple and powerful control scheme using model predictive control (MPC). It uses a discrete-time model of the system to predict the behaviour of the output voltage for all possible switching states generated by the inverter. Then, a cost function is used for selecting the optimal switching state that will be applied at the next sampling instant. The simulation results under linear and nonlinear loads are presented, using MATLAB/Simulink tools, verifying the feasibility and good performance of the proposed control scheme. Finally, experimental results are presented, using HIL simulation, to verify the feasibility and good performance of the proposed MPC under realistic conditions.