Quick answer: there is no good evidence that the time of day matters. Your body absorbs magnesium about as well in the morning as at night. What matters more is taking it consistently, taking it with food if it upsets your stomach, and keeping it away from certain medicines. If you are taking it hoping it will help you sleep, the evening is a reasonable choice, though the evidence for sleep is limited.

How to choose a time
| Situation | What tends to work |
|---|---|
| Supplement gives you an upset stomach or loose stools | Take it with a meal, or split the dose between two meals |
| Taking it in the hope of better sleep | Evening, with dinner or before bed |
| You forget doses | Pair it with something you already do daily, such as breakfast |
| You take antibiotics, osteoporosis drugs or thyroid medicine | Space them apart (see below) |
Does magnesium help with sleep?
Possibly, for some people, but the evidence is weak. A few small trials, mostly in older adults, found modest improvements in sleep, while reviews conclude the quality of evidence is low. Magnesium is not a sedative, so it will not knock you out the way a sleeping pill does. If you are low in magnesium, correcting that is more likely to help than timing the dose.
Medicines to keep apart from magnesium
Magnesium can bind to some medicines in the gut and stop them from being absorbed. The NIH advises:
- Bisphosphonates (for osteoporosis, such as alendronate): take magnesium at least 2 hours before or after.
- Tetracycline and quinolone antibiotics (such as doxycycline or ciprofloxacin): take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium.
- Diuretics and proton pump inhibitors can change your magnesium levels over time, so your doctor may check them.
Levothyroxine (thyroid medicine) is also usually taken on its own, a few hours away from mineral supplements. Ask your pharmacist about your own medicines.
How much to take
| Group | Men | Women |
|---|---|---|
| Teens 14 to 18 | 410 mg | 360 mg |
| Adults 19 to 30 | 400 mg | 310 mg |
| Adults 31 and over | 420 mg | 320 mg |
| Pregnancy (19 to 30 / 31 to 50) | 350 / 360 mg |
Most people can meet their needs from food. If you do take a supplement, stay within 350 mg a day from supplements unless your doctor advises otherwise. Magnesium citrate, chloride and glycinate are generally better absorbed than magnesium oxide, while citrate and oxide are more likely to loosen stools.
The bottom line
Take magnesium at whatever time you will remember it, with food if it bothers your stomach, and away from the medicines listed above. Evening is fine if you are using it to wind down.
Related reading
- Magnesium: how much you need and the best sources
- Foods high in magnesium, ranked
- How long does magnesium stay in your body?
- Can you overdose on magnesium?
- Does coffee deplete magnesium?
Talk to your doctor before taking magnesium supplements if you have kidney disease or take prescription medicines.
Free · every two weeks
One surprising mineral fact, every two weeks
Like why bananas are slightly radioactive, or why your frying pan might be a supplement. Plain English, checked against NIH and USDA data. No hype.
Free. Unsubscribe any time. We never share your email. Privacy policy