This research investigates the formation of cadmium zinc telluride (Cd1-xZnxTe) thin films using single-r.f. magnetron sputtering under various annealing environments, showing that vacuum annealing yields better structural and optical properties compared to argon or nitrogen annealing. It notes that a more inert annealing environment reduces heat loss and enhances crystalline structure, with particular attention to the lattice constant and band-gap energy variation influenced by cadmium evaporation. The study outlines an alternative deposition method feasible for laboratories lacking co-sputtering machines, allowing customization of the stoichiometry of Cd1-xZnxTe.