In order to explore the effects of phosphorus to magnesium ratio(P/M)and water-cement ratio(W/C)on the strength of magnesium phosphate cement,its mechanical properties were tested,and its phase composition and microscopic morphology were characterized and analyzed by means of XRD,SEM and FTIR.The results show that:When W/C=0.15,the decrease of potassium dihydrogen phosphate content will enhance the compressive strength of magnesium phosphate cement at each age.When P/M=1∶4,the 3 h strength exceeds 30 MPa,while when the content is too high,the 3 h strength is lower than 20 MPa.The amount of MgKPO4·6H2O(K-struvite)was reduced and there were cracking areas in the specimen.When W/C=0.25,the strength of magnesium phosphate cement can be improved by reducing the content of MgO.When P/M=1∶1.5,the compressive strength of magnesium phosphate cement for 3 h is close to 30 MPa,and the K-struvite hydration products of magnesium phosphate cement are intact crystalline and closely arranged.