by Strong Mornings See our plans

Best sleep supplements for insomnia: what the evidence says

The best sleep supplements for insomnia are, honestly, a short list with modest evidence: melatonin helps some people with a shifted body clock but is not recommended by the American Academy of Sleep Medicine for ordinary chronic insomnia, and magnesium, glycine, valerian and others have small or low-quality trials. None has been shown to beat CBT-I, the first-line treatment. If you want to try one, the safe way is one product, a set trial of two to four weeks, and a check with a pharmacist or doctor first. This is not medical advice.

Before you buy anything, our free 2-minute sleep quiz shows how long you lie awake and gives a starting sleep window, which does more for most people than a bottle. Below: what the guidelines say, a table of each supplement, how to run a fair trial, what not to combine, the over-the-counter sleep pills to avoid, and what works better.

What the guidelines say about sleep supplements

Two bodies matter most. The American College of Physicians (2016) recommends CBT-I as the first treatment for chronic insomnia and medicine only if that fails or is not available. The American Academy of Sleep Medicine's 2017 guideline on medicines for chronic insomnia lists drugs it suggests for specific problems, and it suggests against melatonin and against valerian for chronic insomnia, in both cases as a weak recommendation based on low-quality evidence. Supplements are sold as foods, not medicines, so in the US they do not need approval for effectiveness before sale, and quality varies.

That does not mean a supplement can never help; it means the proof is thin. Treat any of them as a low-cost experiment rather than a treatment plan.

Sleep supplements compared

SupplementWhat the evidence looks likeMain cautions
MelatoninBest for body-clock problems: jet lag, shift work, a late sleep phase. Small average benefit in ordinary insomnia, and the AASM guideline suggests against it for chronic insomniaDoses in products vary a lot; can cause morning grogginess, vivid dreams; check interactions. See melatonin stopped working
Magnesium (glycinate, citrate)A few small trials, some in older adults, and reviews rate the evidence as low qualityToo much causes diarrhea; kidney disease needs a doctor first
GlycineSmall studies from Japan found people felt better rested after about 3 g before bed; few trialsLittle long-term data
ValerianMixed results across trials; the AASM suggests against itQuality differs a lot between brands; rare liver reports; mixing with sedatives
Chamomile, lavenderSmall or mixed trials; chamomile tea is a pleasant ritual with little downsideAllergy to related plants (ragweed)
L-theanineSmall trials on relaxation; not established for insomniaFew reported at normal doses
KavaUsed for anxiety; some liver safety warnings in several countriesLiver injury risk; avoid with alcohol or liver disease
CBDEarly research only; products are not standardizedInteracts with some medicines; product contents often differ from the label

We did not rank these by "best" because no head-to-head trial lets anyone do so honestly. A roundup that gives star ratings is selling something.

Melatonin: who might benefit

Melatonin is a timing signal more than a sedative. It makes the most sense when your clock, not your sleep drive, is the problem: you travelled across time zones, work nights, or fall asleep at 3 a.m. and wake at 11. In those cases a small dose taken at the right time can nudge the clock, and low doses (often 0.5 to 1 mg in studies on timing) can do as well as high ones. Taken at bedtime for ordinary insomnia, the average gain is small. If you are weighing it, how to fix your sleep schedule shows the light and wake-time steps that do the same job without a pill.

Magnesium for insomnia

Magnesium is popular because low intake is common and the pill is cheap. The trials are small, short and often in older adults or people with low levels, and reviews call the evidence low quality. If you try it, the forms called glycinate and citrate are the common ones; oxide is mostly a laxative. Stay at or under the supplement upper limit (350 mg a day from supplements for adults in the US, according to the NIH Office of Dietary Supplements), and ask a doctor first if you have kidney disease or take diuretics, some antibiotics or osteoporosis drugs.

Over-the-counter sleep aids to avoid

Many products labeled "PM" or "nighttime" contain diphenhydramine or doxylamine, which are antihistamines. They can cause next-day fog, dry mouth, constipation and urinary trouble, and tolerance to the sleep effect can build in days. The American Geriatrics Society's Beers Criteria list these as drugs to avoid in older adults. If you take them often, that is a reason to see a doctor about the sleeping problem itself, not a reason to keep taking more.

How to run a fair trial of one supplement

  1. Check first. Ask a pharmacist about interactions with your medicines, and check with a doctor if you are pregnant, breastfeeding, over 65, or have liver, kidney or heart disease.
  2. Keep a diary for a week with nothing new. Use a sleep diary for minutes to fall asleep, minutes awake in the night and wake time.
  3. Change one thing. One product, one dose, starting low. Start no other new habit at the same time, or you cannot tell which worked.
  4. Choose a tested product. Look for a third-party seal such as USP or NSF on the label. It checks that what is in the bottle is what the label says.
  5. Give it two to four weeks and then compare the diary with the week before. If the numbers did not move, stop it. Do not raise the dose.
  6. Do not mix. Stacking melatonin, magnesium, valerian and an antihistamine means you cannot tell what helped or what caused a side effect.

What works better than any bottle

CBT-I changes the things that keep insomnia going: too much time in bed, a changing wake time, a bed linked with being awake, and worry about sleep. In the trials it shortens the time to fall asleep and the time awake at night, and the gains last after treatment stops, unlike medicines. See does CBT really work for insomnia? and CBT-I vs medication. A few of the habits are free and quick:

Best sleep supplements for insomnia by problem

If you still want to choose, match the product to what keeps you awake rather than to a ranking. This is a way to think, not a prescription.

Notice that for most nights awake, the best sleep supplements for insomnia are not the answer; the pattern is.

When to see a doctor instead

Our online sleep doctor guide covers who to see and what it costs.

Questions people ask

What is the best supplement for insomnia?

None is proven best. Melatonin has the clearest role for body-clock problems, and magnesium and glycine have small trials. CBT-I has stronger evidence than any of them.

Is magnesium or melatonin better for sleep?

They do different things. Melatonin shifts timing; magnesium is a mineral with a weak evidence base for sleep. Choose by your problem, not by popularity.

Can I take sleep supplements every night?

Many people do, but trial it for a few weeks and review. Using one for months without a plan hides a problem that may need a different fix.

Do natural sleep aids work?

"Natural" says nothing about benefit or safety. Kava and some herbs have real risks. Judge by evidence and your diary.

Is it safe to mix sleep supplements?

It is best not to. Add one at a time and check interactions first.

Start with the free part

Do the free thing first: take the sleep quiz for your starting numbers and keep a diary for a week. More on all sleep guides.

Sources: Qaseem A et al., ACP guideline on management of chronic insomnia, Annals of Internal Medicine, 2016; Sateia MJ et al., AASM clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults, J Clin Sleep Med, 2017; NIH Office of Dietary Supplements, magnesium fact sheet; NIH National Center for Complementary and Integrative Health, sleep disorders and herbal products pages; American Geriatrics Society Beers Criteria, 2023. Product formulations and evidence change; check with a pharmacist. Not medical advice.