Hypomagnesemia is associated with lower hemoglobin, independent of albumin, calcium, eGFR, and PTH in PHPT patients. Here, ALB is linked to familial primary hypomagnesemia.