This paper presents the sliding mode control for a single-phase inverter in dq frame. DQ rotating frame control method for single- phase inverter is used to obtain averaged model. The proposed sliding mode controller is designed through simulation in MATLAB/ Simulink. When the load is changed, the simulation results show the fast transient response and a small overshoot compared to the PI controller.