Quick answer

For your supply, a regular daily intake matters more than timing. For practical reasons, magnesium is often better tolerated after exercise, for example with a meal or in the evening, than directly before an intense session. Both timings are perfectly possible in principle.

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

Magnesium is a popular topic among people who are physically active. Many wonder whether it is better to take the mineral before training or afterwards. The short answer first: for your supply, a regular, even intake spread across the day matters more than the exact timing around your workout. Even so, there are good reasons to look at both moments more closely. In this guide we compare taking magnesium before and after exercise, put the approved EU claims into context and give a practical recommendation.

The short answer

There is no scientifically proven ideal that strictly prescribes taking magnesium before or after exercise. What matters is that your body receives enough magnesium across the day and across the week. Whether you take it in the morning, before training, afterwards or in the evening is largely something you can arrange around your tolerability and your daily routine. According to the approved EU claims, magnesium contributes, among other things, to normal muscle function, to electrolyte balance and to the reduction of tiredness and fatigue.

Magnesium before exercise

Those who take magnesium before training often want to make sure the mineral is available during exertion. Magnesium contributes to normal muscle function and to electrolyte balance – functions that are called upon during sport. When sweating, the body also loses electrolytes.

However, one thing to bear in mind: magnesium does not take effect immediately like an energy boost, but is first absorbed through the gut and integrated into the metabolism. During exertion the body draws on its existing stores, not on the portion just swallowed. Another practical point: some people are sensitive and get loose stools from higher magnesium doses. Directly before an intense session that is inconvenient. Anyone taking magnesium before exercise should therefore opt for a smaller amount and leave a certain time gap.

Magnesium after exercise

Taking it after training is popular among many active people, because sweating causes electrolyte losses and the recovery phase begins. Magnesium contributes to normal energy-yielding metabolism and to the normal function of the nervous system, and is involved in electrolyte balance. After exertion the gastrointestinal tract is also often more relaxed, so intake is well tolerated – especially in combination with a meal.

Another advantage: magnesium fits well into a daily routine in the evening after exercise. As it contributes to the normal function of the nervous system and the muscles, many find taking it in the evening pleasant. Those who train in the late afternoon or evening often naturally connect the post-exercise moment with winding down for the day.

Direct comparison: before or after exercise

Comparing both moments gives the following picture:

  • Effect on your supply: practically equivalent – the body replenishes its stores regardless of minute-by-minute timing.
  • Tolerability: often better after exercise, because a sensitive gut is inconvenient before an intense session.
  • Electrolyte losses through sweat: tend to argue for intake after exertion.
  • Everyday practicality: after training or in the evening, intake can usually be built into your routine more reliably.
  • Combination with a meal: magnesium is generally well tolerated with a meal – which is often easier to manage afterwards.

On balance, the practical arguments slightly more often favour taking it after exercise, without taking it beforehand being wrong.

Why regularity matters more than timing

Magnesium is stored in the body, mainly in the bones and in the muscles. These stores are not filled or emptied by a single portion, but reflect intake over a longer period. That is why the decisive question is not whether you take magnesium at 5 or 7 pm, but whether you are overall adequately and regularly supplied. The German Nutrition Society gives a reference value for adults of around 300 to 400 mg per day, depending on age and sex.

People who are physically active tend to have a slightly higher need due to sweating. A balanced diet with wholegrain products, nuts, pulses and green vegetables provides plenty of magnesium and forms the basis.

Magnesium and the muscles during exercise

Why is magnesium such a prominent topic among physically active people in the first place? According to the approved EU claims, magnesium contributes to normal muscle function and to a normal function of the nervous system – both are called upon during physical exertion, since muscles have to contract and relax again in a controlled way. Added to this is the contribution to energy metabolism and to electrolyte balance. During intense sweating the body loses not only fluid but also minerals. That explains why many active people pay particular attention to their magnesium intake in sweat-inducing phases – for example in summer or during endurance sessions. What remains important, however: these contributions relate to a normal supply, not to a short-term effect of individual portions.

The right dosage and distribution

With magnesium, it is not only the timing but also the amount per intake that plays a role in tolerability. Larger single doses can cause loose stools in sensitive people, because magnesium that is not absorbed binds water in the gut. Anyone aiming for a higher daily amount therefore does better to split it into two smaller portions across the day – for example one in the morning and one after training or in the evening. This improves digestibility and at the same time ensures a more even intake. The form of the supplement and individual sensitivity also determine what amount per portion is well tolerated.

Common mistakes with timing

In practice there are a few typical misunderstandings. A common misconception is the expectation that magnesium will act immediately like an energy boost if you take it shortly before exercise – that is not the case, since the body draws on its stores. Another mistake is taking a large amount all at once directly before an intense session and then struggling with digestive discomfort. And finally, some underestimate the role of diet: anyone who already eats plenty of wholegrains, nuts and green vegetables already covers a large part of their needs through food. Timing around training is therefore less decisive than is often assumed.

Practical recommendation

If you cannot decide, taking magnesium after exercise – ideally with a meal or in the evening – is the most practical and best-tolerated route for most people. More important than the exact timing, however, is that you ensure a good supply every day. Choose the moment you can reliably fit into your daily routine, and if necessary split larger amounts into several smaller portions to improve tolerability.

If you have the feeling that, despite a balanced diet, you are not adequately supplied, or if you train intensely on a regular basis and are unsure, it is best to discuss your individual needs with your doctor. Food supplements are not a substitute for a balanced diet.

Suitable products

There are combination supplements that bundle magnesium with other substances. The Melatonin Sleep Complex by Scheunengut, for example, combines magnesium with melatonin and is designed for the evening routine. In it, according to the approved EU claims, magnesium contributes to normal muscle function and to the reduction of tiredness and fatigue. Whether such a product suits your training and daily rhythm depends on your individual needs.

Frequently asked questions (FAQ)

Should I take magnesium before or after exercise?

Both are possible. For your supply the exact timing is secondary; what matters is a regular intake. For practical reasons, taking it after exercise, for example with a meal or in the evening, is often better tolerated.

Does magnesium act immediately if I take it before training?

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

How much magnesium do athletes need per day?

The German Nutrition Society gives a reference value of around 300 to 400 mg per day for adults. Sweating can slightly increase the need during intense training. A balanced diet covers a large part of this.

Can magnesium before exercise upset the gut?

In sensitive people, higher doses can cause loose stools. Directly before an intense session that is inconvenient. A smaller amount with a little time gap, or taking it after training, is then more comfortable.

Which foods provide a lot of magnesium?

Rich in magnesium are wholegrain products, nuts, pumpkin seeds, pulses, green leafy vegetables and rolled oats. A varied diet featuring these foods forms the basis of your supply.

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 for magnesium — DGE, 2021
  2. EU Regulation 432/2012 on permitted health claims — EUR-Lex, 2012
  3. Magnesium for Muscle Cramps — German Federal Centre for Nutrition (BZfE), 2026