Most adults need between 310 and 420 mg of magnesium per day, and the easiest way to get more is by eating magnesium-rich foods like pumpkin seeds, almonds, spinach, and black beans. If your diet falls short, supplements can fill the gap, though the type you choose and how you take it both matter for absorption.
How Much You Actually Need
Your daily target depends on your age and sex. Men aged 19 to 30 need 400 mg per day, rising to 420 mg after 30. Women in the same age brackets need 310 mg and 320 mg, respectively. During pregnancy, the recommendation increases to 350 to 360 mg depending on age.
Many people fall short of these targets. Part of the reason is that the magnesium content of common fruits and vegetables has declined over decades of modern farming. A UK analysis comparing government food composition tables from 1940, 1991, and 2019 found that magnesium was among the minerals showing the largest overall reductions. That means even a diet full of vegetables may deliver less magnesium than the same diet would have generations ago.
The Best Food Sources
Seeds and nuts are the most concentrated everyday sources. A single ounce of pumpkin seeds delivers around 150 mg of magnesium, nearly half the daily target for most women. An ounce of almonds provides about 80 mg, and cashews come in close behind. Nut butters count too, so a couple tablespoons of almond butter on toast is a meaningful contribution.
Dark leafy greens are another reliable source. A half-cup of cooked spinach contains roughly 78 mg. Swiss chard and collard greens are in the same range. Black beans, edamame, and other legumes offer 60 to 120 mg per cooked cup, making them especially useful if you eat a plant-heavy diet. Among grains, brown rice, quinoa, and oatmeal all contribute moderate amounts per serving.
Dark chocolate is a surprisingly good source. An ounce of chocolate with 70% or higher cocoa content provides around 65 mg. Avocados, bananas, and fatty fish like salmon and mackerel round out the list, each adding 30 to 50 mg per serving. The practical takeaway: you don’t need exotic superfoods. A diet built around whole grains, nuts, leafy greens, and legumes gets most people to their target without supplements.
Getting More From the Food You Eat
It’s not just about what you eat. It’s also about what your body actually absorbs. Phytic acid, found naturally in whole grains, seeds, legumes, and some nuts, can bind to magnesium in your gut and reduce how much you take in. This doesn’t mean you should avoid these foods (many of them are top magnesium sources themselves), but how you prepare them matters. Soaking beans and grains overnight, sprouting seeds, and fermenting foods like sourdough bread all break down phytic acid and free up more minerals for absorption.
Vitamin D plays a two-sided role. At adequate levels, it helps your intestines absorb magnesium more efficiently. But very high doses of vitamin D can also increase how much magnesium your kidneys excrete. Maintaining a normal vitamin D level supports magnesium balance without tipping it in the wrong direction. Prebiotic fibers found in foods like onions, garlic, and bananas also help. When gut bacteria ferment these fibers, they produce short-chain fatty acids that improve the environment in your colon for absorbing both calcium and magnesium.
Spreading magnesium intake across meals rather than loading it all into one sitting also improves absorption, since your intestines can only take in so much at once.
Choosing a Supplement
If food alone isn’t getting you to your target, supplements can help. The form you choose affects how well your body absorbs it and what side effects you might experience. A systematic review of magnesium supplement bioavailability found that organic forms (where the magnesium is bound to a carbon-containing molecule) are generally better absorbed than inorganic forms.
Magnesium citrate is one of the most widely available and well-absorbed options. It’s affordable and effective for raising levels, though higher doses can have a laxative effect. Magnesium glycinate, which is bound to an amino acid, is absorbed through a different pathway in your gut and tends to be gentler on the stomach. It’s a good choice if you’re sensitive to digestive side effects. Magnesium oxide is cheap and packed with elemental magnesium per pill, but your body absorbs a smaller percentage of it, and it’s more likely to cause loose stools.
The tolerable upper limit for magnesium from supplements and fortified foods is 350 mg per day for adults. This limit doesn’t apply to magnesium in regular food, only supplemental sources. Going above this threshold increases the risk of diarrhea, nausea, and cramping. Extremely high doses can cause more serious problems including dangerously low blood pressure and irregular heart rhythms.
What About Magnesium Creams and Epsom Salt Baths
Topical magnesium products (creams, oils, and bath salts) are widely marketed as an alternative to oral supplements. The evidence so far is limited. A pilot study at the University of Hertfordshire applied a magnesium cream delivering 56 mg per day for two weeks and found an 8.5% increase in blood magnesium levels in the treatment group compared to 2.6% in the placebo group. However, the result was only statistically significant in a subgroup of non-athletes, and the study had just 25 participants.
Epsom salt baths may feel relaxing, but no large clinical trials have confirmed they raise magnesium levels meaningfully. If you enjoy them, there’s no harm, but don’t rely on topical application as your primary strategy for correcting a shortfall.
Signs You May Be Low
Mild magnesium deficiency often shows up as muscle cramps and spasms, tremors, fatigue, weakness, and numbness or tingling in the hands and feet. These symptoms overlap with many other conditions, which is part of why low magnesium often goes unrecognized. Normal blood magnesium levels fall between 1.46 and 2.68 mg/dL, but a standard blood test can miss a mild deficit because most of your magnesium is stored in bones and tissues, not in the blood.
Severe deficiency is less common but more dangerous, potentially causing seizures, delirium, and abnormal heart rhythms. Certain medications make deficiency more likely. Proton pump inhibitors (commonly used for acid reflux) can lower magnesium levels when taken for more than a year. Some diuretics increase magnesium loss through urine. If you take either of these long-term, monitoring your magnesium levels is worth discussing with your provider.
Timing Supplements Around Medications
Magnesium can interfere with several common medications. It reduces the absorption of certain antibiotics, so if you’re taking one, separate it from your magnesium supplement by at least two hours before or four to six hours after. The same spacing applies to bisphosphonates used for osteoporosis. Very high doses of zinc can also impair your body’s ability to regulate magnesium, so take them at different times of day if you supplement both.
A straightforward approach: take magnesium with a meal that doesn’t coincide with other supplements or medications. This improves absorption, reduces stomach upset, and avoids most interaction issues.

