Titania-based coatings on commercially pure titanium (CP-Ti) were formed by micro-arc oxidation in different electrolyte solutions containing anions such as phosphate ( 3 4 PO) and silicate ( 2 3 SiO). The surface topography, phases, and elemental compositions of the P-TiO2 and Si-TiO2 coatings were characterized by scanning electron microscopy (SEM), energy-dispersive X-ray spectrometry (EDS), and X-ray diffraction (XRD), respectively. Staphylococcus aureus (S. aureus) was used to evaluate the antibacterial properties of the MAO coatings. The experimental results demonstrate that The P-TiO2 coated sample had amorphous phase, main anatase-TiO2, and a small amount of P2O5. However, the Si-TiO2 coated samples were composed of SiO2, anatase-TiO2, and amorphous phase. After 24 h of incubation, the antibacterial activities against S. aureus were 96.4% for the P-TiO2 coated sample and 98.6 % for the Si-TiO2 coated sample.