The function of ENSG00000124532 (MRS2, magnesium transporter MRS2) is as follows. Magnesium transporter that mediates the influx of magnesium into the mitochondrial matrix and regulates magnesium metabolism (PubMed:11401429, PubMed:18384665, PubMed:37543649, PubMed:37938562, PubMed:39609651). Also permeable to calcium, sodium and potassium ions (PubMed:39609651). Required for normal expression of the mitochondrial respiratory complex I subunits (PubMed:18384665). May play a role in maintaining the inner mitochondrial membrane potential (PubMed:39609651). {ECO:0000269|PubMed:11401429, ECO:0000269|PubMed:18384665, ECO:0000269|PubMed:37543649, ECO:0000269|PubMed:37938562, ECO:0000269|PubMed:39609651}.