The present invention relates to a cement based on magnesium sodium phosphate with clinical applications in bone surgery and odontology. This cement has an intrinsic antimicrobial effect as its main property. It also has a fast setting time, along with a high short-term compressive strength. Another property inherent to these cements is their adhesive character.Use of the cement is indicated for bone and dental applications, as well as filling bone defects or sealing dental cavities. The cement is especially indicated in cases in which an antimicrobial effect and/or adhesive properties are necessary.