Goals

Sleep Supplements: Melatonin, Magnesium and More

Explore vitamin, mineral, supplement and peptide guides. Compare what has been studied for this goal and what remains uncertain.

Explore the compounds

Explore relevance, evidence and limitations together.

Read the full guide ↓

Showing 8 compounds

Sleep timing

Melatonin

Jet lag, delayed sleep phase and primary insomnia have different evidence profiles.

For sleepB / C · Depends on outcome

Mineral

Magnesium

Sleep findings come from small studies. Evidence for correcting deficiency is distinct from sleep effects.

For sleepC · Limited evidence

Amino acid

Glycine

Small studies examine subjective sleep quality and next-day performance.

For sleepC · Limited evidence

Research peptide

CJC-1295

The human trial in our guide measures GH and IGF-1 levels; this does not establish a sleep benefit.

For sleepNo sleep evidence in this guide

Botanical

Ashwagandha

Sleep studies need to be interpreted by extract and participant group.

For sleepC · Limited evidence

Amino acid

L-theanine

Small improvements are reported in subjective sleep measures; limited studies of pure L-theanine restrict conclusions.

For sleepC · Limited evidence

Botanical

Valerian

Sleep-quality findings are inconsistent. AASM recommends against its use for chronic insomnia in adults.

For sleepC / E · Depends on outcome

Research peptide

Ipamorelin

The human trial in our guide concerns postoperative bowel function, not sleep efficacy.

For sleepNo sleep evidence in this guide

Inclusion is not a recommendation. Peptide cards explain the absence of sleep-benefit evidence in our guides; they are not presented as established sleep treatments.

The full guide: what does the research say?

In this guide

Short answer

The evidence for supplements for sleep is selective. Melatonin has grade B evidence for timing problems such as time zone shift (jet lag) and delayed sleep phase; its effect in primary insomnia is small (C). For magnesium, glycine, and ashwagandha, the sleep findings are grade C and rest on small trials. In chronic insomnia, the guidelines’ first step is not a supplement but cognitive behavioral therapy for insomnia (CBT-I). [3] [4]

Compounds for this goal

Each line is taken verbatim from the evidence assessment in the compound’s own guide. A compound can appear with several outcomes; each grade applies only to that outcome and the population studied.

8 compounds · 13 graded outcomes

2 outcomes are graded A or B; they apply to specific groups and conditions.

  • BModerate2
  • CLimited6
  • DInsufficient3
  • ENo benefit shown / not studied in humans2

Strong or moderate evidence1

Consistent studies exist for a specific outcome and group.

  • MelatoninSupplement
    • B

      Delayed sleep phase disorder

    • B

      Sleep in children with neurodevelopmental disorders (under physician management)

    • C

      Primary insomniasmall effect

    Guide

Limited evidence5

Small effects, few or short studies; findings may change.

Insufficient evidence or no benefit shown2

Evidence is insufficient, good trials found no benefit, or it has not been studied in humans.

  • 5-HTPSupplement
    • D

      Sleep quality in older adults (small study without placebo)

    • D

      Sleep terrors in children (open study)

    Guide
  • ZMABlend
    • D

      Insomnia in older people (combination product with melatonin)

    • E

      Sleep in healthy menno benefit shown

    Guide

Guides linked to this goal without an outcome-specific grade: Lemon Balm Extract, Passionflower.

Inclusion is not a recommendation; outcomes without benefit are listed on purpose. How are A–E grades assigned?

Which supplements have evidence for sleep?

The grades on this page are the same as the grades in the evidence summary table of the relevant supplement page. A grade shows how solid the basis for a claim is; it does not show that a product will work in a given person. The detailed section below covers melatonin, magnesium, glycine and ashwagandha; research on the other compounds is available in the linked guides above.

Melatonin: the benefit depends on timing

Melatonin is a hormone that conveys the body’s darkness signal. The evidence is gathered less in “sleep itself” than in situations where “the time of sleep has shifted.”

  • Jet lag (5 or more time zones) — B. In nine of ten trials in the Cochrane review, melatonin taken close to the target bedtime reduced jet lag on flights crossing five or more time zones. The benefit was found to be greater on eastward flights and as the number of time zones crossed increased. The same review also notes that melatonin taken at the wrong time can cause drowsiness and may delay adaptation to local time. [1]
  • Delayed sleep phase disorder — B. In the meta-analysis, the sleep-wake rhythm shifted earlier; time to fall asleep was shortened by about 23 minutes, and total sleep time did not change.
  • Primary insomnia — C. In a meta-analysis of 19 trials, time to fall asleep was shortened by a mean of 7 minutes and total sleep was lengthened by a mean of 8 minutes. The difference is small.
  • Shift work — C. In Cochrane, with low-certainty evidence, daytime sleep was lengthened by a mean of 24 minutes; there was no difference in time to fall asleep.

Guidelines approach melatonin cautiously in insomnia. The AASM 2017 guideline gives a conditional (weak) recommendation against the use of melatonin in chronic insomnia. [2] The European 2023 guideline does not recommend immediate-release melatonin for insomnia; it considers prolonged-release melatonin usable only in patients aged 55 and over for up to 3 months. [4] The legal status of melatonin in Türkiye differs from supplements; details are on the melatonin page.

Magnesium, glycine, ashwagandha: small trials

  • Magnesium — sleep, C. In a meta-analysis combining three randomized trials with 151 older adults, time to fall asleep was shortened by 17.36 minutes compared with placebo (95% CI −27.27 to −7.44); the 16.06-minute increase in total sleep time was not statistically significant. All three trials were at moderate-to-high risk of bias and the evidence was of low to very low certainty. [5] Magnesium’s grade-A areas are deficiency correction and bowel effect; these are not sleep claims.
  • Glycine — sleep quality (subjective), C. There are small trials reporting subjective improvement with glycine taken before bed in volunteers with sleep complaints. One of them is a randomized trial looking at subjective daytime performance in healthy volunteers with partially restricted sleep. [7] The authors of this trial are affiliated with an amino acid company’s research laboratory; in the other glycine sleep trials as well, some of the authors are connected to the same company, and the systematic review reported on the glycine page draws attention to risk of bias.
  • Ashwagandha — sleep, C. In a meta-analysis covering five randomized trials and 400 participants, a small but significant effect on overall sleep was reported (standardized mean difference −0.59); the effect was more marked in the subgroup diagnosed with insomnia. The authors state that no serious side effects were reported, but that data on serious adverse effects are limited. [6] The ashwagandha page also includes a liver injury signal (D).

The same grade, different meaning: how are B and C read?

Melatonin’s grade-B rows and magnesium’s grade-C row do not answer the same question. In jet lag and delayed sleep phase, the question is “when the internal clock is mismatched with the external clock, does timed melatonin shift the sleep-wake rhythm?” and the answer has been consistent across trials. In insomnia, the question is “does sleep duration or quality improve measurably?”; here melatonin’s effect consists of small differences expressed in minutes, while the magnesium, glycine, and ashwagandha findings were obtained with few participants, often at high risk of bias.

For this reason, the same supplement carries different levels of evidence depending on the type of sleep problem. Giving a single grade to the question “does it work for sleep?” would be misleading; a grade is only the answer to the question asked. Most measurements rest on subjective sleep scales and time to fall asleep; data are limited for long-term outcomes (health endpoints, safety).

What is weak or close to marketing language?

None of the four compounds discussed in detail in this section has a “no benefit shown” (E) row for sleep; however, grade C alone does not mean “it works”:

  • Magnesium’s grade C for sleep rests on low-certainty evidence and a small sample. On the same page, night cramps are graded D (the 2020 Cochrane review found meaningful benefit unlikely; a later single trial reported a different result); magnesium’s grades in different areas are not transferred to one another.
  • Glycine findings rest on subjective scales and some were written by authors with financial relationships.
  • Valerian, tryptophan, and diphenhydramine: the AASM 2017 guideline gives a conditional (weak) recommendation against each of them. Valerian is covered in its own guide linked above. [2]
  • Supplement in place of prescription drugs. The AASM 2017 guideline gives only conditional (weak) recommendations for certain prescription drugs as well; the European 2023 guideline lists benzodiazepines, benzodiazepine receptor agonists, daridorexant, and low-dose sedating antidepressants for short-term (4 weeks or less) treatment. These drugs are a physician’s decision, and supplements are not presented as a proven alternative to them. [2] [4]
  • Multi-component “sleep blends.” The notes on this page do not apply to them; the notes belong to individual components and their own trials.

Differences by age and situation

Most of the evidence comes from specific groups and cannot be carried over to other groups. The magnesium meta-analysis was conducted only in older adults (151 people in three countries); in younger adults there is only a single randomized trial and its effect is small. [5] The European guideline’s sentence on prolonged-release melatonin is framed for patients aged 55 and over; there is no similar sentence for younger adults. [4] In shift workers, evidence for melatonin is limited to lengthening of daytime sleep; no difference was found in time to fall asleep. In the ashwagandha meta-analysis, the benefit was more marked in the subgroup with diagnosed insomnia; additional benefit in healthy people remains a separate question. [6]

Lifestyle first: what do the guidelines say?

For chronic insomnia, two guidelines converge on the same point. The AASM 2021 guideline gives the use of multicomponent cognitive behavioral therapy (CBT-I) in adults as a strong recommendation; stimulus control, sleep restriction, and relaxation therapy are conditionally recommended as single-component treatments. The same guideline recommends against using sleep hygiene as a single-component treatment (conditional). [3] The European 2023 guideline also considers CBT-I the first step at any age and with comorbid conditions (level A); it states that drug treatment can be added when it is not effective enough. [4]

On sleep duration, the joint consensus statement of the AASM and the Sleep Research Society recommends that adults regularly sleep 7 hours or more for health. The same text associates regularly sleeping less than 7 hours with adverse outcomes such as weight gain, diabetes, hypertension, depression, and impaired immune function. [8] These associations are observational.

The European guideline also states that light therapy and exercise interventions can be beneficial in addition to CBT-I (level B). [4] Supplements have a complementary place within this framework: the guidelines do not present any supplement as an alternative to CBT-I.

When is a physician consulted?

In the following situations, a sleep problem calls for physician assessment rather than a supplement trial:

  • If insomnia has become persistent or causes daytime fatigue, distractibility, and mood changes.
  • If there is loud snoring, breathing pauses during sleep, or morning headaches; this picture requires assessment for sleep apnea.
  • If there is a restless feeling in the legs that increases in the evening; on the iron page, there is a grade-B iron row for restless legs, and assessment is made by a physician.
  • If pregnancy, breastfeeding, childhood, epilepsy, use of a blood thinner such as warfarin, or liver disease is involved; for melatonin and ashwagandha, safety in these groups is a separate matter.
  • If symptoms have worsened after a supplement or if liver symptoms such as jaundice, dark urine, or nausea have appeared.

Summary table: supplements for sleep

SupplementEvidence gradeIn which situationDetails
MelatoninJet lag B, delayed sleep phase B, primary insomnia CTime zone and rhythm shift; small effect in insomniaMelatonin · Benefits
MagnesiumSleep C; deficiency correction AReplacement at a proven low level; evidence for sleep is of low certaintyMagnesium · Benefits
GlycineSleep quality (subjective) CSmall, partly conflict-of-interest trialsGlycine · Benefits
AshwagandhaSleep C; liver injury risk DMeta-analysis of five trials; limited safety dataAshwagandha · Benefits

This guide does not recommend a personal dose; the decision on a supplement is evaluated by a physician together with the medications used and health history.

Frequently asked questions

Which supplement has the most evidence for sleep?

Evidence varies by situation. Melatonin has grade B evidence for jet lag and delayed sleep phase; its effect in primary insomnia is small (C). For magnesium, glycine, and ashwagandha, evidence for sleep is grade C and the studies are small.

Does melatonin treat insomnia?

In primary insomnia, time to fall asleep is shortened by a mean of 7 minutes. The AASM 2017 guideline gives a conditional (weak) recommendation against melatonin in chronic insomnia; the European 2023 guideline considers prolonged-release melatonin only in people aged 55 and over for up to 3 months.

What is the first-line treatment for insomnia?

The AASM (2021) and European (2023) guidelines recommend cognitive behavioral therapy for insomnia (CBT-I) as first-line treatment in chronic insomnia. The AASM recommends against using sleep hygiene alone as a treatment (conditional).

Does magnesium improve sleep?

In a meta-analysis combining three small trials in older adults, time to fall asleep was shortened by about 17 minutes; however, the trials were at high risk of bias and the evidence was of low to very low certainty. On the magnesium page, the grade for sleep is C.

When is a sleep problem taken to a physician?

If insomnia has become persistent, impairs daytime function, or is accompanied by snoring and breathing pauses during sleep or restless legs symptoms, physician assessment is needed; these conditions are not solved with supplements.

Sources

  1. Herxheimer A, Petrie KJ — Melatonin for the prevention and treatment of jet lag (Cochrane Database Syst Rev) (2002)
  2. Sateia MJ et al. — Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an AASM clinical practice guideline (J Clin Sleep Med) (2017)
  3. Edinger JD et al. — Behavioral and psychological treatments for chronic insomnia disorder in adults: an AASM clinical practice guideline (J Clin Sleep Med) (2021)
  4. Riemann D et al. — The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023 (J Sleep Res) (2023)
  5. Mah J, Pitre T — Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis (BMC Complement Med Ther) (2021)
  6. Cheah KL et al. — Effect of Ashwagandha (Withania somnifera) extract on sleep: a systematic review and meta-analysis (PLoS One) (2021)
  7. Bannai M et al. — The effects of glycine on subjective daytime performance in partially sleep-restricted healthy volunteers (Front Neurol) (2012)
  8. Watson NF et al. — Recommended amount of sleep for a healthy adult: a joint consensus statement of the AASM and Sleep Research Society (J Clin Sleep Med) (2015)

Updated

This content is for information only and is not medical advice. It does not recommend doses, products or vendors. Talk to your clinician before making any health decision.