Magnesium deficiency affects calcium homeostasis by affecting parathyroid hormone (PTH) and 1,25(OH)2-vitamin D, indirectly affecting BMD32–35. This evidence concerns the gene PTH and magnesium deficiency.