Al co-doped ZnCoO thin film has been prepared by a sol-gel method. The structural and optical properties of the sample were investigated. X-ray diffraction and UV absorption spectroscopy analyses indicate that Al3+ and Co2+ substitute for Zn2+ without changing the wurtzite structure. With the Al doping, the visible emission increased and the UV emission decreased, which is attributed to the increase of O vacancies and Zn interstitials.