At a Glance
| Property | Value |
|---|---|
| Evidence Level | Moderate (absorption kinetics well-studied; timing-specific RCTs limited) |
| Primary Use | Optimizing magnesium supplement timing for maximum benefit and minimum side effects |
| Key Principle | Form determines timing; goal determines timing; drug interactions constrain timing |
When to Take Magnesium: Timing Actually Matters
One of the most practical questions I get about magnesium supplementation is not what form to take — it is when to take it. And unlike many supplement timing questions where the answer is “it does not really matter,” with magnesium the timing can meaningfully influence both efficacy and side effects.
The answer depends on three things: which form you are taking, what you are trying to achieve, and what medications you take. Let me walk through each.
Timing by Form
Magnesium Glycinate: Take at Bedtime
Optimal timing: 30-60 minutes before bed
Why: Magnesium glycinate has a dual mechanism for promoting sleep. The magnesium component enhances GABA-A receptor activity, promoting neural inhibition and relaxation. The glycine component lowers core body temperature through peripheral vasodilation and has independent sleep-promoting effects via NMDA receptors in the suprachiasmatic nucleus.
Taking glycinate in the morning is not harmful, but you are wasting the sleep-specific benefits of the glycine component. If you take 400 mg elemental magnesium as glycinate, you are also getting approximately 2g of glycine — a meaningful dose of a sleep-promoting amino acid.
For general repletion (not primarily sleep): Split into 200 mg with lunch and 200 mg at bedtime. This reduces the osmotic load on the gut and maintains more stable magnesium levels.
Magnesium L-Threonate: Take Morning and Afternoon
Optimal timing: Split dose — morning and early afternoon (before 3 PM)
Why: This may surprise people who assume all magnesium should be taken at night. Magnesium L-threonate is designed for cognitive enhancement via BBB penetration. Some users report mild stimulatory effects from the threonate component, which can interfere with sleep if taken too close to bedtime. The cognitive benefits — improved working memory, focus, synaptic plasticity — are most useful during waking hours.
Protocol: 1,000 mg compound in the morning + 500-1,000 mg compound in the early afternoon. This provides sustained brain magnesium elevation during your cognitively active hours.
Exception: If you experience no stimulatory effects from threonate and your primary goal is both cognition and sleep, you can try taking the full dose at bedtime. The magnesium component still has sleep-promoting effects. But start with the AM/PM split and adjust based on your experience.
For a detailed comparison of these two forms, see magnesium glycinate vs. L-threonate.
Magnesium Citrate: Take With Meals
Optimal timing: With your largest meal
Why: Magnesium citrate has an osmotic effect in the intestine — it draws water into the gut, which is why it is used as a laxative at higher doses. Taking it with food slows intestinal transit, reduces the osmotic effect, and improves absorption. An empty stomach amplifies the laxative tendency.
Magnesium Oxide: Do Not Take
Optimal timing: N/A — do not use for supplementation
Why: With approximately 4% bioavailability, magnesium oxide is not a magnesium supplement — it is a laxative and an antacid. If your current supplement contains magnesium oxide, switch to a bioavailable form. See my article on magnesium deficiency for choosing the right form.
Magnesium Taurate: Take in the Evening
Optimal timing: With dinner or in the early evening
Why: Taurine has calming properties and potential cardiovascular benefits. Evening timing leverages both the relaxation effect and the cardiovascular support during the overnight period when cardiac events are most common.
Timing by Goal
Goal: Better Sleep
Take: Magnesium glycinate, 400 mg elemental, 30-60 minutes before bed
Combine with 3g glycine powder (dissolved in warm water) for an enhanced core temperature-lowering effect. This is the specific protocol I discuss in my deep sleep supplement guide.
Goal: Anxiety Reduction
Take: Magnesium glycinate, 200 mg with lunch + 200 mg in the evening
Splitting the dose provides more consistent GABA-A receptor support throughout the day rather than a single bolus at bedtime.
Goal: Cognitive Enhancement
Take: Magnesium L-threonate, 1,000-1,500 mg compound in the morning
The cognitive effects are most relevant during working hours. If you combine with glycinate for sleep, take threonate AM and glycinate PM.
Goal: Exercise Performance and Recovery
Take: Magnesium glycinate or citrate, 200 mg 1-2 hours before training + 200 mg post-training
Pre-exercise magnesium supports muscle function and may reduce cramping risk. Post-exercise magnesium supports recovery and replenishes sweat losses (3-4 mg magnesium per liter of sweat).
Goal: Migraine Prevention
Take: Magnesium glycinate or oxide, 400-600 mg divided into 2-3 doses throughout the day
The American Headache Society recommends consistent daily dosing rather than acute use. Consistency matters more than timing for prophylaxis.
Goal: General Magnesium Repletion
Take: Magnesium glycinate, 300-400 mg elemental, divided into 2 doses (with lunch and dinner)
Split dosing improves total absorption because the intestinal transport mechanisms for magnesium are saturable — smaller doses absorbed more efficiently than a single large dose.
With or Without Food?
With Food Is Generally Better
Reasons:
- Reduced GI side effects (nausea, cramping, diarrhea) across all forms
- Slower intestinal transit allows more contact time with absorptive surfaces
- Some food components (amino acids, organic acids) may enhance magnesium solubility
- Practical compliance — attaching supplements to meals improves adherence
Exception: Bedtime Glycinate
If you take glycinate specifically for sleep 30-60 minutes before bed and do not eat a bedtime snack, taking it on a relatively empty stomach is acceptable. Glycinate is the best-tolerated form and rarely causes GI issues even without food. A small glass of water is sufficient.
Foods That Enhance Absorption
- Protein-containing meals (amino acids compete less with chelated forms)
- Vitamin D-rich foods (vitamin D enhances intestinal magnesium absorption)
- Fermented foods (organic acids improve mineral bioavailability)
Foods and Substances That Impair Absorption
- High phytate foods (unsoaked grains, legumes) — phytic acid binds magnesium
- High oxalate foods (spinach, rhubarb) — oxalic acid forms insoluble magnesium oxalate
- High calcium meals — calcium and magnesium compete for intestinal transport
- Alcohol — increases urinary magnesium excretion
- Caffeine — modest increase in magnesium excretion
The practical implication: do not take your magnesium supplement at the same time as a high-calcium supplement or with a meal heavy in raw spinach or bran. Standard meals with moderate calcium and protein are fine.
Drug Interaction Timing
This is the part most supplement guides skip, and it matters clinically:
| Medication | Separation Required | Reason |
|---|---|---|
| Tetracycline antibiotics | 2 hours before or 4-6 hours after | Mg²⁺ chelates tetracycline, reducing absorption |
| Fluoroquinolone antibiotics (ciprofloxacin) | 2 hours before or 6 hours after | Same chelation mechanism |
| Bisphosphonates (alendronate) | 2 hours | Mg²⁺ impairs bisphosphonate absorption |
| Levothyroxine (thyroid medication) | 4 hours | Mg²⁺ reduces thyroid hormone absorption |
| Mycophenolate | 2 hours | Reduced immunosuppressant absorption |
| Eltrombopag | 4 hours | Chelation reduces drug levels |
Critical point: If you take thyroid medication first thing in the morning (as most people do), take your magnesium at a different time — lunch, dinner, or bedtime. Do not take them together.
Practical Protocols
The Simple Protocol (Most People)
- Magnesium glycinate 400 mg elemental, 30-60 minutes before bed, with a glass of water
- Addresses sleep, anxiety, cramps, and general repletion in one dose
The Optimized Protocol (Performance-Focused)
- Morning: Magnesium L-threonate 1,000 mg compound (with breakfast)
- Post-workout: Magnesium glycinate 200 mg elemental
- Bedtime: Magnesium glycinate 200 mg elemental + 3g glycine
The Repletion Protocol (Correcting Deficiency)
- With lunch: Magnesium glycinate 200 mg elemental
- With dinner: Magnesium glycinate 200 mg elemental
- Duration: 3-6 months, then reassess RBC magnesium levels
The Bottom Line
Magnesium timing is not arbitrary — it is determined by the form, the goal, and your medication schedule. Glycinate belongs at bedtime for sleep, threonate belongs in the morning for cognition, and all forms benefit from being taken with food. The most common mistake I see is patients taking a single large dose of a poorly absorbed form at a random time and wondering why it is not working. Match the form to the goal, the timing to the form, and separate from interacting medications. That is the protocol.
References
-
Abbasi B, Kimiagar M, Sadeghniiat K, et al. The effect of magnesium supplementation on primary insomnia in elderly. Journal of Research in Medical Sciences. 2012;17(12):1161-1169. PMID:23853635
-
Schuchardt JP, Hahn A. Intestinal absorption and factors influencing bioavailability of magnesium — an update. Current Nutrition & Food Science. 2017;13(4):260-278. doi:10.2174/1573401313666170427162740
-
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. doi:10.1172/JCI115317