INS and type 2 diabetes mellitus: Meanwhile, magnesium is an essential cofactor for multiple enzymes involved in glucose metabolism and is hypothesized to play a role in glucose homeostasis, insulin action and in the development of type 2 diabetes (T2D)2.