ZnO ultrathin films with varied thicknesses of 7-70 nm were prepared at 200 °C on Si and fused quartz substrates by atomic layer deposition (ALD). The impact of film thickness and annealing temperature on the crystallinity, morphology, optical bandgap, and photocatalytic properties of ZnO in the degradation of methylene blue (MB) dye under UV light irradiation (λ = 365 nm) has been investigated deeply. The as-deposited 28 nm thick ZnO ultrathin film exhibits highest photocatalytic activity, ascribed to the smallest band gap of 3.21 eV and proper thickness. The photocorrosion effect of ALD ZnO ultrathin films during photocatalytic process is observed. The presence of MB significantly accelerates the dissolution of ZnO ultrathin films. The possible photoetching mechanism of ZnO in MB solution is proposed.