Involuntarymuscle crampsor spasms, particularly in the legs, feet, or eyelids, are one of the first signs of magnesium deficiency. Magnesium is responsible for muscle contractions and relaxation by balancing calcium levels, which stimulate muscle activity. When magnesium is low, muscles can contract uncontrollably, leading to painful cramps, twitches, or tremors. If you experience frequent, unexplained muscle spasms, especially at night, it may be worth checking your magnesium intake.