Localization dynamics of excitons was studied for ZnO/MgZnO and CdZnO/MgZnO quantum wells (QWs). The experimental photoluminescence (PL) and absorption data were compared with the results of Monte Carlo simulation in which the excitonic hopping was modeled. The temperature-dependent PL linewidth and Stokes shift were found to be in a reasonable agreement with the hopping model, with accounting for an additional inhomogeneous broadening. The density of localized states used in the simulation for the CdZnO QW was consistent with the absorption spectrum.