Downregulation of the highly selective magnesium transporter NIPA2 in bone tissues and osteoblasts of type 2 diabetes osteoporosis was highlighted for the first time in our in vivo experiments. The gene discussed is NIPA2; the disease is type 2 diabetes mellitus.