The model of weak localization in 2D semiconductor structures in the whole range of classically weak magnetic fields in the presence of the Elliot–Yafet spin relaxation has been developed. It was shown that the spin–orbit interaction influences the value of magnetoresistance in small magnetic fields (within diffusion approximation) and when diffusion approximation is no longer valid.