Magnesium While Breastfeeding: How Much You Need and Is It Safe to Supplement?
By Breastfeeding Mom Editorial TeamUpdated 6 min read
Magnesium shows up in prenatal vitamins, sleep gummies, heartburn tablets and laxatives, so it’s easy to end up taking more of it than you think. The short version is that magnesium is a normal part of a healthy diet and is generally considered compatible with breastfeeding. The part to watch is the total from supplements and medicines. This guide covers how much you need, what foods provide it, what NIH’s lactation database says, and where the evidence is thin. It is general information, so check with your doctor or pharmacist about your own situation. It’s part of our medicines and safety guides, and for more on eating well while nursing, see our nutrition and health guides.
How much magnesium do you need while breastfeeding?
NIH’s Office of Dietary Supplements (ODS) lists these Recommended Dietary Allowances (RDAs) for people who are breastfeeding. They include magnesium from all sources: food, drinks, supplements and medicines.
| Age | Magnesium per day (breastfeeding) |
|---|---|
| 14 to 18 years | 360 mg |
| 19 to 30 years | 310 mg |
| 31 to 50 years | 320 mg |
These are the same numbers ODS lists for women who aren’t pregnant or nursing in these age groups. The higher pregnancy figures (350 to 400 mg) drop back down once you’re breastfeeding.
ODS says many people in the US consume less than the recommended amount from food, with older men and adolescents most at risk. It also says that, when food and supplements are combined, total intakes are generally above recommended amounts. Magnesium deficiency is uncommon in healthy people. Early signs include loss of appetite, nausea, vomiting, fatigue and weakness.
Food first: where magnesium comes from
ODS says good sources include green leafy vegetables, legumes, nuts, seeds, whole grains and some fortified cereals. About 30% to 40% of the magnesium in food is absorbed. From ODS’s table of selected foods:
| Food | Magnesium |
|---|---|
| Pumpkin seeds, roasted, 1 oz (28 g) | 156 mg |
| Chia seeds, 1 oz (28 g) | 111 mg |
| Almonds, dry roasted, 1 oz (28 g) | 80 mg |
| Spinach, boiled, 1/2 cup | 78 mg |
| Black beans, cooked, 1/2 cup | 60 mg |
| Peanut butter, smooth, 2 tablespoons | 49 mg |
| Yogurt, plain, low fat, 8 oz (240 ml) | 42 mg |
| Whole wheat bread, 1 slice | 23 mg |
Our calculation: 1 oz of pumpkin seeds (156 mg), 1/2 cup of boiled spinach (78 mg), 1/2 cup of black beans (60 mg) and a slice of whole wheat bread (23 mg) add up to 317 mg, which meets the 310 mg RDA for ages 19 to 30. That’s an example, not a prescription. Our breastfeeding snacks guide has easy ways to work these foods in.
Magnesium supplements: the 350 mg limit
ODS sets a Tolerable Upper Intake Level of 350 mg a day for magnesium from supplements and medicines for adults and teens aged 9 and up, and the same 350 mg applies to people who are lactating. Two details trip people up:
- It doesn’t count food. ODS says magnesium naturally in food and drinks is not harmful and doesn’t need to be limited, because in healthy people the kidneys remove the excess. The limit covers supplements and medicines only, which is why it can look lower than the RDA.
- It includes everything you swallow. ODS says magnesium appears in multivitamin and mineral supplements, in some heartburn and indigestion products, and as a key ingredient in certain laxatives.
Too much from supplements or medicines can cause diarrhea, nausea and abdominal cramping. ODS says very high doses can cause low blood pressure, vomiting, difficulty breathing, irregular heartbeat and cardiac arrest, and that a few cases of fatal hypermagnesemia have been reported. ODS says not to go above the upper limit unless a health care provider recommends it.
Which form?
ODS says forms that dissolve well in liquid are absorbed better. The aspartate, citrate, lactate and chloride forms tend to be better absorbed than magnesium oxide and magnesium sulfate. Better absorbed isn’t the same as safer or more effective for a particular problem, and ODS doesn’t compare other forms such as glycinate.
What LactMed says about breastfeeding
LactMed, NIH’s drugs and lactation database, has entries for several magnesium salts. For magnesium citrate, hydroxide, oxide and aspartate, it says:
- Intravenous magnesium raises the magnesium level in milk only slightly, and a baby absorbs little magnesium by mouth, so a mother’s oral magnesium is not expected to affect her baby’s blood magnesium.
- A study of magnesium hydroxide during breastfeeding found no adverse reactions in breastfed infants. For citrate, oxide and aspartate it says specific information on use during breastfeeding is not available, but that other magnesium salts have been studied.
- Magnesium taken during pregnancy might delay the onset of lactation, but it can be taken while breastfeeding and no special precautions are required.
LactMed’s magnesium sulfate entry covers the hospital IV form. It says that postpartum IV magnesium sulfate for 24 hours appears to delay the onset of lactation compared with shorter durations of 6 to 12 hours. That is a hospital treatment, not the kind of magnesium in an over-the-counter supplement.
What magnesium can and can’t do
- Migraine. ODS says the American Academy of Neurology and the American Headache Society concluded that magnesium is probably effective for migraine prevention, although the data are limited. It advises using it for this purpose under a provider’s care.
- Blood pressure and diabetes. ODS says supplements lower blood pressure only slightly, and that there isn’t enough evidence to recommend magnesium to improve blood sugar control in diabetes.
- Constipation. ODS says magnesium is a key ingredient in some laxatives. Ask your doctor or pharmacist before using one regularly.
- Sleep, mood, leg cramps and milk supply. We looked and found no primary source we could open that supports magnesium for these in breastfeeding parents, and the NIH fact sheets don’t list them. Evidence is limited, so we aren’t making claims.
Medicines that interact
ODS says magnesium supplements can interfere with some medicines. Bisphosphonates and some antibiotics, such as tetracyclines and quinolones, may not be absorbed well when taken too close to a magnesium supplement. Diuretics can raise or lower the amount of magnesium you lose, long-term acid-reflux medicines can lower your blood level, and very high zinc doses can interfere with magnesium absorption. If you take antibiotics, see our guide to antibiotics while breastfeeding, and note that some antacids contain magnesium, as covered in heartburn and stomach medicines while breastfeeding.
When to call a doctor
- Call your doctor if you have diarrhea, nausea or stomach cramps after starting a magnesium supplement. Try cutting back with your pharmacist’s advice.
- Get emergency care for irregular heartbeat, difficulty breathing or severe weakness after taking a lot of magnesium, including from laxatives or antacids.
- Ask your doctor before supplementing if you have kidney problems or take any of the medicines above.
- Call your baby’s doctor about any new diarrhea, poor feeding or unusual sleepiness. Our baby poop color chart shows what’s typical.
Frequently asked questions
Is magnesium glycinate safe while breastfeeding?
We found no LactMed entry for magnesium glycinate, and the NIH fact sheets don't rank it. LactMed does have entries for magnesium citrate, hydroxide, oxide and aspartate, which say oral magnesium is not expected to affect the baby. The 350 mg supplement limit applies to the magnesium in the product, so check the label.
Does magnesium increase milk supply?
We found no primary source showing that it does. Neither NIH fact sheet nor LactMed lists milk supply as a use. If you're worried about supply, see our guide to increasing milk supply rather than adding a supplement.
Can I take magnesium with my prenatal vitamin?
Many people do, but the 350 mg upper limit counts magnesium from all supplements and medicines together, including multivitamins, antacids and laxatives. Add up the amounts on your labels, and ask your pharmacist if you're unsure.
Will magnesium give my baby loose stools?
LactMed says oral absorption of magnesium by an infant is poor and a mother's magnesium treatment isn't expected to change the baby's magnesium level. The high-dose side effects NIH lists, such as diarrhea, are for the person taking the supplement.
Is magnesium for migraines okay while nursing?
NIH says magnesium is probably effective for migraine prevention, though the data are limited, and recommends taking it for that purpose only under a health care provider's care. Tell your provider you're breastfeeding.
Sources
- NIH Office of Dietary Supplements: Magnesium Fact Sheet for Health Professionalshttps://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
- NIH Office of Dietary Supplements: Magnesium Fact Sheet for Consumershttps://ods.od.nih.gov/factsheets/Magnesium-Consumer/
- LactMed: Magnesium Citratehttps://www.ncbi.nlm.nih.gov/books/NBK500569/
- LactMed: Magnesium Hydroxidehttps://www.ncbi.nlm.nih.gov/books/NBK501338/
- LactMed: Magnesium Oxidehttps://www.ncbi.nlm.nih.gov/books/NBK500570/
- LactMed: Magnesium Aspartatehttps://www.ncbi.nlm.nih.gov/books/NBK500895/
- LactMed: Magnesium Sulfatehttps://www.ncbi.nlm.nih.gov/books/NBK501339/
This guide is general information, not medical advice. For your own situation, talk to your doctor, midwife, pharmacist or an IBCLC lactation consultant. Read our medical disclaimer and find breastfeeding support near you.
Related articles
Heartburn and Stomach Medicines While Breastfeeding: Tums, Pepcid, Pepto-Bismol and More
Antacids, famotidine, omeprazole, loperamide and simethicone are generally fine while nursing. Pepto-Bismol is the one where the sources urge caution.
Can You Take Creatine While Breastfeeding? What We Know (and Don't)
Creatine is naturally in breast milk, but supplements have never been studied in nursing mothers. Here's the honest evidence and how to decide with your doctor.
Ashwagandha While Breastfeeding: What NIH and LactMed Say
Ashwagandha is popular for stress and sleep, but NIH says not to use it while breastfeeding and LactMed says no safety data exist. Here's why.
Excedrin While Breastfeeding: Is the Aspirin a Problem?
Excedrin Migraine combines acetaminophen, aspirin and caffeine. Here is what LactMed says about each one, plus Midol and gentler headache options.

