Does 400 mg magnesium glycinate at night reduce my migraine days?
Jordan Reyes
Posted June 18, 2026
Summary
Over 12 weeks I alternated 3-week blocks of nightly magnesium glycinate with 3-week blocks of nothing. Migraine days dropped from ~3/week off magnesium to ~1.5/week on it. Encouraging, but unblinded and confounded by better sleep.
Background
I get 2–4 migraine days most weeks. A neurologist mentioned magnesium as a low-risk thing some people try, so I decided to test it on myself properly rather than just "see how it goes."
Method
I used an ABAB design: alternating 3-week blocks with no magnesium (A) and 3 weeks of 400 mg magnesium glycinate taken ~30 minutes before bed (B). I kept a simple headache diary in my notes app every morning, logging whether I had a migraine the previous day and, if so, the peak pain on a 0–10 scale.
I tried to keep everything else constant — caffeine, work schedule, screen habits — though life isn't a lab.
Results
| Phase | Weeks | Migraine days/week | Mean pain on migraine days |
|---|---|---|---|
| A (off) | 1–3 | 3.0 | 6.4 |
| B (on) | 4–6 | 1.7 | 5.8 |
| A (off) | 7–9 | 2.7 | 6.1 |
| B (on) | 10–12 | 1.3 | 5.2 |
Averaged across blocks, migraine days fell from 2.85/week off to 1.5/week on — roughly a 47% reduction. Pain intensity dropped only slightly.
Discussion
The on/off pattern repeating twice makes me more confident this isn't pure chance. But there are real limitations:
- Unblinded. I knew which phase I was in, so expectation effects are likely.
- Sleep confound. Magnesium seemed to improve my sleep, and poor sleep is one of my migraine triggers — so the effect may be indirect.
- Short blocks. 3 weeks is not long; a single bad week swings the average.
Conclusion
For me, nightly magnesium glycinate is associated with meaningfully fewer migraine days, and the cost/risk is low enough that I'm continuing it. I would not generalize this to anyone else — but I'd love for someone to try a blinded version (e.g., identical-looking capsules) and post their results here.
Cite this study
Jordan Reyes (2026). Does 400 mg magnesium glycinate at night reduce my migraine days?. nof1rxiv. nof1rxiv:2026.0002. https://nof1rxiv.org/study/magnesium-migraine