Our findings revealed that hypomagnesemia was associated with lower hemoglobin levels, independent of age, sex, disease duration, BMI, albumin, calcium, eGFR, and PTH in PHPT patients. This evidence concerns the gene ALB and Hypomagnesemia.