What is magnesium citrate, exactly?

Magnesium citrate is one supplement form of magnesium, a mineral your body leans on all day long. It's one of the ingredients in our guide to natural sleep aids.

Here's what magnesium does for you, in plain terms. An enzyme is a protein that gets a job done in your body, and magnesium helps more than 300 enzyme systems do theirs [2].

Magnesium at a glance

A cracked-open geode glowing softly on a dark windowsill under moonlight
Muscles

Helps muscles work

Some magnesium-using enzymes are part of how your muscles work each day.

Nerves

Supports nerve signals

Others help your nerves pass their messages along as they should.

The name

What "citrate" tells you

The second word names what the magnesium is bound to. That partner shapes how the form behaves in your body.

An older man in profile sits on a porch step at twilight, gently rolling his shoulders

Magnesium citrate for sleep: what the research says

Here's what the research says so far, and what it means for you.

How might magnesium work?

No one has mapped the exact path yet [6]. The diagram below shows the ideas experts are exploring.

Magnesium
Calming messengers

May affect GABA, a brain messenger that quiets busy nerve signals. [6]

Sleep signals

May also touch melatonin, tied to your sleep cycle. [6]

Your wind-down

What the research found

A 2021 review pooled 3 small studies of older adults with insomnia. It suggested magnesium may help them fall asleep faster, though the reviewers rated the studies low quality [1].

How many people two research reviews included
How many people two research reviews included
2021 review (3 studies)151people
Larger review (9 studies)7582people
From the NCCIH summary of two reviews on magnesium and sleep.Source [1]

The larger review had mixed findings, so the researchers called for bigger trials that run longer than 12 weeks [1].

A newer trial gave 155 adults with poor sleep magnesium bisglycinate, a glycinate form, for 4 weeks. They reported a small but measurable benefit [5]. It tested a different form than citrate, so read it as a clue about magnesium in general.

Close-up of an older woman's hands knitting in a rocking chair by a window at dusk

Magnesium vs. melatonin: two different jobs

These two often sit side by side on the shelf. But they do different jobs.

Magnesium is a mineral you get from food. Melatonin is a signal your body makes from serotonin, one of your brain's messengers.

A setting sun on one side and a rising moon on the other over a wheat field at dusk

Magnesium or melatonin?

How each fits into your night.

Mineral

A daily building block

May play a part in your sleep chemistry, in ways still being studied.

What it is
A mineral
Sleep research
Small and mixed so far
Body signal

A sleep-cycle signal

A signal tied to the timing of your night.

What it is
A signal your body makes
Made from
Serotonin
Role
Encourages your natural sleep cycle

Curious about melatonin on its own? Our guide to the best time to take melatonin covers it.

A young woman seen from behind sits on a rooftop garden bench at dusk wrapped in a shawl

How the forms of magnesium compare

Magnesium always comes bound to a partner, and that partner changes how much you absorb. Bioavailability is the word for it: how much of what you take your body can actually use.

A rocky tide pool reflecting a lavender dusk sky
Absorption from NIH Office of Dietary Supplements.
FormHow well it's absorbedGood to know
Magnesium citrateHigherThe form this article covers
Aspartate, lactate, chlorideHigherGrouped with citrate by NIH
Oxide, sulfateLower than the forms aboveNIH's comparison group
GlycinateNot in NIH's listCompared with citrate just below
Source [2]

Magnesium citrate vs glycinate

These are the two forms you'll most often weigh for sleep. We found no study that tested them head to head, so the choice comes down to what suits your body and your night.

Two snowy mountain peaks under a starry sky with a crescent moon between them

Citrate or glycinate?

Two popular forms, side by side.

Well absorbed

Magnesium citrate

Its digestive side is covered in the safety notes at the end.

Absorption
Higher, per NIH
Sleep research
General magnesium studies, small and mixed
Often recommended

Magnesium glycinate

Magnesium bound to glycine, an amino acid. Sleep Foundation calls it the form most often recommended for sleep and describes it as gentle on the stomach.

Tested in
The 4-week trial above
Stomach
Described as gentle

How much magnesium should you take for sleep?

No source we trust sets a special sleep dose. What's clear is how much you need each day from food and supplements together [2].

How to read elemental magnesium on a label

A label lists elemental magnesium, the magnesium itself, not the weight of the whole compound [2]. So magnesium citrate as a whole weighs more than the magnesium inside it.

Your supplement label
Find the elemental number

This is the magnesium you actually get. [2]

Set the compound weight aside

It includes the partner, like citrate. [2]

Add every product

Count the magnesium in each supplement you take.

Check the limit

The safety notes at the end give it.

Your daily total

The best time of evening to take magnesium

Some experts suggest taking it just before bed, at the same time each night, and giving it a few weeks [6]. It fits best as one step in a calm routine.

A wind-down with magnesium in it

  1. 90 min before

    Let dinner settle

    Keep the rest of the evening slow and simple.

  2. 60 min before

    Dim the lights

    Lower the lamps and set your phone aside.

  3. 30 min before

    One quiet thing

    A warm shower, a book or soft music.

  4. 10 min before

    Your magnesium

    A sip of water, same time as last night.

  5. Bedtime

    Lights out

    Let the day go.

Want to build out each step? Our relaxing bedtime routine goes deeper.

A man in profile climbs a carpeted staircase at night carrying a book, a wall sconce glowing

Food sources of magnesium

Your plate is the first place magnesium shows up. Green leafy vegetables, beans and other legumes, nuts, seeds, whole grains and some drinks are all good sources [2].

Overhead view of spinach, black beans, almonds, pumpkin seeds and whole-grain oats in bowls on a stone counter

That may matter for your sleep, too. In the glycinate trial, those who got less magnesium from food seemed to gain the most, an early finding worth a closer look [5].

So your plate is a good place to start. Our guide to how food affects your sleep has ideas for your evening meal, and our broader look at magnesium and rest is a good next read.

Frequently asked questions

How long before bed should I take magnesium citrate?

Your product's label sets the timing, so start there. Tying it to something you already do each night, like brushing your teeth, makes it easy to stay consistent.

What is the downside of taking magnesium citrate?

Most of the downsides involve your gut and your other medicines. The safety notes at the end walk through each one.

Safety notes and when to see a doctor

The upper limit and signs of too much

For adults, the upper limit for magnesium from supplements and medications is 350 mg a day. Magnesium in food doesn't count and doesn't need limiting [3].

Too much can cause diarrhea, nausea and belly cramps [1]. Extremely high intakes can lead to an irregular heartbeat or cardiac arrest [3].

Why the laxative effect matters at night

Magnesium citrate holds water in your stool, which is why larger amounts work as a short-term laxative [4]. At that laxative strength, it usually brings a bowel movement within 30 minutes to 6 hours [4].

If loose, watery or more frequent stools are severe or don't go away, tell your doctor [4].

Magnesium, lamotrigine and other medicines

Magnesium can interact with some medicines, including bisphosphonates, some antibiotics, diuretics and acid-reflux drugs [3]. Take other medicines at least 2 hours before or 2 hours after magnesium citrate [4].

We found no trusted source on magnesium and lamotrigine either way. So ask your prescriber or pharmacist, and tell them about every supplement you take [3].

What to ask your doctor or pharmacist

  • Do any of my medicines interact with magnesium?

  • How should I space magnesium from my other medicines?

  • Could something medical be behind my poor sleep?

References

  1. In the News: Magnesium Supplements for Sleep Disorders. NCCIH (NIH).↩
  2. Magnesium - Health Professional Fact Sheet. NIH Office of Dietary Supplements.↩
  3. Magnesium - Consumer Fact Sheet. NIH Office of Dietary Supplements.↩
  4. Magnesium Citrate: MedlinePlus Drug Information. MedlinePlus (NLM/NIH).↩
  5. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. PMC (Nature and Science of Sleep).↩
  6. Magnesium for Sleep: Benefits, Types, Dosage, and Side Effects. Sleep Foundation.↩

These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.