Magnetron sputter deposition was applied to grow thin metal films in the presence of impurities. These impurities are ambient gas molecules and/or atoms from the residual gas present in the vacuum chamber. Seven materials were investigated: four single element metals (Al, Ag, Cu, and Cr), two widely applied alloys (Cu 55 Ni 45 and Ni 90 Cr 10), and one high entropy alloy (CoCrCuFeNi). The thin films were analyzed using X-ray diffraction to determine the domain size, the film texture, and the lattice parameter. The same trend for all studied materials is observed. When the ratio between the impurity and metal flux towards the substrate is low, the domain size is not affected by the presence of the impurities. In this regime, the incorporation of the impurities affects the lattice parameter. At high flux ratios, the change of the domain size can be described by a power law with the exponent equal to À1/2 for all studied materials. A kinetic Monte Carlo code is used to demonstrate this observed trend.