Several supplements can help you fall asleep or stay asleep without melatonin. The most promising options include magnesium, L-theanine, glycine, valerian root, and tart cherry juice. Each works through a different biological mechanism, so the best choice depends on whether your main problem is a racing mind, physical tension, or difficulty staying asleep through the night.
People move away from melatonin for good reasons. It can increase REM sleep, which leads to unusually vivid or disturbing dreams. Morning grogginess is another common complaint, especially at higher doses. And for many people, melatonin simply stops working well over time. Here’s what the evidence says about the alternatives.
Magnesium
Magnesium is one of the most straightforward melatonin replacements because it targets a root cause of poor sleep: an imbalance between excitatory and calming brain signals. Your nervous system relies on two types of chemical messengers. Some fire neurons up, others quiet them down. Magnesium helps maintain the balance between the two, tipping things toward relaxation when levels are adequate.
The problem is that many people don’t get enough magnesium from food alone. Leafy greens, nuts, seeds, and legumes are all good sources, but dietary surveys consistently show intake falling short. When you’re low on magnesium, your nervous system leans toward the excitatory side, making it harder to wind down at night.
A Mayo Clinic sleep specialist recommends 250 to 500 milligrams taken as a single dose at bedtime. Magnesium glycinate is the form most commonly recommended for sleep because it’s well absorbed and less likely to cause digestive issues than magnesium citrate or oxide. You’ll typically notice the effect within a few days, though it can take a week or two of consistent use to see the full benefit.
L-Theanine
L-theanine is an amino acid found naturally in tea leaves. It doesn’t knock you out. Instead, it shifts your brain into a state that makes falling asleep easier. At doses between 50 and 200 milligrams, L-theanine increases alpha brain waves, the same wave pattern that dominates when you’re relaxed or drowsy. This is why drinking green tea can feel calming even though it contains caffeine.
For sleep specifically, studies suggest taking 200 milligrams before bed. The FDA classifies L-theanine as generally recognized as safe at up to 250 milligrams per serving, and side effects are rare at typical doses. This is a particularly good option if anxiety or mental chatter keeps you awake, since it promotes calm without sedation. You stay clearheaded in the evening and simply find it easier to drift off when you’re ready.
Valerian Root
Valerian root has been used as a sleep aid for centuries, and modern research points to a specific compound called valerenic acid as the active ingredient. It works through the same calming brain pathway that many prescription sleep medications target, though with a much gentler effect. Animal studies show that valerian extract both reduces the time it takes to fall asleep and improves sleep quality, with higher doses producing stronger results.
Most supplements standardize their valerian content to around 2% valerenic acid. The typical dose in clinical research ranges from 300 to 600 milligrams taken 30 minutes to two hours before bed. Valerian has a distinctive earthy smell that some people find unpleasant, so capsules are more popular than teas or tinctures. One downside: it can take two to four weeks of nightly use before the full effect kicks in, so it’s not the best choice if you want immediate results.
Glycine
Glycine is an amino acid your body already produces, and it plays a role in lowering core body temperature. This matters because your body naturally drops its temperature by one to two degrees as part of the process of falling asleep. Taking supplemental glycine appears to accelerate this cooling, which signals your brain that it’s time for sleep.
The typical dose used in sleep research is 3 grams taken about an hour before bed. Glycine is also found in bone broth, meat, and fish, though not in amounts large enough to produce a noticeable sleep effect. What makes glycine especially appealing is that people report feeling more refreshed in the morning rather than groggy, which is the opposite of what many experience with melatonin.
Tart Cherry Juice
Tart cherry juice is the only food-based option with direct sleep research behind it. Tart cherries contain small amounts of naturally occurring melatonin, but they also provide compounds that reduce inflammation and may influence sleep through pathways melatonin supplements don’t touch. Early studies show improved sleep duration and quality, particularly in people with insomnia, after drinking concentrated tart cherry juice for a week.
The research on optimal amounts is still limited, but a reasonable starting point is 4 ounces of tart cherry juice or half a cup of tart cherries. Look for 100% tart cherry juice or concentrate rather than cherry-flavored blends, which are mostly sugar. Drinking it about an hour before bed gives your body time to absorb it. Keep in mind that juice adds calories and sugar to your evening routine, so this works best as a short-term strategy or occasional tool rather than a nightly habit.
What About CBD and CBN?
Cannabis-derived compounds like CBD and CBN are heavily marketed for sleep, but the evidence is thin. A double-blind, placebo-controlled study tested several combinations of CBN alone and CBN with CBD at various doses over seven consecutive nights. The result: none of the groups fell asleep faster or stayed asleep longer than the placebo group. No differences were observed for sleep onset or nighttime wakefulness at any dose tested.
That doesn’t mean these compounds do nothing. Some people find CBD helpful for anxiety, which can indirectly improve sleep. But if you’re looking for a direct, evidence-backed replacement for melatonin, CBD and CBN aren’t it.
Choosing the Right Option
Your best alternative depends on what’s actually keeping you awake. If you lie in bed with your mind racing, L-theanine targets that mental restlessness directly. If you feel physically tense or restless, magnesium addresses the muscular and neurological side of relaxation. If you fall asleep fine but wake up too early, glycine’s temperature-regulating effect may help you stay asleep longer. Valerian root is a solid general-purpose option if you’re willing to wait a few weeks for results.
You can also combine some of these safely. Magnesium and L-theanine work through different mechanisms and are commonly taken together. Adding glycine to either is generally well tolerated. Start with one supplement at a time so you can tell what’s actually helping, and give each option at least a week before deciding it doesn’t work. Sleep supplements tend to be subtler than melatonin, building their effect gradually rather than hitting you with drowsiness on the first night.

