In short: The best approach is to take magnesium every day with the same meal: a little more gets absorbed with food, and you won't forget it. If you take more than about 250 mg, split it across two meals so that a larger share is absorbed. Leave a gap of a few hours from thyroid tablets and certain antibiotics. Whether you take it in the morning or at night is entirely up to your daily routine.
Key points
- Timing matters little, consistency matters a lot: take magnesium whenever you are least likely to forget it.
- With food: a little more of it gets absorbed.
- Little and often beats one big dose: your body absorbs a larger share of small doses.
- Keep a gap from certain medicines: especially thyroid hormone, some antibiotics and osteoporosis drugs.
- Be patient: it takes a few months for your blood magnesium level to settle.
Contents
- Is there a best time of day?
- Morning or night?
- Before, with or after food?
- All at once or split?
- What should you not take with magnesium?
- Before or after exercise?
- How long does magnesium take to work?
- Your magnesium routine
- Frequently asked questions
- Limits of the research and all sources
Is there a best time of day to take magnesium?
The best time is the one at which you reliably take magnesium every day. The easiest way to manage that is to link it to a fixed meal, breakfast for example.
What the studies show: Researchers measured blood magnesium every three hours over 24 hours. It stayed stable throughout the day, whether in the morning, at midday or at night.8 So you are free to choose your own time.
Should you take magnesium in the morning or at night?
Either works. Many people take magnesium at night as a fixed part of their evening routine, and sleep studies have produced positive findings for this. If that suits you, the evening is a good fixed time. If you are more likely to remember in the morning, take it in the morning: for your magnesium intake itself, the time of day makes no difference.
What the studies show: Several controlled studies found sleep benefits. In an analysis of three studies in older people who slept poorly, participants taking magnesium fell asleep around 17 minutes faster.9 In another study, 46 older people took 500 mg of magnesium as magnesium oxide for eight weeks and afterwards scored better in several sleep tests.10
There is also a positive finding for magnesium bisglycinate, in which magnesium is bound to the amino acid glycine. In a controlled study from Germany, 155 adults with poor sleep took 250 mg of magnesium as bisglycinate or a placebo for four weeks. In the bisglycinate group, sleep problems, as measured by questionnaire, fell more sharply, most clearly in people with little magnesium in their diet.25 Glycine itself has also been studied: 3 g before bed improved perceived sleep quality and shortened the time it took to reach deep sleep.26
Our take: If you sleep poorly, the evening is a sensible time for your magnesium. There are positive sleep findings with various forms, from magnesium oxide to bisglycinate. Take it with your evening meal, stay at no more than 250 mg from supplements and give it four to eight weeks, as that is how long the studies ran. Whether one form does more for sleep than another is something direct comparison studies have yet to show.
Should you take magnesium before, with or after food?
Ideally with food, as your body then absorbs a little more. Taking it on an empty stomach is not harmful, just not ideal.
Tip: Meals that are very high in wholegrains slow absorption. If you have wholegrain toast or porridge for breakfast, your evening meal may be the better moment.

What the studies show: In one measurement, just over a tenth more magnesium was absorbed with a meal than on an empty stomach.4 The effect of phytic acid, found in wholegrains and pulses, is clear: it cut absorption from bread to less than half.7 Protein, if anything, helps absorption.6
Should you take magnesium all at once or split the dose?
Split it once the amount goes up. Your gut can only absorb a limited amount of magnesium at a time.1, 2 The larger the dose, the smaller the share that actually gets absorbed. Two smaller doses are therefore better than one large one, and they are usually easier on the stomach too: the typical side effect of magnesium, loose stools, mainly occurs with larger amounts.20
How to do it: If you take more than about 250 mg a day, split it between breakfast and your evening meal. For example, with 300 mg a day, take 150 mg with breakfast and 150 mg with your evening meal. You can split smaller amounts too if that suits you better.
What the studies show: With very small amounts, the body absorbs around 70%; with about 300 mg in one go, only around 20%.2 One study tested this in everyday conditions: twelve men were given the same amount of magnesium over a day, once in seven small portions and once in two large ones. With the small portions, just over half was absorbed; with the large ones, just under a third.3
| Amount in one go | Share absorbed |
|---|---|
| 7 mg | approx. 70% |
| 30 mg | approx. 48% |
| 100 mg | approx. 29% |
| 300 mg | approx. 20% |
| 1,000 mg | approx. 14% |
Single doses in healthy adults.2 The figures show the general trend, not exact values for every supplement.

The European Food Safety Authority (EFSA) advises taking no more than 250 mg of magnesium a day from supplements, because digestive complaints become more common above that level.20
What should you not take with magnesium?
Some medicines work less well if you take them at the same time as magnesium. Magnesium binds to them in the gut, and your body absorbs less of them. With a bit of a gap, this is not a problem.
| If you take … | … then do this |
|---|---|
| Thyroid hormone (levothyroxine) | take at different times, agree the gap with your GP or pharmacist15 |
| Antibiotics from the tetracycline or quinolone group (e.g. doxycycline, ciprofloxacin) | magnesium 4 hours before or 2 hours after16 |
| Osteoporosis drugs (bisphosphonates, e.g. alendronic acid) | gap as stated in the patient leaflet17 |
Important: Always check the right gap for your medicines with your GP or pharmacist.
The reverse also happens: some medicines can lower your magnesium levels, for example water tablets (diuretics) and acid-reducing tablets (proton pump inhibitors such as pantoprazole).18 If you take these long term, talk to your GP about your magnesium level.
What about other minerals? Calcium has little effect on magnesium absorption.22 Only very high amounts of zinc, far above what common supplements contain, reduced absorption in one study.21 There is hardly any data on iron. If you take both, you can simply take them with different meals.
What the studies show: With thyroid hormone, absorption fell by up to 12% in one study when magnesium was taken at the same time.15 That may not sound like much. The researchers still recommend keeping a gap, especially when thyroid levels need to be precisely controlled.15
Should you take magnesium before or after exercise?
Either works. What matters most is getting enough over the day, because people who train a lot need a little more. Magnesium contributes to normal muscle function.
What the studies show: Researchers who reviewed the studies on magnesium and muscle soreness suggest taking it about two hours before training. They estimate that needs are 10 to 20% higher with intense training.14 If you are looking for a fixed time, that gives you a good reference point.
How long does magnesium take to work?
Allow a few months. It takes about five months for the magnesium level in your blood to settle at a new plateau. That is why sticking with it matters more than the exact timing.
What the studies show: An analysis of 48 studies with more than 2,100 participants shows that blood levels become stable after around 20 weeks.13
How much magnesium you actually need is covered in our article How much magnesium per day? What happens if you take too much is covered in Too much magnesium.
Your magnesium routine
| Your situation | How to take magnesium |
|---|---|
| Up to about 250 mg a day | once a day, always with the same meal |
| More than 250 mg a day | split between breakfast and your evening meal |
| You take thyroid hormone | at different times, agree the gap with your GP or pharmacist |
| You are taking an antibiotic | 4 hours before or 2 hours after, check with your pharmacist |
| You train a lot | keep an eye on your daily amount, timing as you prefer |
| You have a sensitive stomach | smaller doses, always with food |
| You have kidney disease | only after talking to your doctor24 |
Frequently asked questions
Can I take magnesium on an empty stomach? Yes, it is not harmful. In studies, however, a little more is absorbed with food.4
Does magnesium make you sleepy? Not in the sense of sudden drowsiness, so you can take it in the morning too. Studies looked at falling asleep and sleep quality. Older people fell asleep a little faster with magnesium, and with bisglycinate, sleep problems fell more than with a placebo.9, 25 That is why many people like to take it in the evening.
When is the best time to take magnesium glycinate? The same rules apply to magnesium glycinate (bisglycinate) as to other forms: regularly, with a meal, and larger amounts split. Many people take it in the evening. That also fits with the fact that the studies on glycine used a dose taken before bed.26 For your magnesium intake, though, the time of day is secondary. You can read more about this form in our article on magnesium glycinate.
Can I take magnesium with zinc or vitamin D at night? We found no studies on the best time of day to take zinc or vitamin D together with magnesium. As for absorption, only very high amounts of zinc, far above what common supplements contain, reduced magnesium absorption in one study.21 For the magnesium part, the advice in this article applies.
Can I take magnesium with coffee? There are no meaningful studies on this.
What do studies show about magnesium and night-time leg cramps? In a study of 175 adults, the number of cramps fell slightly more with magnesium than with a placebo.23 Another study, with magnesium taken before bed, found no difference.19
How long can you take magnesium for? At up to 250 mg a day from supplements, there is no time limit.20 If you have kidney disease, please only take it after talking to your doctor, as magnesium can then build up in the body.24
Limits of the research and all sources
Direct comparisons of "morning versus evening" are still missing. Many absorption studies are small and some are decades old, but they have pointed in the same direction for years. Whether a meal improves absorption depended on the measuring method in one study.5 On sleep, the picture is mixed: the positive studies in older people are small and of low quality,9, 10 and the effect with bisglycinate was small on average.25 Reviews and a long-term observational study of around 3,900 people do not show a consistent picture.11, 12, 27 The form of magnesium alone does not explain this, as the positive study in older people also used magnesium oxide.10 The suggestion to take magnesium two hours before training is based on only four studies.14 When you yourself will notice anything cannot be concluded from the time it takes for blood levels to stabilise.13 The studies use different forms of magnesium, which makes the results hard to compare. Which form suits you is explained in Which magnesium is best?
Show all 27 studies and sources
| # | Study | Who was studied | Result | Strength of evidence |
|---|---|---|---|---|
| 1 | Fine et al. 1991, J Clin Invest | healthy adults, magnesium acetate with a meal | absorption falls from 65% to 11% as the amount increases | foundational study |
| 2 | Roth & Werner 1979, Int J Appl Radiat Isot | healthy adults, 7 to 1,013 mg as single doses | 70% at 7 mg, 20% at 304 mg, 14% at 1,013 mg | foundational study |
| 3 | Sabatier et al. 2011, Br J Nutr | 12 men, 126 mg from mineral water | 7 small portions 51%, 2 large portions 32% absorbed | small, well controlled |
| 4 | Sabatier et al. 2002, Am J Clin Nutr | 10 women, mineral water | with a meal 52%, without 46% absorbed | small |
| 5 | Dogterom et al. 2018, Drug Dev Ind Pharm | healthy adults, slow-release tablet | higher blood level when fasting, no difference in urine | small |
| 6 | Schuchardt & Hahn 2017, Curr Nutr Food Sci | review | small doses better; influence of food | review |
| 7 | Bohn et al. 2004, Am J Clin Nutr | 8 to 9 adults, white bread | phytic acid cuts absorption from 33% to 13% | small |
| 8 | Jacobsen et al. 2021, Bone Rep | 10 kidney patients, 10 healthy people | no daily rhythm in blood level | small |
| 9 | Mah & Pitre 2021, BMC Complement Med Ther | 151 older adults, 3 studies | fell asleep 17 minutes faster, low quality | meta-analysis |
| 10 | Abbasi et al. 2012, J Res Med Sci | 46 older adults, 500 mg magnesium as oxide, 8 weeks | better scores in several sleep tests | small controlled study |
| 11 | Arab et al. 2022, Biol Trace Elem Res | 9 studies, more than 7,500 people | observational studies yes, controlled studies conflicting | systematic review |
| 12 | Stadie et al. 2026, Eur J Nutr | approx. 3,900, self-reported | no clear link with sleep | long-term observational study |
| 13 | Zhang et al. 2016, J Nutr | 48 studies, 2,131 people | blood level stable after approx. 20 weeks | meta-analysis |
| 14 | Tarsitano et al. 2024, J Transl Med | 4 studies, exercise | suggestion: 2 hours before training | review, thin evidence |
| 15 | Attinger et al. 2025, Clin Transl Sci | 15 healthy people | thyroid hormone: 12% and 7% lower absorption respectively | small |
| 16 | Ogawa & Echizen 2011, Drugs | review | antibiotics: 4 hours before or 2 hours after | review |
| 17 | Wiesner et al. 2021, Foods | review | minerals reduce absorption of bisphosphonates | review |
| 18 | Gröber 2019, Int J Mol Sci | review | diuretics and acid-reducing tablets lower magnesium | review |
| 19 | Alperin et al. 2017, JAMA Intern Med | 94 adults, magnesium oxide | leg cramps: no difference from placebo | controlled study |
| 20 | EFSA / SCF 2001 | scientific opinion | upper limit of 250 mg/day from supplements | official assessment |
| 21 | Spencer et al. 1994, J Am Coll Nutr | men, 142 mg zinc/day | very high zinc reduces magnesium absorption | small |
| 22 | Brannan et al. 1976, J Clin Invest | measurement in the small intestine | calcium has little effect on magnesium absorption | foundational study |
| 23 | Barna et al. 2021, Nutr J | 175 adults, magnesium oxide monohydrate | leg cramps: slightly greater reduction | controlled study |
| 24 | Rosner et al. 2023, Mayo Clin Proc | review | build-up when kidney function is reduced | review |
| 25 | Schuster et al. 2025, Nat Sci Sleep | 155 adults, 250 mg bisglycinate, 4 weeks | sleep problems fell more than with placebo (small effect) | controlled study |
| 26 | Yamadera et al. 2007, Sleep Biol Rhythms | adults with poor sleep, 3 g glycine | better sleep quality, reached deep sleep sooner | small controlled study |
| 27 | Lopresti et al. 2026, J Diet Suppl | 12 controlled studies | inconsistent, some small improvements | systematic review |
Author: PRONESIUM Editorial Team · Last reviewed: 29/09/2026 · This article does not replace medical advice.




