This research is an experimental design which came up with the optical and electrical properties of magnesium doped zinc oxide for photovoltaic applications. The specific objectives are to determine the Optical properties, and electrical properties of Magnesium doped ZnO of Magnesium doped ZnO. These objectives are to be achieved by sputtering three types of targets on to glass slides. The targets that will be used are two targets of magnesium doped ZnO with compositions of ZnO: Mg being 95:5 wt% and 90:10 wt%, both with a purity of 99.99% and a third target of un-doped ZnO with a purity of 99.99% . The optical properties will be determined using a double beam spectrophotometer in the UV/VIS/NIR regions. Thus the absorption, transmission and reflection properties will be focused on. The electrical properties will be determined using four point probe and the film resistance, sheet resistance and film conductivity will be looked at.