Morning with coffee or last thing before bed? It's one of the most-asked questions about magnesium, and the internet answers it with a lot of confidence. The research is quieter. What it does show is useful, though, and it points less at the clock than at how much you take in one go and what else you're swallowing alongside it.
The short answer
There's no clinical evidence that one time of day makes magnesium "work better" for most people. The best time is the one you'll stick to, ideally with food, and split into smaller doses if you're taking more than one capsule a day. The exceptions are about practicalities: certain medicines, a sensitive stomach, and an evening routine you want to build around it.
How much do you actually need?
The NHS puts adult needs at 300mg a day for men and 270mg a day for women aged 19 to 64, and says most people should be able to get this from a varied diet: leafy greens, nuts, wholegrains.[1] If you supplement, the same guidance says that 400mg or less a day from supplements is unlikely to cause any harm, while higher doses taken over a short time can cause diarrhoea.[1]
So supplementing isn't about piling it on. It's about topping up sensibly, and that's where timing quietly starts to matter.
Why splitting the dose beats the clock
Your gut doesn't absorb magnesium at a fixed rate. In a classic study published in the Journal of Clinical Investigation, Fine and colleagues added increasing amounts of magnesium to a standard meal and measured how much was absorbed. Total absorption rose with each step up, but the proportion absorbed fell steadily, from about 65% at the lowest intake to 11% at the highest.[2]
That was a small, controlled study using magnesium acetate, so it isn't a precise guide to any particular capsule. But the principle holds up: the gut handles magnesium more efficiently in smaller portions. Which is why the trials on magnesium and sleep, covered below, mostly gave it two or three times a day rather than all at once.[4]
In practice, one capsule with breakfast and one with your evening meal will usually serve you better than two together at bedtime.
With food or on an empty stomach?
With food, for most people. Not because there's a trial proving magnesium needs a meal to be absorbed (the Fine study itself gave it with one), but because the most common complaint about magnesium is digestive. High doses can cause diarrhoea, nausea and abdominal cramping, according to the US National Institutes of Health.[3] Taking it alongside food, in smaller amounts, is the simplest way to keep your stomach on side.
Form plays a part here too. The NIH notes that forms which dissolve well in liquid, such as citrate, tend to be better absorbed than magnesium oxide.[3] Glycinate is widely chosen by people with sensitive stomachs for the same gentle reputation. If you're weighing up forms, our guide to magnesium glycinate vs citrate goes deeper.
So is night-time better for sleep?
This is the claim doing most of the work in "take it before bed" advice, so it's worth being straight about it.
A 2021 systematic review in BMC Complementary Medicine and Therapies pooled the randomised trials on oral magnesium for insomnia in older adults. It found just three trials, with 151 people in total. In the two that measured it, people taking magnesium fell asleep about 17 minutes faster than those on placebo.[4] The authors were candid: the evidence was low quality, the trials carried a high risk of bias, and they called the clinical significance of that 17 minutes "debateable".[4]
And crucially for this question, those trials gave magnesium two or three times across the day. None of that evidence shows a single bedtime dose beats spreading it out.
Officially, the claims magnesium is allowed to make in the UK are about everyday function: it contributes to the normal functioning of the nervous system, normal psychological function, normal muscle function and a reduction of tiredness and fatigue.[5] Sleep isn't on that list. If an evening capsule becomes part of a wind-down ritual you enjoy, that's a perfectly good reason to take it then. Just know it's habit, not chemistry, doing the deciding. We unpick the sleep question further in magnesium glycinate and sleep.
"Just know it's habit, not chemistry, doing the deciding."
When timing really does matter: medicines
Here the clock is worth watching. Magnesium can bind to some medicines in the gut and reduce how much of them you absorb. The NIH advises taking magnesium supplements at least two hours before or after oral bisphosphonates (used for osteoporosis), and notes that certain antibiotics, including tetracyclines and quinolones, also need to be kept apart from magnesium.[3]
If you take any regular prescription, ask your GP or pharmacist how to space your magnesium around it. It's a two-minute question, and they can give you exact timings for your medicine.
A routine that actually works
Put it together and the gold standard is refreshingly unglamorous: a modest daily amount, split across meals, at times you won't forget.
- Split, don't stack — take one capsule with breakfast and one with your evening meal rather than everything at once.
- Pair it with food — kinder on the stomach, and easy to anchor to a habit you already have.
- Mind your total — keep supplemental magnesium at 400mg a day or less, in line with NHS guidance.
- Space it from medicines — check timings with your pharmacist if you take bisphosphonates or antibiotics.
That's exactly why our Magnesium Glycinate is dosed the way it is: 100mg of elemental magnesium per capsule, taken up to three times a day. Small, even portions you can spread across your meals, rather than one big hit your gut has to wrestle with, and a maximum daily serving that sits within the NHS 400mg line.
The bit nobody puts on the label
Consistency beats cleverness. A capsule taken every day with lunch will do more for your intake than a perfectly timed one you forget three nights a week. Pick a meal you never skip, leave the bottle somewhere you'll see it, and let the habit do the rest.
Frequently asked questions
Should I take magnesium in the morning or at night?
Either is fine. There's no good evidence that one time of day improves how well magnesium works. Splitting your daily amount across meals, for example breakfast and dinner, is a more useful habit than choosing a specific hour.
Can I take magnesium every day?
Yes. The NHS says 400mg or less a day of magnesium from supplements is unlikely to cause any harm. Higher doses can cause diarrhoea, so stick to the serving on the pack.
Should magnesium be taken with food?
For most people, yes. High doses of magnesium can upset the stomach, and taking smaller amounts alongside meals is the simplest way to avoid that. It also makes it easier to remember.
Can I take magnesium with other medicines?
Magnesium can reduce the absorption of some medicines, including oral bisphosphonates and certain antibiotics, so they usually need to be taken a few hours apart. Ask your GP or pharmacist for the right spacing for your prescription.
Sources
- NHS — Vitamins and minerals: Others (magnesium daily needs; 400mg-or-less supplement guidance; diarrhoea at high doses). https://www.nhs.uk/conditions/vitamins-and-minerals/others/
- Fine KD, Santa Ana CA, Porter JL, Fordtran JS. Intestinal absorption of magnesium from food and supplements. J Clin Invest 1991;88(2):396–402 — fractional absorption fell from 65% to 11% as intake rose. https://www.jci.org/articles/view/115317
- NIH Office of Dietary Supplements — Magnesium: Fact Sheet for Health Professionals (side effects of high doses; absorption by form; medicine interactions and spacing). https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complement Med Ther 2021 — 3 RCTs, 151 participants, low-quality evidence; doses given two to three times daily. https://link.springer.com/10.1186/s12906-021-03297-z
- Commission Regulation (EU) No 432/2012, Annex — authorised health claims for magnesium (retained in UK law). https://www.legislation.gov.uk/eur/2012/432/annex
At Oxford Origins, your wellbeing is our priority, and although we pride ourselves on our expertise in nutrition and supplementation, it's important to acknowledge the individuality of each person. Articles published by Oxford Origins are not intended to treat, diagnose, cure or prevent any disease, or replace the advice of your GP. We always recommend consulting with a healthcare provider if you encounter any health concerns, and we'll always be here to support you so you're never alone on your journey.















