In this study, we identify mutations in the gene encoding for cyclin M2 (CNNM2) to be causative for mental retardation and seizures in patients with hypomagnesemia. Here, CNNM2 is linked to Hypomagnesemia.