How Much Magnesium Per Day Is Actually Safe?

Most adults need between 310 and 420 mg of magnesium per day from all sources, depending on age and sex. If you’re taking a supplement on top of what you get from food, the safety ceiling for supplemental magnesium alone is 350 mg per day for adults. That number, set by the National Institutes of Health, is specifically about supplements and fortified foods, not magnesium naturally present in what you eat.

Daily Requirements by Age and Sex

Your recommended daily intake shifts at different life stages. For adult men aged 19 to 30, the target is 400 mg. After 31, it rises slightly to 420 mg and stays there. For adult women aged 19 to 30, the recommendation is 310 mg, increasing to 320 mg from age 31 onward.

During pregnancy, needs go up. The NIH sets the recommendation at 350 to 360 mg depending on age, though some researchers suggest pregnant women may benefit from closer to 400 mg daily. During breastfeeding, the target returns to roughly the same level as for non-pregnant women: 310 to 320 mg.

Teenagers have surprisingly high needs because of rapid growth. Boys aged 14 to 18 need 410 mg, and girls in that range need 360 mg.

The Supplement Safety Limit

The tolerable upper intake level (UL) for supplemental magnesium is 350 mg per day for anyone over age 8. This applies only to magnesium from supplements, not from food. Your body handles magnesium from food without issue because it’s absorbed gradually and in smaller amounts per serving. Supplements deliver a concentrated dose all at once, which is why the limit exists.

Going over 350 mg from supplements isn’t automatically dangerous for most people, but the first sign you’ve taken too much is usually diarrhea. Magnesium draws water into the intestines, and that laxative effect kicks in well before anything more serious happens. It’s the body’s built-in safety valve. Magnesium oxide and magnesium citrate are especially likely to cause this at higher doses.

When Too Much Becomes Dangerous

True magnesium toxicity from oral supplements is rare in people with healthy kidneys, because the kidneys efficiently flush excess magnesium through urine. The real risk comes from very high doses in people with impaired kidney function. When the kidneys can’t clear magnesium fast enough, blood levels climb and symptoms escalate in a predictable pattern: low blood pressure, sluggish reflexes, slowed breathing. At extremely elevated blood levels, cardiac arrest is possible, but this scenario is almost exclusively seen in hospital settings with intravenous magnesium or in people with advanced kidney disease taking supplements without medical guidance.

If you have chronic kidney disease, your kidneys lose the ability to regulate magnesium excretion effectively. Excess magnesium can also interfere with bone metabolism and hormone signaling from the parathyroid gland, compounding problems that are already common in kidney disease. This is one situation where even moderate supplementation needs to be closely managed.

Supplement Form Matters

Not all magnesium supplements are created equal. Organic forms (meaning the magnesium is bound to a carbon-containing molecule) are generally better absorbed than inorganic forms. Magnesium glycinate, which is bound to an amino acid, uses a different absorption pathway in the gut than other forms, which may explain why it tends to cause less digestive upset. Magnesium citrate is well absorbed but has a stronger laxative effect at higher doses. Magnesium oxide contains more elemental magnesium per pill but is the least well absorbed, so you get less actual magnesium into your bloodstream despite the higher number on the label.

One important detail when reading labels: the Supplement Facts panel lists the amount of elemental magnesium in the product, not the total weight of the compound. So if a bottle says 200 mg, that should mean 200 mg of actual magnesium your body can use, regardless of which form it’s in. This wasn’t always consistent across brands, but current labeling rules require it.

Magnesium for Sleep, Anxiety, and Cramps

Many people searching for magnesium dosing are looking to address a specific issue. For sleep, Mayo Clinic experts recommend 250 to 500 mg taken as a single dose at bedtime. Magnesium may help by shifting the balance toward calming neurotransmitters, which is why it can be particularly useful if anxiety or racing thoughts are what keep you awake.

For nocturnal leg cramps or restless legs, the same dose range applies. Magnesium’s role in muscle relaxation makes it a reasonable first option to try, though results vary from person to person. If you’re starting out, beginning at the lower end (around 200 to 250 mg) and working up gives your digestive system time to adjust and helps you find the minimum effective dose without the laxative side effects.

Medication Interactions to Watch For

Magnesium can interfere with how your body absorbs certain medications. Bisphosphonates, commonly prescribed for osteoporosis, are a well-known example. If you take one, you should wait at least 30 minutes after your dose before taking magnesium. The same applies to certain antibiotics in the tetracycline and fluoroquinolone families, where magnesium binds to the drug in the gut and reduces how much gets into your system. Spacing them at least two hours apart generally solves the problem.

Getting Magnesium From Food

Before adding a supplement, it helps to know how much you’re already getting from your diet. Pumpkin seeds are one of the richest sources, delivering around 150 mg per ounce. Almonds provide roughly 80 mg per ounce. Spinach cooked from half a cup gives about 78 mg. Black beans, edamame, dark chocolate, and avocado are also strong contributors. A diet rich in nuts, seeds, leafy greens, and whole grains can cover a significant portion of your daily needs, sometimes all of it.

If your diet is heavy on processed foods, you’re likely falling short. Refining grains strips out most of their magnesium, and surveys consistently show that a large portion of adults don’t meet the recommended intake from food alone. That gap is typically 100 to 200 mg, which is well within the range a modest supplement can fill without approaching the upper limit.