endurance recovery seo
Nov 16, 2026
Rob Lawrie

Magnesium for Cyclists and Runners: Does It Help Cramp, Sleep and Recovery?

Does magnesium stop cramp or improve sleep and recovery for cyclists and runners? What the evidence says, where to get it from food, and how to fuel properly.
FTP Endurance Fuel - energy pastilles and Power Fluids

Magnesium for cyclists and runners: the quick answer

  • Most people eating a varied diet get enough magnesium. The UK reference intake is 300mg a day for men and 270mg for women, and food covers that for most athletes.
  • The evidence that extra magnesium stops exercise cramp is weak. Cramp late in a race is more often linked to fatigue, pacing and under-fuelling than to one missing mineral.
  • Sleep and recovery benefits show up mainly in people who were low to start with. If your intake is fine, a supplement is unlikely to change much.
  • If you do supplement, keep it to 400mg a day or less from supplements, choose citrate or glycinate over oxide, and test it in training, not on race week.

Magnesium for cyclists and runners is one of those things every endurance athlete gets told to take. Pills, powders, sprays, bath salts. The claims are big: no more cramp, deeper sleep, faster recovery. The research is a lot more modest, and it is worth knowing what you are actually buying before you add another thing to the kitchen shelf.

This guide covers what magnesium does, what the evidence says about cramp, sleep and recovery, where to get it from food, and how to supplement sensibly if you decide to. Then we will cover the thing that probably matters more for most long sessions: fuelling on time.

FTP Endurance Fuel - energy pastilles and Power Fluids

What magnesium actually does for endurance athletes

Magnesium is involved in hundreds of reactions in the body. For athletes, the relevant ones are energy production, muscle contraction and relaxation, and nerve signalling. That is why it gets linked to cramp and recovery, and why the marketing sounds convincing.

The catch is that being involved in something is not the same as a supplement improving it. If your levels are already adequate, adding more does not make the machinery run faster. You are topping up a tank that is already full.

Sweat does contain magnesium, but only a few milligrams per litre. Sodium is the mineral you lose in meaningful amounts. Even a long, hot session costs you a small fraction of your daily magnesium requirement, so a session on its own rarely puts a well fed athlete into a deficit.

Does magnesium stop cramp?

This is the claim most people buy magnesium for, and it is the weakest. A Cochrane review of magnesium for muscle cramp found it unlikely to help in older adults, and studies in athletes are small and mixed.

The better supported explanation for exercise cramp is neuromuscular fatigue. Cramp tends to arrive when you go harder or longer than you have trained for, often in the last third of an event. That points to practical fixes:

  • Pace the first half properly. Going out too hard is the most common cause of late cramp.
  • Keep carbohydrate coming in on a schedule, not when you feel flat.
  • If you are a heavy or salty sweater, look at sodium, which is the mineral you actually lose in quantity.
  • Train the specific demands of the event, including the hills and the duration.

If you get cramp regularly, even with decent pacing and fuelling, speak to your GP. Frequent cramp can have causes that have nothing to do with sport.

Sleep and recovery: what the research can and cannot say

Some small trials suggest magnesium may help sleep quality in people with low intake, particularly older adults. Studies on muscle soreness and recovery in athletes are limited and inconsistent. The pattern is the same across most of this research: the benefit appears when someone starts from a low level, and fades when they do not.

So the useful question is not "should I take magnesium for recovery?" but "is my intake low?". If you eat little in the way of nuts, seeds, beans, wholegrains and greens, or you are restricting calories during a heavy block, you are more likely to be short. If your diet is varied and you eat enough, you probably are not.

Getting magnesium from food first

Food is the simplest route, and it comes with fibre, protein and other minerals. These are approximate values, and they vary by brand and preparation.

Food Portion Approx. magnesium
Pumpkin seeds 30g 150mg
Almonds 30g 80mg
Cooked spinach 100g 85mg
Cooked black beans 100g 70mg
Porridge oats 50g dry 55mg
Banana 1 medium 30mg

A bowl of porridge with a handful of seeds, a bean-based lunch and some greens with dinner gets most people to their target without trying. On a heavy training day, when you are eating more overall, you tend to take in more magnesium as a by-product.

If you decide to supplement

A supplement makes sense if you have a restricted diet, a confirmed low level, or advice from a doctor or dietitian. If you go ahead, a few rules keep it sensible:

  • Stay at or under 400mg a day from supplements. That is the level UK guidance suggests is unlikely to cause harm. Higher doses commonly cause loose stools.
  • Choose the form carefully. Citrate and glycinate are generally better tolerated. Oxide is cheap but is more likely to upset your stomach.
  • Take it away from key sessions. Evening is the usual choice. Do not try something new before a long ride or race.
  • Check first if you have kidney problems or take regular medication. Ask your GP or pharmacist.

Judge it over four to six weeks of normal training. If you cannot point to a change in how you sleep or feel, you have your answer.

What moves the needle more: fuelling on time

For most people, the biggest gains in a long session come from carbohydrate, not minerals. Running out of fuel is what ends rides and runs, and it is also the easiest problem to fix. The table below shows a sensible starting point, and what it looks like in pastilles. Build up gradually in training, because your gut adapts.

Session length Carbs per hour Pastilles per hour
Under 60 minutes Little or none needed 0 to 2
60 to 90 minutes 30 to 60g 2 to 4
2 to 3 hours 60g 4
3 hours plus 60 to 90g 4 to 6

Two pastilles is 30g of carbohydrate, so 4 an hour gives you 60g and 6 an hour gives you 90g. Set a timer for every 15 to 20 minutes and take a small amount each time, rather than waiting until you feel empty.

What We Use at FTP Endurance Fuel

We make Tart Cherry Energy Pastilles and Mixed Fruit Pastilles for exactly this job: steady carbohydrate in a pocket-sized format. Two pastilles make a 34g serving with 30g of carbohydrate, made from a 50:50 mix of glucose and fructose. They are vegan, gluten free (under 20ppm) and caffeine free. A 1kg pack gives you about 30 servings, which works out at roughly £1.43 per 30g of carbs for Tart Cherry.

To be clear about what they are: the Tart Cherry pastilles are tart cherry flavoured. They are a carbohydrate fuel and nothing more. If you want to try before committing to a full pack, the Taster Pack is £5.49.

Separately, our Power Fluids drink mix contains real Montmorency tart cherry, 3g per serving. It is a different product doing a different job from the pastilles.

FTP Tart Cherry flavour Energy Pastilles 1kg pack

Our verdict

Magnesium is worth thinking about if your diet is narrow or you are training hard on too little food. For most cyclists and runners eating a varied diet, though, it is not the missing piece, and it is unlikely to cure cramp on its own. Fix the basics first: pace, sleep, a diet with seeds, beans and greens, and carbohydrate on a timer.

If you want a simple way to hit your hourly carb target, FTP Energy Pastilles have 4.8 stars from 500+ reviews. Awarded Best Energy Chew in the Runner's World Sports Nutrition Awards 2026. Start with the Taster Pack and test it on your next long session.

Updated November 16, 2026

Leave a comment