The Micro-arc coatings with antisepsis and thermal control function was grew in situ on magnesium alloys by Micro-arc oxidation (MAO) method in order to satisfy the antisepsis and thermal control demand of magnesium alloys for spacecraft. The effect of electrolyte formulation and temperature were reviewed by orthogonal test. The appearance and bonding strength of Micro-arc coatings were checked by eyeballing and draw-testing. Hemisphere emissivity 蓻H was tested by using hemisphere emissivity testing apparatus. The results showed that the micro-arc coatings were homogeneous and uniform when the Electrolyte components correspond to temperature. Hemisphere emissivity 蓻H test result showed that 蓻H鈮?.85.All the Performance of micro-arc coatings were qualified with technology guideline.