Magnesium: What It Does, Uses and Safety
Magnesium is discussed for nutrition or wellness, but needs differ from person to person. Food sources and supplements do not always act in the same way.

Key Takeaways
- Pulses, nuts, seeds, whole grains and leafy vegetables are useful food sources.
- True deficiency is more likely with certain illnesses, medicines or long-term low intake.
- Evidence for using supplements to improve sleep is limited.
- Supplement labels state elemental magnesium, which is the amount that matters.
- Kidney disease and regular medicines require professional advice before supplementation.
Magnesium is an essential mineral involved in hundreds of processes in the body. It supports normal muscle and nerve function, helps regulate blood sugar and blood pressure, and contributes to making protein, bone and DNA.
Many vegetarian foods provide magnesium. Supplements can be useful in specific situations, but they are not automatically necessary. High doses can cause side effects or interact with medicines.
What does magnesium do?
The body uses magnesium to help enzymes perform many chemical reactions. These reactions support energy production, muscle contraction, nerve signalling, heart rhythm, blood glucose regulation and the maintenance of bones. (Health Professional Fact Sheet)
Most of the mineral in the body is stored in bones and soft tissues, while only a small amount circulates in blood. This means a blood test can be useful in the right clinical context but does not always describe total body stores perfectly.
How much do adults need?
Requirements vary with age, sex, pregnancy and breastfeeding. For adults, commonly used reference values are around 310–320 mg daily for women and 400–420 mg for men.
These figures describe total intake from food, drinks and supplements rather than a compulsory supplement dose.
Needs should not be self-diagnosed from social-media symptoms. A varied diet can meet requirements for many people, while a clinician can advise when illness, pregnancy, medicines or restricted eating changes the plan.
Vegetarian food sources
A food-first approach provides magnesium alongside fibre, protein and other nutrients. Useful choices include:
- Pumpkin, sesame, sunflower and chia seeds.
- Almonds, cashews, peanuts and other nuts.
- Rajma, chana, soybeans, tofu, moong and lentils.
- Whole grains such as oats, whole wheat, brown rice and millets.
- Spinach and other green leafy vegetables.
- Plain curd, milk and fortified foods where suitable.
Portions matter because nuts and seeds are energy-dense. A measured amount can be added to oats, curd, salads or snacks. Rotating foods is more practical than relying on one so-called superfood.
Magnesium deficiency
Short-term low intake may not cause obvious symptoms because the kidneys help conserve the mineral. Prolonged deficiency can cause poor appetite, nausea, fatigue and weakness. Severe deficiency may lead to tingling, cramps, seizures or an abnormal heart rhythm.
Risk is higher in people with conditions that reduce absorption or increase losses, including some gastrointestinal disorders, type 2 diabetes, long-term alcohol misuse and older age. Certain medicines can also affect levels. (Consumer)
Muscle cramps, tiredness and poor sleep have many possible causes, so they do not confirm a deficiency. Persistent or severe symptoms need assessment rather than automatic supplementation.
Do supplements help?
Correcting a deficiency
Supplementation is most clearly useful when a deficiency or specific clinical need has been identified. The appropriate product and dose depend on the cause, symptoms, kidney function and other treatment.
Sleep
Magnesium is widely promoted as a sleep aid, but current evidence is limited and inconsistent. Small studies suggest possible improvement in some sleep measures, particularly among older adults, but the research quality is too low for confident general recommendations. (NCCIH)
Sleep difficulty can relate to stress, caffeine, pain, medicines, sleep apnoea or an irregular routine. A supplement should not delay proper assessment when insomnia persists.
Muscle cramps and exercise
The mineral is essential for normal muscle function, but that does not mean extra supplementation prevents every cramp.
Dehydration, exercise load, pregnancy, circulation and medicines may contribute. Evidence should be interpreted for the exact group and cause.
Migraine and other medical uses
Clinicians sometimes use magnesium for particular migraine, pregnancy or hospital indications. These uses involve specific doses and medical judgement. They should not be copied from a general wellness article or product advertisement.
Understanding supplement forms
Products include magnesium citrate, oxide, chloride, lactate and glycinate. Absorption and digestive effects differ.
Forms that dissolve well, including citrate and chloride, tend to be absorbed more readily than oxide. However, a more absorbable form is not automatically necessary for everyone.
Read the Supplement Facts panel for the amount of elemental magnesium rather than the total weight of the compound.
Avoid taking multiple products that contain it, including some multivitamins, antacids and laxatives, without adding up the amounts. (Health Professional Fact Sheet)
Side effects and upper limit
Food sources do not normally need to be limited in healthy people because the kidneys remove excess amounts. Supplements and magnesium-containing medicines are different.
For adults, the commonly cited upper limit is 350 mg daily from supplements and medicines unless a clinician recommends otherwise. This limit does not include magnesium obtained naturally from food.
Too much supplemental magnesium commonly causes diarrhoea, nausea and abdominal cramping. Extremely high intake can lead to low blood pressure, breathing difficulty, irregular heartbeat and cardiac arrest, particularly when kidney function is impaired. (NCCIH)
Medicine interactions and kidney safety
Supplements can reduce the absorption of certain antibiotics and bisphosphonates used for osteoporosis. Diuretics may raise or lower magnesium loss, while long-term use of some proton-pump inhibitors can contribute to low levels.
Do not guess the spacing between a supplement and medicine. Ask a pharmacist about the exact products because instructions vary.
People with kidney disease should not take magnesium supplements or laxatives without medical guidance, as impaired kidneys may not clear excess amounts safely. (Health Professional Fact Sheet)
How to improve intake through meals
- Add a spoonful of seeds to porridge or plain curd.
- Include dal, beans or chickpeas in everyday meals.
- Choose whole grains regularly instead of relying only on refined grains.
- Use leafy vegetables in dal, sabzi, soups or stuffed rotis.
- Keep a small measured portion of unsalted nuts for a snack.
These habits improve overall diet quality without turning one nutrient into a daily calculation. If intake remains a concern, a dietitian can review the complete eating pattern.


