The way of protective coatings formation on MA8 magnesium alloy by plasma electrolytic oxidation (PEO) in the electrolyte containing composite zirconia-silica nanoparticles has been developed. It is shown that the coatings, which contain nanoparticles, have a significant advantage in comparison with the surface layers obtained without their use.