It is universally known that both hypokalemia and hypomagnesemia can influence insulin secretion and insulin resistance, but the exact mechanisms require further study. This evidence concerns the gene INS and familial primary hypomagnesemia.