What Should You Take With Magnesium for Better Absorption?

The most effective nutrients to take with magnesium are vitamin B6, vitamin D, and boron. Each one works through a different mechanism: B6 helps magnesium get inside your cells, vitamin D depends on magnesium to function (creating a two-way benefit), and boron reduces how much magnesium your body loses through urine. Equally important is knowing what to avoid taking at the same time, since certain nutrients and food compounds can cut magnesium absorption dramatically.

Vitamin B6 Helps Magnesium Enter Your Cells

Magnesium does most of its work inside cells, not floating around in your bloodstream. Vitamin B6 appears to facilitate the transport of magnesium into cells, which both increases its effectiveness and limits how much gets excreted before your body can use it. This is why many European magnesium supplements come pre-combined with B6 in a 10:1 ratio, typically 300 mg of magnesium paired with 30 mg of B6.

A clinical trial in healthy adults with low magnesium found that the combination of magnesium and B6 outperformed magnesium alone for reducing severe stress symptoms over eight weeks. Participants took 300 mg of elemental magnesium with 30 mg of B6, split across three meals. Separately, a small study in healthy women showed that higher-dose B6 (100 mg twice daily for four weeks) raised magnesium concentrations in both plasma and red blood cells. For most people, the practical takeaway is simple: if your magnesium supplement doesn’t already include B6, taking 30 to 50 mg of B6 alongside it is a well-tested way to get more out of each dose.

Vitamin D and Magnesium Need Each Other

Magnesium and vitamin D have a genuinely reciprocal relationship. Every enzyme involved in converting vitamin D into its active form requires magnesium as a cofactor. These conversions happen in the liver and kidneys, and without adequate magnesium, vitamin D can sit in your bloodstream in an inactive state. This means that if you’re supplementing vitamin D but your magnesium levels are low, you may not be getting the full benefit of either supplement.

The reverse is also true. Active vitamin D helps regulate calcium and phosphate balance, which indirectly supports the mineral environment that keeps magnesium working properly. Taking these two together doesn’t require a specific ratio, but ensuring you meet the recommended intake of both (around 300 to 400 mg of magnesium and 600 to 2,000 IU of vitamin D daily for most adults) creates the conditions for each to function optimally.

Boron Reduces Magnesium Loss

Boron is a trace mineral most people don’t think about, but it has a surprisingly strong effect on magnesium retention. Supplementing with boron has been shown repeatedly to reduce urinary excretion of both magnesium and calcium, meaning your body holds onto more of what you take in. This effect has been documented most clearly in peri- and postmenopausal women, but the mineral pathway it acts on isn’t unique to that group. Boron is found in foods like avocados, nuts, and dried fruits, and supplement doses typically range from 3 to 6 mg per day.

What Blocks Magnesium Absorption

Knowing what to avoid matters just as much as knowing what to add. Phytates, found in whole grains, rice, beans, and nuts, can reduce magnesium absorption by up to 60% in a dose-dependent manner. That means the more phytate-rich food you eat alongside your supplement, the less magnesium you absorb. Oxalates, concentrated in spinach, rhubarb, and beets, work through a similar mechanism. Both compounds bind to magnesium in the gut, forming insoluble clumps that pass through without being absorbed.

This doesn’t mean you need to avoid these foods entirely. They’re nutritious for other reasons. But if you’re taking a magnesium supplement, spacing it away from high-phytate or high-oxalate meals by an hour or two gives the mineral a much better chance of making it into your system.

Take Calcium and Magnesium at Different Times

Calcium and magnesium compete for the same absorption pathways in your gut. Excess calcium doesn’t just crowd magnesium out during absorption; it also increases how much magnesium your kidneys excrete. Research on bone health outcomes suggests problems emerge when calcium intake exceeds 3.2 times your magnesium intake. For someone taking 400 mg of magnesium, that would be anything above roughly 1,280 mg of calcium.

The simplest fix is to take them at separate meals. If you take calcium with breakfast, take magnesium with dinner, or vice versa. This avoids the direct competition in your intestines and lets each mineral absorb on its own terms.

Stomach Acid Matters More Than You Think

Your stomach needs to be acidic enough to break magnesium supplements apart before they can be absorbed in the small intestine. The FDA has flagged that long-term use of proton pump inhibitors, the medications commonly prescribed for acid reflux, is associated with low magnesium levels. The exact mechanism isn’t fully understood, but changes in intestinal absorption are suspected. If you take acid-reducing medication regularly, this is worth discussing with your provider, as you may need a more bioavailable form of magnesium or a higher dose to compensate.

The Form of Magnesium You Choose Also Matters

Not all magnesium supplements dissolve and absorb equally. In controlled testing, supplements with better-formulated magnesium compounds raised blood magnesium levels by about 8% above baseline, while poorly bioavailable forms (primarily magnesium oxide alone) produced increases of only 4.6%, barely different from a placebo. That gap is significant when you’re trying to correct a deficiency or maintain adequate levels over time.

Chelated forms, where magnesium is bound to an organic molecule like glycine or citric acid, generally dissolve more completely in the gut. Magnesium oxide is the most common form on store shelves because it’s cheap and packs a high amount of elemental magnesium per tablet, but a large portion passes through unabsorbed. If absorption is your priority, magnesium citrate, glycinate, or malate are more reliable choices, even though the elemental magnesium per capsule is lower.

Putting It All Together

For practical purposes, the highest-impact combination is magnesium in a well-absorbed form, taken with 30 to 50 mg of vitamin B6, at a meal that isn’t heavy in whole grains or high-oxalate vegetables, and separated from any calcium supplements by several hours. Adding vitamin D (at any point in the day) and a small amount of boron further supports retention. These aren’t exotic additions. Most of them are already in a standard multivitamin, which means the real strategy is less about adding things and more about timing your supplements so they aren’t working against each other.