Magnesium deficiency affects roughly half of Americans, yet many people don't realize they're missing this essential mineral. Unlike calcium or iron, magnesium rarely gets attention in nutrition conversations, even though your body needs it for muscle function, nerve signaling, energy production, and bone health.

Registered dietitians recommend adults consume 310 to 420 milligrams of magnesium daily, depending on age and sex. Men aged 31 and older need 420 milligrams, while women in the same age group need 320 milligrams. Younger adults and children require less, but pregnancy increases requirements to 350 to 360 milligrams daily.

The 12 foods dietitians identify as magnesium powerhouses include leafy greens like spinach and kale, which deliver around 150 milligrams per cooked cup. Pumpkin seeds top the magnesium list with about 168 milligrams per ounce, making them one of the most efficient sources. Other nutrient-dense options include almonds (76 milligrams per ounce), black beans (60 milligrams per cooked cup), avocado (58 milligrams per fruit), and dark chocolate (95 milligrams per ounce).

Whole grains like quinoa and brown rice contribute moderate amounts, while fish such as salmon and mackerel provide magnesium alongside heart-healthy omega-3 fatty acids. Legumes including chickpeas and lentils offer plant-based protein paired with magnesium content.

Getting magnesium from whole foods beats supplements for most people, since food sources provide additional nutrients and fiber. However, certain conditions like digestive disorders, type 2 diabetes, or medications like diuretics can increase magnesium needs or reduce absorption, making supplementation