In this article, the effect of annealing on the structural and optical properties of TiO2 and SiO2 antireflection coatings was investigated. The thin layer was placed on the silicon substrate by sputtering and then annealed for 1 hour at different temperatures. By examining the optical properties of the samples, it was observed that after annealing, the reflection from the surface in the wavelength range of 450-750 nm decreased from 2.7 to 0.23%. The refractive index of the samples also decreased after annealing. Also, by examining the structural properties of the samples, the anatase phase before annealing and the mixture of anatase and rutile and the increase in the intensity of the peaks after annealing were observed.