Skip to main content Skip to main content
VitalDecades logo VitalDecades
Supplements

Best time to take magnesium: what the evidence supports

Mario Bailey
Mario Bailey Founder, VitalDecades
Updated 5 min read

We include products and services we think are useful. If you buy through links on this page, we may earn a commission. Here is how we pick.

Evidence-based

Written by Mario Bailey, Founder, VitalDecades. Last updated . How we source.

No trial has compared morning and evening magnesium, so take it when you will remember. What matters is spacing: at least 2 hours from oral bisphosphonates, and antibiotics like doxycycline or ciprofloxacin 2 hours before or 4 to 6 hours after. For sleep, the best trial dosed 30 to 60 minutes before bed.

Morning or night, with food or without: magnesium timing advice is everywhere. We looked for trials that tested it and found none. What the evidence does support is narrower and more useful, especially if you take certain prescription medicines.

On this page

The short answer

Take magnesium whenever you will remember it, unless you take one of the medicines it interferes with, in which case the spacing rules below decide the time for you. We searched PubMed on November 3, 2026 for randomized trials comparing morning and evening magnesium and found none. Advice that one time of day works better is not based on a trial.

When the clock really matters: medicine spacing

The NIH Office of Dietary Supplements gives specific intervals, and these are the only timing rules with a documented reason behind them.

Magnesium spacing rules from the NIH magnesium fact sheet (updated January 6, 2026)
If you takeWhy it mattersSpacing, per NIH
An oral bisphosphonate for osteoporosis, such as alendronate (Fosamax)Magnesium can reduce how much of the drug you absorbMagnesium at least 2 hours before or after
A tetracycline antibiotic, such as doxycyclineMagnesium binds the drug into a form that is not absorbedAntibiotic at least 2 hours before, or 4 to 6 hours after, magnesium
A quinolone antibiotic, such as ciprofloxacin or levofloxacinSame binding problemAntibiotic at least 2 hours before, or 4 to 6 hours after, magnesium

Two more cases where magnesium and medicine interact, though not through timing. Long-term proton pump inhibitors, such as esomeprazole, can cause low magnesium, and FDA has advised clinicians to consider checking levels. Loop and thiazide diuretics can raise magnesium loss in urine, while potassium-sparing diuretics reduce it. In those situations, ask for a level check rather than guessing.

If you take magnesium for sleep

The best-designed sleep trial of magnesium gave 155 adults with poor sleep 250 mg of magnesium a day as bisglycinate, or placebo, for four weeks, and told them to take it 30 to 60 minutes before bed. Insomnia scores improved slightly more than with placebo, a small effect the authors called modest. The capsules also delivered about 1.5 g of glycine a day.

That trial tested magnesium versus placebo, not bedtime versus morning, so it shows a bedtime dose can help a little, not that bedtime is the best time. Our guide does magnesium help you sleep? covers the weaker trials too.

One dose or two?

The body absorbs a smaller share of a bigger dose. In a classic study of magnesium taken with a standard meal, the fraction absorbed fell from 65% at the lowest amount to 11% at the highest. The unabsorbed remainder is what causes diarrhea, which NIH lists as the usual effect of too much supplemental magnesium.

That is the reasoning for splitting a larger dose into two. It is our inference from the absorption study, and no trial has tested split dosing for a health outcome. If one dose upsets your stomach, splitting it is a sensible thing to try.

With food or without?

No trial we found compares magnesium taken with food against magnesium taken on an empty stomach. The absorption study above gave magnesium with a meal, and it also found magnesium from almonds as well absorbed as a soluble supplement salt. If magnesium bothers your stomach, taking it with food is a reasonable first step.

Sponsored option

Vetted Aug 19, 2026

Affiliate link, we may earn a commission at no extra cost to you.

Everlywell Our score 4.0/5

At-home lab tests

Pricing as of Aug 19, 2026

HbA1c $49; cholesterol and lipids $49; heart health panel $99

The rules that matter more than timing

Keep supplements at or under 350 mg of elemental magnesium a day, the adult upper limit for magnesium from pills and medicines. Read the Supplement Facts panel, which states elemental magnesium; the front label often gives the compound weight. If you have reduced kidney function, ask a clinician first. Our magnesium buyer's guide lists NSF-certified products with their label doses, and glycinate vs citrate vs oxide compares the forms.

Frequently asked questions

Is it better to take magnesium at night or in the morning?

No trial has compared them. If you take it for sleep, the best sleep trial dosed it 30 to 60 minutes before bed. Otherwise, choose a time you will remember and that respects any medicine spacing.

How far apart should magnesium and antibiotics be?

For tetracycline and quinolone antibiotics, take the antibiotic at least 2 hours before or 4 to 6 hours after magnesium, per NIH.

Can I take magnesium with alendronate (Fosamax)?

Not at the same time. NIH advises taking magnesium at least 2 hours before or after an oral bisphosphonate.

Should I take magnesium with food?

If it upsets your stomach, yes. No trial we found shows food changes how well it works.

Can I take magnesium every day?

Yes, within the 350 mg a day upper limit for supplements, if your kidneys work normally. Ask a clinician first if you have kidney disease.

Sources

Read next

Does creatine cause hair loss? What the trials found

No evidence shows creatine causes hair loss. The worry traces to a 2009 study of 20 rugby players in which DHT rose after high-dose loading; hair was never measured. A 2025 trial of 38 men that measured hair directly found no difference from placebo. Neither study included anyone over 40.

Continue reading

Medical Disclaimer

This content is for informational and educational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with questions about a medical condition.

Newsletter

One email a week: what changed, what it costs, what to do. Every item sourced and dated.

You're on the list. Look for your first issue next week.

No spam. Unsubscribe anytime.

Was this helpful?

Your feedback shapes what we cover next.

Thanks for letting us know.

If you found this useful, sign up for our newsletter to get more like this.

Thanks. What was missing?

Optional. We read every response.

Thanks.

We use this to prioritize the next round of edits.

Follow VitalDecades for more

Related Articles

More from Mario Bailey

More in Supplements