Most adults need between 310 and 420 mg of magnesium per day from all sources combined, depending on age and sex. If you’re supplementing, the safe upper limit from supplements alone is 350 mg per day for adults. That number doesn’t count magnesium you get from food, which means your total daily intake can safely exceed 350 mg as long as the extra comes from your diet.
Daily Needs by Age and Sex
Magnesium requirements shift across your lifespan. Adult men aged 19 to 30 need about 400 mg per day, rising to 420 mg after age 31. Adult women in the same age ranges need 310 mg and 320 mg, respectively. During pregnancy, the target increases to roughly 350 to 360 mg depending on age, and breastfeeding women need 310 to 320 mg.
Children need less. Kids aged 1 to 3 need about 80 mg daily, 4 to 8 year olds need 130 mg, and teenagers need 240 to 410 mg depending on sex. Most people can meet these targets through diet alone, but surveys consistently show that a significant portion of adults fall short.
The 350 mg Supplement Ceiling
The National Institutes of Health sets the tolerable upper intake level for supplemental magnesium at 350 mg per day for anyone 9 and older. For younger children, the limits are lower: 65 mg for ages 1 to 3 and 110 mg for ages 4 to 8. This cap applies only to magnesium from supplements and medications, not from food. You won’t overdose on magnesium from spinach or almonds.
Going above 350 mg in supplement form raises your risk of diarrhea, nausea, and abdominal cramping. In extreme cases, very high doses can cause dangerously low blood pressure, slowed breathing, and irregular heartbeat. The digestive side effects usually show up well before anything serious happens, which is why loose stools are often the first sign you’ve taken too much.
Which Form of Magnesium Matters
Not all magnesium supplements deliver the same amount of usable mineral. Organic forms (magnesium bound to a carbon-containing molecule) tend to dissolve more easily and absorb better than inorganic forms. Their absorption is also less affected by your stomach’s acidity level, making them more predictable.
Here’s how the most common forms compare:
- Magnesium citrate: Well absorbed and widely available. Often used for general supplementation and constipation relief. Its absorption rate decreases as the dose increases, so splitting your dose across the day can help.
- Magnesium glycinate: Bound to the amino acid glycine, making it gentle on the stomach. Popular for sleep and relaxation support because glycine itself has calming properties.
- Magnesium oxide: Contains more elemental magnesium per pill but absorbs poorly. Commonly used for migraine prevention at higher doses because you can pack more into fewer tablets.
- Magnesium malate: Bound to malic acid, which plays a role in energy production. Sometimes preferred by people dealing with fatigue or muscle soreness.
The form you choose should match what you’re trying to accomplish. If you just want to fill a dietary gap, citrate or glycinate are reliable options. If you have a specific health goal, the dose and form may look different.
Doses for Specific Health Goals
Migraine Prevention
The American Migraine Foundation recommends 400 to 600 mg of magnesium oxide daily for migraine prevention. The American Headache Society and American Academy of Neurology gave magnesium a Level B rating, meaning it’s “probably effective” and worth considering. This dose exceeds the general supplement ceiling, so it falls into the category of therapeutic use rather than routine supplementation.
Muscle Cramps and Exercise
Evidence for magnesium and muscle cramps is mixed. One study found that 300 mg daily reduced the frequency and intensity of leg cramps during pregnancy, but a 2021 review couldn’t confirm that magnesium reliably helps with cramps in general. For athletic performance, a study of volleyball players taking 350 mg per day showed improvement, while other research suggests that athletes who already have adequate magnesium levels won’t see a benefit from extra supplementation. If you’re not deficient, more magnesium probably won’t help your workouts.
Sleep
Research on magnesium and sleep often uses magnesium alongside other compounds, making it hard to isolate its effect. One clinical trial used 225 mg of magnesium combined with melatonin and zinc, taken an hour before bed for eight weeks, and found improvements in sleep quality among older adults with insomnia. Magnesium glycinate is the most popular form for sleep because of its calming co-ingredient, but standalone evidence for magnesium as a sleep aid remains limited.
How to Tell if You’re Low
Standard blood tests for magnesium can be misleading. Your body pulls magnesium from bones to keep blood levels stable, so a normal blood reading doesn’t necessarily mean your stores are adequate. A red blood cell (RBC) magnesium test measures magnesium inside your cells rather than floating in your blood, and it’s considered a better indicator of your true magnesium status. If you suspect you’re deficient, asking for an RBC magnesium test gives you a more accurate picture.
Common signs of low magnesium include muscle twitches, fatigue, poor appetite, and numbness or tingling. Severe deficiency can cause abnormal heart rhythms and personality changes, though this level is uncommon without an underlying medical condition.
Timing and Drug Interactions
Magnesium binds to certain medications in your digestive tract, reducing how much of the drug your body absorbs. If you take any of the following, separate them from your magnesium supplement by at least two hours (and preferably four to six):
- Quinolone and tetracycline antibiotics
- Bisphosphonates (used for osteoporosis)
- Gabapentin (used for nerve pain and seizures)
For most people without medication conflicts, taking magnesium with a meal reduces the chance of stomach upset. Splitting your dose into two smaller amounts, one in the morning and one in the evening, can improve absorption and minimize digestive side effects.
Getting More From Food
Before reaching for a supplement, it’s worth checking your diet. A single ounce of pumpkin seeds delivers about 156 mg of magnesium. One cup of cooked spinach provides around 157 mg. Other strong sources include almonds, black beans, dark chocolate, avocados, and whole grains. Two or three servings of magnesium-rich foods per day can close the gap for many people without any supplementation at all.
If your diet consistently falls short, a supplement in the 200 to 350 mg range covers the difference for most adults without approaching the upper limit. Start at the lower end and increase gradually, giving your gut time to adjust.

