This invention discloses preparation and application of regulator for repairing soil polluted by heavy metals. The regulator utilizes hydroxyapatite extracted from animal bone as the main raw material, as well as commercialized Si-Ca-Mg Fertilizer at a ratio of 1:(0.5-1). Besides, solutions containing Fe, Zn, Mn, Mo, B, etc., are also added. The regulator comprises: CaO 40-50 wt.%, SiO2 10-20 wt.%, MgO 3-6 wt.%, P2O5 15-30% wt.%, Al2O3 5-10 wt.%, K2O 0.1-0.5 wt.%, Fe2O3 0.1-1.0% wt.%, ZnO 0.3-0.5 wt.%, MnO 0.1-0.5 wt.%, and impurities. Once applied, the regulator is uniformly mixed with soil according to a ratio of 0.05-1.0 wt. % of dry soil. The regulator has such advantages as abundant raw materials, simple process, low cost, good repairing effect, low addition amount, no secondary pollution, no influence on soil structure, and high nutrition, thus can partly replace chemical fertilizers.