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