In this study, ceramic coatings were prepared on the surface of TC4 titanium alloy by micro-arc oxidation (MAO). The morphology, element distribution and phase composition of MAO coatings were analyzed by SEM, EDS, XRD and other analytical methods. The effect of hexagonal boron nitride(h-BN) doping on wear resistance and corrosion resistance of micro-arc oxidation layer was studied. The results show that the coating is mainly composed of rutile TiO2, anatase TiO2 and a small amount of h-BN. Furthermore, the composite coating containing h-BN was less porous than particle-free coating. The test results show that h-BN doping slightly affects the hardness of the MAO coating, and it is helpful in improving the thickness, corrosion resistance and wear resistance of the coatings. When the amount of h-BN is 3 g/L, the corrosion current density of the coating is the smallest; When the addition of h-BN is 1.5 g/L, the friction coefficient of the coating is the smallest. The wear mechanism was adhesive wear, accompanied by slight abrasive wear.