In addition, magnesium is also an anti-inflammatory factor, and hypomagnesemia increases the inflammatory environment in obese patients, significantly increasing the levels of IL-1 and TNF-α. Here, TNF is linked to familial primary hypomagnesemia.