Today's aerospace and automotive industries have sought to use ever-lighter metals to reduce fuel consumption. Mg and its alloys are also attracting the attention of scientists, as these materials have a density of up to 30% lower than aluminum, but its widespread use is hindered by the high activity of the metal and its poor corrosion resistance. Known corrosion methods do not provide sufficient corrosion resistance, so new ways to improve a lready known methods are being sought. Methods The plasma electrolytic oxidation (PEO) method is similar to anodizing, but occurs at much higher voltages. During the process, a micro-spark discharge takes place on the surface, which allows to obtain a dense oxide layer on Mg alloys. If a bipolar current source with pulsed power supply is used during the PEO process, it isposs ible to homogeneously supplement the protective layer with various modifiers at the same time. However, the PEO method has drawbacks - the main one - the resulting coating is porous. To compensate for this, the possibi lities of filling additional pores by spray pyrolysis (SP) were considered in this study. The corrosion resistance of the obtained samples was evaluated by immersion method. Surface morphology, phase and chemical compos ition were assessed. Results The resulting coatings are able to withstand more than 168h in 3% NaCl solution without significant corrosion defects.