Our findings showed that low serum Mg levels may impact PTH levels and deteriorate osteoporosis. Here, PTH is linked to osteoporosis.