Yes, magnesium is a mineral. It’s a chemical element (atomic number 12 on the periodic table), classified as an alkaline earth metal, and it’s one of the essential dietary minerals your body needs in relatively large amounts. In nutrition, it’s specifically categorized as a “macromineral,” meaning you need it in quantities measured in hundreds of milligrams per day, unlike trace minerals such as zinc or selenium that you need in much smaller doses.
What Magnesium Actually Does in Your Body
Magnesium is involved in over 300 biochemical reactions. That number sounds like a vague health-marketing claim, but it reflects the mineral’s genuine versatility. It serves as a helper molecule that enzymes need to do their jobs, from building proteins to copying DNA.
One of its most important roles is in energy production. Your cells run on a molecule called ATP, which is essentially their fuel. Magnesium binds directly to ATP to form a complex (Mg-ATP) that your mitochondria use to generate and transfer energy. Without enough magnesium, this process slows down.
Magnesium also regulates how your muscles contract and relax. It helps control the movement of calcium and other charged particles across cell membranes, and it influences nerve signaling at the junctions where nerves meet muscle fibers. This is why muscle cramps and twitches are among the earliest signs of low magnesium. The mineral plays a parallel role in heart muscle, where it helps maintain a steady rhythm by balancing out calcium’s stimulating effects on cardiac cells.
How Much You Need
The recommended daily amount depends on your age and sex. Adult men aged 19 to 30 need about 400 mg per day, rising to 420 mg after age 31. Adult women need 310 mg per day from ages 19 to 30, and 320 mg after 31. During pregnancy, the recommendation increases to 350 to 360 mg depending on age. Children need progressively more as they grow, starting at 80 mg for toddlers and reaching 240 mg by the early teen years.
More than half of the U.S. population doesn’t meet these targets through diet alone. That gap translates to an estimated 15% prevalence of actual magnesium deficiency, based on data from the National Health and Nutrition Examination Survey collected between 2003 and 2018.
Where Magnesium Comes From
Geologically, magnesium is the eighth most abundant element in Earth’s crust, making up about 2% of it. It’s found in minerals like dolomite and magnesite, and dissolved in seawater in large quantities.
In your diet, the richest sources are plant foods that concentrate the mineral from soil. Pumpkin seeds, chia seeds, and almonds are among the highest per serving. Dark leafy greens like spinach are also strong sources because magnesium sits at the center of chlorophyll, the molecule that makes plants green. Legumes, whole grains, and dark chocolate contribute meaningful amounts too. Tap water can also be a source, particularly in areas with “hard” water that’s high in dissolved minerals.
Highly processed foods tend to be low in magnesium because refining strips it away. White flour, for example, loses roughly 80% of the magnesium found in whole wheat.
Signs of Low Magnesium
Mild deficiency often shows up as muscle cramps, fatigue, and irritability. These symptoms are easy to dismiss or attribute to other causes, which is part of why low magnesium goes unrecognized so often. As levels drop further, you may notice numbness or tingling, an irregular heartbeat, or more frequent muscle spasms. Severe deficiency can cause personality changes and cardiac problems, though this level of depletion is uncommon in otherwise healthy people.
Certain groups are at higher risk. Older adults absorb less magnesium from food and excrete more through the kidneys. People with digestive conditions like Crohn’s disease or celiac disease may absorb it poorly. Heavy alcohol use and certain medications, particularly some diuretics, also deplete magnesium stores over time.
Choosing a Magnesium Supplement
If your diet falls short, supplements come in many forms, and they’re not all absorbed equally. The key distinction is between organic and inorganic forms. Organic forms (where “organic” refers to the chemistry, not the farming label) include magnesium citrate, magnesium glycinate, and magnesium malate. These are generally better absorbed than inorganic forms like magnesium oxide.
Magnesium oxide is one of the most common supplement forms because it’s cheap and packs a high amount of elemental magnesium per pill. But your body absorbs a smaller fraction of it compared to citrate or glycinate. For citrate specifically, the percentage your body absorbs decreases as the dose increases, so splitting doses throughout the day can improve uptake. Taking magnesium on an empty stomach also tends to increase the total amount absorbed.
For people who are generally healthy and just looking to fill a modest dietary gap, most forms will maintain normal levels. The differences in absorption matter more if you’re older, have a digestive condition, or are trying to correct a known deficiency.

