If you’re dealing with a hazy mind and energy that feels like it’s been drained right out of you, it’s tempting to blame stress, sleep, or your schedule. Those can absolutely matter—but there’s also a nutrition angle that’s easy to overlook. One mineral in particular plays an outsized role in turning food into usable energy and helping your nervous system function smoothly.
Magnesium’s job in energy and brain function
Magnesium is an essential mineral your body uses in hundreds of biochemical reactions, including processes that help produce ATP—the “energy currency” your cells run on. When magnesium status is low, the systems that keep your muscles, nerves, and brain operating efficiently may not work at their best, which can show up as low energy, trouble concentrating, or that “foggy” feeling.
It also helps regulate nerve signaling and muscle function and supports normal sleep physiology. That matters because poor sleep and nervous system strain can feed into daytime fatigue and reduced mental sharpness, even if you’re doing everything else “right.”
Common reasons people don’t get enough
Many people fall short simply because magnesium-rich foods aren’t consistently in the mix. Modern eating patterns often lean on refined grains and highly processed foods, which tend to be lower in magnesium than whole foods. Even if you eat fairly well, you might not get enough every day without intending to.
Some factors can also increase magnesium losses or needs, including heavy sweating, frequent alcohol intake, and certain medical conditions. A number of medications can affect magnesium levels as well, so it’s worth asking a clinician or pharmacist if anything you take could be relevant.
Signs that can overlap with “brain fog” and fatigue
Low magnesium doesn’t have a single signature symptom, and the same complaint can have many causes. Still, magnesium is involved in systems that influence energy, mood, muscle performance, and sleep—so issues in those areas can overlap with what people describe as brain fog or crushing tiredness.
Other symptoms sometimes associated with low magnesium status include muscle cramps or twitches, headaches, constipation, and trouble sleeping. If your fatigue is new, severe, or paired with red flags like shortness of breath, chest pain, fainting, unexplained weight loss, fever, or persistent numbness/weakness, get medical help promptly rather than assuming it’s nutritional.
Food-first ways to boost magnesium
The most reliable (and safest) way to raise your intake is to eat more magnesium-rich foods consistently. Good options include nuts and seeds (especially pumpkin seeds, almonds, and cashews), legumes (black beans, lentils, edamame), whole grains, leafy greens like spinach, and foods such as avocado and dark chocolate with a high cocoa content.
A practical approach is to “anchor” one magnesium-rich food at most meals. Add beans to a salad, toss pumpkin seeds into yogurt, swap in a whole grain, or build a snack around nuts plus fruit. Small changes add up quickly when they’re repeatable.
Supplements: helpful for some, not right for everyone
If you’re not able to meet your needs through food—or you and your clinician suspect low intake—supplementation can be an option. Different forms are used for different goals; for example, magnesium citrate is commonly used and may loosen stools, while magnesium glycinate is often chosen for better tolerance. Regardless of form, magnesium supplements can cause diarrhea or stomach upset, especially at higher doses.
It’s important to check with a healthcare professional if you have kidney disease or reduced kidney function, because magnesium can accumulate in the body. Also ask about interactions if you take medications; magnesium can interfere with absorption of certain drugs (and some drugs can affect magnesium), so timing and oversight matter.
If you suspect magnesium might be part of what’s dragging you down, start with a simple inventory of your diet and a few targeted upgrades. If symptoms persist, don’t guess—talk with a clinician to look for other causes and decide whether testing or a supplement plan makes sense. Getting the basics right can be surprisingly powerful, but it’s most effective when it’s tailored to you.