Not medical advice. Always check with your doctor before starting a new supplement, especially if you take prescription meds or have kidney issues.
Magnesium is having a moment. TikTok says it cures anxiety, fixes sleep, regrows your hairline, and makes your nervous system hum like a tuned piano. Most of that is overblown. But there is a real, boring, well-studied case for taking magnesium glycinate in the evening if you don't get enough from food, and the form you pick matters more than the brand on the label. This is the honest version: which form, which brands actually third-party test, when to take it, what it won't do, and the supporting gear that does more for sleep than any pill.
Magnesium oxide is the cheap stuff in the gas station multivitamin. It's roughly 4 percent bioavailable in some studies, meaning your body absorbs almost none of it. The rest passes through and acts as a laxative, which is why oxide is sometimes used for constipation on purpose. If your magnesium supplement says "magnesium" with no second word, it's almost always oxide. Skip it.
Citrate is a real upgrade. It absorbs well (around 25 to 30 percent in some trials), it's cheap, and it's the form most often recommended for occasional constipation. The trade-off is that at higher doses it loosens the bowels for a lot of people, which is not what you want at bedtime.
Glycinate (also called bisglycinate) is magnesium bound to glycine, an amino acid that itself has mild calming effects. It's gentle on the stomach, doesn't cause the bathroom problem, and is the form clinicians most often suggest when the goal is sleep, muscle relaxation, or anxiety support. It's the right default for evening use.
Threonate (Magtein) is the newer form marketed for "brain magnesium." The research is genuinely interesting but small and mostly funded by the patent holder. It's also expensive (often three to four times the price of glycinate). If you have money to burn and a specific cognitive complaint, fine. For everyone else, glycinate is the value pick.
The supplement industry is barely regulated in the US. The FDA does not pre-approve supplements, and roughly a third of products tested by independent labs over the years have either contained less of the active ingredient than claimed, or contained things they shouldn't. The fix is simple: only buy from brands that publish third-party testing (USP, NSF, or ConsumerLab certifications, or Certificate of Analysis available on request).
The four worth knowing:
Pure Encapsulations. Hypoallergenic, no fillers, no dyes, no magnesium stearate. Their glycinate is 120 mg per capsule, which lets you titrate dose precisely. Used by a lot of integrative MDs because the formulation is clean and the testing is consistent. Premium price.
Thorne. NSF Certified for Sport, which is the most rigorous third-party certification in the supplement world (it's what professional athletes use to avoid banned substances). Thorne's Magnesium Bisglycinate is a powder, which sounds annoying but actually lets you dial in your dose and mix it into water. Roughly 200 mg per scoop.
Doctor's Best. The value pick. Their High Absorption Magnesium uses TRAACS chelated glycinate (the same patented form Thorne uses), and a 240-tablet bottle runs about $20. Not as clean a label as Pure Encapsulations, but the active ingredient is identical and the price-per-dose is roughly a quarter.
Nested Naturals. Vegan, non-GMO, third-party tested. Their Magnesium Glycinate is well-reviewed, modestly priced, and the bottle design and dosing are friendly for first-time users. Good gateway brand.
What to avoid: any brand that won't tell you what form of magnesium they use, any "proprietary blend" that lumps magnesium in with twelve other things, and anything sold via Instagram ads with a 60 percent off code. If they're spending that much on marketing, they're not spending it on testing.
The RDA is 310 to 420 mg per day depending on age and sex, and most American adults get roughly 250 mg from food. So a typical supplement dose is 200 to 400 mg of elemental magnesium, taken in the evening, ideally with a small amount of food. "Elemental" is the number that matters: a 1,000 mg magnesium glycinate capsule contains only about 140 mg of actual magnesium because most of the weight is the glycine. Read the label for the elemental number, not the total compound weight.
Start low (100 to 200 mg) for a week, see how you tolerate it, then move up if needed. Take it 30 to 60 minutes before bed. The mild sedative effect is real for some people and unnoticeable for others, and that's normal. The bigger benefit is usually a slight improvement in sleep depth and morning muscle relaxation, not a knockout punch.
Here's the part the magnesium content creators leave out: if your bedroom is hot, bright, and you scroll until midnight, no supplement is going to fix your sleep. The two biggest evidence-based sleep interventions are dark and cool. Magnesium is a polish on a system that's already working.

The other underrated piece: weight. Weighted blankets work via deep pressure stimulation, which lowers cortisol and increases melatonin in some studies. Bearaby's hand-knit version uses chunky organic cotton instead of glass beads, so it breathes (the glass-bead blankets get hot). It's not magic, but for people whose anxiety shows up as restless legs and racing thoughts at bedtime, it's worth more than a year of supplement experiments.

It will not cure anxiety. The studies showing magnesium helps anxiety are small, mixed, and mostly in people with diagnosed deficiencies. If you have a real anxiety disorder, magnesium is not a substitute for therapy or medication. It might help around the edges. It will not fix it.
It will not give you more energy. Magnesium is involved in ATP production, but unless you're deficient, more magnesium does not equal more energy. The TikTok claim that magnesium makes you "feel like a new person" is mostly placebo plus the fact that better sleep makes you feel better.
It will not regrow hair, fix your skin, balance your hormones, or detoxify anything. None of those claims are supported by published research at supplement doses. Magnesium does a few specific things well. The internet has stretched it into a panacea because that's what gets shares.
It also will not help if your real problem is caffeine after 2pm, alcohol with dinner, a phone in the bedroom, or a partner who snores. Those are mechanical fixes, not chemical ones.
Magnesium can interact with several common medications: certain antibiotics (tetracyclines, fluoroquinolones), bisphosphonates for osteoporosis, levothyroxine for thyroid, and some blood pressure medications. The general rule is to space magnesium at least 2 hours from any prescription med. Talk to your pharmacist if you take anything daily.
People with kidney disease should not take magnesium supplements without their doctor's involvement, because impaired kidneys can't clear excess magnesium and toxicity becomes a real risk. Pregnancy, breastfeeding, and any chronic GI condition are also reasons to check with a clinician first.
Magnesium absorption and water intake are linked. If you're chronically dehydrated, you'll lose more magnesium through urine and absorb less from food and supplements. The simplest intervention: a large insulated bottle on your desk that you actually refill. The Stanley is overkill in some ways and exactly right in others (it keeps water cold for 11 hours, which is the only thing that actually changes whether people drink it).

The single biggest sleep predictor in the research is consistent bed and wake times — a regular schedule beats almost every other intervention, magnesium included. Track your bedtime, wake time, and how you feel for two weeks before you change anything. A paper planner is better than an app for this because it doesn't require you to look at a screen at the moments that most disrupt sleep.

Buy magnesium glycinate (not oxide, not threonate unless you're flush). Pick Doctor's Best for value, Thorne or Pure Encapsulations for clinical-grade, Nested Naturals if you want easy. Take 200 to 400 mg of elemental magnesium 30 to 60 minutes before bed. Start low, watch for stomach effects, space it from prescription meds. Treat it as the last 10 percent of a sleep system, not the foundation. Fix your bedroom (dark, cool, quiet, no phone) before you blame the supplement for not working.
If you're meaningfully deficient, you may notice better sleep within a week. For most people the effect is subtle and shows up over 2 to 4 weeks as slightly deeper sleep and less morning muscle tension. If nothing has changed after 6 weeks, the magnesium probably isn't the missing piece for you.
Generally yes, at typical doses (200 to 400 mg elemental). Magnesium isn't habit-forming and doesn't lose effectiveness over time. The exception is if your kidney function changes — then talk to your doctor. Annual bloodwork that includes magnesium is a smart idea if you supplement long-term.
Yes, no known interaction. Many people stack a low-dose melatonin (0.3 to 1 mg, not the 5 to 10 mg gummies) with magnesium glycinate in the evening. If you do this, start each one separately for a week so you can tell which is doing what.
If you have stomach upset or loose stools, you're either taking too much, taking it on a fully empty stomach, or accidentally bought magnesium oxide or citrate instead of glycinate. Read the label, lower the dose, take it with a small snack.
Yes, and you should. Pumpkin seeds, almonds, spinach, black beans, dark chocolate, and avocado are all solid food sources. A handful of pumpkin seeds is roughly 150 mg of magnesium. Food first, supplement to fill the gap.
None, functionally. "Bisglycinate" is the more chemically precise name (two glycine molecules per magnesium). Brands use the terms interchangeably. If a label says "magnesium glycinate" or "magnesium bisglycinate," you're getting the same thing.
Check the form. Kirkland Signature Magnesium is magnesium oxide, which is the form to skip. Their Calcium Citrate Magnesium has some citrate but isn't pure magnesium. For glycinate, you'll need to look elsewhere — Costco doesn't currently carry a clean glycinate as a Kirkland product.