In this paper, the structural and optical properties of Zn2SnO4 thin films were studied. Chemical spray pyrolysis was used to make the films on glass substrates at varying temperatures (450, 500, and 550°C). All samples have a polycrystalline structure with a cubic spinel structure, according to XRD studies. Field emission scanning electron microscopy (FE-SEM) investigated surface morphology, and AFM stands for atomic force microscopy. After increasing the temperature, the surface roughness and mean grain size both increased. In the wavelength range of 300-1100 nm, optical characteristics were examined as a function of wavelength because of crystal formation. The absorption spectra of Zn2SnO4 thin films reveal that absorption decreases with increasing temperature for all samples. The optical properties of the material, such as the extinction coefficient, refractive index, and dielectric constant, were investigated as well