University of FloridaSolutions for Your Life

Download PDF
Publication #FCS8810

Facts About Magnesium1

Linda B. Bobroff and Jennifer Hillan2

Why Do We Need Magnesium?

Magnesium is a mineral needed by every cell in the body. More than 300 chemical reactions in the body require magnesium. Magnesium helps to:

  • support normal muscle and nerve function;

  • keep a steady heartbeat;

  • keep bones strong;

  • make protein and DNA; and

  • use energy from the foods we eat.

Figure 1. 

Every cell in your body needs magnesium, so it is important to get enough in your diet.



[Click thumbnail to enlarge.]

What Happens If We Don't Get Enough Magnesium?

Many Americans don’t get enough magnesium in their diets. But most healthy people do not have signs of deficiency even if their intake is low because the body stores this mineral. However, people who abuse alcohol, take certain diuretic drugs, or have kidney disease may be at risk for magnesium deficiency. Long-lasting diarrhea or vomiting also can cause a deficiency. Older adults often do not get enough magnesium in their diets.

The following conditions can be signs of magnesium deficiency or other medical problems. Check with your doctor if you have:

  • loss of appetite;

  • confusion;

  • abnormal heartbeat;

  • muscle cramps;

  • high blood pressure; or

  • seizures.

How Much Magnesium Do We Need?

Table 1. 

Recommended daily intakes of magnesium

Life Stage



Men, ages 19–30


Men, ages 31+


Women, ages 19–30


Women, ages 31+


Pregnancy, ages 19–30


Pregnancy, ages 31+


Breastfeeding, ages 19–30


Breastfeeding, ages 31+


mg = milligrams of magnesium

How Can We Get Enough Magnesium?

The best sources of magnesium are nuts, legumes, seeds, dark green vegetables, seafood, and whole grains. We can get enough magnesium by eating a variety of these foods every day. Some sources of “hard” water add magnesium to the diet.

Table 2. 

Food sources of magnesium




Sesame seeds, toasted, 1 ounce


Almonds, roasted, 1 ounce


Avocado, Florida, 1 medium


Spinach, cooked, ½ cup


Wheat germ, ¼ cup


Oatmeal, cooked, 1 cup


100% bran flakes cereal, ¾ cup


Black beans, cooked, ½ cup


Potato, baked, with skin, 1 medium


Peanuts, dry roasted, 1 ounce


Whole-wheat bread, 2 slices


Figs, dried, 5


Banana, medium


Halibut, cooked, 3 ounces


mg = milligrams of magnesium

*USDA, Agricultural Research Service, National Research Library,

Figure 2. 

Nuts such as almonds and cashews are good sources of magnesium.



[Click thumbnail to enlarge.]

What About Supplements?

People who eat a variety of healthy foods generally don’t need magnesium supplements. However, people who have certain diseases or take certain medications may need extra magnesium. Your health care provider can tell you if you need to take a magnesium supplement.

How Much Is Too Much?

Magnesium is found in a number of over-the-counter drugs, including “milk of magnesia” and some antacids. Large doses of these products or magnesium supplements can cause nausea, diarrhea, and stomach cramps. Magnesium from foods does not cause these symptoms. You should not get more than 350 mg of magnesium per day from supplements or drugs.

Where Can I Find More Information?

The Family and Consumer Sciences (FCS) agent at your local UF/IFAS Extension office may have more information or nutrition classes for you to attend (find your local UF/IFAS Extension office at Also, a registered dietitian (RD) can provide reliable information.

The following websites also have reliable information:



This document is FCS8810, one of a series of the Family, Youth and Community Sciences Department, UF/IFAS Extension. Original publication date April 2009. Revised July 2013. Reviewed October 2016. Visit the EDIS website at


Linda B. Bobroff, PhD, RD, LD/N, professor, Department of Family, Youth and Community Sciences; and Jennifer Hillan, MSH, RD, LD/N, former ENAFS nutrition educator; UF/IFAS Extension, Gainesville, FL 32611.

The Institute of Food and Agricultural Sciences (IFAS) is an Equal Opportunity Institution authorized to provide research, educational information and other services only to individuals and institutions that function with non-discrimination with respect to race, creed, color, religion, age, disability, sex, sexual orientation, marital status, national origin, political opinions or affiliations. For more information on obtaining other UF/IFAS Extension publications, contact your county's UF/IFAS Extension office.

U.S. Department of Agriculture, UF/IFAS Extension Service, University of Florida, IFAS, Florida A & M University Cooperative Extension Program, and Boards of County Commissioners Cooperating. Nick T. Place, dean for UF/IFAS Extension.