magnesium and exercise

Magnesium and Exercise: What’s Real and What’s Hype?

Quick Answer:

Magnesium is essential for normal muscle and nerve function, and many Americans get less than recommended from food. But for active people who already get enough, research does not show that magnesium supplements improve performance, and there is no good evidence they prevent exercise cramps. You also lose very little magnesium in sweat compared with sodium, so food is the best place to get it.

Key takeaways

  • Adults need 310 to 420 mg of magnesium a day depending on age and sex, and many people in the U.S. get less than that from food, according to the National Institutes of Health.
  • A 2020 Cochrane review found magnesium is unlikely to give meaningful cramp prevention to older adults, and found no quality trials on exercise-associated cramps.
  • A 2017 meta-analysis found no clear benefit of magnesium supplements on muscle strength or power in athletes and active people, who tend to have good magnesium status.
  • Sweat contains about 0.02 to 0.40 mmol of magnesium per liter, compared with 10 to 90 mmol of sodium, according to a 2019 review of sweat composition.
  • The upper limit for magnesium from supplements and medications is 350 mg a day for adults. Too much can cause diarrhea, nausea and cramping.

Magnesium and exercise: why all the hype?

Magnesium and exercise get talked about together constantly. Scroll any fitness feed and you will see magnesium sold for cramps, recovery, sleep, performance and “replacing what you sweat out.” Some of that has a real basis. A lot of it is marketing running well ahead of the research.

In this post I will cover what magnesium actually does, how much you really lose in sweat, what the research says about cramps, performance, recovery and sleep, who might genuinely be low, and how to get enough without overdoing it. I will rate six common claims at the end so you can see where each one lands.

A woman I train with at the gym pulled me aside one morning after a tough session. She had been getting calf cramps on her longer runs, and a video online had convinced her magnesium was the fix. By the time she asked me about it, she was taking a magnesium pill at night, a “recovery” powder after workouts and a fizzy electrolyte tablet during the day. The cramps had not stopped, and her stomach had been bothering her for weeks. When we read her labels together, she was getting well over the daily limit for supplemental magnesium without realizing it, so I suggested she take those labels to her doctor. Her question to me, “Is magnesium actually doing anything for me?”, is exactly what this post answers. [DRAFT STORY: MONTE TO CONFIRM OR REPLACE BEFORE PUBLISHING]

What does magnesium do in your body?

Magnesium is a mineral your body needs for many basic jobs. According to the National Institutes of Health Office of Dietary Supplements (ODS), it helps regulate muscle and nerve function, blood sugar and blood pressure, and it is used to make protein, bone and DNA.

The ODS sets the recommended daily amount at 400 to 420 mg for adult men and 310 to 320 mg for adult women. Good food sources include legumes, nuts, seeds, whole grains, leafy greens like spinach, fortified cereals, and milk and yogurt.

Here is the real part of the story: the ODS says the diets of many people in the United States provide less than the recommended amount of magnesium. Men over 70 and teenagers are the most likely to fall short. So magnesium matters. The question is whether supplements do anything extra for active people, and whether sweat is really the problem.

How much magnesium do you lose in sweat?

Very little, especially compared with sodium. Sweat is mostly water and sodium, with only small amounts of magnesium.

A 2019 review of sweat gland function by Lindsay Baker, published in the journal Temperature, lists typical sweat concentrations of 10 to 90 mmol per liter for sodium and 0.02 to 0.40 mmol per liter for magnesium. By our math, that works out to roughly 230 to 2,070 mg of sodium per liter of sweat, versus about 0.5 to 10 mg of magnesium. Compare that to a daily magnesium need of 310 to 420 mg, and even a long, sweaty session is unlikely to put much of a dent in your magnesium.

That is why I say magnesium is one of the most over-marketed minerals in the hydration aisle. If you are replacing what you lose in sweat, sodium is the one that matters most, by a wide margin.

If you sweat hard and want to replace what you actually lose, get yours now: shop the first batch of Lemon Honey, or stop by Do The WRX on Main Street in Santa Monica to pick up a jar. Honeylytes is a small-batch electrolyte powder made with real honey, in an all-glass jar with a bamboo scoop. Each scoop has [SODIUM PER SERVING: CONFIRM WITH MONTE] and [MAGNESIUM PER SERVING, IF ANY: CONFIRM WITH MONTE].

Does magnesium help with muscle cramps?

Probably not for most people, and there is no good research on exercise cramps specifically. This is the biggest magnesium claim you will see, and it is the weakest.

The Cochrane Collaboration, which pulls together the best available trials on a question, reviewed magnesium for muscle cramps in 2020. The authors concluded it is unlikely that magnesium supplements give clinically meaningful cramp prevention to older adults with muscle cramps. They also found no randomized controlled trials on magnesium for exercise-associated muscle cramps, the kind athletes worry about.

That does not mean cramps aren’t real or that minerals never matter. It means “take magnesium for your cramps” is not backed by solid evidence. If you cramp often, especially at night or with other symptoms, that is worth a conversation with your doctor.

Does magnesium improve exercise performance or recovery?

For people who already get enough magnesium, the research does not show a meaningful performance boost. Recovery results are mixed.

A 2017 meta-analysis in Magnesium Research pooled 14 randomized trials. It found that magnesium supplements did not clearly improve muscle strength or power in athletes and physically active people, who tend to have relatively good magnesium status. Any benefit appeared more likely in groups at risk of low magnesium, such as older adults and people with alcoholism.

The Australian Institute of Sport, which rates supplements for elite athletes, puts magnesium in its Group C category. Its summary says current evidence suggests supplements do not offer a performance benefit to trained athletes with enough magnesium in their diet, and that evidence on recovery is equivocal.

A 2024 systematic review presented in Nutrition and Dietetics looked at magnesium in athletes across performance, recovery, cramps and sleep. It found minimal impact on performance, recovery and muscle cramps, though some studies showed reduced muscle soreness.

Does magnesium help athletes sleep?

There is not enough evidence in athletes to say so. The same 2024 systematic review found no studies on magnesium and sleep in athletes. You will see sleep claims everywhere online, but for active people, the research has not caught up to the marketing.

Magnesium and exercise claims: real or hype?

Here is how the six most common claims stack up against the sources in this post.

ClaimVerdictWhat the research says
“Many people don’t get enough magnesium.”RealThe NIH says many U.S. diets fall short of recommended amounts.
“You sweat out a lot of magnesium.”HypeSweat holds about 0.02 to 0.40 mmol/L of magnesium vs 10 to 90 mmol/L of sodium (Baker, 2019).
“Magnesium stops muscle cramps.”HypeCochrane (2020): unlikely to help older adults; no quality trials on exercise cramps.
“Magnesium boosts athletic performance.”Mostly hypeNo clear benefit in athletes with good magnesium status (2017 meta-analysis; Australian Institute of Sport).
“Magnesium speeds recovery.”UnclearEvidence is mixed; some studies show less soreness (AIS; 2024 review).
“Magnesium helps athletes sleep.”Not shownNo studies on athletes’ sleep found in a 2024 review.

Who might actually be low in magnesium?

Some people are more likely to fall short, and for them, getting enough really matters. According to the NIH Office of Dietary Supplements, groups at higher risk include people with gastrointestinal diseases such as Crohn’s disease and celiac disease, people with type 2 diabetes, people with long-term alcoholism, and older adults.

The ODS lists early signs of magnesium deficiency as loss of appetite, nausea, vomiting, fatigue and weakness. Severe deficiency can cause numbness, tingling, muscle cramps, seizures and abnormal heart rhythms. Those symptoms have many possible causes, so do not self-diagnose. If you think you might be low, ask your doctor about testing rather than guessing with supplements.

How to get enough magnesium without overdoing it

Get it from food first, and be careful about stacking supplements. Here is the simple approach I would take:

  • Eat magnesium-rich foods. Beans, nuts, seeds, whole grains, leafy greens and yogurt are all on the NIH’s list.
  • Know the supplement limit. The NIH upper limit for magnesium from supplements and medications is 350 mg a day for adults. It does not include magnesium from food.
  • Add up your products. A magnesium pill, a “recovery” powder and an electrolyte drink can add up fast. Read every label.
  • Watch your gut. The NIH says high doses from supplements can cause diarrhea, nausea and stomach cramping.
  • Know the forms. The NIH notes that magnesium aspartate, citrate, lactate and chloride are more easily absorbed than some other forms.
  • Check with your doctor if you have kidney problems. The NIH says the risk of magnesium toxicity goes up when kidneys don’t work well.

If you have kidney or heart conditions, high blood pressure, or have been told to limit sodium or potassium, check with your doctor before using any electrolyte product.

So, magnesium and exercise: what should you actually do?

Make sure you get enough magnesium from food, because many people don’t. But don’t expect a supplement to stop your cramps, make you stronger or replace a big sweat loss, because the research does not show that for most active people. If you are replacing what you lose in sweat, focus on fluid and sodium, drink to thirst, and save electrolytes for long, hot or sweaty sessions.

When those sessions come around, get yours now: shop Honeylytes, or stop by Do The WRX in Santa Monica to pick up a jar.

Frequently asked questions

Should athletes take magnesium supplements?

Not automatically. A 2017 meta-analysis found no clear strength or power benefit in athletes and active people with good magnesium status, and the Australian Institute of Sport says supplements do not appear to help trained athletes who eat enough magnesium. If you think you might be low, talk to your doctor about testing first.

Does magnesium help with leg cramps after exercise?

There is no good evidence that it does. A 2020 Cochrane review found no quality trials on magnesium for exercise-associated cramps, and concluded it is unlikely to meaningfully prevent cramps in older adults. Frequent cramps are worth discussing with a doctor.

How much magnesium do you lose when you sweat?

Not much. A 2019 review lists magnesium in sweat at about 0.02 to 0.40 mmol per liter, compared with 10 to 90 mmol per liter for sodium. That is why sodium is the main electrolyte to think about replacing after heavy sweating. You can estimate your sweat losses with the free hydration calculator on our Resources page.

Can you take too much magnesium?

Yes. The NIH sets the upper limit for magnesium from supplements and medications at 350 mg a day for adults, and higher doses can cause diarrhea, nausea and stomach cramping. People with kidney problems are at higher risk of magnesium toxicity. For more on electrolyte limits, read our guides on the Resources page or join the hive for new posts.

Sources

These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.

About the author

Monte Sinisi, co-founder of Honeylytes

Monte played defensive line at the University of Rhode Island from 2014 to 2018 and now makes Honeylytes in small batches at Do The WRX in Santa Monica. He’s not a doctor or a dietitian, so every post links straight to the research behind it.

Honeylytes Lemon Honey

Real honey and essential electrolytes in an all-glass jar with a bamboo scoop. Small batch, made by hand.

Free tool

How much should you drink per hour?

Get your water, sodium and potassium targets in under a minute.

Join the hive

New guides like this one, hydration tips from our coaches and first access to new batches.

The information in this article is for general education and is not medical advice. These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.