The micro-arc oxidation behavior of AZ91 magnesium alloy in alkaline phosphate electrolyte was studied. The effect of phosphate on the microstructure and properties of micro-arc oxide film was investigated and characterized by X-ray diffraction (XRD), transmission electron microscope (TEM), scanning electron microscope (SEM), energy dispersive spectrum (EDS) and salt spray test. The results show that phosphate concentration has an important effect on the surface morphology, phase structure, thickness and corrosion resistance of micro-arc oxidation film. With the increase of phosphate concentration from 5g/L to 30g/L, the film quality decreases, the surface roughness increases, the thickness decreases and the corrosion resistance decreases. So in phosphate electrolysis the lower phosphate concentration in the liquid system is helpful to the formation of better film quality.