Buzzle
Health & Fitness

Does Magnesium Cause Anxiety, or Is Something Else Going On?

8 min read
A tablet, gummy, and open capsule of magnesium spilling powder beside a glass of water on an empty table.

You started taking magnesium three nights ago because your legs wouldn’t stop cramping, or because someone online swore it would fix your sleep. Now it’s 11 p.m., your heart feels a little quick, your stomach’s off, and you’re lying there wondering if the thing you took to feel calmer just made you feel worse. So you grab your phone and type the question straight into the search bar, half hoping for reassurance.

Here’s the reassurance, with the actual reasoning behind it, because “don’t worry about it” isn’t worth much on its own.

Wait, can magnesium actually cause anxiety?

On its own, no. Magnesium isn’t a stimulant, and nothing about its role in the body revs up your nervous system. It plays a supporting role in keeping nerve signals calm instead of overactive, working quietly in the background rather than doing anything dramatic on its own. More magnesium, in normal amounts, tends to support a calmer nervous system, not undercut it.

When people report feeling anxious after starting a magnesium supplement, a handful of specific things are usually responsible. Too much at once, a form that’s rough on the gut, an added ingredient riding along in the same bottle, or a body that’s a few days into adjusting to something new. Each of those has its own clear cause and its own fix, and none of them involve the mineral flipping a switch in your brain.

So why did you feel worse after starting it?

A few unglamorous, very common explanations cover most of these cases.

  • You took it on an empty stomach. Magnesium can irritate the stomach lining when there’s nothing else in there to buffer it, and that queasy, jittery feeling gets misread as anxiety fast.
  • Your gummy or drink mix has more going on than magnesium. A lot of “calm” blends quietly include B12, or a dose of caffeine or green tea extract marketed as “energy support.” Read the label again. You might be dosing yourself with a stimulant and blaming the mineral.
  • Your first dose was a big one. Some products pack more magnesium into a single serving than others, and a bigger dose gives your gut and your nervous system less time to adjust. A pharmacist can help you tell if your starting amount was on the high side for you.
  • You took it right before bed on a mostly empty stomach, then lay down. Lying flat on a stomach that’s working through a new supplement can turn ordinary digestive noise, a gurgle, a cramp, a flutter, into something that feels a lot more alarming at midnight than it would at noon.
  • You’re a few days into normal adjustment. Any new supplement, especially one that changes your bathroom habits or your sleep, can leave you feeling a little off for two or three days while your body recalibrates. That’s not a red flag by itself.

Could the form you picked be the problem?

This one matters more than people expect. Magnesium citrate is one of the cheapest and most common forms on the shelf. It pulls water into the intestines and moves things along, which is why it’s sold as a laxative in higher doses. For a lot of people that shows up as cramping, urgency, and a sudden need to know where the nearest bathroom is. Your body reads that combination, a racing gut, physical discomfort, a jolt of “something’s wrong,” as remarkably close to an anxiety spike, even though the trigger is entirely digestive.

Other forms behave differently. Magnesium glycinate is bound to glycine, an amino acid, and tends to move through the gut without pulling in the extra water that citrate does. Magnesium oxide, another cheap and common form, is poorly absorbed and can have a laxative effect similar to citrate’s, sometimes stronger. Newer forms like magnesium threonate or taurate are marketed for mood and sleep specifically, cost more, and have less research behind them than the basics do. If you started on citrate or oxide and things went sideways, that alone might explain it. A pharmacist or doctor can help you figure out which form makes the most sense for you.

Is it possible you’re actually taking too much?

This is worth checking against real numbers instead of guessing. The recommended daily amount for adults, from food and supplements combined, is roughly 310 to 320mg for women and 400 to 420mg for men. But supplements are held to a separate, stricter limit: the NIH Office of Dietary Supplements sets the tolerable upper intake level for supplemental magnesium at 350mg a day. That’s the ceiling for what you take in pill or powder form, on top of whatever you’re already getting from food, and food magnesium doesn’t count against it the same way because your kidneys clear the excess.

It adds up faster than people expect. A daily multivitamin might have 50 to 100mg of magnesium in it, and a “sleep support” gummy might add another 100 to 200mg. Add a separate magnesium supplement on top of that, and someone who thinks they’re taking “one dose” can end up well past 350mg without realizing it. Several products in the same cabinet often contain the same mineral.

Go past that upper limit and the symptoms are usually digestive first: loose stools, cramping, nausea. In rare cases, especially for people with kidney issues, magnesium can build up to a level that needs medical attention, and that’s a genuinely different situation from ordinary adjustment symptoms. Those are more serious and warrant medical attention, not a wait-and-see approach. The milder, more common version, the cramping and queasy unease of taking in more than your gut can process at once, can still feel a lot like your body is panicking. That’s your digestive system and kidneys signaling they’re working through more than they can process at once.

Could low magnesium be the real reason you’re anxious in the first place?

Here’s the flip side, and it’s the part that gets lost when people are mid-panic about a new supplement. Low magnesium is genuinely linked to anxious mood and a harder time bouncing back from stress. Because magnesium helps GABA do its calming job, running low can leave your nervous system a little more reactive than usual, quicker to spike, slower to settle. Chronic stress also burns through magnesium faster, since your body uses more of it under sustained cortisol output, which can create a cycle where feeling anxious and running low on magnesium feed each other.

Diets heavy on processed food tend to run low on magnesium, since it’s concentrated in things like leafy greens, nuts, seeds, beans, and whole grains, foods that don’t show up much in a typical fast-casual week. Coffee and alcohol both increase how much magnesium you lose through urine, which is part of why people who drink a lot of coffee and describe themselves as “wired and tired” are also more likely to be running low.

If that sounds like it might be closer to your situation, the fuller picture lives in a deeper look at magnesium for anxiety and at magnesium deficiency generally, including the other signs that tend to show up alongside it. For a lot of people, low magnesium may be quietly feeding an anxious mood that already has other causes too.

How do you tell the difference between “adjustment” and “this isn’t right for me”?

You don’t have to guess forever. A few things tend to sort it out within a matter of days.

  • Where the feeling is coming from matters. Digestive discomfort right after a dose, cramping, urgency, a queasy stomach, is a different animal than a racing heart that seems to come out of nowhere. If your stomach is the loudest voice in the room, that points toward the supplement itself rather than a true anxiety spike.
  • What else is in the bottle matters. Caffeine, added B vitamins, or an “energy” claim on the label are common enough in “calm” and “sleep” blends that they’re worth ruling out before blaming the mineral.
  • Timing matters. Genuine adjustment, your body getting used to a new routine, tends to ease up within three or four days. A problem that isn’t adjustment usually doesn’t fade on its own.
  • Form matters. Magnesium citrate and oxide are more likely to cause the cramping and urgency that can feel like a physical panic response, while magnesium glycinate is generally gentler on the gut. A pharmacist or doctor can help you sort out whether the amount you’re taking, how you’re taking it, or the form itself is the better thing to change.

Stop and call your doctor if you notice chest tightness, a racing or irregular heartbeat, confusion, or severe or persistent digestive symptoms, or if you have kidney disease or take medications that affect kidney function, since magnesium is cleared through the kidneys and needs closer supervision in those cases. That also goes for certain diuretics, some antibiotics like tetracyclines, and proton pump inhibitors taken long-term, all of which can change how your body handles magnesium.

If you only do one thing

Magnesium on its own isn’t the enemy here. In normal amounts, it tends to calm your nervous system down, not wind it up. If you started taking it and felt worse, the usual culprits are ordinary ones: an empty stomach, a bigger first dose than your body was ready for, a “calm” blend with hidden caffeine riding along, or just a few days of getting used to something new. If your stomach is doing most of the complaining, the form you picked probably matters more than the mineral itself, and it’s worth double-checking the label. So if you only do one thing tonight, pull up whatever bottle you’re taking, check what else is in it besides magnesium, and if anything feels off beyond normal adjustment, call a pharmacist or your doctor before your next dose. You don’t have to sort this out alone at 11 p.m.

This is general wellness information, not medical advice. Talk to a healthcare professional about your specific situation, especially if you have kidney disease, take medications affected by magnesium, or your symptoms are severe or persistent.

Related articles