When to take Magnesium
Pinned to evening, the best window for Magnesium Glycinate.
Why timing matters
Magnesium is involved in more than 300 enzymatic reactions, including ATP production, muscle relaxation, and the conversion of tryptophan into serotonin and melatonin. Its calming action on the nervous system, mediated by activation of GABA-A receptors and blockade of NMDA receptors, makes evening dosing a natural fit for sleep and recovery. Morning dosing is reasonable for people using magnesium primarily for energy metabolism, blood pressure, or athletic performance, but most adults get the best perceived benefit by anchoring the dose 1 to 2 hours before bed. Magnesium leaves the body rapidly through urine, so consistent daily intake matters more than chasing a perfect time. Splitting larger doses (above 400 mg elemental) into morning and evening reduces the laxative effect and keeps absorption steady, since the gut can only take in a finite amount in one sitting.
Morning vs. night
Most randomized trials on magnesium and sleep used 250 to 500 mg of magnesium oxide or glycinate taken in the evening. A 2012 trial in the Journal of Research in Medical Sciences gave 500 mg of magnesium oxide nightly to older adults with insomnia and reported significant improvements in sleep time, sleep efficiency, and serum melatonin compared with placebo. For people training in the morning or who experience exercise-induced cramps, a split protocol (half the dose at breakfast, half in the evening) covers both windows. People with restless legs syndrome or nocturnal cramping benefit most from a bedtime dose. People who feel groggy or experience vivid dreams on evening magnesium can shift the full dose to dinner instead. Whatever schedule you choose, give it at least three weeks before judging the effect, intracellular magnesium repletes slowly.
Why with food
Magnesium is a mineral, not a fat-soluble vitamin, so a fatty meal is not required, but taking it with food meaningfully reduces the osmotic and laxative effects that pure magnesium can cause, especially in the citrate, oxide, and sulfate forms. Food also slows gastric emptying, giving the small intestine more contact time to absorb the cation. A small carbohydrate-and-protein snack (yogurt, a few crackers with cheese, a piece of fruit) is enough. Avoid taking magnesium with very high-fiber meals (greater than 15 grams in one sitting) since phytates in whole grains and legumes bind divalent minerals and reduce absorption by 10 to 20 percent. Alcohol increases magnesium loss through urine, so avoid taking it alongside more than one drink. Hard tap water already contributes meaningful magnesium, factor that into total intake.
Recommended schedule
8:00–9:00 PM
Magnesium glycinate with a small snack, 1–2 hours before bed
Pre-workout
Magnesium citrate 30–60 min before training
Dosing and forms
The RDA is 320 mg for adult women and 420 mg for adult men, with most adults consuming well below that from diet alone. Supplemental doses of 200 to 400 mg of elemental magnesium are standard. Forms differ meaningfully: glycinate (bisglycinate) is gentlest on the gut and best for sleep and anxiety, L-threonate is the only form shown to cross the blood-brain barrier readily and is studied for cognition, citrate is well-absorbed and mildly laxative (good for constipation), malate works well for fatigue and fibromyalgia, oxide is poorly absorbed (about 4 percent) but cheap and laxative. Avoid magnesium aspartate and glutamate, both have weak excitatory effects. Look for elemental magnesium content on the label, not the total compound weight, a 1,000 mg magnesium glycinate capsule typically delivers only 100 to 140 mg elemental.
What it pairs with, and what to avoid
Magnesium pairs well with Vitamin D (magnesium is required to activate it), Vitamin B6 (improves cellular uptake), and zinc at modest doses. Separate magnesium from high-dose calcium (over 500 mg) and high-dose zinc (over 25 mg) by at least two hours, all three compete for the same intestinal transporters. Magnesium can reduce the absorption of tetracycline and fluoroquinolone antibiotics, bisphosphonates, and levothyroxine, space these medications by at least 2 to 4 hours. People on diuretics, proton pump inhibitors, or metformin often run low on magnesium and may need higher supplemental doses. Magnesium can lower blood pressure additively with antihypertensives, monitor if you are on multiple cardiovascular medications. Avoid combining with potassium-sparing diuretics without lab monitoring.
Who should and shouldn't take it
People with poor sleep, anxiety, restless legs, muscle cramps, migraines, premenstrual symptoms, constipation, type 2 diabetes, or high blood pressure are the most likely to benefit from a daily magnesium supplement. Athletes, heavy sweaters, and people on diuretics, proton pump inhibitors, or alcohol routinely lose magnesium and should consider 200 to 400 mg daily. Caution applies to people with kidney disease (stage 3 or worse), since the kidneys clear excess magnesium, accumulation can cause dangerous hypermagnesemia. People with bradycardia or heart block should consult a cardiologist before high-dose magnesium. The most common side effect is loose stools, switch from citrate or oxide to glycinate or L-threonate to resolve. Skip megadoses above 600 mg elemental without medical guidance.
Common mistakes to avoid
The biggest magnesium mistake is choosing the wrong form for the goal, taking magnesium oxide for sleep wastes most of the dose (only 4 percent absorbs), and taking magnesium citrate for anxiety often causes loose stools instead. Another common error is reading the total compound weight on the label rather than elemental magnesium content, a 1,000 mg capsule of magnesium glycinate typically delivers only 100 to 140 mg of elemental magnesium, meaning many people are dramatically under-dosing. People also routinely stack magnesium with calcium and zinc in the same pill, where they compete for absorption. A third pitfall is giving up after a week, magnesium repletion takes 3 to 6 weeks of consistent daily dosing for benefits to appear. Finally, alcohol the same evening can wipe out the calming effect by accelerating urinary magnesium loss overnight.
Don't take with
- • Calcium
- • Iron
- • Zinc (high doses)
FAQ
What is the best form of magnesium for sleep?
Magnesium glycinate (also sold as bisglycinate). The glycine carrier is itself calming and supports GABA activity, while the bound form bypasses much of the laxative effect that citrate and oxide cause. A typical sleep dose is 200 to 400 mg of elemental magnesium glycinate, taken 1 to 2 hours before bed. L-threonate is a strong alternative if cognitive and mood benefits matter as much as sleep, but it is more expensive.
Can I take magnesium in the morning?
Yes, especially if you use it for energy metabolism, exercise performance, or blood pressure. Athletes often split the dose: half with breakfast, half before bed. The only forms that may feel slightly sedating in the morning are glycinate and L-threonate, citrate and malate are neutral. If a morning dose makes you feel sluggish, shift the full amount to evening.
How much magnesium is too much?
The tolerable upper intake from supplements is 350 mg elemental per day for adults, set conservatively because of the laxative effect. Larger doses (up to 600 mg) are safe for most people with normal kidney function and are commonly used in clinical trials for migraine, hypertension, and insomnia. Above 600 mg without medical guidance is not recommended. Magnesium from food has no upper limit, the gut self-regulates absorption from whole foods.
Why does magnesium give me diarrhea?
Magnesium that stays in the gut pulls water into the colon by osmosis. Forms like citrate, oxide, and sulfate are deliberately used as laxatives at high doses. To avoid this, switch to glycinate, malate, or L-threonate, all of which are absorbed in the upper small intestine and rarely cause loose stools. Splitting the dose across two meals also helps.
Can I take magnesium with calcium?
Yes, but separate the doses by at least 2 hours if both exceed 250 mg. They share intestinal transporters and compete at high doses. A common evening stack is calcium with dinner and magnesium glycinate 2 hours later, before bed. Low-dose multivitamins that contain both at modest amounts (under 200 mg each) do not require separation.
How long until magnesium works?
Sleep and anxiety effects are often noticeable within the first week, but full benefits build over 3 to 6 weeks as intracellular magnesium repletes. Cramps and restless legs often improve within 10 to 14 days. If you see no change after 6 weeks at 300 to 400 mg daily, the form may be wrong (switch from oxide to glycinate) or the dose may be too low for your weight, try 400 to 600 mg.
Can I use topical or transdermal magnesium instead?
Evidence for meaningful skin absorption of magnesium chloride sprays and Epsom salt baths is thin. They feel relaxing and may help local muscle soreness, but they do not reliably raise serum or red-blood-cell magnesium the way oral supplements do. Use them as a supportive ritual, not a replacement for an oral dose if you have measured low magnesium or systemic symptoms like cramps and poor sleep.
How do I know if I am low in magnesium?
Serum magnesium tests only the 1 percent of total body magnesium in blood and stays normal even with significant tissue depletion. Red blood cell magnesium is more accurate but rarely ordered. Symptom patterns are the best clinical guide: muscle cramps, eye twitches, restless legs, poor sleep, anxiety, frequent migraines, constipation, premenstrual symptoms. If two or three of these are present and dietary intake is below the RDA, a 6-week supplement trial at 300 mg elemental is reasonable.
Sources
Go deeper on Magnesium
Personalize your routine
Get a custom plan tailored to your goals and lifestyle.
Build my schedule