Magnesium supplementation has reasonable evidence behind it for reducing migraine frequency and intensity, and that benefit may extend to headaches triggered by exercise for some people. It works as prevention, taken consistently over weeks, not as a quick fix once pain has started. If your exercise headaches are new, severe, or come with neurological symptoms, see a GP before trying anything, including magnesium.
TL;DR:
- Magnesium effectively reduces migraine frequency and intensity when taken consistently over several months, with evidence supporting its preventive role.
- Supplementation at around 600 mg daily, particularly in the form of magnesium bisglycinate, is better tolerated and more suitable for long-term use.
- It is not a quick fix for immediate headache relief; benefits develop gradually through sustained intake rather than rapid symptom alleviation.
- People with severe, sudden, or neurological headache symptoms should see a doctor before starting magnesium or other supplements.
- Combining magnesium with proper hydration, nutrition, and gradual training load management enhances its potential to reduce exercise-related headaches.
Table of Contents
- What the clinical evidence shows about magnesium and headache prevention
- How magnesium might work for exercise related headaches
- Forms, doses and timeline for trying magnesium
- Safety, side effects and drug interactions exercisers must watch
- A practical routine for exercisers to reduce headache risk
- When to get checked for exercise headaches
- Tim’s advice for runners dealing with exercise headaches
- What exercisers get wrong about magnesium and headaches
- If you want a ready option: Ready, magnesium for runners
- Sources
- FAQ
What the clinical evidence shows about magnesium and headache prevention
The strongest evidence sits at the umbrella review level, which pools findings from many systematic reviews and meta-analyses. One such umbrella review rated the evidence for magnesium reducing migraine frequency and intensity as strong under the GRADE system, placing it among the better-supported uses of the supplement across the health outcomes examined.
Trial-level data adds a more specific picture for exercisers. A randomised, placebo-controlled trial combined high-intensity interval training with vitamin B12 and magnesium supplementation and found the combined group saw greater reductions in migraine frequency, intensity and duration than other groups over the study period. That matters here because it is one of the few trials to test supplementation alongside structured exercise rather than in isolation, which is closer to the situation most runners and gym-goers are actually in.
Separate clinical guidance on nutriceutical treatments for migraine echoes this, noting magnesium’s established role in migraine prophylaxis and guidelines on typical clinical protocols.
Three points temper the enthusiasm:
- Most trials studied migraine broadly, not exertional headache specifically, so the exercise-headache link is inferred rather than directly proven.
- Study populations and durations vary, making it hard to pin down one “right” dose or timeline that fits everyone.
- Supplementation tends to help as part of a wider prevention plan, alongside training load management and hydration, not as a standalone cure.
None of this means magnesium is irrelevant to exercise headaches. It means the evidence supports a preventive trial worth taking seriously, rather than a guaranteed fix.
How magnesium might work for exercise related headaches
Magnesium’s plausible role in headache prevention comes down to a few overlapping mechanisms, none of which fully explain exertional headache on their own but which together build a reasonable case.
- Magnesium regulates nerve excitability and is involved in processes linked to CGRP and neurogenic inflammation, both implicated in migraine pathophysiology.
- It supports normal muscle relaxation, and the cramping or tension that can build in the neck and shoulders during hard efforts may itself provoke headache.
- Heavy sweating during prolonged or intense exercise can increase magnesium losses, potentially leaving some exercisers running a relative shortfall without realising it.
Magnesium supplementation has strong supporting evidence for reducing migraine frequency and intensity, according to an umbrella review of systematic reviews, which is one reason clinicians consider it a reasonable preventive option rather than dismissing it as a fad.
This is also why magnesium fits better as something you take regularly rather than reach for mid-headache. None of the mechanisms above act quickly: nerve excitability and muscle tone shift gradually with sustained intake, not within minutes of swallowing a capsule after a run.
Forms, doses and timeline for trying magnesium
Not all magnesium supplements behave the same way in the gut, and that affects whether people stick with them long enough to find out if they work.
- Magnesium oxide and citrate are common and cheap but tend to cause looser stools at higher doses, which can put people off before they reach a useful intake.
- Magnesium bisglycinate (sometimes labelled glycinate) is generally better tolerated, making it a sensible choice for a nightly routine you intend to keep up for months. A useful independent comparison of magnesium glycinate versus citrate sets out the absorption and tolerability differences in more detail.
- Topical magnesium (oils, flakes, baths) is widely used for muscle tension but has limited evidence for treating headaches directly, so it works best as an add-on rather than the main strategy.
On dosing, clinical guidance on nutriceutical treatments for migraine notes prophylaxis protocols in the region of 600 mg per day, though self-prescribing at that level without medical input is not advisable, particularly for anyone with kidney issues or other medications to consider. Lower doses from food and modest supplementation are a safer starting point for most people.
Patience matters more than dose here. The same guidance indicates that migraine prevention benefits typically need 3 to 4 months of consistent use before you can judge whether magnesium is actually helping, which rules out a one-week trial as a fair test. A fuller breakdown of what to expect week by week is covered in how long magnesium takes to work for runners.
Pro Tip: Take your magnesium with food and split a higher dose across two servings rather than one large dose, which reduces the chance of an upset stomach.
Safety, side effects and drug interactions exercisers must watch
Magnesium is generally well tolerated, but it is not risk-free, and a few interactions matter specifically for people who exercise regularly and may be on other medication.
- Diarrhoea is the most common side effect, more likely with oxide or citrate forms and at higher doses; switching to bisglycinate or lowering the dose usually resolves it.
- Tetracycline and fluoroquinolone antibiotics can have reduced absorption when taken alongside magnesium, and guidance on these interactions recommends spacing doses, often by 2 to 6 hours, or checking with a pharmacist during a course of antibiotics.
- People with reduced kidney function are at higher risk of magnesium building up in the blood (hypermagnesaemia), and UK government guidance advises checking kidney function and seeking medical advice before taking moderate-to-high supplemental doses.
- Anyone who is pregnant, managing another chronic condition, or taking multiple medications should check with a GP or pharmacist before starting a new supplement, since individual circumstances change what counts as a safe dose.
Clinical guidance states that secondary causes of headache occur in a very small minority of presentations, according to NICE Clinical Knowledge Summaries, which is reassuring, but it is also precisely why red-flag symptoms should never be self-managed with a supplement alone. A more detailed look at side effects and how to manage them is covered in magnesium side effects: what you need to know.
A practical routine for exercisers to reduce headache risk
Supplementation works best alongside a few habits that address the other common triggers behind exercise headaches.
- Build magnesium-rich foods into your week: nuts, seeds, leafy greens and oily fish are an easy, low-risk way to raise intake before reaching for a supplement.
- Fuel and hydrate properly before hard sessions, since low blood sugar and dehydration are both common and underrated triggers for headaches during or after training.
- Avoid sudden straining or breath-holding during heavy lifts, which can provoke a sharp exertional headache in susceptible people through a Valsalva-type effect.
- Add your magnesium capsule to an existing evening habit, such as straight after your last meal, so it becomes automatic rather than another thing to remember.
Topical magnesium, whether as an oil rubbed into the neck and shoulders or added to a bath, may ease local muscle tension that contributes to tension-type headache, though it is not a substitute for oral supplementation if migraine prevention is the goal. For more on how electrolyte balance and sweat losses interact with magnesium during training, see magnesium and electrolytes.
Pro Tip: If you train in the evening and struggle to sleep afterwards, taking magnesium with your post-run meal does double duty: it supports recovery and fits naturally into a wind-down routine.
When to get checked for exercise headaches
Most exercise-triggered headaches are benign, but a few symptoms mean you should see a GP rather than experiment with supplements first.
- A sudden, severe headache unlike any you have had before, especially one that peaks within seconds (a thunderclap pattern).
- Headache with neurological signs such as visual disturbance, slurred speech, weakness, or loss of consciousness.
- New headaches that started after a head injury, or that worsen steadily over days.
A GP will typically check blood pressure, review your current medications, and may run basic blood tests; MRI or specialist referral is considered selectively, not routinely. NICE guidance confirms that secondary causes are uncommon, but ruling them out first is still the right order of operations before trying magnesium or anything else.
Tim’s advice for runners dealing with exercise headaches
If you are a runner wondering whether to try magnesium, start simply: a bisglycinate supplement in the evening, at a modest dose, kept consistent for at least 8 to 12 weeks, with a note of headache frequency so you can judge the trend rather than any single bad week.

This approach aligns with supplements formulated to support everyday runners, focusing on magnesium bisglycinate, with features such as UK-based production and satisfaction guarantees common in the category. That focus is factual context for anyone weighing up forms and products, not a reason to skip the basics above.
What exercisers get wrong about magnesium and headaches
The biggest misstep is treating magnesium as a rescue remedy, swallowing a capsule mid-headache and judging it a failure when nothing happens within the hour. The evidence base, including the umbrella review and the combined exercise and supplementation trial, points firmly towards prevention over weeks, not relief over minutes.
The second mistake is chasing the highest dose on the shelf, assuming more must work faster. Tolerability, not raw milligrams, is usually what determines whether someone sticks with a supplement long enough to see any effect at all.
What matters most is consistency, the right form for your gut, and realistic expectations. Fix the fuelling and hydration habits first, since those are free and often doing more damage than people realise, then give magnesium a fair, several-month trial rather than a rushed one.
— Tim
If you want a ready option: Ready, magnesium for runners
If the research above has convinced you it is worth trying magnesium rather than guessing which brand to buy, RunComplete makes Ready specifically for runners dealing with recovery, sleep and muscle tension, the same issues that often sit alongside exercise headaches.

- Magnesium bisglycinate, chosen for better gastro-intestinal tolerability than cheaper forms.
- Formulated specifically for everyday runners, not elite athletes or general gym supplements.
- UK-made, with a 30-day guarantee if it does not suit you.
A sensible trial looks like one capsule in the evening with food, kept up for 8 to 12 weeks while you track headache frequency. Ready is available as a one-off purchase at £34.99 or through the Subscribe & save plan for ongoing use, both on the Ready product page.
Sources
- The use of Nutriceuticals (Herbal) Treatments in Migraine treatment
- Scenario: Headache - diagnosis | CKS | NICE
- Artificial intelligence analysis to explore synchronize exercise, cobalamin, and magnesium as new actors to therapeutic of migraine symptoms: a randomized, placebo-controlled trial
- Magnesium and health outcomes: an umbrella review of systematic reviews and meta-analyses
FAQ
Does exercise lower magnesium levels?
Heavy sweating during prolonged or intense exercise can increase magnesium losses, which may leave some exercisers running a relative shortfall if their diet does not keep pace. This is one plausible reason exertional headaches and muscle tension show up more in people training hard without adjusting their intake.
How to get rid of magnesium headaches?
If you mean a headache linked to low magnesium status, the evidence supports consistent supplementation over weeks rather than a single dose for instant relief. Clinical guidance on nutriceutical treatments for migraine points to trial periods of 3 to 4 months before judging benefit.
Should I take magnesium if I have a headache?
Magnesium is not an acute pain reliever, so taking it during a headache is unlikely to bring quick relief. It is better suited to ongoing prevention, and anyone with severe, new or unusual headache symptoms should see a GP rather than rely on supplementation alone.
Why does magnesium reduce headaches?
Magnesium is thought to influence nerve excitability and processes linked to migraine pathophysiology, alongside supporting normal muscle relaxation that can ease tension-related triggers. An umbrella review of systematic reviews found strong supporting evidence for its effect on migraine frequency and intensity, though the exact mechanism in exertional headache specifically is less well studied.