Supplements for sleep: what actually works?

If you sleep poorly, you quickly look for something to help. The range of supplements for sleep is huge: melatonin, magnesium, glycine, ashwagandha, L-theanine and valerian, often in combination products. The honest answer: melatonin has the most research, but it mainly helps with a shifted body clock. Glycine and ashwagandha show modest effects in small studies, and the evidence for magnesium is weak.

On this page we compare the most commonly used supplements on evidence, dosage and safety, and help you choose based on your sleep problem. We start with the basics, because no supplement makes up for a poor sleep routine. This page is part of our series on cellular energy in everyday life.

Key points

  • Sleep habits (fixed times, light, caffeine, alcohol) have more effect than any supplement.
  • Melatonin helps mainly with jet lag and a shifted rhythm, and less with ordinary insomnia.
  • Glycine (3 grams before bed) improved perceived sleep quality in small Japanese studies.
  • Ashwagandha showed a small effect in a meta-analysis, mainly in insomnia and after at least eight weeks.
  • Magnesium has weak evidence; the effect seems mainly relevant in older adults with low intake.
  • Sleeping poorly for months? Your doctor is the right first step, not a supplement.

First the basics: sleep doesn’t start in a jar

Calm bedroom with dimmed light: supplements for sleep work best alongside a good sleep routine
Light, temperature and fixed times matter more than any supplement.

Before you consider supplements for sleep, it pays to look at the factors with the biggest effect. According to the European insomnia guideline, cognitive behavioural therapy for insomnia (CBT-I) is the first choice for chronic insomnia. It works better and longer than sleeping pills, and is also available online or through your doctor.

  • Fixed times: get up at the same time every day, including weekends.
  • Light: plenty of daylight in the morning, little bright light and screens in the evening.
  • Caffeine: stop about eight hours before bedtime.
  • Alcohol: helps you fall asleep but disrupts sleep in the second half of the night.
  • Temperature: a cool bedroom helps your body temperature drop.

The main supplements for sleep compared

Supplement Dose studied Most useful for Evidence
Melatonin 0.5–5 mg Jet lag, shift work, late sleep phase Reasonable
Glycine 3 g, about 1 hour before bed Light sleep, waking up unrefreshed Limited
Ashwagandha 250–600 mg extract, ≥8 weeks Insomnia with stress Limited to reasonable
Magnesium 320–500 mg Older adults with low intake Weak
L-theanine 200–400 mg Restlessness and racing thoughts at night Limited
Valerian 300–600 mg extract No clear group Weak

Which supplement fits which sleep problem?

Don’t pick the product with the most ingredients; pick the compound that matches what is going wrong. This overview is based on the groups studied in research, not personal advice.

Rhythm

Jet lag or shift work

Melatonin has the most evidence here. Timing matters more than dose.

Sleep quality

You sleep, but wake up tired

Glycine improved perceived sleep quality and daytime functioning in small studies.

Stress

Racing thoughts, hard to wind down

Ashwagandha and L-theanine show modest effects. With ongoing stress, talk to your doctor.

Intake

Few nuts, legumes and greens

Magnesium seems to help mainly when intake is low, and mostly in older adults.

Melatonin

Of all supplements for sleep, melatonin has been studied the most. It is the hormone your body produces in the evening as a signal that night is coming. A 2013 meta-analysis found that melatonin shortens the time to fall asleep by about seven minutes on average and slightly increases total sleep time. The biggest benefit is for problems with the rhythm itself: jet lag, shift work or a delayed sleep phase. For ordinary insomnia the effect is small.

A low dose often works as well as a high one. For rhythm problems, the time you take it matters more than the amount. Rules differ by country: in the Netherlands, for example, food supplements may contain no more than 0.3 mg per daily dose. Discuss long-term use, and use in children, with a doctor.

Glycine: the amino acid in GlyNAC

Bed by a window in the evening: supplements for sleep such as glycine and magnesium
In studies, glycine is usually taken about an hour before bed.

Glycine is a non-essential amino acid that also acts as a signalling molecule in the brain. In Japanese research, 3 grams of glycine before bed improved perceived sleep quality in people who slept poorly. In the study by Yamadera and colleagues (2007), this was confirmed with sleep-lab measurements: participants fell asleep faster and reached deep sleep sooner, without changes in sleep architecture.

A follow-up study by Bannai and colleagues (2012) showed that glycine reduced daytime fatigue after several nights of restricted sleep. The mechanism appears to involve a slight drop in body temperature, a natural part of falling asleep.

Caveat: the studies are small, short and largely conducted by one research group with involvement of a manufacturer. Glycine is also one of the two building blocks of GlyNAC, together with N-acetylcysteine. GlyNAC, however, is studied for glutathione, not sleep, and the doses and timing differ. Read more under how GlyNAC works.

Magnesium

Magnesium appears on almost every list of supplements for sleep. It is involved in hundreds of enzyme reactions and in nerve conduction, and is often recommended for relaxation. The evidence, however, is weak. A 2021 systematic review found only three small trials with 151 older adults in total. They fell asleep about 17 minutes faster on average, but the quality of evidence was low to very low. In younger people with a normal diet, an effect has not been shown.

There are many forms, such as glycinate, citrate and threonate. Magnesium glycinate combines magnesium with glycine and is often chosen because it is gentler on the gut. For the sleep claims of specific forms, such as magnesium L-threonate, convincing human research is lacking. Note: the European Food Safety Authority (EFSA) sets 250 mg per day as the safe upper limit for magnesium from supplements, on top of your diet.

Ashwagandha, L-theanine and valerian

Ashwagandha is an adaptogenic herb from Ayurveda. A 2021 meta-analysis of five trials with 400 participants found a small but significant effect on sleep, clearer in people with insomnia, at 600 mg or more per day and after at least eight weeks. There are reports of liver problems with its use, and it is not recommended during pregnancy or with thyroid conditions.

L-theanine is an amino acid from tea said to promote relaxation without drowsiness. The evidence for sleep is limited, but the safety profile is favourable. Valerian has been used for centuries, but study results are mixed and often of low quality.

NMN and sleep

NMN is sometimes listed among supplements for sleep, but that is misleading. NAD+ plays a role in regulating the biological clock, partly via sirtuins. That has led to research on NMN and sleep. The first human data are limited and mainly point to effects on fatigue and rhythm in specific groups. It is not a sleep aid. What is known can be found in our article on NMN and sleep.

Combining supplements for sleep: more is not always better

Many supplements for sleep combine five or more ingredients in low doses. The risk is that each ingredient is below the studied dose, while the chance of side effects or interactions increases. Choose one compound with a clear reason, at a studied dose, and assess after two to four weeks (eight weeks for ashwagandha) whether it does anything.

Do you take supplements for sleep alongside sleeping pills, antidepressants, blood pressure medication or thyroid medication? Always consult your doctor or pharmacist first. This also applies during pregnancy and breastfeeding.

Sleep and recovery after exercise

Sleep is the most important recovery period after training. If you train a lot and sleep poorly, a fixed sleep rhythm will help you more than extra supplements. Read in our article on the best supplement for sports recovery how NMN, GlyNAC and TMG relate to recovery, and on the page boost your workout how training, energy and recovery are connected. Combining a full work week with sport and little recovery time? Then also read our guide on longevity supplements for a busy, active lifestyle.

Every Day Better NMN

Sleep well, stay energised through the day

NMN is not a sleep aid, but it is studied for energy metabolism at the cellular level, as part of a routine alongside good sleep. Preferably take NMN in the morning. Minimum 99.5% purity, independently tested per batch.

View NMN Capsules 120×View the lab reports

Frequently asked questions about supplements for sleep

What is the best supplement for better sleep?

No supplement works for everyone. Melatonin has the most evidence for rhythm problems such as jet lag. Glycine showed better perceived sleep quality in small studies, and ashwagandha a small effect in insomnia. A good sleep routine has more effect than any supplement.

How much glycine should you take before sleep?

In the studies, 3 grams of glycine was taken about an hour before bed. This is a studied amount, not personal advice.

Does magnesium help with sleep problems?

The evidence is weak. In three small trials in older adults, participants fell asleep somewhat faster. Magnesium seems to help mainly if your intake is low; with a normal diet, the effect is uncertain.

Is melatonin safe?

Short-term use at low doses is generally well tolerated. Possible side effects include headache, dizziness and grogginess the next morning. Less is known about long-term use; discuss that, and use in children, with a doctor.

Does NMN help you sleep?

No, NMN is not a sleep aid. NAD+ does play a role in the biological clock, and NMN is being studied in relation to fatigue. That is why we recommend taking NMN in the morning.

Can you combine sleep supplements?

You can, but it increases the chance of side effects and interactions without a proven larger effect. Start with one compound and consult a doctor if you take medication.

When should I see a doctor?

If you sleep poorly at least three nights a week for more than three months, if you function poorly during the day, or if you snore with breathing pauses. Then a medical assessment matters more than a supplement.

Conclusion

Supplements for sleep can make a small contribution, but they do not replace good sleep habits. Melatonin is mainly useful for a shifted rhythm, glycine is promising but has limited research, ashwagandha has a small effect after several weeks, and magnesium seems mainly relevant with low intake. Choose one compound that fits your sleep problem, use a studied dose and seek help for persistent complaints.

Sources

  • Yamadera W, et al. Glycine ingestion improves subjective sleep quality in human volunteers, correlating with polysomnographic changes. Sleep and Biological Rhythms, 2007.
  • Bannai M, et al. The effects of glycine on subjective daytime performance in partially sleep-restricted healthy volunteers. Frontiers in Neurology, 2012.
  • Ferracioli-Oda E, et al. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLOS ONE, 2013.
  • Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complementary Medicine and Therapies, 2021.
  • Cheah KL, et al. Effect of Ashwagandha (Withania somnifera) extract on sleep: a systematic review and meta-analysis. PLOS ONE, 2021.
  • Riemann D, et al. European guideline for the diagnosis and treatment of insomnia. Journal of Sleep Research, 2023.

This information is for general education and does not replace medical advice. Last updated: November 2026.