I developed two Mg doped ZnO thin films on glass substrate of equal thickness 200 nm. One film shows a sharp highest intensity XRD peak along (002) with broad FWHM value were as the another film shows a lower intensity XRD peak with narrowest FWHM value than the other. Based on this experimental value which film has the best crystalline quality and why the variation of XRD peak intensity and FWHM occur.