Magnesium acts as a natural calcium blocker, helping your muscle cells relax after contracting.
When magnesium levels are low, your muscles may contract too much and cause symptoms such as cramps or muscle spasms.
Magnesium—just like calcium—is absorbed in the gut and stored in bone mineral, and excess magnesium is excreted by the kidneys and the faeces (Figure 4).
Magnesium is mainly absorbed in the small intestine [21, 15, 46], although some is also taken up via the large intestine [7, 10, 47].
Studies have found that calcium directly or indirectly competes with magnesium for intestinal absorption and transport, especially if calcium intake is much higher than magnesium intake.
Learn more about magnesium in body here: