Four compounds. One protocol. Meaningfully better sleep — without melatonin dependency or morning grogginess.
Most sleep supplements either don't work or work by knocking you out — not the same thing as quality sleep. This stack is built around compounds with solid mechanistic evidence: they support the pathways that produce deep, restorative sleep rather than sedating you into it. It's the protocol popularized by Andrew Huberman and validated across several sleep researchers' work, broken down so you actually understand what you're taking and why.
What the stack costs, what it targets, and how long before you'll notice a difference.
Magnesium glycinate, apigenin, L-theanine, and glycine.
Full stack, buying mid-tier brands with reasonable dosing.
Most people report noticeably deeper sleep within a week.
Deliberately excluded. Here's why in Section 05.
These are the compounds with the strongest evidence-to-cost ratio. Take all four together, 30–60 minutes before bed.
Magnesium is a cofactor for over 300 enzymatic reactions, including those that regulate the nervous system's transition to rest. The glycinate form (bound to glycine, an amino acid) is gentler on the gut than magnesium oxide or citrate and crosses the blood-brain barrier more effectively. It directly reduces cortisol activity and supports GABA — the primary inhibitory neurotransmitter that calms neural firing.
🕙 30–60 min before bedA flavonoid found in chamomile, apigenin binds to GABA-A receptors — the same receptor family targeted by benzodiazepines, but with much lower potency and no dependency risk. It promotes anxiolysis (a quiet, settled feeling) without sedation. At 50 mg it has a measurable effect on sleep onset latency in studies. Note: if you're trying to conceive, discuss with your doctor first — there's a theoretical estrogen-modulating effect at high doses.
🕙 30–60 min before bedAn amino acid in green tea that increases alpha brainwave activity — the relaxed-but-alert state associated with meditation. At sleep doses it shifts the brain toward a calmer pattern without inducing drowsiness during the day. It pairs synergistically with magnesium glycinate: magnesium addresses the body's stress response, theanine addresses the mind's. People who wake in the night often find this the most impactful compound.
🕙 30–60 min before bedAn inhibitory amino acid that lowers core body temperature — one of the key physiological signals that triggers deep sleep onset. Studies show 3g of glycine taken before bed reduces fatigue the following day and increases slow-wave (deep) sleep time. It's inexpensive in bulk powder form, mildly sweet, and mixes well into a glass of water. The magnesium glycinate above also contributes glycine, but this dose goes further.
🕙 30–60 min before bed · Mix in waterSequence matters. The stack works best within a broader evening wind-down — the compounds amplify habits, not replace them.
Caffeine's half-life is 5–6 hours. A 3pm coffee is still 50% active at 9pm. Cutting earlier is the single highest-leverage sleep lever most people ignore.
Bright light suppresses melatonin production. Shift to lamps, avoid overhead lighting, and get off blue-light screens or use blue-light blocking glasses.
Magnesium glycinate (300–400 mg) + Apigenin (50 mg) + L-Theanine (100–200 mg) + Glycine (2 g dissolved in water). All together, once daily.
A cool (not cold) shower, or simply turning the thermostat down. Core body temp needs to drop ~1–2°F to initiate sleep — you're accelerating that process.
The compounds are active. The environment needs to meet them halfway. 65–68°F (18–20°C), blackout dark, and quiet enough to stay asleep.
These compounds have good evidence but lower confidence or more individual variability. Add one at a time, not all at once.
An adaptogen that measurably lowers cortisol over time. KSM-66 is the most studied extract — it works on a weekly/monthly timescale rather than acutely, so it's less "take tonight" and more "take consistently for 8 weeks." Good for people whose main problem is stress-driven wakefulness or racing thoughts at bedtime. Cycle off every 2–3 months.
🕙 With dinner or at bedtime · Cycle 8 weeks on / 4 weeks offMost melatonin sold in the US is 3–10 mg — that's 10–30× the physiological dose your brain actually produces. At 0.3 mg it's a timing signal (tells your brain it's night); at 3+ mg it's a pharmacological dose that causes grogginess and disrupts natural production over time. If you use melatonin, use a 0.3 mg product. Useful for jet lag and schedule shifts, less useful for ongoing nightly use.
🕙 30 min before target bedtime · Jet lag / travel onlyNo stack overcomes bad inputs. These are the most common things that neutralize the benefit.
Caffeine blocks adenosine receptors — the buildup of adenosine is what creates sleep pressure. Even if you "fall asleep fine," caffeine reduces deep sleep duration measurably. Cut off by 1–2pm for most people.
Cutoff: 1–2pmAlcohol sedates but doesn't produce sleep — it suppresses REM dramatically. You'll fall asleep faster but wake fragmented in the second half of the night as the alcohol is metabolized. It's the biggest silent killer of sleep quality.
None within 3 hrs of bedBlue and green wavelength light (~480 nm) suppresses melanopsin-containing cells in the retina, which signal the SCN to pause melatonin production. Even at low brightness, ceiling lights and phone screens are bright enough to matter.
Dim / warm-only after sunsetCore body temperature needs to fall to initiate and maintain deep sleep. A warm room fights this directly. The sweet spot is 65–68°F (18–20°C). If you share a bed, a cooling mattress pad on your side is a legitimate tool.
Target: 65–68°F (18–20°C)Digestion raises core body temperature and keeps the digestive system active. This doesn't prevent sleep onset so much as it reduces deep sleep proportion and can cause acid reflux that fragments the night.
Last meal: 2–3 hrs before bedYour circadian clock is the master regulator — all of the above compounds are modulating a signal that the clock interprets. Going to bed 2 hours later on weekends introduces a kind of social jet lag that takes days to recover from. Consistency is more powerful than any supplement.
Same bedtime ± 30 min 7 days/weekThe stack works best when the environment cooperates. These are the highest-leverage physical changes.
Even small amounts of light through closed eyelids (streetlight, standby LEDs, charging cables) have been shown to elevate cortisol and fragment sleep architecture. Blackout curtains or a sleep mask.
High impactSet the thermostat to 65–68°F before bed. If your partner runs hot or cold differently, a dual-zone mattress pad (Eight Sleep, BedJet) solves this without nightly negotiation.
High impactBrown or pink noise (more natural than white noise) masks intermittent sounds — the wake trigger is usually the change in sound level, not the volume itself. A fan often does the job.
Medium impactThe cognitive pull of a nearby phone — even face-down — has been shown to modestly impair sleep quality and next-day focus. Charge it outside the room; use a separate alarm clock.
Medium impactThe four core compounds and a few optional additions, with affiliate links that support this project.
Take all four together, 30–60 minutes before bed. This is the complete evidence-based protocol.
Doctor's Best High Absorption Magnesium — the glycinate form specifically, not oxide. 200 tablets per bottle lasts 3+ months.
Swanson Apigenin 50mg — standardized chamomile extract. Hard to find at this dose; Swanson has consistent quality control.
NOW Foods L-Theanine 200mg — double-strength capsules, well-sourced and third-party tested. Start at 100mg if you're sensitive.
Bulk Supplements Glycine — buy powder, not capsules. At 2–3g/night a capsule form is impractical. Mild sweetness, dissolves easily.
Add one at a time. Ashwagandha is best as a multi-week commitment; melatonin is for travel only.
Nutricost Ashwagandha with KSM-66 extract — the most-studied ashwagandha form. For cortisol reduction over time, not acute sleep onset.
Life Extension Melatonin 0.3mg — the physiological dose, not the pharmacological one. If you can only find 1mg, cut the tablet in thirds.
Affiliate links — support this site at no extra cost to you
The sleep stack isn't magic, and it isn't a substitute for basic sleep hygiene — consistent bedtime, cool room, dark space, no alcohol close to bed. What it does is lower the floor. For most people, the compounds smooth out the rougher nights, reduce middle-of-night wakefulness, and slightly extend time in slow-wave and REM. At ~$18/month for the core four, the cost-benefit is hard to argue with.
Start with just magnesium glycinate for a week if you want to test compounds individually. Most people notice glycine's effect quickly (it's hard not to when you're sleeping more deeply). The full protocol takes about two weeks to stabilize.