The invention discloses a preparation method for directly generating a hydroxyapatite-containing biological ceramic membrane on the surface of titanium, and aims to solve the practical problems that the prior art is complex in process, time-consuming, low in electrolyte utilization ratio, poor in membrane forming efficiency and the like. The preparation method adopts a basic method of micro-arc oxidation, and is characterized in that during the preparation of electrolyte, low-solubility calcium dihydrogen phosphate is used for providing phosphate anions and citric acid is used as a complexing agent. Compared with the prior art, although the solubility of the calcium dihydrogen phosphate used in the preparation method is low, the solubility of the calcium dihydrogen phosphate is improved after the calcium dihydrogen phosphate is complexed with the citric acid, calcium ions and phosphate anions are provided at the same time, the utilization ratio of the electrolyte is high, the reaction speed is high, the membrane forming efficiency is high, the preparation method is simple and easy to operate and low in cost, the hydroxyapatite-containing biological ceramic membrane prepared by the preparation method is stable in structure, uniform in distribution and high in effective matter content, and has a wide prospect in the fields of hard tissue implants, tooth planting and the like.