INS and Insulin resistance: Magnesium is an important cofactor for a number of cellular functions related to insulin action and secretion, e.g., for the normal function of the insulin receptor, and it has been postulated that hypomagnesemia may contribute to insulin resistance (7).