TNFSF11 and osteoporosis: Studies have shown a correlation between magnesium deficiency and osteoporosis, attributable to changes in parathyroid hormone (PTH), Vitamin D levels and increased pro-inflammatory cytokine secretion such as substance P, TNF-α, IL-1β, and RANKL (71).