mind mood

Best Time to Take Magnesium

Morning or night? The best time to take magnesium depends on your goal: sleep, absorption, training, or spacing it from medications. What the trials actually tested, from the martial arts coaches behind GMA Warrior Supplements.

By Professor K. Spillmann
5 min read
Best time to take magnesium — morning or night, by goal

The best time to take magnesium depends on why you're taking it. If it's for sleep, the newest trial dosed it 30 to 60 minutes before bed. If it's to cover a gap in your diet, the clock matters far less than two things most labels never mention: how much you take at once, and whether there's food in your stomach. And if you take certain antibiotics or a high-dose zinc supplement, timing becomes the difference between both pills working and neither one working.

This guide walks through each goal, what the research actually tested, and a simple schedule you can follow.

The Best Time to Take Magnesium Depends on Your Goal

Here's the short version before the detail:

  • For sleep: in the evening, 30 to 60 minutes before bed.
  • For general intake: any time you'll remember it, with a meal, and split into two smaller doses if you take more than about 200 mg.
  • For training: no study has tested pre- versus post-workout magnesium. Daily consistency is what the research supports.
  • Around medications: take certain antibiotics at least two hours before magnesium, and keep high-dose zinc at a different meal.

Magnesium isn't a stimulant or a sedative with a sharp on-off effect. Your body regulates it tightly, and most of its benefits come from steady intake over weeks. That's why "morning or night" is a smaller question than it looks for most goals, and why it does matter for the few covered below.

Taking Magnesium at Night for Sleep

The strongest recent evidence comes from a 2025 randomized trial in Nature and Science of Sleep. Researchers in Hannover gave 155 adults with self-reported poor sleep either 250 mg of elemental magnesium as bisglycinate or a placebo. Participants took two capsules daily, 30 to 60 minutes before bedtime, for four weeks. Insomnia severity scores fell further in the magnesium group, but the effect was small (Cohen's d = 0.2). Exploratory analysis suggested people who ate the least magnesium at baseline improved the most.

The older evidence is less tidy about timing. A 2021 meta-analysis in BMC Complementary Medicine and Therapies pooled three trials in 151 older adults with insomnia and found people fell asleep about 17 minutes faster on magnesium than on placebo. But those trials split the dose two to three times a day rather than giving it all at bedtime, and the authors rated the evidence low to very low quality.

So the honest reading is this: evening dosing works in the best recent trial and is a sensible default, but nobody has run a head-to-head study of bedtime versus morning magnesium for sleep. What the trials agree on is daily use for several weeks. One capsule the night before a big tournament won't tell you much. Our guide to magnesium glycinate for sleep covers form and dose in detail, and the glycinate vs citrate breakdown explains why the form you pick matters for an evening dose.

Woman reading in bed in the evening — the best time to take magnesium for sleep is 30 to 60 minutes before bed

Morning or Night? Why Dose Size and Food Matter More

If you're taking magnesium to cover a shortfall in your diet, how you split the dose matters more than the time of day. A 1991 study in the Journal of Clinical Investigation measured magnesium absorption from a standard meal with increasing doses added. As the dose went up, the total absorbed went up too, but the share absorbed fell sharply, from 65% at the lowest dose to 11% at the highest. A 2017 review by Schuchardt and Hahn reached the same conclusion across the wider literature: relative uptake is higher when magnesium is taken in several low doses through the day than in one large dose.

The magnesium you don't absorb is the part that causes trouble. Unabsorbed magnesium pulls water into the bowel, which is why diarrhea is the effect the Institute of Medicine used to set the adult upper limit for supplements at 350 mg a day. The same report notes that food in the gut counteracts the osmotic effect. In practice, that means:

  • Take it with a meal if it upsets your stomach. The 1991 study measured absorption with food and still found good uptake at moderate doses.
  • Split larger doses. 150 mg with breakfast and 150 mg in the evening beats 300 mg at once for both absorption and comfort.
  • Pick the time you'll actually stick with. Your body doesn't store extra magnesium for later. The Schuchardt review notes that higher absorption is usually followed by higher excretion, so a steady daily habit beats occasional large doses.

If loose stools are already a problem, our article on magnesium side effects covers the dose where they start and the forms most likely to cause them.

Breakfast of bananas, apples and walnuts — taking magnesium with a morning meal improves tolerance
GMA WARRIOR PICK

GMA Anxiety Formula. To be straight with you: we don't make a standalone magnesium supplement. This is our evening relaxation blend, and its supplement facts panel prints 25 mg of magnesium oxide per two-capsule serving, about 6% of the daily value. That's not enough to close a magnesium gap. It also carries 25 mg of zinc oxide, far below the 142 mg zinc dose discussed below. Where it fits is the evening slot this article recommends for sleep: the formula is built around chamomile, lemon balm, valerian, passion flower and L-theanine. Its proprietary blend also includes St. John's wort, so if you take any prescription medication, ask your pharmacist before adding it, and follow the directions on your bottle.

Shop GMA Anxiety Formula →

Magnesium Before or After Training?

Our adult students ask this constantly, and honestly, it hasn't been tested. A 2017 review in Nutrients on magnesium and exercise performance found that the body's need for magnesium rises with physical activity, and that some supplementation studies showed gains in measures like quadriceps strength. But those studies gave magnesium daily over weeks. None compared a pre-workout dose to a post-workout dose.

Cramps are the other common reason people reach for magnesium after training. A 2020 Cochrane review of 11 trials and 735 people found that for the typical night-time leg cramps in older adults, magnesium made no meaningful difference in how often cramps happened compared with placebo. Cramps during hard training weren't what those trials studied. If they're frequent, talk to your healthcare provider rather than adding more magnesium.

In more than fifty years of running a martial arts school, we've watched this play out the same way. Students who train in our evening classes often take magnesium when they get home, because it's the time they remember and it lines up with winding down for sleep. That's a good reason to choose a time. "It works better after training" isn't one the research supports yet. It's the same lesson as our creatine timing guide: for supplements that build up over weeks, taking it every day matters more than the hour.

When Not to Take Magnesium: Medications and Zinc

Here, timing matters a lot. Magnesium binds to some drugs and minerals in the gut, and neither gets absorbed properly.

Antibiotics. Fluoroquinolones and tetracyclines are the main concern. A 1989 crossover study in Clinical Pharmacology & Therapeutics gave volunteers ciprofloxacin at set times after a magnesium-aluminum antacid. With the antacid 5 to 10 minutes before, only 15% of the antibiotic was absorbed compared with control. Two hours before, 23%. Four hours before, 70%. The antacid had no effect when it came six hours before the antibiotic, or two hours after it. Take the antibiotic first and the magnesium at least two hours later, and check the exact spacing with your pharmacist.

High-dose zinc. A metabolic study in the Journal of the American College of Nutrition found that 142 mg of zinc a day significantly reduced magnesium absorption and balance in adult men. That's far above a typical 15 to 30 mg supplement, and lower doses weren't tested. If you take a high-dose zinc product, take it at a different meal from your magnesium.

Other medications and conditions. Bone-density drugs (bisphosphonates) also need spacing from magnesium. Heartburn pills (PPIs) and diuretics can lower your magnesium over time, which is a reason to ask for a blood test, not to self-prescribe a high dose. If you have kidney disease, a heart-rhythm condition, are pregnant or nursing, or are under 18, the timing and the dose are both questions for your healthcare provider. The stress side of the evening dose is covered in our article on magnesium for anxiety.

GMA Anxiety Formula supplement facts label showing magnesium oxide 25 mg per serving — check the elemental figure before planning the best time to take magnesium

A simple schedule. For most healthy adults, here is the best time to take magnesium: with dinner or 30 to 60 minutes before bed if sleep is the goal; split anything over about 200 mg between breakfast and evening; keep it two hours away from antibiotics and high-dose zinc; and stay under 350 mg a day from supplements unless your doctor says otherwise. Browse the rest of our evening and focus formulas in the Nootropics collection.

Sources & Research

  • Schuster J, Cycelskij I, Lopresti A, Hahn A. "Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial." Nature and Science of Sleep, 2025;17:2027–2040. PMID 40918053
  • Mah J, Pitre T. "Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis." BMC Complementary Medicine and Therapies, 2021;21(1):125. PMID 33865376
  • Fine KD, Santa Ana CA, Porter JL, Fordtran JS. "Intestinal absorption of magnesium from food and supplements." Journal of Clinical Investigation, 1991;88(2):396–402. PMID 1864954
  • Schuchardt JP, Hahn A. "Intestinal Absorption and Factors Influencing Bioavailability of Magnesium — An Update." Current Nutrition & Food Science, 2017;13(4):260–278. PMID 29123461
  • Institute of Medicine, Food and Nutrition Board. "Magnesium." In Dietary Reference Intakes for Calcium, Phosphorus, Magnesium, Vitamin D, and Fluoride. National Academies Press, 1997. nap.nationalacademies.org
  • Zhang Y, Xun P, Wang R, Mao L, He K. "Can Magnesium Enhance Exercise Performance?" Nutrients, 2017;9(9):946. PMID 28846654
  • Garrison SR, Korownyk CS, Kolber MR, et al. "Magnesium for skeletal muscle cramps." Cochrane Database of Systematic Reviews, 2020;9:CD009402. PMID 32956536
  • Nix DE, Watson WA, Lener ME, et al. "Effects of aluminum and magnesium antacids and ranitidine on the absorption of ciprofloxacin." Clinical Pharmacology & Therapeutics, 1989;46(6):700–705. PMID 2598571
  • Spencer H, Norris C, Williams D. "Inhibitory effects of zinc on magnesium balance and magnesium absorption in man." Journal of the American College of Nutrition, 1994;13(5):479–484. PMID 7836627
Tagged:magnesiummind moodsleepsupplements
Questions We Get

Frequently Asked Questions

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

It depends on your goal. For sleep, the most recent randomized trial gave magnesium 30 to 60 minutes before bed, so evening is a sensible default. For general intake, the time of day matters less than dose size: smaller doses taken with meals are absorbed better and are easier on the stomach. Pick the time you can stick with every day, since the benefits in the research came from weeks of consistent use.

How long before bed should I take magnesium?

In the 2025 bisglycinate trial, participants took their dose 30 to 60 minutes before bedtime for four weeks and saw a modest improvement in insomnia scores. No study has compared different pre-bed windows, so 30 to 60 minutes is a practical starting point rather than a proven rule. Give it at least two weeks of nightly use before judging whether it helps.

Should I take magnesium with food or on an empty stomach?

With food is the safer default. The Institute of Medicine notes that food in the gut counteracts the osmotic effect behind magnesium's most common side effect, loose stools. A classic absorption study also measured good uptake when magnesium was taken with a meal, especially at moderate doses. If you take more than about 200 mg, split it between two meals.

Can I take magnesium and zinc together?

At typical doses, probably yes. The study showing that zinc reduces magnesium absorption used 142 mg of zinc a day, far above the 15 to 30 mg in most supplements, and lower doses were not tested. If you take a high-dose zinc product, take it at a different meal from your magnesium. Ask your healthcare provider if you are unsure about your doses.

Should I take magnesium before or after a workout?

No study has compared pre-workout and post-workout magnesium. The research on magnesium and exercise used daily supplementation over weeks, so consistency matters more than the hour. Many people who train in the evening simply take it when they get home, which also lines up with the evening dose used in sleep research.

Train Like You Mean It

Every Formula. One Standard.

Browse the full GMA Warrior Supplements catalog — formulated by martial artists, made in the USA, lab tested every batch.