If you spend half an hour staring at the ceiling after the lights go off, this page is for you — and the first thing to know is that most people in your shoes are buying the wrong bottle.Stack-kit editorial
Sleep-onset latency — the stretch of time between getting into bed and actually being asleep — is a specific problem with a specific fix. It is not the same as waking at 3am, and it does not respond to the catch-all "sleep support" jars on the shelf. So here we narrow it down: four compounds with real evidence behind them, two behavioral layers that cost nothing, and a cut-list of six heavily-marketed products that don't earn a slot.
Quick answer
The stack: magnesium glycinate (200–400mg, nightly) + L-theanine (200–400mg, as-needed) + apigenin (50mg, nightly) + glycine (3g, as-needed on warm nights).
Total cost: ~$60–95 first month, ~$35–55 maintenance.
Brands we'd buy: Pure Encapsulations (magnesium glycinate), Momentous (L-theanine), Double Wood (apigenin), Now Foods (glycine powder).
What to cut: melatonin doses above 0.3mg, "PM" multi-ingredient blends, ZMA, valerian, cannabis/CBD as a primary onset tool, diphenhydramine ("PM" OTC sleep aids).
Key caveat: this is an onset protocol — in-bed-to-asleep latency. If your problem is waking at 3am and not returning to sleep, this is the wrong protocol; that's sleep maintenance, a different mechanism.
The Protocol — Detailed
Before you buy anything — verify the problem
Three checks stand between you and a wasted $60. Run them first.
Onset vs maintenance. If you fall asleep in under 20 minutes but wake at 3am and can't return, your problem is maintenance, not onset. Different protocol, different supplements.
Circadian phase. Your circadian phase is your internal clock — the window when your body actually expects to sleep. If you're trying to fall asleep at 10pm but your endogenous melatonin onset (the point at which your body starts making its own melatonin, the sleep-timing hormone) is closer to 1am — common in delayed sleep phase, common in shift workers, common in late chronotypes — no supplement is going to paper over a 3-hour phase mismatch. Morning light exposure corrects the phase; melatonin micro-doses can shift it. High-dose melatonin used nightly to force onset is the wrong tool.
Medication stack. SSRIs, benzodiazepines, z-drugs (zolpidem, eszopiclone), trazodone, antihistamines, blood-pressure medication, and anticoagulants all interact with one or more items in this protocol. Read the medication-interaction note on each supplement below. Talk to your prescriber. We are not your prescriber and we don't know your full record.
The protocol
Magnesium glycinate — 200–400mg, 60–90 minutes before lights-out
Magnesium glycinate
INPeel back the label
Mechanism
Magnesium is a cofactor for GABA-A receptor function and NMDA receptor modulation. Glycinate (magnesium bound to the amino acid glycine) is the form with the best central nervous system penetration and the lowest GI side-effect profile — magnesium oxide and citrate stay in the gut and pull water; glycinate gets into circulation and crosses the blood-brain barrier. Glycine itself has independent sleep-onset effects (see item 4), so the glycinate form gives you two mechanisms in one molecule.
Evidence
Abbasi et al. 2012, *Journal of Research in Medical Sciences*, N=46 older adults with insomnia: 500mg magnesium oxide daily for 8 weeks reduced sleep-onset latency by approximately 17 minutes vs placebo (p<0.05) and improved Insomnia Severity Index score. The trial used oxide (less bioavailable than glycinate), and the population was older adults with established insomnia — extrapolation to general adults is partial. Smaller trials with glycinate in younger adults show similar direction but smaller effect sizes.
Skip when
If you're already on a prescription magnesium supplement (some cardiology and migraine protocols), if you have stage 3+ chronic kidney disease (magnesium clearance is renal — your nephrologist sets your ceiling), or if you're on bisphosphonates / tetracycline / quinolone antibiotics (magnesium chelates these and reduces absorption — space dosing by 4+ hours).
Start here. It's the cheapest item in the stack and the one most likely to move the needle on its own.
The mechanism is worth understanding, because the form is the whole game. Magnesium is a cofactor for GABA-A receptor function and NMDA receptor modulation — in plain terms, GABA-A is the brain's main "calm down" switch, and magnesium helps it work. What separates the forms is where the magnesium ends up. The glycinate form (magnesium bound to the amino acid glycine) crosses the blood-brain barrier — the brain's gatekeeper that decides what's allowed in from the bloodstream — with the best CNS penetration of the common forms. Oxide and citrate stay in the gut and pull water, which is exactly why they hand you loose stools and don't reliably touch sleep. Glycinate gets into circulation, and the glycine half of the molecule has its own onset effects (more on that below) — so you're getting two mechanisms riding in on one molecule.
Dose and timing. 200–400mg elemental magnesium, taken 60–90 minutes before lights-out, with or without food. Start at 200mg for the first week. If onset latency hasn't improved in 7 nights, step up to 300mg, then 400mg. Past 400mg elemental you get diminishing returns and loose stools even with the glycinate form.
Brand we'd buy. Pure Encapsulations Magnesium Glycinate — third-party tested, hypoallergenic line, NSF-registered facility, ~$32 for 90 capsules at 120mg elemental each (so 2 caps = 240mg, your starting dose). Here's the catch the label industry counts on: most products stamped "magnesium glycinate" are actually a blend of glycinate plus cheaper oxide or citrate, and the ratio never makes it onto the panel. Pure Encapsulations publishes the actual elemental glycinate content per capsule. That disclosure is the reason it gets the slot.
Study. Abbasi et al. 2012, Journal of Research in Medical Sciences, N=46 older adults with insomnia: 500mg magnesium oxide daily for 8 weeks reduced sleep-onset latency by ~17 minutes vs placebo (p<0.05) and improved Insomnia Severity Index. Read that with one eye open — the trial used oxide (less bioavailable than glycinate), and the population was older adults with established insomnia, so extrapolation to general adults is only partial. Smaller trials with glycinate in younger adults point the same direction with smaller effect sizes.
Skip it if. You're already on prescription magnesium (some cardiology and migraine protocols), if you have stage 3+ chronic kidney disease (magnesium clearance is renal — your nephrologist sets your ceiling), or if you're on bisphosphonates, tetracycline, or quinolone antibiotics (magnesium chelates these and reduces their absorption — space dosing by 4+ hours).
L-theanine — 200–400mg, as-needed on high-arousal nights
L-theanine
INPeel back the label
Mechanism
L-theanine is an amino acid that crosses the blood-brain barrier and increases alpha-wave activity (the EEG signature of relaxed wakefulness), modulates glutamate and GABA, and reduces sympathetic nervous system tone without sedation. The mechanism that matters for onset difficulty: it lowers cognitive and physiological arousal without knocking you out — it makes the transition from awake-and-thinking to drowsy easier. It does not "cause" sleep; it removes the arousal that's preventing it.
Evidence
Hidese et al. 2019, *Nutrients*, N=30 adults with stress-related sleep complaints: 200mg/day Suntheanine L-theanine for 4 weeks reduced Pittsburgh Sleep Quality Index score and sleep-onset latency vs placebo (p<0.05). Effect size was modest but consistent. Direction is replicated in several smaller trials; the mechanism (alpha-wave + sympathetic modulation) has independent EEG evidence.
Skip when
If you're on prescription blood-pressure medication (L-theanine can mildly lower BP — additive effect with antihypertensives), if you're already taking it in a daytime nootropic stack (you may already be at ceiling), or if you've tried it 3+ nights and noticed zero subjective effect (responder rate is roughly 60–70%; if you're a non-responder, don't keep buying it).
This is the one for the nights your brain won't stop talking.
L-theanine is an amino acid that crosses the blood-brain barrier and ramps up alpha-wave activity — the EEG signature of relaxed wakefulness, the brainwave pattern you settle into when you're calm but awake. It modulates glutamate and GABA and dials down sympathetic nervous system tone (your fight-or-flight side) without sedation. Note what it does not do: it doesn't cause sleep. It clears out the cognitive and physiological arousal that's blocking sleep — which is precisely the problem on the nights when work stress, late caffeine, an argument, or a hard training session has left you wired at lights-out.
Dose and timing. 200–400mg, 30–45 minutes before lights-out. Not nightly — as-needed on the nights you notice elevated arousal. Daily ceiling: 600mg. Past that the effect plateaus and some people report next-morning dullness.
Brand we'd buy. Momentous L-Theanine — NSF Certified for Sport, Suntheanine form (the patented L-isomer with the strongest evidence base). Most generics are a racemic mix of L and D forms, and only the L form does anything. ~$28 for 60 servings at 200mg.
Study. Hidese et al. 2019, Nutrients, N=30 adults with stress-related sleep complaints: 200mg/day Suntheanine for 4 weeks reduced Pittsburgh Sleep Quality Index score and sleep-onset latency vs placebo (p<0.05). Modest effect size, consistent direction. The alpha-wave and sympathetic-modulation mechanism has independent EEG evidence behind it, which is part of why we trust the direction even where the trials are small.
Skip it if. You're on prescription antihypertensives (L-theanine mildly lowers BP; the effect is additive), you're already taking it in a daytime nootropic stack (you're likely at ceiling already), or you've tried it 3+ nights with zero subjective effect. Responder rate is roughly 60–70%; if you're in the other third, drop it rather than keep buying.
Apigenin — 50mg, nightly, the layer most onset-buyers are missing
Apigenin
INPeel back the label
Mechanism
Apigenin is a flavonoid found in chamomile, parsley, and celery. It binds benzodiazepine-site allosteric modulators on the GABA-A receptor — same site benzodiazepines bind, much weaker affinity, no dependence profile. The effect at the dose below is mild sedation plus anxiolysis without next-morning grogginess. This is the layer most onset-difficulty buyers are missing — they've tried magnesium and melatonin and not realized the GABAergic mechanism was the gap.
Evidence
Salehi et al. 2019, *Phytotherapy Research* (review): summarizes the GABA-A binding affinity data and the small clinical trial literature on chamomile extracts standardized for apigenin. The strongest single-trial data is Amsterdam et al. 2009, *Journal of Clinical Psychopharmacology*, N=57: standardized chamomile extract (containing apigenin) reduced Hamilton Anxiety scores vs placebo over 8 weeks (p<0.05). The sleep-onset literature on apigenin specifically is thinner than the anxiety literature — we are honest about that. The GABA-A binding mechanism is well-characterized; the human onset-latency trial base is smaller than for magnesium or theanine.
Skip when
If you're on benzodiazepines, z-drugs, or any GABAergic prescription (additive sedation — dangerous), if you're on anticoagulants like warfarin (apigenin has mild CYP interaction and theoretical anticoagulant additive effect; the literature is thin but the risk is asymmetric), if you're pregnant or trying to conceive (apigenin has uterine-stimulant data in animal models; the human signal is unclear and the asymmetric-risk principle applies), or if chamomile gives you an allergic response (apigenin is the active in chamomile — if you're allergic to chamomile or other Asteraceae family plants, you'll likely react to isolated apigenin too).
Here's where most people's stack has a hole in it.
Apigenin is a flavonoid — a plant compound — found in chamomile, parsley, and celery. It acts as a benzodiazepine-site allosteric modulator on the GABA-A receptor: same site the benzodiazepines bind, far weaker affinity, none of the dependence profile. ("Half-life," for the record, is just how long it takes your body to clear half a dose — and apigenin's is short enough that it's gone by morning.) At the dose below you get mild sedation plus anxiolysis — anxiety relief — without next-morning grogginess. The typical story we hear: someone has run magnesium and melatonin, gotten partial results, and never touched the GABAergic layer at all. Apigenin is what fills that gap.
Dose and timing. 50mg, 45–60 minutes before lights-out, with a small amount of dietary fat. Apigenin is fat-soluble and absorption without fat is poor — a few almonds or a teaspoon of nut butter does the job. Don't exceed 100mg; the dose-response curve flattens out.
Brand we'd buy. Double Wood Supplements Apigenin — Certificate of Analysis available on request, USA-manufactured in a cGMP-registered facility, ~$22 for 60 capsules at 50mg. Apigenin is a niche supplement and most of the market is unregulated; Double Wood is one of the few labels that publishes COA data and matches the trial dosing instead of under-dosing to shave cost. That's the whole reason we'd hand them the money here rather than a cheaper unknown.
Study. Salehi et al. 2019, Phytotherapy Research (review), summarizes the GABA-A binding affinity data and the small clinical trial literature on chamomile extracts standardized for apigenin. The strongest single-trial data is Amsterdam et al. 2009, Journal of Clinical Psychopharmacology, N=57: standardized chamomile extract (containing apigenin) reduced Hamilton Anxiety scores vs placebo over 8 weeks (p<0.05). We'll be straight with you here — the onset-latency literature on isolated apigenin specifically is thinner than the anxiety literature. The GABA-A binding mechanism is well-characterized; the human onset-latency trial base is smaller than for magnesium or theanine.
Skip it if. You're on benzodiazepines, z-drugs, or any GABAergic prescription (additive sedation is dangerous), you're on warfarin or other anticoagulants (apigenin has mild CYP interaction and a theoretical additive anticoagulant effect — the literature is thin and the risk is asymmetric), you're pregnant or trying to conceive (uterine-stimulant data in animal models, unclear human signal), or chamomile gives you an allergic response (apigenin is the active in chamomile; cross-reactivity with Asteraceae family plants is common).
Glycine — 3g, as-needed on warm nights or after late training
Glycine
INPeel back the label
Mechanism
Glycine is an amino acid that lowers core body temperature by promoting peripheral vasodilation — and the drop in core body temperature is one of the physiological signals that initiates sleep onset. It also acts as an inhibitory neurotransmitter at glycine receptors in the brainstem. Net effect: faster onset, particularly on nights when your core temp is elevated (late workout, hot room, late meal). This is a complementary layer to magnesium glycinate — if you're already on magnesium glycinate at 200–400mg, you're getting some glycine, but not the dose used in the onset-latency trials.
Evidence
Yamadera et al. 2007, *Sleep and Biological Rhythms*, N=11 adults with mild insomnia: 3g glycine before bed reduced sleep-onset latency, improved subjective sleep quality, and reduced next-day fatigue (p<0.05) vs placebo. Replicated by Bannai et al. 2012, *Frontiers in Neurology*, N=10, with polysomnography confirmation of reduced onset latency. The trials are small — we cite the small N honestly. The mechanism (peripheral vasodilation + core temp drop) is well-characterized in independent thermoregulation literature.
Skip when
If you're on clozapine (glycine modulates clozapine response — talk to your prescriber), if you've tried it 4–5 nights and notice no effect (responder rate appears lower than magnesium or theanine; if it's not working for you, drop it), or if you're already running cold at bedtime (glycine drops core temp further — counter-productive if you're already cold).
Think of this one as your hot-night tool.
Glycine is an amino acid that lowers core body temperature by opening up peripheral vasodilation — widening the blood vessels near your skin so heat sheds outward. That drop in core temperature is one of the physiological signals your body reads as time to sleep. Glycine also acts as an inhibitory neurotransmitter at glycine receptors in the brainstem. Net effect: faster onset, and the payoff is biggest on the nights when core temp is running high — a late workout, a hot bedroom, a heavy late meal. If you're already on magnesium glycinate at 200–400mg you're getting some glycine, but not the dose the onset-latency trials actually used.
Dose and timing. 3g, 30–60 minutes before lights-out, dissolved in a small amount of water. It's faintly sweet and easy to get down. As-needed on hot nights, late-workout nights, or any night your body is running warm. Daily ceiling: 5g.
Brand we'd buy. Now Foods Glycine Powder — bulk powder, USP-grade, ~$15 per pound. Skip the capsules on this one: the trial dose is 3g, which works out to 6+ caps a night at the usual 500mg sizing. Powder runs roughly one-fifth the cost per gram and ships with a scoop.
Study. Yamadera et al. 2007, Sleep and Biological Rhythms, N=11 adults with mild insomnia: 3g glycine before bed reduced sleep-onset latency, improved subjective sleep quality, and reduced next-day fatigue (p<0.05) vs placebo. Replicated by Bannai et al. 2012, Frontiers in Neurology, N=10, this time with polysomnography confirming the reduced onset latency. These are small trials and we'll cite the N honestly rather than dress it up. The peripheral-vasodilation and core-temperature mechanism is well-characterized in the independent thermoregulation literature.
Skip it if. You're on clozapine (glycine modulates clozapine response — talk to your prescriber), you've tried it 4–5 nights with no effect (the responder rate looks lower than magnesium or theanine), or you already run cold at bedtime (glycine drops core temp further, which is counter-productive when you're starting from cold).
Behavioral layer: morning light + cool bedroom
Before you spend another dollar, hear this: sleep-onset latency is governed more by circadian and thermoregulatory signals than by anything in a capsule. Two free behavioral layers outperform every pill in this stack — 10+ minutes of outdoor light within 30 minutes of waking (no sunglasses), and a 65–67°F bedroom at lights-out. Morning light anchors your circadian phase so your body's own melatonin onset lands near your target bedtime. A cool room builds the core-temperature gradient that tells your body it's time.
Cost: zero. Effect size: larger than any single supplement in this protocol. Buy more supplement before you've fixed these and you're doing it backwards.
Behavioral layer: caffeine cutoff + screen discipline
Caffeine has a 5–6 hour half-life in most adults — meaning half the dose is still in you five to six hours after you drank it. A 2pm coffee leaves 25% of the dose circulating at 10pm, which is plenty to delay onset in most people. Cutoff: 8 hours before target bedtime.
Screens get blamed for everything, so let's be precise. Blue-spectrum screen light does suppress melatonin onset — the effect is real, just smaller than the popular discourse claims. The bigger culprit is the cognitive arousal from scrolling, not the photons themselves. Cutoff: 60 minutes before lights-out. Dim the room, and no work email.
Same logic as the light-and-temperature layer: run your nights on bad caffeine timing and late scrolling, and every supplement dollar buys you less. Cost is zero.
What to cut and why
Melatonin doses above 0.3mg. Most OTC melatonin is 3mg or 5mg — 10–20x the dose that matches the melatonin your body makes at night. Pile that on and you get receptor downregulation, next-day grogginess, and vivid-dream complaints. If you're going to use melatonin at all, use 0.3mg — and you'll have to go hunting for a "micro-dose" SKU, because most shelves don't stock it. Even at 0.3mg, melatonin is a circadian-phase tool, not an onset tool. Taking it nightly to force onset is the wrong mechanism aimed at the wrong problem.
"PM" / "Night-time" multi-ingredient blends. Proprietary blends hide the individual doses. You can't tell whether the magnesium is 50mg or 400mg, whether the L-theanine is 50mg or 200mg. You pay a premium for the blend and walk away under-dosed on the mechanism that matters and over-paying for filler botanicals.
ZMA. Zinc plus B6 helps — if you're deficient. The general adult isn't. The "ZMA improves sleep" claim traces back mostly to a single small trial in athletes with measurable zinc loss from training, which is not you on a Tuesday night.
Valerian root. Small effect size, inconsistent results across studies, and — not a trivial point — the smell is genuinely unpleasant. Apigenin gives you a GABAergic mechanism with better evidence and none of the odor.
Cannabis / CBD as a primary onset tool. THC suppresses REM sleep, tolerance builds within weeks, and on the nights you skip it, withdrawal makes your onset latency worse. CBD's onset evidence is weaker than the marketing implies. Occasional use is fine; nightly use manufactures the exact problem it's supposed to solve.
Diphenhydramine / "PM" OTC sleep aids. Anticholinergic. Long-term anticholinergic use carries cognitive-decline associations in older-adult cohorts, tolerance builds in days, and it's simply not appropriate for nightly use. A single night during travel or illness is reasonable; a nightly habit isn't.
FAQ
How long until this protocol works? Magnesium and apigenin are maintenance items — give them 7–14 nights of consistent use before you judge. L-theanine and glycine are as-needed items: they either work on the night you take them or they don't. If you're a non-responder to one of the as-needed items after 3–4 trials, drop it.
Can I take all four supplements together? Yes — that's the design. Magnesium glycinate and apigenin nightly. L-theanine on high-arousal nights. Glycine on warm-or-post-training nights. Take them inside the same 30–60 minute window before lights-out. The one caveat is your medication stack — read each item's skip-it-if conditions and check with your prescriber.
Is this protocol safe for nightly long-term use? Magnesium glycinate and apigenin have reasonable long-term safety profiles at the doses listed. What we don't have is 10-year nightly-use data on isolated apigenin specifically — the chamomile-extract human safety record runs decades long, but the isolated-apigenin trials are shorter. If you'd rather play it conservative, cycle apigenin 5 nights on, 2 off. L-theanine and glycine are as-needed by design, so long-term nightly use was never the plan.
What about magnesium threonate or magnesium taurate? Threonate is the brain-penetrant form marketed for cognitive use, and some buyers reach for it for sleep. The evidence for sleep-onset specifically is thinner than for glycinate, and threonate runs roughly 3x the cost. Taurate is a cardiovascular-context form. For onset, glycinate is the form with the best evidence-to-cost ratio — full stop.
Why no ashwagandha? Different mechanism, different timeline. Ashwagandha works through chronic HPA-axis modulation, takes 4–6 weeks of daily use, and pays off in overall sleep quality and stress reactivity rather than acute onset latency. It's a legitimate supplement for the right buyer — just the wrong tool for this specific problem. You'll see it turn up in sk:sleep/maintenance and sk:cognitive-stress protocols.
Can I take this if I'm on an SSRI? Magnesium glycinate and glycine are generally compatible with SSRIs. L-theanine is generally compatible. Apigenin is the question mark — its interaction profile with SSRIs isn't well-characterized. The GABAergic mechanism is distinct from the serotonergic one, but caution is warranted. Talk to your prescriber before adding apigenin to an SSRI stack.
What if I only want to buy one item? Magnesium glycinate. It's the highest evidence-to-cost item, it's nightly maintenance, and it addresses the most common underlying physiology. If that alone doesn't move your onset latency in 14 nights, add apigenin next.
Build your stack
Tap to add any of these to your stack — or add the whole protocol at once, and skip anything you already own. Everything you add saves on your device; shop your stack whenever you're ready. Stack-kit stays the guide; the store handles checkout, shipping, and any subscription.
Adding is free and stays on your device. When you shop your stack we earn a small commission — same price for you, and it keeps the protocol free. We don't sell or ship supplements ourselves; the store handles checkout and shipping.
Affiliate disclosure
Stack-kit earns affiliate commission when you purchase through the brand links on this page. The recommendations came first; the affiliate links were attached second. The cut-list above is full of products we could have monetized and chose not to recommend, because they don't earn their place in the protocol. We don't own any of the brands listed. We don't accept payment for placement. Brands earn slots in our protocols on third-party testing, dose accuracy, and the evidence base for the mechanism — not on commission rates.