The compound bioceramic coating containing calcium (Ca) and phosphorus (P) on titanium alloy substrate was prepared by means of micro-arc oxidation (MAO) treatment. The results show that under the different electrolyte the coating with the color of gray or black and surface morphology of cauliflower or honeycomb, where Ca content and P contain can attain 30% and 20% respectively, can be obtained. Meanwhile, the influences of electrolyte temperature, current density and discharge time on morphology and thickness of coating are also discussed here.