Taking magnesium with food, in the right form for your goal, and at the right time of day makes a meaningful difference in how well your body absorbs it. Most adults need between 310 and 420 mg daily, depending on age and sex, and a large portion of people fall short through diet alone. Here’s how to get supplementation right.
Pick the Right Form for Your Goal
Not all magnesium supplements are created equal. The form you choose determines how well your body absorbs it and what benefits you’re most likely to notice. Forms like citrate, glycinate, and malate are absorbed significantly better than oxide or sulfate.
Magnesium glycinate is gentle on the stomach and has a calming effect, making it a strong choice if you’re taking magnesium for sleep, stress, or anxiety. Magnesium citrate absorbs easily but can cause loose stools, especially at higher doses. That’s a drawback for general supplementation but useful if constipation is part of your picture. Magnesium malate digests well and is often chosen by people looking for energy support or muscle recovery. Magnesium oxide is the cheapest option on shelves, but your body absorbs very little of it. It’s primarily used as a laxative, not as a way to raise your magnesium levels.
There’s also magnesium L-threonate, which has a unique ability to cross the blood-brain barrier. Research on healthy adults suggests that taking 2,000 mg of this form daily for 30 days may improve cognition, particularly in older people. It’s a more specialized (and expensive) option, best suited if brain health is your primary concern.
Take It With Food
Magnesium is best taken with a meal. Food slows transit through your digestive tract, giving your body more time to absorb the mineral. In one study, magnesium absorption from mineral water increased from about 46% to 52% simply by drinking it with a meal rather than on an empty stomach. That’s a modest but real improvement.
The bigger reason to pair magnesium with food is tolerability. Taking it on an empty stomach raises the risk of diarrhea, nausea, and abdominal cramping, especially at higher doses. If you’re taking magnesium citrate or oxide, this matters even more since both forms already tend to loosen stools.
One thing to be aware of: foods high in phytic acid, found in whole grains, beans, seeds, and nuts, can reduce magnesium absorption in a dose-dependent way. This doesn’t mean you should avoid these foods (they’re nutritious), but it’s worth noting that a high-fiber, high-phytate meal isn’t the ideal pairing for your supplement. A meal with some protein and fat works well.
Timing: Morning vs. Night
When you take magnesium depends on why you’re taking it. If sleep is your goal, take it at bedtime. A Mayo Clinic recommendation suggests 250 to 500 mg in a single dose before bed, taken nightly for at least three months to evaluate whether it improves your ability to fall or stay asleep. Magnesium glycinate is the most popular form for this purpose because of its calming properties.
If you’re supplementing for general health, energy, or muscle function, morning or afternoon with a meal works fine. Magnesium malate is a common choice for daytime use. The most important thing is consistency. Taking it at the same time each day, paired with a meal you eat regularly, makes it easier to stay on track.
How Much You Actually Need
The recommended daily intake for adult men is 400 mg (ages 19 to 30) or 420 mg (31 and older). For adult women, it’s 310 mg (ages 19 to 30) or 320 mg (31 and older). Pregnant individuals need 350 to 400 mg depending on age.
These numbers include magnesium from food and supplements combined. If your diet already includes magnesium-rich foods like dark leafy greens, avocados, nuts, and dark chocolate, you may only need a modest supplement of 200 to 300 mg to close the gap. The NIH sets the tolerable upper limit for supplemental magnesium (meaning from supplements only, not food) at 350 mg per day for adults. Going above that doesn’t automatically cause problems, but it increases the likelihood of digestive side effects, particularly diarrhea.
If you’re new to supplementation, starting at a lower dose (around 200 mg) and increasing gradually over a week or two gives your gut time to adjust.
Splitting Your Dose
Your body can only absorb so much magnesium at once. If you’re taking more than 300 mg daily from supplements, splitting the dose into two servings (morning and evening, for example) typically improves absorption and reduces the chance of stomach upset. This is especially helpful with citrate, which is more likely to cause loose stools at higher single doses.
Medications That Interfere
Several common medications interact with magnesium, and timing matters more than most people realize.
- Antibiotics: Magnesium can prevent antibiotics from being absorbed properly. Take antibiotics at least two hours before or four to six hours after your magnesium supplement.
- Bisphosphonates (used for osteoporosis): Separate these from magnesium by at least two hours in either direction.
- Diuretics: Some diuretics increase magnesium loss through urine, potentially driving your levels dangerously low. If you take a diuretic regularly, your magnesium needs may be higher than average, and your levels are worth monitoring.
- Proton pump inhibitors (acid reflux medications): Long-term use, beyond about a year, can deplete magnesium levels over time.
- High-dose zinc supplements: Very high zinc doses can interfere with magnesium absorption. If you take both, separate them by a few hours.
Signs You’re Taking Too Much
Magnesium toxicity from supplements alone is rare in people with healthy kidneys, since your body excretes excess magnesium through urine. But it can happen, and the first signs are typically low blood pressure, nausea, dizziness, and weakness. More severe cases can cause confusion, difficulty breathing, dangerous heart rhythms, and muscle paralysis.
The people most at risk are those with kidney disease, because impaired kidneys can’t clear excess magnesium efficiently. For most people, the realistic “too much” scenario is simply digestive discomfort: diarrhea and cramping from doses above 350 to 500 mg at once. If that’s happening, reduce your dose or switch to a gentler form like glycinate.

