Search
Conceptual render of a magnesium crystal on dark water beside a crescent moon.

Health hub · For everyone

Sleep, Magnesium, Melatonin and Tart Cherry: What the Trials Actually Show

Cognitive behavioral therapy is the first-line treatment for chronic insomnia. Magnesium has small, low-quality trials with modest effects, melatonin shortens sleep onset by about 7 minutes, gummy labels are often wrong, and tart cherry rests on three pilot studies.

By Kymata Health EditorialLast checked 6 guides11 sources

In short

What the trials show

  1. The American College of Physicians recommends cognitive behavioral therapy for insomnia (CBT-I) as the initial treatment for chronic insomnia (strong recommendation, moderate-quality evidence)1.
  2. In a meta-analysis of 3 small trials in older adults (151 people), oral magnesium shortened time to fall asleep by about 17 minutes vs placebo, but all trials were at moderate to high risk of bias2.
  3. A 2025 trial of 250 mg magnesium bisglycinate in 155 poor sleepers found a statistically significant but small improvement in insomnia scores (Cohen's d = 0.2)3.
  4. Across 19 trials, melatonin cut time to fall asleep by about 7 minutes and added about 8 minutes of sleep4; in a JAMA test of 25 US melatonin gummies, 22 were mislabeled and contents ran from 74% to 347% of the label5.
  5. A 2025 conference abstract linked long-term melatonin records to heart failure; it is not peer-reviewed and cannot show cause, and a 2026 NHANES analysis found no significant association1167.

Guides in this hub

Read next

6 evidence explainers, each with its own sources.

Researched and written by Kymata Health Editorial; sources cited inline. Educational only, not medical advice.

Every health hub

Where to start

Where should you start if you sleep badly?

If poor sleep has lasted months, the treatment with the strongest guideline support is not a supplement. The American College of Physicians recommends CBT-I first for adults with chronic insomnia, and medication only after a shared decision when CBT-I alone has not worked1.

Supplements sit lower on the evidence ladder. The trials behind magnesium, melatonin and tart cherry are mostly small and short, and the effects they report are measured in minutes. That can still be worth trying, but it is a different scale of benefit from what the labels imply.

Magnesium: modest effects, thin evidence

Does magnesium help sleep?

The only meta-analysis of oral magnesium for insomnia pooled 3 trials in 151 older adults: sleep onset was 17.4 minutes faster than placebo, total sleep time was not significantly different, and the reviewers rated the evidence low to very low quality2.

Two newer trials tested specific forms in younger adults: magnesium bisglycinate gave a small benefit on insomnia scores3, and magnesium L-threonate (1 g/day for 21 days) improved some sleep-tracker and questionnaire scores vs placebo8. Our magnesium for sleep guide compares them.

  • The upper limit for magnesium from supplements is 350 mg/day for adults; food magnesium does not count toward it9.
  • Diarrhea is the most common side effect of high supplement doses9.

Melatonin: small effect, label problems, an unresolved safety question

Does melatonin work, and is it safe?

Melatonin is sold as a dietary supplement in the US. Its average effect in trials is small4, products often do not contain what the label says5, and pediatric melatonin ingestions reported to US poison centers rose 530% from 2012 to 202110.

The heart failure headlines came from a 2025 American Heart Association conference abstract, which the AHA itself labels preliminary and not peer-reviewed6. Our melatonin and heart failure explainer walks through what it can and cannot show.

Evidence

Find the evidence

Ask our graded human trials about a goal, a grade, a trial size, two supplements or a medicine. Answers are assembled on your device from the rows.

Evidence finder

3,406 trial rows · 880 interaction rows

Magnesium and its 9 forms have 3 graded trial rows, best grade for a benefit C; Melatonin has 7 graded trial rows, best grade for a benefit B.

Compared on sleep. A grade rates the evidence, not the size of the effect.

Grades of the 10 rows: B 5C 5

Magnesium and its 9 forms: strongest rows

  1. Magnesium glycinateGrade C

    Insomnia severity

    Improved · 155 people · RCT · 2025

  2. Magnesium glycinateGrade C

    Time to fall asleep (older adults)

    Improved · 151 people · Meta‑analysis · 2021

  3. Magnesium L-threonateGrade C

    Sleep quality

    Mixed · 80 people · RCT · 2024

Melatonin: strongest rows

  1. MelatoninGrade B

    Sleep onset and total sleep by dose and timing

    Improved · 1,689 people · Meta‑analysis · 2024

  2. MelatoninGrade B

    Time to fall asleep, total sleep time and sleep quality

    Improved · 1,683 people · Meta‑analysis · 2013

  3. MelatoninGrade B

    Sleep onset in children and adolescents with sleep-onset insomnia

    Improved · 387 people · Meta‑analysis · 2020

Assembled from 10 graded trial rows when this page was built.

Fixed sentence templates filled from our rows; every line links to its row. Not medical advice.

Partners

Where to buy

Only brands that pay us are listed here.

Magnesium glycinate

Melatonin

Tart cherry

Leep Ring

  • A titanium smart ring that logs sleep (duration, consistency and estimated stages), heart rate, HRV, temperature and estimated blood oxygen. $199 one time, no subscription (checked Oct 14, 2026). Useful for keeping a consistent nightly log while you test one change at a time. It is a consumer wellness tracker, not a medical device: it does not diagnose sleep apnea or any other condition, and tracking on its own does not improve sleep.

    See the Leep Ring (paid link, opens in new tab)

We may earn a commission if you buy through these links. That never changes a rank. See how partner links work.

What our due diligence found on Organics Ocean

  • An independent, crowd-funded lab test published by Lead Safe Mama on July 2, 2025 found 26.28 ppb lead plus cadmium in Organics Ocean Pure Magnesium Glycinate + Low Dose Zinc, the most lead of the magnesium supplements that project had tested, and called the brand’s “6x fewer heavy metals” claim false. It is one test of one product. Source: Lead Safe Mama lab report (Jul 2025)
  • The founder’s own About page says a regulator investigated his previous supplement company, NuLevel, over an addiction-craving product, and that he shut that company down. We found no FDA or FTC action naming Organics Ocean (Oct 11, 2026). Source: Organics Ocean: About (read Oct 11, 2026)

We still list it because we found no evidence of deliberate deception by Organics Ocean and the lab result above is public; if heavy metals matter to you, read that report before you buy. Checked Oct 11, 2026.

What our due diligence found on Nootropics Depot

  • On Oct 30, 2023, Centera Bioscience (doing business as Nootropics Depot) and its CEO pleaded guilty in the US District Court for New Hampshire to introducing misbranded drugs into interstate commerce, over unapproved drugs the company marketed and sold between April 2017 and December 2021. The company agreed to forfeit $2.4 million and the products seized by the FDA and Customs and Border Protection. Source: US Attorney, District of New Hampshire: plea announcement (read Nov 20, 2026)

We list only its single-ingredient dietary supplements, never as our top pick. Each product page we link posts a certificate of analysis for each lot. Checked Nov 20, 2026.

Questions

Common questions: Sleep & Magnesium

One quick answer from each guide; its sources are in the guide.

Which form of magnesium is best for sleep?

No head-to-head trial compares forms for sleep. Bisglycinate and L-threonate each have one recent placebo-controlled trial; the older-adult trials used other forms.

From the guide: Magnesium for Sleep: What the Glycinate, Threonate and Older-Adult Trials Actually Found

Should I stop taking melatonin?

The evidence does not show melatonin causes heart failure. If you use it nightly long term or have heart disease, review it with your clinician.

From the guide: Melatonin and Heart Failure: What the 2025 Study Showed, and What It Could Not

How much tart cherry juice did the studies use?

One used 240 mL twice a day for 2 weeks; another used a concentrate for 7 days.

From the guide: Tart Cherry Juice for Sleep: Three Pilot Studies and What They Show

Does progesterone help you sleep?

In two small randomized trials of healthy postmenopausal women, 300 mg of micronized progesterone a day for about 3 weeks reduced time awake during the night. In perimenopausal women, a 189-woman trial found better self-reported sleep quality on 300 mg at bedtime. It is not FDA-approved as a sleep aid.

From the guide: Progesterone for Sleep in Menopause: What the Trials Show, Doses Studied and Side Effects

Are Unisom and Benadryl the same thing?

Not always. Benadryl is diphenhydramine. Unisom SleepTabs are doxylamine, a different sedating antihistamine, while Unisom SleepGels are diphenhydramine, like Benadryl and ZzzQuil.

From the guide: Is It Safe to Take Benadryl, ZzzQuil or Unisom for Sleep Every Night?

Is CBT-I more effective than Ambien?

Guidelines recommend CBT-I first. In a 2006 trial CBT-I beat zopiclone, a related sleeping pill, and in the 2009 trial adding zolpidem to CBT-I did not raise 6-week response rates. No trial in these sources compared Ambien alone with CBT-I.

From the guide: CBT-I vs Sleeping Pills: Which Works Better for Insomnia, and for How Long?

Regulatory

Regulatory and legal notes

  • Melatonin is regulated by the FDA as a dietary supplement in the US, so it is sold without FDA review of dose accuracy or effectiveness10; in one test of 25 US gummy products, only 3 were within 10% of the labeled melatonin dose5.
  • The melatonin and heart failure finding (AHA Scientific Sessions 2025, Abstract MP2306) is a research abstract that the AHA says is not peer-reviewed and is preliminary until published in full6.
  • The Food and Nutrition Board's tolerable upper intake level for supplemental magnesium is 350 mg/day for adults; doses used for some conditions exceed it and should be supervised9.

Sources

References

Every study and document cited on this page, numbered as in the text.

  1. 1Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Ann Intern Med, 2016. PMID 27136449
  2. 2Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther, 2021. PMID 33865376
  3. 3Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nat Sci Sleep, 2025. PMID 40918053
  4. 4Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One, 2013. PMID 23691095
  5. 5Quantity of Melatonin and CBD in Melatonin Gummies Sold in the US. JAMA, 2023. PMID 37097362
  6. 6Long-term use of melatonin supplements to support sleep may have negative health effects (AHA Scientific Sessions 2025, Abstract MP2306; research abstract, not peer-reviewed). American Heart Association Newsroom, 2025.
  7. 7Melatonin and cardiovascular risk: an NHANES reality check after recent heart failure concerns. Open Heart, 2026. PMID 42167796
  8. 8Magnesium-L-threonate improves sleep quality and daytime functioning in adults with self-reported sleep problems: A randomized controlled trial. Sleep Med X, 2024. PMID 39252819
  9. 9Magnesium: Fact Sheet for Health Professionals. NIH Office of Dietary Supplements, 2026.
  10. 10Pediatric Melatonin Ingestions - United States, 2012-2021. MMWR Morb Mortal Wkly Rep, 2022. PMID 35653284
  11. 11Abstract 4371606: Effect of Long-term Melatonin Supplementation on Incidence of Heart Failure in Patients with Insomnia (conference abstract, not peer-reviewed). Circulation (AHA Scientific Sessions 2025 abstract supplement), 2025.

Dietary supplements are not intended to diagnose, treat, cure or prevent any disease, and these statements have not been evaluated by the FDA. Prescription options need a licensed clinician. Talk to your clinician or pharmacist before starting anything new, especially if you take prescription medicines, are pregnant or breastfeeding.

Educational only. Not medical advice.

We earn a commission on some links. That never changes a rank. How we make money: kymatahealth.com/affiliate-disclosure.