The model of reactive sputtering of Berg [T. Larsson, C. Nender, and H.-O. Blom, J. Appl. Phys. 63, 887 (1988)] was extended to include chemical reactions on target and substrate due to an additional reactive gas (etchant). The model explains both the increased deposition rate of the oxides under some conditions and decreased deposition rate under others.