Undoped and magnesium-doped zinc oxide thin films were prepared by the sol–gel method. Results from X-ray diffraction indicated that the films exhibited a hexagonal wurtzite structure and were highly oriented along the [Formula: see text]-axis. The intensity of the (002) diffraction peak increased with increasing the Mg doping concentration. Also, Mg doping inhibited the growth of crystallite size which decreased from 46[Formula: see text]nm to 38[Formula: see text]nm with doping concentration. Morphological studies by atomic force microscopy (AFM) indicated the uniform thin film growth and the decreasing of grain size and surface roughness with Mg doping. Optical analysis showed that the average transmittance of all films was above 90% in the visible range and Mg doping has significantly enhanced the bandgap energy of ZnO. Two Raman modes assigned to [Formula: see text] and [Formula: see text] for the ZnO wurtzite structure were observed for all films. UV emission peak and three defect emission peaks in the visible region were observed by photoluminescence measurements at room temperature. The intensity ratio of UV emission to the visible emission increased with the Mg concentration. Photocurrent measurements revealed that all films presented the photoresponses with [Formula: see text]-type semiconducting behavior and their generated photocurrents were reduced by Mg doping. The prepared thin films of high quality with improved properties by Mg doping could be proposed to workers in the field of optoelectronic devices for using them as a strong candidate.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.