Calcium phosphate glasses (CPGs) have been prepared by the conventional melting quenching method. The immobilizing behavior and effects of CPG solution to Pb and Cd ions in contaminated soils and lead zinc mine tailings have been studied. The results showed that four CPG solutions with different CaO/P2O5 ratio have excellent effects on reducing the concentration of Pb and Cd ions. Compared with the immobilizing Cd ions, the CPG solutions have better effects when it was used to immobilize Pb ions in both contaminated soils and lead zinc mine tailings. The immobilizing effect on heavy metal ions depends directly on the CaO/P2O5 ratio and solubility of CPG solution. When the CaO/P2O5 ratio of CPG is 4∶6, the highest immobilization rate of Pb and Cd ions in the solution was observed. PH value has more obvious effects on the immobilization of Pb ions than that of Cd ions. The possible reason is the former belongs to the mechanism of precipitation and dissolution, but the later is attributed to the surface absorption and complexation mechanism. The optimum pH value for immobilizing Pb and Cd ions from contaminated soil and lead zinc mine tailings with CPG solution is 4 and 5, respectively. The maximum immobilization rate on Pb and Cd ions is 7012% ,6905% and 5822% and 5274%, respectively.