INS and acute pancreatitis: In addition, a shift of magnesium from the extracellular to the intracellular compartment can contribute to decreased serum levels in certain clinical conditions, such as refeeding syndrome, acute pancreatitis, or insulin therapy, but is quite infrequent.