The article considered electrodeposited coatings made of iron- and nickel-based alloys doped with molybdenum. The studies carried out by optical and electron microscopy, X-ray structural analysis, as well as the determination of hardness and corrosion rate of the coatings under study allowed us to determine the laws of the influence of the structure on the properties of electrodeposited alloys immediately after obtaining, as well as after thermal treatment. Corrosion tests carried out both in the media of produced water of oil fields of Western and Eastern Siberia and in standard media allowed to determine the conditions for obtaining and thermal treatment of coatings, in which the effectiveness of protection with coatings is at maximum. Due to comparison with standard media, the influence of not only the pH of the medium but also the degree of its mineralization has been established. This article may be of interest to researchers studying the structure and properties of electrodeposited coatings, as well as to specialists in the field of corrosion protection and technologists of galvanic production.