INS and diabetes mellitus: Our data suggest that patients with longer diabetes duration and those undergoing treatment with insulin, metformin, or PPIs are at higher risk of developing hypomagnesemia.