On the cellular level, Mg ions are reported to stimulate osteoblasts proliferation. Mg containing calcium phosphate (CaP) biomaterials promote the formation of bone and could prevent and treat osteoporosis and repair the fractures caused by osteoporosis and other diseases. Of great interest in developing artificial bone is the incorporation of Mg ions into the CaP ceramics lattice in order to improve the physico-chemical and structural properties of the material. The objective of this work is to prepare Mg-substituted hydroxyapatite (HAp), β-tricalcium phosphate (β-TCP) and biphasic calcium phosphate (BCP) bioceramics with Mg concentrations close to bone-like amounts and investigate the effect of Mg substitution into different CaP structures on the properties of synthesized and sintered CaP biomaterials.