Thin films of Zinc Oxide were deposited by the sol-gel technique on glass substrates. The films were doped with Al, Mg or co-doped with both by introduction of appropriate compounds in the solution before dip-coating and annealing in air at 500 °C. Energy Dispersive X-Ray Spectroscopy was employed to measure the dopant incorporation. X-ray diffraction studies indicate that Mg doping increases grain size, while Al doping reduces it. Photoluminescence (PL) measurements indicate that undoped and Al-doped films show, along with a broad near band-edge (NBE) peak, additional peaks at longer wavelengths related to various defect states. However Mg doped films show only a sharp NBE peak, which is blue shifted compared to undoped ZnO, and there are no prominent sub band gap luminescence peaks. This is also the case for Mg and Al co-doped ZnO samples, provided the Mg content is low. Photocurrent measurements were carried out using silver contacts using a De source under atmospheric conditions. Undoped and Mg doped ZnO films showed high resistances and low photocurrent levels. With low Al doping, both the dark current and the photocurrent increase significantly, but the films show very long photocurrent transients. With optimized concentration of Mg/Al co-doping in ZnO, the photocurrent increased by ~98 times compared to ZnO films doped only with Mg. Simultaneously, the photocurrent transients became ~44 times faster than ZnO films doped only with Al. © 2016 Elsevier Ltd