Hypomagnesemia during anti-EGFR therapy is mainly caused by a decrease in Mg reabsorption in the kidney. Here, EGFR is linked to familial primary hypomagnesemia.