The function of NIPA2 (NIPA magnesium transporter 2, ENSG00000140157) is as follows. Acts as a selective Mg(2+) transporter. .