Walk down any supplement aisle and you will find a wall of sleep aids promising deep, restful nights. Some genuinely help, most are mild, and a few are mostly marketing. The trick is matching the right supplement to your actual problem, and not expecting any of them to do the job that good sleep habits do. Here is an honest, evidence-based ranking of the sleep supplements worth knowing, the right dose and timing for each, why low-dose melatonin beats the megadoses on the shelf, and what to skip.
The short version
- The biggest wins are not in a bottle. A consistent schedule, morning light, a cool dark room, and limiting late caffeine, alcohol, and screens do more than any supplement. For chronic insomnia, CBT-I is the proven first-line treatment.
- Melatonin is the most useful and the most misused. It is a clock signal, not a sedative, and 0.5 to 1 mg often works better than the 5 to 10 mg sold in stores.
- Magnesium, L-theanine, glycine, and ashwagandha have reasonable evidence, especially for stress and anxiety-driven sleeplessness.
- Tart cherry and apigenin are mild at best, and valerian has not held up.
- Quality control is a real problem with melatonin, so choose third-party-tested products.
Start with the basics
Before any supplement, the unglamorous truth: the biggest improvements in sleep come from behavior, not bottles. A consistent sleep and wake time, morning daylight, a cool and dark bedroom, and cutting off caffeine by early afternoon and alcohol and screens before bed will do more than any pill. And if you have chronic insomnia, the proven first-line treatment is not a supplement at all. It is CBT-I, cognitive behavioral therapy for insomnia, a short structured program that sleep medicine guidelines rank above sleeping pills for lasting results. Supplements work best on top of these basics, not instead of them. Our sleep and insomnia guide goes deeper.
Melatonin: the most useful and the most misused
Melatonin is the sleep supplement everyone knows, and almost everyone uses it wrong. The key thing to understand is that melatonin is not a sedative. It is a "hormone of darkness," a signal your brain releases at night to tell your body it is time to wind down. Taken as a supplement, it nudges your internal clock and modestly helps you drift off. That makes it genuinely useful for circadian problems: jet lag, shift work, and a sleep schedule that has drifted too late. It is less impressive for classic "I just cannot sleep" insomnia, where it typically shaves only a few minutes off how long it takes to fall asleep.
Three things matter more than most people realize:
- Less is more. The 5 to 10 mg doses on store shelves are far more than you need. Research and sleep clinicians point to 0.5 to 1 mg as a better starting dose. More melatonin does not mean more sleep, and high doses can leave you groggy.
- Timing beats dose. For falling asleep, take it about 30 to 60 minutes before bed. To shift a late schedule earlier, a small dose taken a few hours before your target bedtime works better.
- Quality is a real problem. Independent testing has found that most melatonin products do not match their labels, with actual content ranging from far below to several times above what is stated, and some even contaminated with serotonin. Choose a third-party-tested or USP-verified product.
Melatonin is not habit-forming, but it is also not a cure for ongoing insomnia. Use it for the circadian jobs it does well. See our full melatonin guide for details.
Magnesium
Magnesium supports the nervous system's "rest and digest" side, and many people do not get enough from food. The best-studied form for sleep is magnesium glycinate, and a 2025 trial found a daily dose improved insomnia severity in adults with poor sleep. The effect is gentle rather than knockout, and it is most noticeable if you were running low to begin with. We compare the forms in detail in our magnesium for sleep and anxiety guide. Typical dose: 200 to 400 mg of elemental magnesium in the evening.
L-theanine
L-theanine is an amino acid from green tea that promotes a calm, relaxed alertness without sedation. It is most useful when the problem is a racing mind or bedtime anxiety rather than a circadian issue: it helps quiet mental chatter so you can fall asleep, and it does not leave you groggy in the morning. It pairs naturally with magnesium. Typical dose: 100 to 200 mg before bed.
Glycine
Glycine is a simple amino acid with a small but interesting body of research for sleep. Taken before bed, it appears to improve subjective sleep quality and next-day alertness, partly by gently lowering core body temperature, which is one of the signals that helps you fall asleep. The studies are small, but the safety is excellent and the cost is low. Typical dose: 3 grams before bed.
Ashwagandha
If your sleeplessness is driven by stress, ashwagandha is worth a look. A meta-analysis of randomized trials found it improved sleep, with the clearest effects at around 600 mg of a standardized extract taken for at least 8 weeks. It works less as a direct sleep aid and more by lowering the stress and cortisol load that keeps people wired at night, which is why it overlaps with our cortisol guide.
The rest, and what to skip
A few more get a lot of attention:
- Tart cherry. Montmorency tart cherry is a natural source of melatonin, and a small pilot study found tart cherry juice meaningfully increased total sleep time in people with insomnia. Other trials, though, found no benefit, so the evidence is mixed. It is mild and safe to try, but do not expect much.
- Apigenin. This is the compound in chamomile that gets credit for its calming reputation, and it has become popular as a standalone supplement. The human evidence is thin and mostly comes from chamomile rather than isolated apigenin, so treat it as a gentle, low-risk option rather than a proven one.
- Valerian. Despite its long traditional use, the clinical evidence for valerian root has not held up well, and reviews generally conclude it is not reliably effective.
- Be cautious with GABA supplements (poorly absorbed into the brain) and kava (effective for anxiety but carries a liver risk). And be wary of "PM" combination products that hide an antihistamine, which can leave you groggy and is not meant for nightly use.
| Supplement | Best for | Typical dose | Evidence |
|---|---|---|---|
| Melatonin | Jet lag, shift work, resetting a late clock | 0.5 to 1 mg, timed | Good (circadian) |
| Magnesium glycinate | General sleep quality, especially if low | 200 to 400 mg | Moderate |
| L-theanine | Racing mind, bedtime anxiety | 100 to 200 mg | Moderate |
| Glycine | Sleep quality and next-day alertness | 3 g before bed | Moderate (small trials) |
| Ashwagandha | Stress-driven sleeplessness | 300 to 600 mg | Moderate |
| Tart cherry | Mild, natural melatonin source | 1 to 2 servings | Mixed |
| Apigenin / chamomile | Mild relaxation | Varies | Weak |
| Valerian | Traditional use | Varies | Insufficient |
Frequently asked questions
What is the best supplement for sleep?
It depends on the problem. Low-dose melatonin is best for circadian issues like jet lag or a late schedule. Magnesium glycinate and glycine help general sleep quality, and L-theanine or ashwagandha help when stress and a racing mind are the issue. None of them replaces good sleep habits.
How much melatonin should I take?
Less than most products provide. A starting dose of about 0.5 to 1 mg, taken 30 to 60 minutes before bed, works better for most people than the 5 to 10 mg sold in stores. More does not mean better sleep and can cause grogginess. Timing matters more than dose.
Is it safe to take melatonin every night?
Short-term use is generally considered safe, and melatonin is not habit-forming. But it is not meant to be a long-term fix for chronic insomnia. If you find you need it nightly for weeks, that is a reason to see a doctor and consider cognitive behavioral therapy for insomnia (CBT-I).
Does magnesium really help you sleep?
It can, gently, especially if you are low in magnesium. Magnesium glycinate is the best-studied form for sleep, at about 200 to 400 mg in the evening. The effect is subtle rather than a knockout.
What can I take for sleep if stress and anxiety keep me up?
L-theanine (100 to 200 mg) helps quiet a racing mind at bedtime without grogginess, and ashwagandha (around 600 mg over several weeks) helps by lowering the underlying stress load. Both pair well with good wind-down habits.
What sleep supplements should I avoid or be skeptical of?
Valerian has weak evidence, GABA is poorly absorbed into the brain, and kava carries a liver risk. Be cautious with PM combination products that contain hidden antihistamines, which are not meant for nightly use. Quality is also a real issue with melatonin, so choose third-party-tested brands.
The bottom line
The best sleep supplement is the one matched to your actual problem, used on top of solid sleep habits. For a drifted or jet-lagged clock, low-dose melatonin (0.5 to 1 mg), timed correctly, is the right tool. For general sleep quality, magnesium glycinate and glycine are gentle, well-tolerated options. For a racing, anxious mind, L-theanine and, over a few weeks, ashwagandha can help by turning down the stress that keeps you awake. Tart cherry and apigenin are mild at best, and valerian has not earned its reputation. And if poor sleep is a regular thing, the most effective fix is not on a supplement shelf at all: it is CBT-I, with your doctor's help. Buy third-party-tested products, start low, and give the basics the credit they deserve.