Magnesium and potassium in food: how much you need and where
Dr Faia AI author at FoodAI
Magnesium and potassium rarely make it onto food labels as selling points, yet no muscle or cell works without them. Here is how much you need, where to find them on the shelf and what research says about the popular promises.
Two quiet workers
Magnesium and potassium are minerals the body needs every day, but most people only think about them when a calf cramps at night or a doctor points at a blood test. Meanwhile both are at work all the time.
Magnesium helps more than three hundred enzymes, the proteins that drive chemical reactions in cells. It is especially needed wherever a cell spends its "energy currency", ATP: to build proteins, fats, carbohydrates and nucleic acids, and to keep nerves, muscles and the heart working 1. About 60% of the body's magnesium sits in the bones and roughly a quarter in the muscles 1.
Potassium is the main mineral inside cells. It decides how water is shared between a cell and its surroundings, helps keep the acid–base balance, and sets up the electrical charge across the cell membrane that lets nerves fire and muscles contract 1. Most of the body's potassium is in the muscles 1.
A blood test, interestingly, says little about whether your diet provides enough of either mineral, because the body keeps their blood levels under tight control. The European Food Safety Authority (EFSA) found no reliable marker for magnesium or potassium status and set its reference values another way 2 3.
How much adults need
For both minerals EFSA set an adequate intake: an amount that, on the available evidence, is enough for nearly all healthy people 1.
| Who | Magnesium, mg a day | Potassium, mg a day |
|---|---|---|
| Men aged 18 and over | 350 | 3,500 |
| Women aged 18 and over | 300 | 3,500 |
| Pregnant women | 300 | 3,500 |
| Breastfeeding women | 300 | 4,000 |
The magnesium value comes from what adults in EU countries eat on average 2. The potassium value comes from studies in which about 3,500 mg a day went with lower blood pressure and a lower risk of stroke 3. How potassium, salt and salt substitutes affect blood pressure is covered in our separate article on food and blood pressure.
For comparison, surveys in nine EU countries found that adults get on average between 2,463 and 3,991 mg of potassium a day 1, so many people still have room to grow towards 3,500 mg.
Where to find them in an ordinary shop
According to EFSA's overview, magnesium is plentiful in nuts, whole grains, pulses, fish and seafood, several vegetables, berries and bananas, and even tap or bottled water can add a noticeable share 1. Potassium is present in all natural foods, most of all in starchy roots and tubers such as potatoes, vegetables, fruit, whole grains, dairy and coffee 1. So the two minerals often come in the same foods, and these foods are anything but exotic:
- Buckwheat, a whole grain and a familiar side dish or porridge in Ukraine.
- Beans, lentils, peas, chickpeas: pulses give both minerals, plus protein and fibre.
- Pumpkin seeds, walnuts, almonds: a handful on a salad, porridge or as a snack.
- Greens and leafy vegetables: spinach, sorrel, dill, parsley.
- Potatoes, one of the main suppliers of potassium in our diet.
- Dried apricots and other dried fruit: the water has gone, so the minerals are packed into less weight (and so is the sugar).
- Bananas, a convenient source of both.
A simple rule of thumb: if your day includes a whole grain or pulses, a handful of nuts or seeds, vegetables and fruit, you are already heading the right way. White bread, sweets and sausages bring little of either mineral.
What the saucepan does
Potassium dissolves easily in water, and part of it ends up in the cooking liquid. American researchers boiled potatoes in different ways: diced potatoes lost about half of their potassium and shredded ones about three quarters, and magnesium, phosphorus, zinc and iron went down as well 4. Simply soaking raw potatoes changed almost nothing 4.
What this means in the kitchen:
- To keep the minerals, bake potatoes, cook them in their skins or boil them whole 4.
- Cook vegetables in little water or steam them, and use the liquid for soup, sauce or gravy.
- Do not boil home-cooked beans to mush; in soups the liquid stays in the bowl anyway.
For most people this is a way to get more from the same food. But some people need the opposite and have to cut potassium; more on that below.
Magnesium for cramps and sleep: what trials show
Magnesium is often suggested for calf cramps and for better sleep. Here is the best available evidence.
Cramps. A 2020 Cochrane review pooled 11 randomised trials of magnesium supplements. In older adults with night-time leg cramps, magnesium did hardly any better than placebo, and the authors consider a meaningful benefit unlikely 5. For cramps in pregnancy the results conflict, and for exercise-related cramps there are no trials at all 5. People taking magnesium also had more minor side effects, mostly digestive ones such as diarrhoea 5.
Sleep. A systematic review on insomnia in older adults found only three small trials. Pooled together, people on magnesium fell asleep somewhat faster than on placebo, but every trial carried a moderate-to-high risk of bias and the evidence was of low or very low quality 6. The authors themselves say it is not good enough for confident recommendations 6.
The honest conclusion: magnesium is not a magic pill for cramps or poor sleep. If cramps are frequent or severe, or your sleep has been bad for a long time, look for the cause with a doctor instead of trying supplements at random. Magnesium from food, such as buckwheat, beans and nuts, is worth having either way.
Who must be careful with potassium
Healthy kidneys easily get rid of extra potassium, so a healthy person practically cannot get "too much" from food. Chronic kidney disease is different: when the kidneys work less well, potassium can build up in the blood. For these patients diet, including minerals and electrolytes, is planned individually following professional guidelines 8, and that is when tricks like boiling potatoes in small pieces come in 4.
Care is also needed with some medicines. Certain drugs for blood pressure and the heart, potassium-sparing diuretics, anti-inflammatory painkillers and others can make the body hold on to potassium; high blood potassium may cause no symptoms, or it may be dangerous for the heart 7. So if you take regular medicines or have kidney disease, "how much potassium can I have" is a question for your doctor, not the internet. Do not change your treatment or start potassium or magnesium supplements on your own.
Shortage happens too: low blood potassium usually comes from losses such as long-lasting diarrhoea, vomiting or excessive losses in the urine, and only rarely from a poor diet alone 1. If you suspect it, see a doctor as well.
In short
- EFSA suggests about 300–350 mg of magnesium and 3,500 mg of potassium a day for adults.
- The easiest sources are buckwheat, pulses, seeds, nuts, greens, potatoes, dried apricots and bananas.
- Bake or boil whole, and keep the cooking liquid, to hold on to more minerals.
- For cramps and sleep, magnesium supplements help little or not convincingly.
- Kidney disease or regular medicines are a reason to discuss potassium with your doctor.
In short
How much magnesium and potassium does an adult need a day?
EFSA sets an adequate intake of 350 mg of magnesium for men and 300 mg for women, and 3,500 mg of potassium for adults, or 4,000 mg for breastfeeding women.
Which foods are richest in magnesium and potassium?
Buckwheat and other whole grains, beans and other pulses, pumpkin seeds, nuts, greens, potatoes, dried apricots and bananas.
Is potassium lost when boiling?
Yes, it passes into the water: diced boiled potatoes lose about half of their potassium. To keep it, bake vegetables or boil them whole and use the liquid.
Does magnesium help leg cramps?
A Cochrane review found that magnesium supplements barely reduce night-time leg cramps in older adults. Frequent cramps are a reason to see a doctor.
Who should not have a lot of potassium?
People with kidney disease and those taking medicines that make the body retain potassium. For them, the doctor decides how much is right.
Sources
- EFSA. Dietary Reference Values for nutrients: Summary report. EFSA Supporting Publications, 2017 — magnesium and potassium chapters
- EFSA NDA Panel. Scientific Opinion on Dietary Reference Values for magnesium. EFSA Journal, 2015
- EFSA NDA Panel (Turck D, Bresson J-L, Burlingame B et al.). Dietary reference values for potassium. EFSA Journal, 2016
- Bethke PC, Jansky SH. The effects of boiling and leaching on the content of potassium and other minerals in potatoes. Journal of Food Science, 2008 — laboratory study
- Garrison SR, Korownyk CS, Kolber MR et al. Magnesium for skeletal muscle cramps. Cochrane Database of Systematic Reviews, 2020 — systematic review, 11 trials, 735 participants
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies, 2021 — systematic review, 3 trials, 151 participants
- Ben Salem C, Badreddine A, Fathallah N et al. Drug-induced hyperkalemia. Drug Safety, 2014 — review
- Ikizler TA, Burrowes JD, Byham-Gray LD et al. KDOQI Clinical Practice Guideline for Nutrition in CKD: 2020 Update. American Journal of Kidney Diseases, 2020 — clinical practice guideline