Quick answer
Yes. In a one-week pilot of eight adults, urine magnesium, a rough sign of absorption, rose by 33.6 mg a day when magnesium was taken with meals against 21.8 mg when fasting. Magnesium oxide needs stomach acid to dissolve, and some foods lower magnesium uptake while others raise it.1,2,3
Key facts
- Even at peak stomach acid levels, only 43% of magnesium oxide dissolved in laboratory tests, while citrate dissolved well in plain water.2
- One L-threonate trial let people take their capsules with or without food.4
- Protein and some carbohydrates, such as inulin, raise magnesium uptake; phytate and oxalate lower it.3
- Zinc in very high doses, 142 mg a day in one study, can interfere with magnesium absorption.5
With a meal or fasting?
In a one-week pilot study of eight adults under medical care, urine magnesium rose by 33.6 mg a day in those who took magnesium with meals and by 21.8 mg in those who took it fasting, a rough sign of more absorption with meals.1
That pilot is the only direct comparison we found. It was tiny, lasted a week and measured urine rather than blood, so it is a hint rather than proof. We found no study that compared stomach upset with and without food.1
The classic study of how much magnesium the gut takes up gave it with a standard meal, and the trials of individual forms differed: one L-threonate trial allowed either way, while one comparison of forms used an overnight fast.4,6,7
Magnesium oxide and stomach acid
In laboratory tests, magnesium oxide barely dissolved in water and only 43% dissolved at peak stomach acid levels, while magnesium citrate dissolved well even in plain water.2
Oxide has to be dissolved by stomach acid before its magnesium can be absorbed, and that study found it both less soluble and less well absorbed than citrate. In another study only about 4% of the magnesium in oxide was absorbed.2,8
Citrate, which dissolved well even in plain water, depends far less on stomach acid. Oxide, by contrast, is sold as an antacid in its own right.2,9
What in a meal changes uptake
What else is in a meal changes how much magnesium is taken up. Phytate, oxalate, some kinds of fiber and high doses of other minerals lower uptake; protein, medium-chain fats and some carbohydrates, such as inulin and resistant starch, raise it.3
Very high doses of zinc from supplements, 142 mg a day in one study, can interfere with magnesium absorption.5,10
In the same absorption study that tested almonds, magnesium from an enteric-coated magnesium chloride tablet was absorbed much less well than from a dissolved salt.6
The same review names the dose as one of the biggest factors in how much is absorbed, which is easier to control than what is on the plate.3
Citrate, malate and L-threonate on an empty stomach
We found no study that tested citrate, malate or L-threonate with and without food. Citrate dissolves without acid, so an empty stomach should matter less for it than for oxide, and liquid citrate laxative labels ask for a full glass of liquid with each dose.2,11
What's in ours
What’s in ours
- Magnesium Glycinate: Magnesium, 275 mg per serving, from the label
- Men's Multi: Magnesium, 50 mg per serving, from the label
- Creatine + Electrolytes: Magnesium, 60 mg per serving, from the label
Food does not fix medicine timing
Food is not a substitute for spacing. NIH's advice on antibiotics and bisphosphonates, and the antacid warnings on the gabapentin and levothyroxine labels, are about timing, so ask your pharmacist how to fit magnesium around those medicines.10,12,13
Long-term use of acid reducers called proton pump inhibitors can itself lower blood magnesium, so tell your doctor if you take one along with magnesium.5,14
Questions people ask
Should I take magnesium with food to avoid an upset stomach?
No study we found tested that. Loose stools and stomach upset become more likely as the dose rises, so a smaller dose is the step with evidence behind it.5
Can I take magnesium with milk or coffee?
The sources here do not test either. Milk itself provides 27 mg of magnesium a cup.5
See what we make
Every product shows its whole label and what its lab report covers. The store opens soon.
Sources
- Sharbaugh AJ, Ayyash OM, Riley JM, Averch TD, Semins MJ. Timing of magnesium supplementation in patients with nephrolithiasis: A randomized controlled trial. Clin Nephrol. 2025;103(5):312-317. Opened 2026-10-07.
- Lindberg JS, Zobitz MM, Poindexter JR, Pak CY. Magnesium bioavailability from magnesium citrate and magnesium oxide. J Am Coll Nutr. 1990;9(1):48-55. Opened 2026-10-07.
- Schuchardt JP, Hahn A. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium: An Update. Curr Nutr Food Sci. 2017;13(4):260-278. Opened 2026-10-07.
- Lopresti AL, Smith SJ. The effects of magnesium L-threonate (Magtein) on cognitive performance and sleep quality in adults: a randomised, double-blind, placebo-controlled trial. Front Nutr. 2025;12:1729164. Opened 2026-10-07.
- National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. Updated January 6, 2026. Opened 2026-10-06.
- Fine KD, Santa Ana CA, Porter JL, Fordtran JS. Intestinal absorption of magnesium from food and supplements. J Clin Invest. 1991;88(2):396-402. Opened 2026-10-07.
- Pajuelo D, Meissner JM, Negra T, Connolly A, Mullor JL. Comparative Clinical Study on Magnesium Absorption and Side Effects After Oral Intake of Microencapsulated Magnesium (MAGSHAPE Microcapsules) Versus Other Magnesium Sources. Nutrients. 2024;16(24):4367. Opened 2026-10-07.
- Firoz M, Graber M. Bioavailability of US commercial magnesium preparations. Magnes Res. 2001;14(4):257-262. Opened 2026-10-07.
- Magnesium Oxide 400 mg tablets, antacid: Drug Facts label (Westminster Pharmaceuticals). DailyMed, U.S. National Library of Medicine. Label effective July 6, 2026. Opened 2026-10-07.
- Office of Dietary Supplements, National Institutes of Health. Magnesium: Fact Sheet for Consumers. Updated March 22, 2021. Opened 2026-10-06.
- Walgreens Magnesium Citrate Oral Solution, saline laxative: Drug Facts label (Walgreen Co.). DailyMed, U.S. National Library of Medicine. Label effective July 20, 2026. Opened 2026-10-07.
- Neurontin (gabapentin) capsules, tablets and oral solution: prescribing information (Viatris Specialty). DailyMed, U.S. National Library of Medicine. Label effective May 12, 2026. Opened 2026-10-07.
- Synthroid (levothyroxine sodium) tablets: prescribing information (AbbVie). DailyMed, U.S. National Library of Medicine. Label effective February 20, 2024. Opened 2026-10-07.
- Prilosec (omeprazole magnesium) delayed-release oral suspension: prescribing information (Covis Pharma). DailyMed, U.S. National Library of Medicine. Label effective March 19, 2024. Opened 2026-10-07.
This page is information, not medical advice. Talk to your doctor or pharmacist about your own situation.