The best way to take magnesium is with a meal, using a well-absorbed form, and staying at or below 350 mg per day from supplements. Beyond that simple summary, the form you choose, when you take it, and what else you’re eating or taking all affect how much your body actually uses. Here’s what matters.
Take It With Food
Magnesium absorbs better when you take it alongside a meal. One study found that absorption increased from about 46% to 52% when magnesium was consumed with food rather than on an empty stomach. That boost happens because food slows digestion, giving your intestines more time to pull magnesium into your bloodstream.
Taking magnesium on an empty stomach also raises the odds of digestive side effects: diarrhea, nausea, and stomach cramps. If you’ve ever tried a magnesium supplement and felt like it went straight through you, this is likely why.
One caveat: separate your dose from high-fiber foods and foods rich in phytates or oxalates by about two hours. Whole grains, beans, nuts, and leafy greens contain compounds that bind to magnesium and reduce absorption. A meal with rice and chicken, for instance, is a better pairing than a meal heavy on lentils and spinach.
Choose the Right Form
Not all magnesium supplements are the same. The form listed on the label determines how well your body absorbs it and what side effects to expect.
- Magnesium glycinate is one of the gentlest options. It’s bonded to an amino acid, which helps your body absorb it efficiently and makes it less likely to cause diarrhea. A solid choice if you have a sensitive stomach or already have regular bowel movements.
- Magnesium citrate absorbs well but has a noticeable laxative effect. If you tend toward constipation, that may actually be a benefit. If not, glycinate or malate is a better fit.
- Magnesium malate and magnesium chloride also absorb efficiently and have strong evidence behind them.
- Magnesium oxide is the cheapest and most widely available form, but your body absorbs it poorly. It contains more elemental magnesium per pill, yet less of it actually reaches your bloodstream. It’s also more likely to cause diarrhea.
The general principle: chelated forms (where magnesium is bonded to amino acids or organic compounds) tend to absorb better than simple mineral salts like oxide or carbonate.
Pills, Powders, and Sprays
Oral supplements, whether capsules, tablets, or powders mixed into water, are the most reliable way to raise your body’s magnesium levels. Once swallowed, magnesium moves from your digestive tract into your bloodstream, where your body uses or stores it (mostly in bones and cells). Powders and pills work equally well as long as they contain the same form and dose.
Magnesium sprays are a different story. They rely on absorption through the skin, and current research does not strongly support their ability to raise magnesium levels throughout the body. Small amounts may pass through skin under certain conditions, particularly around hair follicles, but sprays don’t match what oral supplements can do. They may offer some localized relief for sore muscles, but they aren’t a substitute for oral magnesium if you’re trying to correct a deficiency.
Morning or Night
There’s no strict rule about time of day. If you’re taking magnesium for general health, take it whenever you’ll remember and whenever you’re eating a meal.
If you’re taking it to support sleep, bedtime is the logical choice. Magnesium plays a role in your body’s production of melatonin and may help with falling asleep, staying asleep, and reducing leg cramps or restless legs that disrupt sleep. A common recommendation for sleep support is 250 to 500 mg taken as a single dose at bedtime, tried nightly for about three months to gauge whether it’s helping.
How Much Is Safe
The tolerable upper intake level for supplemental magnesium is 350 mg per day for adults. That number covers only what you get from supplements and medications. Magnesium from food doesn’t count toward it, and you don’t need to worry about eating too many magnesium-rich foods.
Going above 350 mg from supplements often triggers diarrhea, nausea, and cramping. The forms most likely to cause these problems are magnesium oxide, carbonate, chloride, and gluconate. If you’re taking a high dose for sleep (up to 500 mg), be aware you’re exceeding the upper limit and should watch for digestive issues.
True magnesium toxicity from supplements is rare in people with healthy kidneys, but early signs include low blood pressure, dizziness, nausea, and weakness. More serious symptoms, like confusion, difficulty breathing, or drowsiness, signal a need for immediate medical attention.
Medications That Interfere
Magnesium can interact with several common medications, usually by blocking their absorption in the gut. The most important ones to know about:
- Antibiotics: Tetracyclines (like doxycycline and minocycline) and fluoroquinolones (like ciprofloxacin) bind to magnesium, which reduces how much antibiotic your body absorbs. Take these antibiotics two hours before or four to six hours after your magnesium dose.
- Bone density medications: Bisphosphonates need to be taken on an empty stomach, and magnesium interferes with their absorption. Separate them by at least two hours.
- Blood pressure medications: Calcium channel blockers combined with magnesium may cause blood pressure to drop too low.
- Diabetes medications: Sulfonylureas can be absorbed more strongly when taken with magnesium, raising the risk of low blood sugar.
- Diuretics: Some diuretics (like hydrochlorothiazide and furosemide) cause your body to lose magnesium through urine, which may increase your need for supplementation. Others, like spironolactone, cause your body to retain magnesium, which could push levels too high if you’re also supplementing.
If you take any of these, spacing your magnesium dose at least two hours away from the medication is the standard approach.
A Simple Routine
For most people, the ideal approach looks like this: pick a well-absorbed form like glycinate or citrate, take it with a meal that isn’t loaded with beans or whole grains, stay at or below 350 mg, and keep it consistent. If sleep is your goal, shift that dose to bedtime. If you notice loose stools, try switching to glycinate or lowering your dose. Magnesium is one of the simpler supplements to get right once you know the basics.