Magnesium: what it does, deficiency signs and the best foods
What magnesium does in the body, signs you are low, how much you need a day (ICMR-NIN 2020), and the Indian foods richest in it.
Not yet reviewed by a dietitian. ULak Micros wrote this guide from the sources listed below. How we write guides
Short answer
Magnesium helps every cell make and use energy, and keeps nerves, muscles, the heart and bones working. ICMR-NIN sets the daily need at 370 mg for adult women and 440 mg for men1. Green leafy vegetables, dals, whole grains such as ragi and atta, nuts and seeds are the best everyday sources1,2.
Key points
- ICMR-NIN 2020 sets a Recommended Dietary Allowance of 440 mg a day for men and 370 mg for women, and 440 mg in pregnancy1.
- The national urban nutrition survey of 2016 found a median adult intake of 323 mg a day, below both figures1.
- Magnesium from food has not been shown to cause harm, but supplements can; ICMR-NIN caps non-food magnesium at 350 mg a day for adults1.
On this page
Magnesium rarely makes headlines, yet more than 300 of the body's chemical reactions depend on it3. An adult carries about 20 to 25 g of it, most of it in the bones and the rest in muscle and other soft tissue1.
Indian diets were long thought to supply plenty. ICMR-NIN's 2020 committee set a daily allowance for the first time, and the national urban survey of 2016 found a median adult intake of 323 mg a day, below the new figures1. Dals, greens and whole grains close most of that gap.
What does magnesium do in the body?
Magnesium helps cells turn food into usable energy and keeps nerves, muscles and the heart working. It is also part of the structure of bone.
Inside cells, magnesium sits alongside ATP, the molecule that carries energy, and it switches on many enzymes, including those that drive muscle contraction1. It is needed to make DNA, RNA and proteins, and to move potassium and calcium across cell walls, which nerve signals and a steady heartbeat depend on3.
Energy from food
Magnesium is needed for the reactions that make and use ATP, the cell's energy carrier1.
Muscle contraction
It drives the energy reactions behind muscle contraction1.
Nerve signals
It keeps the electrical charge across nerve and muscle membranes steady1.
Steady heartbeat
It moves potassium and calcium across cell walls, which a normal heart rhythm needs3.
Bone structure
About 60 to 70% of the body's magnesium sits in bone, alongside calcium and phosphorus1.
Building cells
It is needed to make DNA, RNA and proteins3.
Simplified. Sources: ICMR-NIN 2020; Linus Pauling Institute1,3.
How much magnesium do you need a day?
ICMR-NIN sets the Recommended Dietary Allowance at 370 mg a day for adult women and 440 mg for men1. That 370 mg is the daily target this site uses for a woman of 30.
The figures come from Indian balance studies, which compare what people eat with what they lose. The committee worked back from about 40% absorption to an average requirement of 370 mg for men, and set the allowance a little higher to cover most people1. The allowance rises to 440 mg in pregnancy, and breastfeeding adds about 25 mg to the requirement for the magnesium that goes into milk1.
Show the data
| Value (mg) | |
|---|---|
| Children 1–3 y | 90 mg |
| Children 4–6 y | 125 mg |
| Children 7–9 y | 175 mg |
| Girls 13–15 y | 340 mg |
| Boys 13–15 y | 345 mg |
| Women | 370 mg |
| Breastfeeding | 400 mg |
| Men | 440 mg |
| Pregnancy | 440 mg |
Recommended Dietary Allowance, ICMR-NIN 2020, Table 8.2.11.
| Group | Average requirement (EAR) | RDA | Upper limit, non-food magnesium only |
|---|---|---|---|
| Men | 370 mg | 440 mg | 350 mg |
| Women | 310 mg | 370 mg | 350 mg |
| Pregnancy | 370 mg | 440 mg | 350 mg |
| Breastfeeding | 335 mg | 400 mg | 350 mg |
| Children 1–3 y | 73 mg | 90 mg | 65 mg |
ICMR-NIN 2020, Table 8.2.11. Other bodies set lower adequate intakes: the European Food Safety Authority uses 350 mg for men and 300 mg for women4.
What happens if you do not get enough magnesium?
In people who eat normally, real magnesium deficiency is uncommon. It usually turns up alongside illness, such as conditions that stop the gut absorbing food or severe malnutrition1.
When it does happen, the nerves and muscles misfire. In severe cases people develop tetany (painful muscle spasms) and fits, and blood calcium and potassium fall too, recovering once magnesium is replaced1. A rare form of rickets that responds to magnesium but not to vitamin D has been described in Indian children1.
Mild shortfalls may cause no symptoms at all. Low magnesium intake has been linked in observational studies with heart disease, type 2 diabetes and weak bones, though this kind of study cannot prove that magnesium is the cause3.
What are the signs and symptoms of magnesium deficiency?
The signs are vague and overlap with many other problems. These are the ones described in severe deficiency3,1:
- Loss of appetite and nausea. Sometimes with vomiting.
- Muscle tremor, cramps and spasms. Tetany, a sustained painful cramp, appears when deficiency is severe.
- Fits. Seizures can occur in severe depletion.
- Personality changes. These are described in severe deficiency.
- Low calcium and potassium. Blood tests show these falling as well, because magnesium is needed to hold them steady.
A doctor confirms low magnesium with a serum magnesium blood test. It has a weakness: blood holds only about 1% of the body's magnesium, so a normal result does not always mean the body is well stocked3.
- Low (hypomagnesaemia)Below 1 mmol/L
- At or above the cut-off1 mmol/L and above
- 11 mmol/L 0.74 mmol/L
Hypomagnesaemia is usually defined as serum magnesium below 0.74 mmol/L (1.7 mg/dL). Laboratories set their own reference ranges. Source: Linus Pauling Institute3.
See a doctor if you have repeated muscle cramps or spasms, long-lasting diarrhoea, or you take acid-reducing tablets or water tablets (diuretics) for months. These can all lower magnesium, and a doctor can check your blood and the medicines together3.
Which foods are richest in magnesium?
Seeds, nuts, dals and green leafy vegetables lead, because magnesium sits at the centre of chlorophyll, the green pigment in plants1. Whole grains and millets add a steady amount every day.
| Rank | Food | Magnesium, per 100 g | Of the day |
|---|---|---|---|
| 1 | Pumpkin seeds, rawNuts and seeds | 592 mg | 160% |
| 2 | Sunflower seedsNuts and seeds | 413 mg | 112% |
| 3 | FlaxseedsNuts and seeds | 392 mg | 106% |
| 4 | Gingelly seeds, blackNuts and seeds | 390 mg | 105% |
| 5 | Niger seeds, grayNuts and seeds | 379 mg | 102% |
| 6 | Gingelly seeds, whiteNuts and seeds | 372 mg | 101% |
| 7 | LinseedsNuts and seeds | 349 mg | 94% |
| 8 | Niger seeds, blackNuts and seeds | 346 mg | 94% |
Per 100 g of the raw, edible part, as the ULak Micros Food library holds them. Share of the daily target for a woman of 30, lightly active (ICMR-NIN 2020, or the US allowance where ICMR-NIN sets none).
Few people eat 100 g of seeds, so the everyday staples matter more:
| Rank | Food | Magnesium, per 100 g | Of the day |
|---|---|---|---|
| 1 | Amaranth seed, blackCereals | 325 mg | 88% |
| 2 | Soya chunks (defatted soy flour)Beans and pulses | 290 mg | 78% |
| 3 | Amaranth seed, pale brownCereals | 270 mg | 73% |
| 4 | Soya bean, brownBeans and pulses | 259 mg | 70% |
| 5 | Cowpea, brownBeans and pulses | 213 mg | 58% |
| 6 | Cowpea, whiteBeans and pulses | 213 mg | 58% |
| 7 | Moth beanBeans and pulses | 205 mg | 55% |
| 8 | Amaranth spinosus, leaves, greenLeafy greens | 202 mg | 55% |
| 9 | RicebeanBeans and pulses | 201 mg | 54% |
| 10 | Green gram, wholeBeans and pulses | 198 mg | 54% |
Per 100 g of the raw, edible part, as the ULak Micros Food library holds them. Share of the daily target for a woman of 30, lightly active (ICMR-NIN 2020, or the US allowance where ICMR-NIN sets none).
Whole dishes show how this adds up. Leafy greens cooked with dal top the list:
| Rank | Dish | Magnesium | Of the day |
|---|---|---|---|
| 1 | Thorny amaranth leaves moong dal curryThorny amaranth with moong dal · Andhra | 357 mg | 96% |
| 2 | Amaranth leaves moong dal curryAmaranth with moong dal · Andhra | 344 mg | 93% |
| 3 | Amaranth leaves moong dalAmaranth with moong dal · Andhra | 277 mg | 75% |
| 4 | Amaranth leaves pappuAmaranth with toor dal · Andhra | 263 mg | 71% |
| 5 | Red amaranth leaves moong dalRed amaranth with moong dal · Andhra | 259 mg | 70% |
| 6 | Amaranth leaves masoor dalAmaranth with masoor dal · Andhra | 246 mg | 66% |
| 7 | Red amaranth leaves pappuRed amaranth with toor dal · Andhra | 245 mg | 66% |
| 8 | Amaranth leaves fryStir-fried Amaranth · Andhra | 235 mg | 64% |
One standard serving of each dish, from the ULak Micros Food library. Share of the daily target for a woman of 30, lightly active (ICMR-NIN 2020, or the US allowance where ICMR-NIN sets none).
In real portions, from lab-measured Indian food values: 100 g of atta gives about 125 mg, 100 g of ragi about 146 mg, and 30 g of dry moong dal about 47 mg2. A spoonful of pumpkin seeds (10 g) adds about 59 mg, and ten almonds (about 10 g) about 32 mg2. Polishing rice strips most of it out: 100 g of raw brown rice holds about 94 mg against 19 mg in milled white rice2.
In the kitchen
Pressure cooking or boiling dals breaks down much of their phytic acid, which otherwise holds on to minerals such as magnesium, so more of it can be absorbed5. A katori of thotakura pappu (amaranth with dal), rotis from whole atta and a few groundnuts or some sesame in the day go a long way towards 370 mg2.
Can you have too much magnesium?
Not from food. Magnesium in food has not been shown to cause harm, because healthy kidneys pass out what the body does not need1.
Supplements, laxatives and antacids are different. Diarrhoea is the first sign of too much, and ICMR-NIN sets an upper limit of 350 mg a day of non-food magnesium for adults, including in pregnancy, based on the lowest dose seen to cause diarrhoea, 360 mg1. Very high blood magnesium can lower blood pressure and, rarely, stop the heart1,3. People with weak kidneys are at the greatest risk, even from moderate doses of magnesium-containing laxatives or antacids3.
- 1350 mg Upper limit for non-food magnesium (ICMR-NIN)
- 2360 mg Lowest dose seen to cause diarrhoea
Show the data
| From (mg) | To (mg) | |
|---|---|---|
| Non-food magnesium (supplements, antacids, laxatives) | 0 | 350 |
| RDA from food, adult women | 370 | 370 |
The upper limit applies only to magnesium from supplements and medicines, not to food. ICMR-NIN 2020, Table 8.2.1 and section 8.2.51.
Trials show that magnesium supplements lower blood pressure a little. In a meta-analysis of 34 trials, a median 368 mg a day for about three months lowered systolic pressure by 2.0 mm Hg and diastolic by 1.8 mm Hg6. That is not a reason to take them without advice.
Magnesium also interacts with medicines. It can make some antibiotics (tetracyclines and quinolones) work less well, and osteoporosis tablets called bisphosphonates should be taken two hours apart from it3. Ask your doctor or pharmacist before you combine them.
Who is most likely to fall short?
These groups are more likely to run low, mostly through illness or medicines rather than diet alone3:
- People with gut disorders. Long-lasting diarrhoea, Crohn's disease, coeliac disease or surgery on the small intestine reduce absorption.
- People with diabetes. Diabetes can increase the magnesium lost in urine.
- Heavy drinkers. Alcohol lowers intake and raises losses.
- Older adults. Absorption falls and urinary losses rise with age.
- People on certain medicines. Proton pump inhibitors taken for three months or more, and long courses of some diuretics, can lower blood magnesium.
What to do
- Eat greens and dal most days. Amaranth, spinach and drumstick leaves, cooked with moong or toor dal, are among the richest dishes2.
- Choose whole grains. Whole atta, ragi, jowar and bajra carry several times the magnesium of polished rice2.
- Add a small handful of nuts or seeds. Pumpkin, sesame, groundnuts and almonds are concentrated sources2.
- Keep supplements under 350 mg unless a doctor advises more. This includes magnesium in antacids and laxatives, and anyone with kidney disease should ask first1,3.
Magnesium works closely with potassium, calcium and phosphorus. The free Microgauge tracker shows your magnesium against 370 mg as you log meals, and the Food library lists it for every food and dish.
Sources
Numbered in the order the guide cites them. Each link opens the paper, report or regulation itself.
- 1ICMR-National Institute of Nutrition. Nutrient Requirements for Indians: Recommended Dietary Allowances and Estimated Average Requirements. Report of the Expert Group. Hyderabad: NIN; 2020. nin.res.in/RDA_Full_Report_2024.html
- 2ULak Micros Food library. Lab-measured Indian food values, per 100 g. ulakmicros.com/foods/ingredients
- 3Higdon J, Drake VJ. Magnesium. Micronutrient Information Center. Corvallis (OR): Linus Pauling Institute, Oregon State University; updated July 2025. lpi.oregonstate.edu/mic/minerals/magnesium
- 4EFSA Panel on Dietetic Products, Nutrition and Allergies. Scientific opinion on dietary reference values for magnesium. EFSA J. 2015;13(7):4186. doi.org/10.2903/j.efsa.2015.4186
- 5ICMR-National Institute of Nutrition. Dietary Guidelines for Indians. Hyderabad: NIN; 2024. nin.res.in/dietaryguidelines/pdfjs/locale/DGI_2024.pdf
- 6Zhang X, Li Y, Del Gobbo LC, Rosanoff A, Wang J, Zhang W, et al. Effects of magnesium supplementation on blood pressure: a meta-analysis of randomized double-blind placebo-controlled trials. Hypertension. 2016;68(2):324-33. doi.org/10.1161/HYPERTENSIONAHA.116.07664
About this guide
ULak Micros wrote this guide from the sources above, opening each one to check the figures we quote. It was last updated on 15 November 2026. A registered dietitian has not reviewed it yet, so search engines are asked not to list it until one has. How we write guides.
Spotted something wrong or out of date? Tell us and we will check it against the evidence and correct the guide.
This guide gives general nutrition information. It is not medical advice. Speak to your doctor or a registered dietitian about your own health, and before you start or stop any supplement or medicine.