Quick answer

Both are possible, because regular daily intake matters more for supply than timing. In everyday life magnesium after exercise, with a meal or in the evening, usually suits better because the gut is calmer then. Before training a small portion with some distance is enough.

Not sure which product fits? Get your personal recommendation in 30 seconds — lab-tested & rated, with savings. Start product finder →

Both are possible, and the exact timing matters less than many think: for your supply, regular daily intake counts. In everyday life magnesium after exercise, ideally with a meal or in the evening, suits most people better, because the gut is calmer after the session. Before training a small portion with some distance is enough, especially with a sensitive stomach.

Why that is, what magnesium contributes to muscles and energy during exercise, and how to fit the plan to your training time is set out below.

Magnesium before or after exercise: the direct comparison

Put the two times side by side and the picture is clear:

  • Supply: practically equal, because the body does not top up its reserves to the minute.
  • Tolerability: often better after exercise, because a sensitive gut reacts badly before an intense session.
  • Fit with daily life: after training or in the evening, intake is easier to build into a routine reliably.
  • Combination with a meal: with food magnesium is usually well tolerated, and that is usually easier after training.

All in all, the practical arguments favour taking it after exercise a little more often, and anyone who cannot decide does well with that. Taking it beforehand is not wrong.

Magnesium during exercise: what the mineral contributes to muscles and energy

Magnesium is involved in muscle function in several ways. It contributes to normal muscle function, to normal energy-yielding metabolism, to normal protein synthesis, to the reduction of tiredness and fatigue and to normal electrolyte balance. In training exactly these functions are in demand, because muscles must tense and release in a controlled way, and the body needs energy, protein building blocks and a balanced mix of minerals to do so.

That does not add up to an instant effect but to a supply argument: magnesium works in the background, and anyone who is supplied regularly gives the muscles the foundation they need in every session, whether in strength training with heavy repetitions or in two hours of endurance at the weekend, where energy, muscle function and electrolytes are all demanded at once.

Two things raise the need for attention: sweating heavily, and eating little wholegrain, nuts and vegetables. You know both best from your own routine, and both can be covered with a fixed intake plan.

Magnesium before sport and before training: when it makes sense

Anyone who takes it before exercise wants to be sure the mineral is available in the body. That is understandable, but the effect cannot be compared with caffeine. Magnesium is absorbed through the gut and built into metabolism; under load the body falls back on its existing reserves, not on the portion you swallowed half an hour earlier.

There is also a practical point. Some people react to larger single amounts with loose stools, and in the middle of an intense session that is unpleasant. If you take it before training, choose a smaller amount and allow some distance, ideally in a well-tolerated form such as magnesium bisglycinate.

Magnesium after training: why it often fits better

After exercise the recovery phase begins, the gut is calmer again, and taking it with a meal now works more easily, which makes it noticeably more comfortable for most people than a portion on the way to the gym. Anyone who trains in the evening naturally links the time after sport with winding down. Magnesium contributes to the normal function of the nervous system, and many people therefore find evening intake fitting.

Evening intake is also easier to turn into a fixed habit, and habit matters more with magnesium than any single minute. If you train in the morning, simply take it with breakfast or lunch, after the session and after the first hunger.

Magnesium before or after running and jogging

For running and jogging the same applies, with one extra rule: your stomach bounces along. A full portion just before the start is therefore not a good idea. Better is magnesium after the run, together with something to eat and a glass of water. On long sessions or in the heat, the minerals you lose through sweat also matter: our electrolyte complex fits here, combining magnesium, potassium, calcium, sodium and chloride.

Fitting magnesium to your training: a plan by training time

The following plan follows your training time, not a rigid clock time:

  • You train in the morning: magnesium with breakfast or lunch, after training.
  • You train at midday or in the afternoon: magnesium with dinner, so there is room between session and portion.
  • You train in the evening: magnesium after training, with a late dinner or a light snack.
  • You train irregularly: magnesium always with the same meal, regardless of sport.

If your daily amount is higher, split it into two smaller portions. With a tighter supply the body usually absorbs magnesium better from more frequent small amounts, and tolerability improves.

Magnesium before or after food: taking tablets and capsules gently on the stomach

Magnesium before or after eating is less a question of effect than of tolerability. Taken with a meal or shortly after, the stomach usually copes better than on an empty stomach. With a very sensitive stomach a smaller amount or the form helps: bisglycinate is regarded as particularly gentle on the stomach.

How much magnesium do athletes need per day?

For adults the DGE gives an estimated value of 350 mg a day for men and 300 mg for women. If you sweat heavily, for instance in competitive sport or in the heat, your need can be higher, and a balanced diet covers a large part: 60 g of oat flakes supply 77 mg, 150 g of cooked spinach a good 90 mg, 20 g of pumpkin seeds 57 mg and 150 g of banana 45 mg.

Where food does not close the gap, a supplement comes in. Our magnesium complex delivers 400 mg of elemental magnesium in two capsules, the magnesium bisglycinate 360 mg in three capsules.

Typical timing mistakes and how to avoid them

Three misconceptions keep turning up in practice. The first is the expectation that magnesium acts like an energy surge if you take it shortly before sport; the body actually falls back on its reserves, and those fill over days and weeks, not in the changing room.

The second mistake is a large single amount right before a hard session, which brings digestive trouble instead of progress. And the third: anyone who ignores diet gives away a lot, because with oat flakes, pumpkin seeds, spinach and wholemeal bread you already cover a good part of your need before a capsule is added. Then the timing around training is secondary.

Magnesium and cramps during sport: what else counts

Muscle cramps in sport often have several causes, including fatigue of the muscles, shortened muscles and heavy sweating with too little fluid, and so practical prevention is a mix of gradually increased training intensity, enough drinking and a balance of electrolytes, for example an apple spritzer with a pinch of salt during intense training. Magnesium remains one building block of your basic supply.

Matching Products from Scheunengut

Our magnesium complex combines four bioactive magnesium sources with 400 mg of elemental magnesium in the daily dose of two capsules; 180 capsules last 90 days. If you also want amino acids for recovery, you will find the magnesium in the "Scheunengut Essentials" bundle together with our Amino Intenso. The magnesium bisglycinate is a chelate in which each magnesium ion is bound to two glycine molecules, gentle on the stomach, vegan and with 360 mg of elemental magnesium in three capsules; 240 capsules last 80 days. Magnesium contributes to normal muscle function and to the reduction of tiredness and fatigue.

If you sweat a lot, complete the plan with the electrolyte complex of magnesium, potassium, calcium, sodium and chloride, 360 tablets, honestly declared and without added sugar. For the evening there are also our melatonin tablets with 1 mg and a break line; melatonin contributes to reducing the time it takes to fall asleep.

Scheunengut has existed since 2012, without investors and with a focus on pure raw-material quality; all products are made in Germany and Europe (incl. Switzerland, Austria) and lab-tested.

Frequently Asked Questions (FAQ)

Do you take magnesium before or after exercise, and should I take it in the evening?

Both are possible. For supply the exact time is secondary; regular intake is what matters. For practical reasons taking it after exercise, for example with a meal or in the evening, is often better tolerated; if you train in the evening, take it after training, if you train in the morning, with breakfast or lunch.

Does magnesium work instantly if I take it before training?

No. Magnesium is absorbed through the gut and built into metabolism. During exertion the body falls back on its existing stores, not on the portion you just swallowed. Regular intake is what counts.

How much magnesium do athletes need per day?

The DGE gives an estimated value of 350 mg for adult men and 300 mg for women, and heavy sweating can raise the need during intense training, which a balanced diet covers to a large extent as long as wholegrain, nuts and vegetables regularly end up on your plate.

Can magnesium before exercise upset the gut?

In sensitive people larger amounts can lead to loose stools, and right before an intense session that is unfavourable; a smaller amount with some distance or taking it after training is then clearly more comfortable, especially for runs and intervals.

Which foods supply a lot of magnesium?

Rich in magnesium are oat flakes, pumpkin and sunflower seeds, spinach, wholemeal bread, pulses and nuts. A varied diet with these foods forms the basis of supply.

Magnesium before or after running and jogging?

After the run, together with something to eat and water. Before the start a full portion burdens the stomach, and on long sessions or in the heat it is also worth looking at the electrolytes you lose through sweat.

Take magnesium before or after food?

With the meal or shortly after, because then the stomach usually tolerates it best. With a sensitive stomach a smaller portion or a gentle form such as bisglycinate helps.

Was this guide helpful?

Health notice: This guide is for general information purposes only and does not replace individual medical or pharmaceutical advice. Food supplements are not a substitute for a balanced, varied diet and a healthy lifestyle. If you have health concerns, are pregnant or breastfeeding, or are taking medication, please consult a doctor or pharmacist. How our guides are created →

Sources

  1. German Nutrition Society: Reference values magnesium — DGE, 2021
  2. EU Regulation 432/2012 on authorised health claims — EUR-Lex, 2012
  3. Magnesium against muscle cramps — Federal Centre for Nutrition (BZfE), 2026
  4. Selected questions and answers on magnesium — German Nutrition Society (DGE), 2025
  5. Magnesium: what to consider — Consumer Advice Centre (Verbraucherzentrale), 2026