This highly expressed CNNM2-R480L properly localizes to the plasma membrane but impairs Mg2+ efflux likely through the attenuated interaction with Mg2+-ATP, resulting in the clinical manifestation of refractory hypomagnesemia. Here, CNNM2 is linked to familial primary hypomagnesemia.