The Better Friday: Limited offer while stocks last

See the offer →
Miguel Artín Caetano Jorge Albert Mallebrera

Artículo redactado y revisado por Jorge, Miguel y Caetano

Magnesium for cramps works much less well than the ads promise. The 2020 Cochrane review, with 11 trials and 735 people, concludes that it’s unlikely to prevent nighttime cramps with no known cause in older adults. Results during pregnancy are contradictory, and there are no trials on exercise-related cramps. It makes sense when there’s a real deficiency. No form of magnesium has been shown to work better than another for this, and if you take it, the limit for supplements is 250 mg a day. What does stop a cramp is stretching the muscle.

It’s three in the morning and your calf goes hard as a rock. You jump out of bed, plant your foot on the cold floor, and wait for it to ease up. The next day, someone tells you the same old thing: it’s a magnesium deficiency. So you buy a bottle.

We’ll tell you plainly, even though we sell magnesium. For most cramps, magnesium isn’t the solution, and the most rigorous studies make that pretty clear. In this article, we’ll tell you what the trials say about each type of cramp, what really causes them, what to do when one strikes, how to prevent them, and when it does make sense to take magnesium, which kind, and how much.

Type of cramp What the trials say about magnesium Verdict
Nighttime cramps with no known cause, especially after age 60 5 trials with 271 people. Difference versus placebo of 0.18 cramps per week, not statistically significant Probably doesn’t help (moderate certainty)
Pregnancy 5 trials with 408 women, all at high risk of bias. Some found improvement and others did not Uncertain; discuss it with your midwife
During or after exercise No published trials Not studied
Liver cirrhosis One small trial with 29 people, with no differences in frequency or intensity No evidence of benefit
With a confirmed magnesium deficiency No specific cramp trials, but correcting a real deficiency makes sense Your doctor decides based on a blood test

Garrison SR et al., Cochrane Database of Systematic Reviews, 2020, review “Magnesium for skeletal muscle cramps” with 11 randomized trials and 735 participants. The certainty of the evidence follows the GRADE system used by Cochrane.

Does magnesium help with cramps? What the trials say

The question has a pretty good answer, which is rare in the world of supplements. In 2020, the Cochrane Collaboration updated its review on magnesium and muscle cramps. They brought together all the randomized trials they could find, eleven in total, and separated them by type of cramp, which is the right thing to do because not all cramps are the same.

The most studied group is people with nocturnal leg cramps with no apparent cause, which doctors call idiopathic, with an average age of 62 to 69. This is the most common type of cramp. The results are clear: magnesium reduced cramps by 0.18 per week compared with placebo, such a small difference that it was not statistically significant. The percentage of people whose cramps improved by at least 25% was virtually identical in both groups, and the evidence for this outcome is rated high certainty.

The authors’ exact conclusion is that magnesium is unlikely to provide clinically meaningful prevention of cramps in older adults.

The trial that explains why so many people swear it works

In 2017, an Israeli team published a trial in JAMA Internal Medicine involving 94 people with an average age of 65 who had at least four nighttime cramps every two weeks. Half took magnesium oxide every night for four weeks, and the other half took an identical placebo. The dose was no small amount: 520 mg of magnesium per day, twice the recommended limit for supplements.

And here’s the interesting part. Both groups improved. Those who took magnesium went from 7.8 to 4.4 cramps per week. Those who took the sugar pill went from 8.5 to 5.5. The difference between the two was 0.38 cramps per week, essentially nothing. The authors themselves put it plainly: the improvement in both groups is probably a placebo effect, and that may explain why magnesium is used so much for cramps.

Why it seems to work. Cramps come and go in spells, and people start taking something just when they’re at their worst. Usually, things get better afterward, whatever you take. And if you expect it to work, the improvement feels even greater. It’s not your imagination; you’d get better just the same without the bottle.

Pregnancy, the only area with some evidence in its favor

The picture is less clear in pregnancy. A 2015 Thai trial involving 86 pregnant women between 14 and 34 weeks found that 300 mg of magnesium bisglycinate daily for four weeks halved cramps for 86% of participants, compared with 60.5% in the placebo group. But other trials found no differences, and the Cochrane review specifically on cramps during pregnancy, covering eight studies and 576 women, rates the evidence as low or very low and does not go so far as to conclude that any intervention works. We’ll take a closer look below.

And in sports, not a single trial

This surprises many people. The review found no trial testing magnesium for exercise-associated cramps, the very kind most heavily advertised in sports supplement stores. It’s not that it’s been proven not to work. It’s that nobody has properly checked.

Woman using the Wellbeinn massage gun on her thigh

Why cramps happen (and why it’s almost never a magnesium deficiency)

A cramp is an involuntary, sudden, painful contraction of a muscle or part of one. It feels hard to the touch and usually lasts from a few seconds to several minutes. It’s very common. According to a review in American Family Physician, up to 60% of adults have had nighttime leg cramps at some point, and they’re more common with age.

The idea that every cramp is a mineral problem comes largely from medical records of industrial workers who sweated liters in very hot environments, as a 2019 review in Sports Medicine points out. In those cases, there really were huge losses of water and salt. But most of the cramps you get aren’t like that.

Exercise cramps have more to do with fatigue than minerals

The study that most changed this understanding was conducted with 210 Ironman triathletes. They had their blood drawn and were weighed before and after the race. Forty-three had cramps. When researchers compared those who did and didn’t, there was no difference in their blood electrolytes or weight lost through dehydration. What set the athletes who had cramps apart was that they had gone faster than planned and had had cramps in previous races.

The explanation best supported today is neuromuscular. When a muscle becomes fatigued, especially when it is working in a shortened position, the signals from the spinal cord telling it when to contract and when to relax become unbalanced, and the contraction starts on its own. That 2019 review takes this a step further. There are probably several types of cramps with different mechanisms, some linked to water and salt loss and others to fatigue, which is why there’s no single remedy that works for everyone.

What causes nighttime cramps

In most cases, no specific cause is found. But there are factors that make them more likely, and it’s worth knowing about them.

  • Age. They become more common after 60.
  • Pregnancy, especially in the third trimester.
  • Some medications. A study using data from 4.2 million people in British Columbia, Canada, found that treatment for cramps was 2.4 times more likely in the year after starting a long-acting inhaled bronchodilator, 2.1 times more likely with potassium-sparing diuretics, and 1.5 times more likely with thiazide-type diuretics. The association with statins was small. This was an observational study of people over 50, so it shows an association, not causation, but it offers a useful clue.
  • Conditions such as kidney failure and dialysis, cirrhosis, diabetes with neuropathy, hypothyroidism, lumbar spinal stenosis, or poor venous circulation.
  • Summer. The same Canadian group found that prescriptions for cramps and online searches for “leg cramps” almost double between winter and the height of summer. No one knows why yet.
If you’ve been getting cramps since starting a new medication, don’t stop taking it on your own. Talk to your primary care doctor or pharmacist, because sometimes the dose can be adjusted or you can switch to another option. This is usually more helpful than any supplement.

How to get rid of a cramp right away

The answer here is simple and well supported. Gently stretch the muscle that has contracted and hold the stretch until it relaxes. This is what both a 2022 review by the American association of athletic trainers on cramps in athletes and health information from the U.S. National Library of Medicine recommend.

  • Calf. With your leg straight, pull the tip of your foot toward you with your hand or a towel. If you’re standing, keep your heel on the floor and lean your body forward. Once the cramp eases, take a few steps on your heels.
  • Sole of the foot and toes. Pull your toes upward with your hand and massage the arch.
  • Hamstrings, the back of the thigh. Sit with your leg straight and lean forward from the hips, without bouncing.

Afterward, a gentle massage and some local heat can help the muscle relax. If you’re still sore the next day, that’s normal. The muscle can remain tender for hours.

The curious case of pickle vinegar

There’s a locker-room remedy backed by a study that’s worth mentioning for what it teaches us. In a 2010 study, several dehydrated men were induced to have a cramp in a foot muscle using electrical stimulation. Drinking about 75 ml of pickle juice shortened the cramp by 49 seconds compared with drinking water. What’s striking is that nothing changed in their blood during those minutes. The authors think the effect is a reflex triggered in the mouth and throat by the sour taste, not a replenishment of salts.

Be careful about jumping to conclusions. These were cramps induced in a lab, not the ones you get in your calf at three in the morning. But it helps explain that cramps are often a nerve signaling problem, not a mineral deficiency.

Nighttime calf cramps: how to prevent them

They’re the most common and the most bothersome because they wake you from sleep. Here’s what has some evidence behind it.

Stretching before bed, with caveats

A 2012 Dutch trial with 80 people over the age of 55 compared stretching the calves and hamstrings every night just before bed with doing nothing. After six weeks, the stretching group had fewer cramps, and they were less intense. By contrast, a 2005 English trial with 191 patients from 28 health centers found no effect from calf stretches. The evidence is mixed, but stretching costs nothing and carries no risks, so it’s worth trying for a few weeks.

A simple example. Stand facing a wall, place your hands on it, step one leg forward, and leave the other behind with your heel on the floor and your knee straight. Hold for ten seconds, rest for five, and repeat three times with each leg.

Foot position in bed

Sleeping with your foot pointed like a ballerina leaves your calf shortened for hours, which is exactly the position in which the muscle tends to cramp. If you sleep on your stomach, let your feet hang over the edge of the mattress. If you sleep on your back, make sure the sheets don’t push your feet downward. It’s common-sense advice, not backed by its own trial, but it has no contraindications either.

Quinine and tonic water

For decades, quinine was the standard treatment for nighttime leg cramps. A Cochrane review of 23 trials found that it reduces the number of cramps by around 28%, at doses of 200 to 500 mg a day. The problem is its side effects, which are rare but can be serious, such as blood, heart rhythm, vision, or hearing disorders. In 2010, the U.S. Food and Drug Administration advised against using it for this purpose, and the American Family Physician review is categorical: it should not be used for nighttime leg cramps.

What about tonic water? It does contain quinine, but very little. The German limit cited by Germany’s Federal Institute for Risk Assessment is 85 mg per kilo in non-alcoholic drinks. That means at most about 28 mg in a 33 cl can, compared with the 166 mg of quinine base in a single dose of the kind once used for cramps. You’d have to drink several liters to feel any effect, and that same institute recommends that pregnant women avoid drinks containing quinine as a precaution.

Cramp or restless legs? They’re often confused. A cramp hurts, and the muscle becomes hard and visibly tight. Restless legs syndrome is an overwhelming urge to move your legs, with uncomfortable sensations but no pain or visible contraction. It occurs at rest and at night and improves when you move. They’re different problems with different solutions. If yours sounds more like the latter, mention it to your doctor.

Cramps during pregnancy: the one case where magnesium has something going for it

Leg cramps are a common discomfort during pregnancy, especially in the third trimester. And magnesium has a little more going for it here than in other cases, though less than people often say.

The 2020 Cochrane review on cramps during pregnancy included eight small studies with 576 women. The results for magnesium were inconsistent. In one trial, more women stopped having cramps altogether. In another, involving 86 pregnant Thai women, more women cut their cramps in half. But magnesium made no difference in other measurements. Since each study measured things differently, the data couldn’t be combined, and the certainty was low or very low. The review concludes that it’s unclear whether any of the options studied—magnesium, calcium, or vitamins—actually work.

One detail few people know: the European Food Safety Authority sees no reason to increase magnesium intake during pregnancy, and maintains the same guideline as for any adult woman: 300 mg a day.

If you’re pregnant and have cramps, don’t start taking anything on your own. Talk to your midwife or gynecologist. Many prenatal supplements already contain magnesium, and adding another supplement could mean taking a dose you don’t need. In the meantime, stretching before bed and paying attention to your foot position in bed are safe. And it’s best to avoid tonic water.

You can find more details about the different stages in our article on magnesium for women.

Cramps during exercise: pace, training, and heat

A cramp at mile 22 of a marathon, in the final set of a padel match, or while climbing a hill on your bike has a very recognizable pattern. It appears in the muscles working hardest, when they’re tired, and often when you’re going faster or for longer than you’ve trained for.

What the experts who have studied this most recommend is stopping the search for a single cause. The 2022 review in the Journal of Athletic Training, co-authored by the author of the Ironman study, concludes that exercise cramps result from a mix of factors that vary from person to person, and that prevention works better when tailored to each individual than with generic advice like “drink more.”

  • If you always get them at the end of races, the most likely factor is pace. Starting faster than your training justifies is a classic mistake.
  • If you get them in hot weather and sweat a lot, leaving white salt marks on your clothes, it makes sense to replace water and salt during exertion.
  • If you get them during an event that’s longer than usual, the answer is to train for that duration progressively, not to take a supplement.
  • If you’ve had them before, you’re at greater risk, as the Ironman study found. Bear this in mind when planning your pace.

For details on what is and isn’t known about magnesium specifically for athletes, see magnesium for athletes. Sweating does cause some magnesium loss, but trials haven’t shown that this leads to fewer cramps.

Bottles of Wellbeinn Magnesium Matrix with four salts

If you decide to take magnesium: which type and how much

Even with all of the above, you may still want to give it a try. It’s reasonable if you suspect you don’t get enough magnesium from your diet, if your doctor has found that your levels are low, or if you’re in a situation where there’s some evidence, such as pregnancy, and always with your doctor’s approval. Here are the rules for doing it right.

Question Short answer
How much magnesium does an adult need per day? 350 mg for men and 300 mg for women, including food, water, and supplements
How much can I take as a supplement? Up to 250 mg of magnesium per day from supplements for adults. Above that, the risk of diarrhea increases
Which is best for cramps? No form has been shown to be better. Bisglycinate and citrate are usually better tolerated than oxide
What doses did the trials use? 300 mg of bisglycinate during pregnancy and 520 mg of oxide in older adults, the latter with no effect
How long should you try it? The trials measured results after four weeks. If you don’t notice any changes within a month, the cause is probably something else
Who should check with a doctor first? Pregnant people, people with kidney disease, and anyone taking antibiotics, bisphosphonates, or levothyroxine

Adequate intakes from the European Food Safety Authority (EFSA, 2015). The Scientific Committee on Food set a maximum level of 250 mg per day for readily dissociable magnesium salts and oxide in supplements, adopted by the EFSA, which does not include magnesium from food. Doses from the trials by Supakatisant and Phupong (2015) and Roguin Maor et al. (2017).

Two clarifications about the table. The 250 mg limit applies only to magnesium from supplements, not from food, which doesn’t cause problems in healthy people. And that diarrhea is the most common side effect is confirmed by the Cochrane review itself, where between 11% and 37% of those taking magnesium experienced digestive discomfort, compared with between 10% and 14% taking a placebo. If you want more detail on this, see magnesium side effects, and for differences between salts, see types of magnesium and what each one is used for.

Before turning to supplements, take a look at your plate. Nuts, legumes, whole grains, cocoa, and leafy green vegetables cover much of what you need, and in magnesium-rich foods we tell you all about it using real serving sizes. And if you have several symptoms at once and suspect a deficiency, in magnesium deficiency we explain when it’s worth getting a blood test.

What we can tell you about our magnesium

Magnesium Matrix combines four salts, citrate, bisglycinate, malate, and taurate, with no oxide. We’re not going to tell you it gets rid of cramps, because as you’ve seen, there’s no evidence for that, and EU regulations don’t allow it. What Regulation (EU) 432/2012 does allow us to say is that magnesium contributes to normal muscle function and that it helps reduce tiredness and fatigue.

An honest note about the dosage. The two daily tablets provide 375 mg of magnesium, above the 250 mg limit the EFSA sets for supplements. So the sensible thing is to split them into two doses, and if you notice loose stools, reduce the amount.

Wellbeinn Magnesium Matrix, bottle of 60 tablets with four magnesium salts

Magnesium Matrix

Magnesium citrate, bisglycinate, malate, and taurate, with no oxide. 375 mg of magnesium in 2 tablets, 60 tablets for 30 days. Suitable for vegans, gluten-free, and lactose-free. Magnesium contributes to normal muscle function and helps reduce tiredness and fatigue.

19,96 €

View Magnesium Matrix

When to see a doctor about cramps

The vast majority of cramps are harmless and don’t require a doctor’s visit. But there are situations where it’s a good idea to see your GP.

  • They are very severe, frequent, or long-lasting, or they are becoming harder to release.
  • They do not ease when you stretch the muscle.
  • They regularly keep you from sleeping.
  • They started after you began taking a medication or you have a chronic condition, such as kidney, liver, or thyroid problems, or diabetes.
  • They are accompanied by persistent weakness, muscle loss, or tingling.
This is not a cramp, and you should not wait. A warm, swollen, painful leg, especially in just one calf, could be a blood clot in a vein. A cold, pale foot could indicate a problem with blood flow. And pain that does not go away after the episode, or pain with a fever, is not typical of a cramp either. In any of these cases, seek medical advice the same day or go to the emergency room.

One more thing. Routine electrolyte blood tests for cramps usually do not add much, according to the American Family Physician review. Your doctor will order specific tests if your medical history or examination points to a particular cause.

The essentials in five lines

The short version. The 2020 Cochrane review concludes that magnesium is unlikely to prevent nighttime cramps with no known cause in older adults, and in one trial with a daily dose of 520 mg, the placebo group improved just as much. Evidence during pregnancy is conflicting, and there are no trials in sports. Stretching the muscle relieves a cramp, and to prevent them, it makes more sense to stretch before bed, review your medications with your doctor, and, in sports, adjust your pace and training. If you still take magnesium, do not exceed 250 mg per day from supplements, and give it four weeks to assess the results. A warm, swollen leg is not a cramp; seek medical advice right away.

Frequently asked questions

Which magnesium is best for leg cramps?

None has been shown to be better than another for cramps, simply because no form has been shown to work well for the most common cramps. The 2020 Cochrane review included trials using different salts, including citrate, lactate, and oxide, and found the same result for nighttime cramps in older adults: no meaningful difference compared with placebo. The only trial with a clearly positive result used bisglycinate in pregnant women, but that does not prove bisglycinate is superior because it was not compared with other salts. What does differ between forms is tolerability. Bisglycinate and citrate are usually easier on the stomach than oxide. So if you decide to take it, choose a form you tolerate well and check the amount of elemental magnesium on the label, not the total weight of the compound.

How much magnesium should I take for cramps?

There’s no proven dose for cramps, because no dose has worked consistently. As a reference, the trial in pregnant women used 300 mg of bisglycinate daily, and the trial in older adults used 520 mg of oxide, with the latter having no effect compared with placebo. What is clear is the limit. The European Food Safety Authority sets the maximum amount of magnesium from supplements for adults at 250 mg a day, because above that, diarrhea and digestive discomfort become more common. This limit does not include magnesium from food. The total daily requirement for an adult is 350 mg for men and 300 mg for women, and a substantial portion can come from food. If you take medication or have kidney problems, consult your doctor first.

How long does magnesium take to stop cramps?

If it’s going to make a difference, you should notice it within about four weeks, which is how long almost all the trials measured. The problem is that the placebo groups in those trials also improved, sometimes almost as much, because cramps come and go in bouts and people start taking something right when they’re at their worst. So if you don’t notice any change after taking it every day for a month, the most likely explanation is that something else is causing your cramps, and it’s probably not worth continuing. And if you do notice an improvement, don’t assume it was the magnesium. The honest approach is to try stopping it and see whether the cramps come back. It doesn’t make sense to take it once you already have a cramp and expect it to stop it, because it doesn’t work within minutes.

Why do I get calf cramps at night?

In most cases, no specific cause is found, and doctors call them idiopathic cramps. They’re very common: up to 60% of adults have had them at some point, and they become more common with age. Certain factors make them more likely. Sleeping with your foot pointed keeps your calf muscle shortened for hours, which is the position in which it’s most likely to cramp. Pregnancy, some medications such as certain diuretics and long-acting inhaled bronchodilators, conditions such as kidney failure, diabetes or problems with venous circulation, and the time of year also play a role. Cramps are almost twice as common in summer as in winter. If they happen often, review your medication with your primary care doctor.

What helps relieve a cramp quickly?

Gently stretch the muscle and hold it until it relaxes. If it's your calf, straighten your leg and pull your toes toward you with your hand or a towel, or stand up and place your heel on the floor as you lean forward. Once it eases, walk a few steps on your heels. If it's the sole of your foot, pull your toes upward. A gentle massage and some warmth can help afterward. In one curious trial, drinking about 75 ml of pickle juice shortened a laboratory-induced cramp by 49 seconds, probably due to a reflex triggered by its sour taste, but these were artificial cramps. Taking a packet of magnesium at that moment won't help, because it doesn't work that quickly.

What vitamin or mineral deficiency causes cramps?

In most cases, nothing does. That's the misconception most worth correcting. Nighttime cramps with no known cause and cramps that occur during exercise are generally not explained by a mineral deficiency. In a study of 210 Ironman triathletes, blood electrolyte levels did not differ between those who had cramps and those who did not. The famous banana isn't supported by evidence either, since an American Family Physician review found no evidence to recommend potassium or calcium routinely. That said, low levels of sodium, potassium, calcium, or magnesium can cause cramps, for example with prolonged diarrhea, certain diuretics, or kidney disease. But this is detected through a blood test that your doctor should assess, not by self-diagnosis.

Does tonic water help with cramps?

Not really. Tonic water contains quinine, which can reduce cramps somewhat when used as a medicine, by around 28% according to a Cochrane review of 23 trials. But tonic water contains very little. Under Germany's limit of 85 mg per kilo in non-alcoholic drinks, a 33 cl can contains at most about 28 mg, compared with 166 mg of quinine base in a single dose of the kind once used for cramps. In addition, quinine as a medicine has rare but serious side effects, and the U.S. drug agency advised against using it for cramps in 2010. Germany's Federal Institute for Risk Assessment recommends that pregnant women avoid drinks containing quinine. A gin and tonic is not a treatment.

Can I take magnesium for cramps during pregnancy?

This is the only case where there’s some evidence from a trial in favor, but the decision should be made by your midwife or gynecologist, not by you alone. A Thai trial of 86 pregnant women found that 300 mg of magnesium bisglycinate daily for four weeks cut cramps by half in 86% of participants, compared with 60.5% taking a placebo. But other trials found no difference, and the Cochrane review on cramps during pregnancy rates the evidence as low or very low quality. Also bear in mind that EFSA doesn’t consider pregnancy to increase magnesium needs, and many prenatal supplements already contain it. While you’re checking with your healthcare provider, stretching your calves before bed is safe.

Does drinking more water prevent cramps?

It depends on the type of cramp. For nighttime cramps with no known cause, there’s no evidence that drinking more water prevents them. In sports, the idea that cramps are caused by dehydration has been seriously questioned. In the Ironman study, triathletes with cramps hadn’t lost more weight than the others, nor did they have more abnormal electrolyte levels. One type of cramp is linked to major fluid and salt loss: it affects people who sweat heavily for hours in hot weather, and replacing fluids with salt makes sense in that case. The 2022 review on cramps in athletes sums it up well: prevention works better when tailored to each person than when based on generic advice to drink more.

Can cramps be a sign of something serious?

Almost never, but there are signs you shouldn’t ignore. Consult your doctor if the cramps are very severe, frequent, or last a long time; don’t go away when you stretch; regularly keep you awake; started after you began a new medication; or come with weakness, muscle loss, or persistent tingling. Some conditions make cramps more likely, such as kidney failure, cirrhosis, hypothyroidism, diabetes with nerve damage, or certain neurological problems. And watch out for something that can sometimes be mistaken for a cramp. A warm, swollen, painful calf may be a blood clot, while a cold, pale foot may signal a circulation problem. Get these checked the same day.

Which medications can cause cramps?

Several, although for most the relationship is an association rather than a proven cause. A study using data from 4.2 million people in Canada found that treatment for cramps was 2.4 times more likely in the year after starting a long-acting inhaled bronchodilator, 2.1 times more likely with potassium-sparing diuretics, and 1.5 times more likely with thiazide diuretics. The association was small with statins and loop diuretics. The American Family Physician review lists others, such as intravenous iron, certain estrogens, and raloxifene, which is used for osteoporosis. If you suspect a medication is giving you cramps, don’t stop taking it on your own. Discuss it with your doctor or pharmacist.

Does Wellbeinn Magnesium Matrix relieve cramps?

We cannot say that, and we will not say it, because there is no evidence that any magnesium prevents the most common cramps, and European regulations do not allow it. Regulation (EU) 432/2012 authorizes the claim that magnesium contributes to normal muscle function and helps reduce tiredness and fatigue. Magnesium Matrix combines citrate, bisglycinate, malate, and taurate, with no oxide, and is suitable for vegans and free from gluten and lactose. It makes sense for meeting your magnesium needs if you suspect your diet does not provide enough. If you have frequent cramps, the first step is to find out why, and the right thing to do is talk to your doctor.

How do you take Magnesium Matrix?

The daily dose is two tablets, providing 375 mg of magnesium, 100% of the nutrient reference value. The bottle contains 60 tablets, enough for 30 days. Since this amount exceeds the EFSA's maximum of 250 mg per day for magnesium from supplements, it is advisable to split the two tablets into two doses, for example, one with breakfast and one with dinner. If you notice loose stools, the first sign that you are taking too much, reduce the amount. If you take antibiotics, levothyroxine, or bisphosphonates, take magnesium a few hours apart from them and discuss it with your pharmacist. And if you have kidney disease or are pregnant, consult your doctor before taking it.

Written by the Wellbeinn content team. Last updated November 13, 2026. This article is for informational purposes and does not replace advice from a healthcare professional. Food supplements should not be used as a substitute for a varied and balanced diet or a healthy lifestyle. If your cramps are frequent, keep you awake, started after taking a new medication, or come with swelling, weakness, or tingling, consult your doctor. If you are pregnant, talk to your midwife before taking any supplement.
Sources and references (19)
Magnesium and cramps, reviews and trials (5)
  1. Garrison SR, Korownyk CS, Kolber MR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;9(9):CD009402. doi.org/10.1002/14651858.CD009402.pub3
  2. Roguin Maor N, Alperin M, Shturman E, et al. Effect of magnesium oxide supplementation on nocturnal leg cramps, a randomized clinical trial. JAMA Intern Med. 2017;177(5):617-623. doi.org/10.1001/jamainternmed.2016.9261
  3. Luo L, Zhou K, Zhang J, Xu L, Yin W. Interventions for leg cramps in pregnancy. Cochrane Database Syst Rev. 2020;12(12):CD010655. doi.org/10.1002/14651858.CD010655.pub3
  4. Supakatisant C, Phupong V. Oral magnesium for relief in pregnancy-induced leg cramps, a randomised controlled trial. Matern Child Nutr. 2015;11(2):139-145. doi.org/10.1111/j.1740-8709.2012.00440.x
  5. El-Tawil S, Al Musa T, Valli H, et al. Quinine for muscle cramps. Cochrane Database Syst Rev. 2015;(4):CD005044. doi.org/10.1002/14651858.CD005044.pub3
Causes of cramps (5)
  1. Allen RE, Kirby KA. Nocturnal leg cramps. Am Fam Physician. 2012;86(4):350-355. aafp.org
  2. Garrison SR, Dormuth CR, Morrow RL, Carney GA, Khan KM. Nocturnal leg cramps and prescription use that precedes them, a sequence symmetry analysis. Arch Intern Med. 2012;172(2):120-126. doi.org/10.1001/archinternmed.2011.1029
  3. Garrison SR, Dormuth CR, Morrow RL, Carney GA, Khan KM. Seasonal effects on the occurrence of nocturnal leg cramps, a prospective cohort study. CMAJ. 2015;187(4):248-253. doi.org/10.1503/cmaj.140497
  4. Schwellnus MP, Drew N, Collins M. Increased running speed and previous cramps rather than dehydration or serum sodium changes predict exercise-associated muscle cramping, a prospective cohort study in 210 Ironman triathletes. Br J Sports Med. 2011;45(8):650-656. doi.org/10.1136/bjsm.2010.078535
  5. Maughan RJ, Shirreffs SM. Muscle cramping during exercise, causes, solutions, and questions remaining. Sports Med. 2019;49(Suppl 2):115-124. doi.org/10.1007/s40279-019-01162-1
What to do in the moment and how to prevent them (5)
  1. Miller KC, McDermott BP, Yeargin SW, Fiol A, Schwellnus MP. An evidence-based review of the pathophysiology, treatment, and prevention of exercise-associated muscle cramps. J Athl Train. 2022;57(1):5-15. doi.org/10.4085/1062-6050-0696.20
  2. Miller KC, Mack GW, Knight KL, et al. Reflex inhibition of electrically induced muscle cramps in hypohydrated humans. Med Sci Sports Exerc. 2010;42(5):953-961. doi.org/10.1249/MSS.0b013e3181c0647e
  3. Hallegraeff JM, van der Schans CP, de Ruiter R, de Greef MH. Stretching before sleep reduces the frequency and severity of nocturnal leg cramps in older adults, a randomised trial. J Physiother. 2012;58(1):17-22. doi.org/10.1016/S1836-9553(12)70068-1
  4. Coppin RJ, Wicke DM, Little PS. Managing nocturnal leg cramps, calf-stretching exercises and cessation of quinine treatment, a factorial randomised controlled trial. Br J Gen Pract. 2005;55(512):186-191. pubmed.ncbi.nlm.nih.gov/15808033
  5. MedlinePlus, U.S. National Library of Medicine. Muscle cramps. Medical Encyclopedia, reviewed July 23, 2024. medlineplus.gov
Intakes, limits, and regulations (4)
  1. EFSA 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
  2. European Food Safety Authority. Overview on tolerable upper intake levels as derived by the Scientific Committee on Food and the EFSA NDA Panel. Version 11, August 2025. efsa.europa.eu
  3. Commission Regulation (EU) No. 432/2012 of 16 May 2012 establishing a list of permitted health claims made on foods. boe.es
  4. Bundesinstitut für Risikobewertung (BfR). Quinine-containing beverages may cause health problems. Updated BfR Health Assessment No. 020/2008, May 9, 2008. bfr.bund.de

Wellbeinn supplements

Magnesium Matrix, creatine monohydrate, whey isolate protein, joint collagen, and melatonin with B6. What the label says, and nothing more.

View supplements

Leave a comment

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Latest Stories

This section doesn’t currently include any content. Add content to this section using the sidebar.