TRPM6 and Hyperglycemia: Insulin resistance and hyperglycemia, however, may in itself also lead to hypomagnesemia because of urinary wasting from osmotic hyperglycuria, hyperfiltration and a downregulation of the magnesium transporter the transient receptor potential melastatin 6 (TRPM6) in the distal convoluted tubule, which leads to a decreased reabsorption of magnesium (13, 14, 38).