Skip to content
SupplementMagazine

Brain & Focus

The Best Supplements for Sleep, Ranked by the Evidence

By Emrah Sümer, Founder & Managing Editor
July 24, 2026
Melatonin tablets, magnesium capsules, chamomile tea and a small clock on a dim bedside surface
Melatonin tablets, magnesium capsules, chamomile tea and a small clock on a dim bedside surface

Key takeaways

  • Melatonin has the most evidence, but it is a circadian signal, not a sedative: it shines for jet lag and shift work at low doses (0.5 to 1 mg), and is only modest for general insomnia.
  • Magnesium (glycinate is gentle on the gut) mainly helps people who are genuinely low; it is not a reliable sleeping pill for everyone.
  • L-theanine and ashwagandha work by reducing pre-sleep anxiety rather than sedating you, so they suit wired, over-thinking nights more than true insomnia.
  • No supplement beats sleep hygiene, and chronic insomnia deserves a doctor and CBT-I, the recommended first-line treatment. This is not medical advice.

Walk down any pharmacy aisle and you will find dozens of pills promising deeper, faster, more restful sleep. Most of that marketing runs well ahead of the evidence. The honest truth is that no supplement is a strong, reliable sleeping aid, and the biggest wins for sleep come from habits, not capsules. That said, a handful of supplements do have real, if modest, evidence behind them, and each works for a different reason. This is an evidence-ranked roundup, ordered by how well the science holds up and how clear the effect is, not by which product sells best.

Before the list, one caveat that matters more than anything below it: if your sleep problems have lasted more than a few weeks and are wrecking your days, the answer is not a better supplement. It is a proper look at what is going on, and for chronic insomnia the recommended first-line treatment is a structured therapy called CBT-I, which we return to at the end.

1. Melatonin: best evidence, but not a sedative

Melatonin is the most-studied sleep supplement and sits at the top of this list, but with an important asterisk. It is not a sedative that knocks you out. It is a hormone your brain releases as darkness falls to signal that it is time for the body clock to wind down. That distinction shapes everything about how to use it well.

A widely cited meta-analysis in PLOS ONE (Ferracioli-Oda 2013) pooled randomized trials and found melatonin modestly reduced the time it took to fall asleep and slightly increased total sleep time. The effects were statistically real but small. Where melatonin genuinely shines is circadian problems: jet lag, shift work, and a body clock that runs late (so you cannot fall asleep until the early hours). For those situations the timing signal it provides is exactly what is needed.

Two practical points. First, low doses work best: many experts favour around 0.5 to 1 mg, far below the 3 to 10 mg found in many products, because higher doses do not reliably work better and can leave you groggy. Second, timing matters more than most people realise: taking a low dose a few hours before your target bedtime, rather than right as you climb in, is the way to nudge a delayed clock earlier. For ordinary insomnia unrelated to your body clock, expect a modest benefit at best. We cover the pairing question in detail in our guide to magnesium and melatonin for sleep.

2. Magnesium: helps mainly if you are low

Magnesium is a mineral involved in nerve and muscle function, and it is a popular sleep supplement, partly because low intake is genuinely common. According to the NIH Office of Dietary Supplements, many people fall short of recommended magnesium intakes, so for some, correcting a real shortfall may plausibly improve sleep and overall wellbeing.

The honest caveat is that the direct trial evidence for magnesium as a general sleep aid is limited and mixed. It is best understood as a gentle option that is most likely to help people who are actually low, rather than a proven sedative for everyone. If you try it, the glycinate form is popular because it is easy on the gut, whereas forms like citrate and oxide are more likely to cause loose stools. We compare the two in magnesium glycinate vs citrate. It is low-risk to trial for a few weeks, but do not expect it to override late caffeine or a chaotic schedule.

3. L-theanine: calms the wired mind

L-theanine is an amino acid found in tea, and it is worth understanding what it does and does not do. It is not a sedative. Its main effect appears to be reducing the anxious, over-caffeinated, mentally busy feeling that keeps a lot of people from settling at night. A randomized trial in Nutrients (Hidese 2019) reported improvements in stress-related symptoms and some aspects of sleep in healthy adults taking L-theanine, consistent with a calming rather than knockout effect.

That makes L-theanine a reasonable choice specifically for people whose problem is a racing mind rather than an inability to physically stay asleep. It is generally well tolerated, and because it promotes calm without heavy sedation, some people use it earlier in the evening. Our deep dive on L-theanine for focus, calm and sleep covers dosing and the caffeine-pairing angle in more detail.

4. Glycine: promising but thin evidence

Glycine is an amino acid that Bannai and colleagues (2012), working in partially sleep-restricted volunteers, reported may improve subjective sleep quality and reduce next-day fatigue when taken before bed, possibly by slightly lowering core body temperature, which is part of the natural drift toward sleep. The signal is interesting but the evidence base is small and preliminary compared with melatonin or magnesium.

It lands here, near the bottom, precisely because the research is thin rather than negative. If the better-supported options do not suit you, glycine is a low-risk thing to experiment with, but treat it as an early-stage option and keep expectations modest.

5. Ashwagandha: for stress-driven poor sleep

Ashwagandha is an adaptogenic herb best known for stress, and its sleep benefit largely flows from that. A systematic review and meta-analysis in PLOS ONE (Cheah 2021) found a small but significant beneficial effect on overall sleep, with the clearest signal in people who had insomnia and at higher doses used for longer. Much of that likely comes from calming the stress response rather than acting as a direct sleep agent.

So ashwagandha suits the person whose poor sleep is tangled up with stress and a mind that will not switch off, rather than someone with a purely circadian or physical sleep issue. It is generally well tolerated short-term but should be avoided in pregnancy and used cautiously with thyroid or autoimmune conditions, and there are rare reports of liver injury. Our full write-up on ashwagandha for stress and sleep covers the standardized extracts and cautions.

What actually beats every supplement

Here is the part the supplement industry would rather you skip: sleep hygiene beats any pill on this list. The habits that move the needle are unglamorous but powerful. Keep a consistent sleep and wake time, even on weekends. Get bright light in the morning and dim your environment in the evening. Stop caffeine by early afternoon, since it lingers for many hours. Keep the bedroom cool, dark, and screen-free. None of this comes in a bottle, and all of it outperforms the supplements above.

And if poor sleep has become chronic, lasting most nights for weeks, the right move is not a stronger capsule. Major sleep-medicine and clinical guidelines, including guidance from the American College of Physicians, point to cognitive behavioral therapy for insomnia (CBT-I) as the recommended first-line treatment, ahead of both supplements and sleeping pills, because its benefits tend to last. Persistent insomnia, heavy snoring, or gasping in your sleep are reasons to see a doctor rather than to keep experimenting.

Used sensibly, a low-dose melatonin for a shifted clock, or magnesium if you may be low, can be a reasonable small add-on. Just keep them in proportion: the pill is the footnote, and your habits are the main text. This article is for general information and is not medical advice.

Frequently asked questions

What is the best supplement for sleep?

There is no single best supplement, because the right choice depends on why you are not sleeping. For circadian problems, such as jet lag, shift work, or a body clock that runs late, low-dose melatonin (about 0.5 to 1 mg taken a few hours before bed) has the most supporting evidence. For people who are genuinely low in magnesium, correcting that may help. For anxious, wired nights, L-theanine or ashwagandha may take the edge off. But none of these is a strong sleeping pill, and the most reliable improvements come from consistent sleep habits rather than any capsule. This is not medical advice.

Is melatonin safe every night?

Short-term use of melatonin is generally considered well tolerated in healthy adults, with side effects like grogginess, headache, or vivid dreams being the most common. What is less certain is long-term nightly use, because most studies are short, and melatonin is a hormone that influences the body clock rather than an inert sleep aid. Many sleep specialists suggest using the lowest effective dose for a defined purpose, such as resetting after travel, rather than defaulting to it indefinitely. If you find yourself relying on it every night for months, that is a good reason to see a clinician about the underlying sleep problem. This is not medical advice.

Does magnesium help you sleep?

Possibly, but mainly if you are actually low in magnesium. Magnesium is involved in nervous-system regulation, and low intake is common, so correcting a genuine shortfall may improve how you feel and sleep. However, the trial evidence for magnesium as a general sleep aid is limited and mixed, so it is best thought of as a gentle option worth trying rather than a proven sedative. The glycinate form is popular because it is easy on the digestive system compared with forms like citrate or oxide.

How much melatonin should I take for sleep?

More is not better with melatonin. A lot of over-the-counter products contain 3 to 10 mg, which is far above what the body normally produces, and higher doses do not reliably work better and can leave you groggy. Many sleep experts favour a low dose in the range of about 0.5 to 1 mg, taken a few hours before your target bedtime rather than right as you get into bed, especially when the goal is shifting a delayed body clock. As always, discuss it with a clinician if you take other medications. This is not medical advice.

Do sleep supplements work better than sleep hygiene?

No. Consistent sleep habits, often called sleep hygiene, reliably outperform supplements. Keeping a regular sleep and wake time, getting bright light in the morning, dimming screens and lights in the evening, limiting caffeine in the afternoon, and keeping the bedroom cool and dark all address the actual drivers of sleep. Supplements can help at the margins, but they cannot compensate for an erratic schedule, late caffeine, or a bedroom full of light. Fix the habits first and treat supplements as a possible small add-on.

When should I see a doctor about my sleep?

See a clinician if poor sleep lasts more than a few weeks, happens most nights, and affects your mood, focus, or daily function, or if you snore heavily, gasp, or stop breathing in your sleep, which can signal sleep apnea. For chronic insomnia, cognitive behavioral therapy for insomnia (CBT-I) is the recommended first-line treatment endorsed by sleep-medicine bodies, and it tends to produce more durable results than supplements or sleeping pills. Persistent insomnia is a medical issue worth proper assessment, not something to self-treat indefinitely with over-the-counter products. This is not medical advice.

Sources

Every claim above is drawn from these primary sources. Last checked July 2026.

  1. 1.Bannai M, et al. The effects of glycine on subjective daytime performance in partially sleep-restricted healthy volunteers. Frontiers in Neurology, 2012. PMID 22529837. Checked 6 September 2026.
  2. 2.Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLOS ONE, 2013.
  3. 3.Magnesium — Health Professional Fact Sheet. NIH Office of Dietary Supplements (ODS).
  4. 4.Qaseem A, et al. Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians (CBT-I as first-line). Annals of Internal Medicine, 2016.
  5. 5.Hidese S, et al. Effects of L-Theanine Administration on Stress-Related Symptoms and Cognitive Functions in Healthy Adults: A Randomized Controlled Trial. Nutrients, 2019.
  6. 6.Cheah KL, et al. Effect of Ashwagandha (Withania somnifera) extract on sleep: A systematic review and meta-analysis. PLOS ONE, 2021.