Place · Level 3
Insomnia
腺苷 + SCN + HPA 三轴失调 · CBT-I A 级证据 · melatonin 是时钟信号不是安眠药· Z 药慎用
Story path
- 1Insomnia types · ICSD-3Insomnia types · ICSD-3
- 2CBT-I — A-grade first lineCBT-I — A-grade first line
- 3Nutrient tools — Mg/Gly/L-theanine/melatoninNutrient tools — Mg/Gly/L-theanine/melatonin
- 4Z-drugs + benzos · long-term risksZ-drugs + benzos · long-term risks
- 5Decision tree + red flagsDecision tree + red flags
Chapter 1
Insomnia types · ICSD-3
Insomnia types · ICSD-3
Insomnia is any of three difficulties — falling asleep / staying asleep / waking too early — PLUS daytime functional impairment.
By duration:
Acute insomnia: < 3 months, usually with a trigger (stress / jet lag / illness)Chronic insomnia: ≥ 3 months / ≥ 3 nights per week / with daytime impairment → ICSD-3 diagnostic criteria30-35% of adults have occasional insomnia; 10-15% have chronic insomnia
By presentation:
Sleep-onset insomnia: > 30 minutes to fall asleep after going to bedSleep-maintenance insomnia: waking in the middle of the night and not getting back to sleep for > 30 minutesEarly morning awakening: waking ≥ 1 hour before the target wake time and unable to return to sleepNon-restorative sleep: 7-8 hours in bed but still tired
"I get 6 hours a night — is that insomnia?" Not necessarily — sleep need varies meaningfully between individuals:
Most adults need 7-9 hours, but a small subset (true "short sleepers", < 5%) do fine on 5-6 hoursThe judgment criterion: is there any daytime functional impairment (attention, reaction, mood, error rate)?No impairment + subjectively satisfied → 6 hours may be enough; impairment → you need more
Insomnia is one of the most badly-handled "symptoms" out there. Most people go straight to melatonin or an OTC sleep aid, but:
Z-drugs and benzodiazepines — the true sleep medications — carry serious long-term risks (falls, dementia, dependence)Melatonin is not a sleep aid; it is a clock signal. Wrong dose or timing makes it backfire.CBT-I (cognitive behavioral therapy for insomnia) is A-grade evidence, but adoption is low — most patients don't even know it exists
What this island is trying to do is upgrade the conversation from "what should I take" to "why can't I sleep + which levers actually work".
By duration:
Acute insomnia: < 3 months, usually with a trigger (stress / jet lag / illness)Chronic insomnia: ≥ 3 months / ≥ 3 nights per week / with daytime impairment → ICSD-3 diagnostic criteria30-35% of adults have occasional insomnia; 10-15% have chronic insomnia
By presentation:
Sleep-onset insomnia: > 30 minutes to fall asleep after going to bedSleep-maintenance insomnia: waking in the middle of the night and not getting back to sleep for > 30 minutesEarly morning awakening: waking ≥ 1 hour before the target wake time and unable to return to sleepNon-restorative sleep: 7-8 hours in bed but still tired
"I get 6 hours a night — is that insomnia?" Not necessarily — sleep need varies meaningfully between individuals:
Most adults need 7-9 hours, but a small subset (true "short sleepers", < 5%) do fine on 5-6 hoursThe judgment criterion: is there any daytime functional impairment (attention, reaction, mood, error rate)?No impairment + subjectively satisfied → 6 hours may be enough; impairment → you need more
Insomnia is one of the most badly-handled "symptoms" out there. Most people go straight to melatonin or an OTC sleep aid, but:
Z-drugs and benzodiazepines — the true sleep medications — carry serious long-term risks (falls, dementia, dependence)Melatonin is not a sleep aid; it is a clock signal. Wrong dose or timing makes it backfire.CBT-I (cognitive behavioral therapy for insomnia) is A-grade evidence, but adoption is low — most patients don't even know it exists
What this island is trying to do is upgrade the conversation from "what should I take" to "why can't I sleep + which levers actually work".
Sleep science · 3 key claims
Sleep is not a simple "power off" — it is an active neurochemical event.① Sleep is driven by three axes:
Adenosine pressure (homeostatic): the longer you are awake, the more tired you get (covered in detail in the atlas `caffeine-l-theanine/caffeine-pharm` scene)suprachiasmatic nucleus: The brain's master clock — set by light, it runs the body's day–night rhythm. clock (circadian): darkness triggers melatonin + morning light resets the clock (detailed in `melatonin/real-dose-vs-commercial`)hypothalamic–pituitary–adrenal axis: The body's stress-response chain (hypothalamus → pituitary → adrenal) that releases cortisol. / stress axis: chronic high cortisol → trouble falling asleep + light sleep (detailed in `ashwagandha/cortisol-mechanism`)
Disruption of any one of these three can produce insomnia:
16 hours awake but a late coffee → adenosine is masked → onset troubleBlue light at 22:00 → SCN didn't get the "time to sleep" signalHigh work stress + HPA won't shut down → waking at 3 amAll three dysregulated simultaneously: the typical chronic insomnia pattern
② Sleep stages (a full 7-8 h contains 4-5 cycles of about 90 minutes):
NREM 1: onset transition, a few minutesNREM 2: the bulk of sleep, 50-60%NREM 3 (slow-wave / deep sleep): physical recovery, immune activation, memory consolidation; concentrated in the first half of the nightREM: dreaming + emotion + procedural learning consolidation; concentrated in the second half of the night
Clinical implications:
Maintenance insomnia + early morning awakening → REM is lost → emotional and learning problemsOnset difficulty → deep sleep is lost → physical and immune problemsFragmented sleep (repeated brief awakenings) → both are impaired
③ Key facts:
"Catching up" by sleeping in on weekends: partially effective, but cannot fully compensate and scrambles the SCN, making Monday harder (social jet lag)The objective impact of < 6 hours: reaction speed equivalent to a blood alcohol of 0.05% (DUI level); long-term ↑ CV / T2D / Alzheimer / depression riskMemory consolidation lives in NREM3 + REM: studying and then sleeping well outperforms staying up to reviewNREM3 starts to decline from age 40+ (but should not disappear) — this is why light sleep is common in older adults, but recovery should not be given up
"Why can I lie in bed for an hour and not sleep, but doze off instantly on the couch?" This has a name — psychophysiological insomnia. After repeated failed nights, the bed itself is registered by the body as an "anxiety location", and the act of getting into bed starts triggering wakefulness. There is a CBT-I component called stimulus control designed for this: only enter bed when sleepy / leave immediately if not / the bed is only for sleep and sex.
Chapter 2
CBT-I — A-grade first line
CBT-I — A-grade first line
CBT-I (Cognitive Behavioral Therapy for Insomnia) is, for chronic insomnia:
The first-line intervention (AASM 2021 / NICE / ACP)Supported by A-grade RCT evidenceEffect size: onset time ↓ 19 min · total sleep ↑ 20-30 min · sleep efficiency ↑ 10% (*Trauer 2015* *Ann Intern Med* meta-analysis)Long-term effect: maintained at 6 months — fundamentally different from sleep medications, which "rebound on stop"Side effects: essentially zero
The 5 components of CBT-I:
① Sleep Hygiene
Fixed wake + bed timesLimit caffeine (before noon)Limit alcoholBlue-light control for the hour before bedBedroom cold + dark + quietNo work / phone in bed
② Stimulus Control — the core:
Only get into bed when sleepyIf not asleep within 20 minutes → leave bed for another space + a quiet activity (reading, folding laundry)Return when sleepyBed only for sleep and sexRebuilds the "bed = sleep" conditioned association
③ Sleep Restriction — counterintuitive but the most powerful:
Estimate your actual sleep time (e.g. 5 h)Restrict time in bed to that number + 30 minutes (e.g. 5.5 h)No lounging in bed when not sleepingSleep efficiency ≥ 85% for 1 week → add 15 minutes per weekShort-term may feel more tired, but it rebuilds sleep driveTherapist-supervised — not recommended as DIY
④ Cognitive Restructuring
"If I can't sleep tonight, I'm done tomorrow" → reframe → "I might be tired but I'll get through""Normal people sleep 8 hours" → reframe → "my personal need may be 7 hours""This week the insomnia is going to get worse" → reframe → "acute insomnia mostly self-limits"
⑤ Relaxation Training
Progressive muscle relaxation / diaphragmatic breathing / mindfulness20-30 minutes pre-bed
How to access CBT-I:
In-person, 6-8 sessions: clinical psychology / sleep medicine centerDigital CBT-I apps:Sleepio (UK NHS-recommended), Somryst (US FDA-cleared prescription), CBT-I Coach (VA, free), Stellar, Sleep School, etc.Most are 6-week self-guided programsRCT evidence is close to in-person therapyBooks: "Quiet Your Mind and Get to Sleep" (Carney + Manber)
Why isn't CBT-I universal?
Doesn't sell like pills — industry incentives are misalignedPhysician training time is limitedPatients expect "fast" — CBT-I needs 6-8 weeksBut: fewer than 1 in 5 diagnosed insomnia patients are referred for CBT-I (per data)
Drugs vs CBT-I:
Short-term (< 4 weeks): equivalentMid-term (4-12 weeks): CBT-I slightly betterLong-term (> 12 weeks): CBT-I is significantly better than drugs — drugs accumulate tolerance + rebound + side effectsAfter CBT-I, 70-80% of patients no longer need medication
The first-line intervention (AASM 2021 / NICE / ACP)Supported by A-grade RCT evidenceEffect size: onset time ↓ 19 min · total sleep ↑ 20-30 min · sleep efficiency ↑ 10% (*Trauer 2015* *Ann Intern Med* meta-analysis)Long-term effect: maintained at 6 months — fundamentally different from sleep medications, which "rebound on stop"Side effects: essentially zero
The 5 components of CBT-I:
① Sleep Hygiene
Fixed wake + bed timesLimit caffeine (before noon)Limit alcoholBlue-light control for the hour before bedBedroom cold + dark + quietNo work / phone in bed
② Stimulus Control — the core:
Only get into bed when sleepyIf not asleep within 20 minutes → leave bed for another space + a quiet activity (reading, folding laundry)Return when sleepyBed only for sleep and sexRebuilds the "bed = sleep" conditioned association
③ Sleep Restriction — counterintuitive but the most powerful:
Estimate your actual sleep time (e.g. 5 h)Restrict time in bed to that number + 30 minutes (e.g. 5.5 h)No lounging in bed when not sleepingSleep efficiency ≥ 85% for 1 week → add 15 minutes per weekShort-term may feel more tired, but it rebuilds sleep driveTherapist-supervised — not recommended as DIY
④ Cognitive Restructuring
"If I can't sleep tonight, I'm done tomorrow" → reframe → "I might be tired but I'll get through""Normal people sleep 8 hours" → reframe → "my personal need may be 7 hours""This week the insomnia is going to get worse" → reframe → "acute insomnia mostly self-limits"
⑤ Relaxation Training
Progressive muscle relaxation / diaphragmatic breathing / mindfulness20-30 minutes pre-bed
How to access CBT-I:
In-person, 6-8 sessions: clinical psychology / sleep medicine centerDigital CBT-I apps:Sleepio (UK NHS-recommended), Somryst (US FDA-cleared prescription), CBT-I Coach (VA, free), Stellar, Sleep School, etc.Most are 6-week self-guided programsRCT evidence is close to in-person therapyBooks: "Quiet Your Mind and Get to Sleep" (Carney + Manber)
Why isn't CBT-I universal?
Doesn't sell like pills — industry incentives are misalignedPhysician training time is limitedPatients expect "fast" — CBT-I needs 6-8 weeksBut: fewer than 1 in 5 diagnosed insomnia patients are referred for CBT-I (per data)
Drugs vs CBT-I:
Short-term (< 4 weeks): equivalentMid-term (4-12 weeks): CBT-I slightly betterLong-term (> 12 weeks): CBT-I is significantly better than drugs — drugs accumulate tolerance + rebound + side effectsAfter CBT-I, 70-80% of patients no longer need medication
Trauer 2015 + Edinger 2021 guideline
Trauer 2015 *Annals of Internal Medicine* meta-analysis (the gold citation for CBT-I):20 RCTs, N = 1162 chronic insomnia adultsComparing CBT-I (in-person, 4-9 sessions) vs control (waitlist / sleep hygiene only / placebo)Post-treatment results:Onset time: −19.0 minutesWake after sleep onset (WASO): −26 minutesTotal sleep time: +8 minutes (note: small because the sleep restriction phase intentionally tightens it)Sleep efficiency: +10%Effects maintained at 6 months (5 RCTs with follow-up)
Edinger 2021 AASM Clinical Practice Guideline (*J Clin Sleep Med*):
Strong recommendation:Multicomponent CBT-I (in-person + telehealth) for chronic adult insomniaBrief Behavioral Treatment for Insomnia (BBT-I, 2-4 sessions) is also effectiveDigital CBT-I (internet-based) is supportedWeak / optional:Stimulus control aloneSleep restriction aloneRelaxation training alone
Key: CBT-I is a multicomponent program — any single component is inferior to the full package.
Is CBT-I right for everyone?
Not appropriate for: acute insomnia (short-term, usually self-limiting); severe untreated depression (treat depression first); uncontrolled bipolar disorder (sleep restriction can trigger mania); sleep apnea (needs CPAP, not CBT-I)Appropriate for: chronic (≥ 3 months) primary insomnia and most comorbid insomniaCBT-I + comorbid management: when coexisting with depression / anxiety / chronic pain / GERD, CBT-I is still effective and synergizes with comorbidity management
Practical recommendations:
1. See your PCP first: rule out hypothyroidism / anemia / sleep apnea / depression
2. Find CBT-I resources:
US: psychologytoday.com to find a CBT-I clinical psychologistChina: tier-3 hospital sleep medicine center / psychiatryDigital apps: Sleepio / Somryst / CBT-I Coach3. At the same time, adjust lifestyle: caffeine cutoff / blue light / fixed wake time
4. Complete the 6-8 week program
5. If it fails: refer to sleep medicine specialty for evaluation of other causes
Chapter 3
Nutrient tools — Mg/Gly/L-theanine/melatonin
Nutrient tools — Mg/Gly/L-theanine/melatonin
Evidence-based "nutritional sleep tools" (ranked by evidence):
① Magnesium (Mg) — Grade B
Mechanism: SERCA calcium pump returns muscles to relaxation; physical NMDA-receptor Mg²⁺ block (atlas `magnesium/relax` L4); GABA modulationDose: 200-400 mg elemental Mg pre-bedForm: glycinate / threonate (crosses blood–brain barrier: The 'security gate' on brain vessels that blocks most substances in blood from entering the brain.) / citrate > magnesium oxide (poorly absorbed)Expect: onset time ↓ 10-15 minutes (RCT mixed); subjective relaxationSide effects: large doses cause diarrhea (a self-regulating mechanism); the glycinate form is gentleWho benefits most: people with known Mg deficiency + cramps + anxiety
② Glycine — Grade B
Mechanism: thermoregulation (drop in body temperature is a sleep trigger) + GABA modulation + atlas `glycine/metabolic-hub` L4Dose: 3 g, 30-60 minutes pre-bedExpect: improved onset + subjective sleep quality (*Yamadera 2007* RCT)Side effects: extremely rareWho benefits most: light sleepers + non-restorative sleep
③ L-Theanine — Grade B
Mechanism: GABA + α brain waves + reduced anxiety (detailed in atlas `caffeine-l-theanine/l-theanine`)Dose: 200-400 mg pre-bedExpect: subjective relaxation + improved onset (focus is anxiety-driven onset)Side effects: nearly zeroWho benefits most: anxiety-driven sleep onset difficulty
④ Melatonin — Grade A-B (only in specific use cases)
Mechanism: detailed in atlas `melatonin/real-dose-vs-commercial` L4True indications:Sleep-onset insomnia: 0.3-0.5 mg taken 30-60 minutes pre-bed (not "when getting into bed")Jet lag: 0.5-3 mg at the destination's dusk for 3-5 daysShift work / DSPS: 0.3-0.5 mg taken 4-6 h before the target sleep time (phase advance)Total blindness (non-24): prescription dosingNot indicated for:Maintenance insomnia + early morning awakening: melatonin's half-life is too short to helpChronic primary insomnia: CBT-I is far superior to melatoninCommon mistakes:Taking 5-10 mg → receptor saturation + next-day grogginessSugar gummy children's melatoninTaking it at bedtime (too late)
① Magnesium (Mg) — Grade B
Mechanism: SERCA calcium pump returns muscles to relaxation; physical NMDA-receptor Mg²⁺ block (atlas `magnesium/relax` L4); GABA modulationDose: 200-400 mg elemental Mg pre-bedForm: glycinate / threonate (crosses blood–brain barrier: The 'security gate' on brain vessels that blocks most substances in blood from entering the brain.) / citrate > magnesium oxide (poorly absorbed)Expect: onset time ↓ 10-15 minutes (RCT mixed); subjective relaxationSide effects: large doses cause diarrhea (a self-regulating mechanism); the glycinate form is gentleWho benefits most: people with known Mg deficiency + cramps + anxiety
② Glycine — Grade B
Mechanism: thermoregulation (drop in body temperature is a sleep trigger) + GABA modulation + atlas `glycine/metabolic-hub` L4Dose: 3 g, 30-60 minutes pre-bedExpect: improved onset + subjective sleep quality (*Yamadera 2007* RCT)Side effects: extremely rareWho benefits most: light sleepers + non-restorative sleep
③ L-Theanine — Grade B
Mechanism: GABA + α brain waves + reduced anxiety (detailed in atlas `caffeine-l-theanine/l-theanine`)Dose: 200-400 mg pre-bedExpect: subjective relaxation + improved onset (focus is anxiety-driven onset)Side effects: nearly zeroWho benefits most: anxiety-driven sleep onset difficulty
④ Melatonin — Grade A-B (only in specific use cases)
Mechanism: detailed in atlas `melatonin/real-dose-vs-commercial` L4True indications:Sleep-onset insomnia: 0.3-0.5 mg taken 30-60 minutes pre-bed (not "when getting into bed")Jet lag: 0.5-3 mg at the destination's dusk for 3-5 daysShift work / DSPS: 0.3-0.5 mg taken 4-6 h before the target sleep time (phase advance)Total blindness (non-24): prescription dosingNot indicated for:Maintenance insomnia + early morning awakening: melatonin's half-life is too short to helpChronic primary insomnia: CBT-I is far superior to melatoninCommon mistakes:Taking 5-10 mg → receptor saturation + next-day grogginessSugar gummy children's melatoninTaking it at bedtime (too late)
Useless / caution list + protocol
Useless / use-with-caution list:5-HTP: interacts with antidepressants / MAOIs, can trigger serotonin syndrome; limited safety dataValerian: most RCTs negative; rare but real reports of hepatotoxicityKava: hepatotoxic, banned in several countriesChamomile tea: can soothe mild anxiety, but does not really treat insomnia; the ritual > the direct pharmacologyLemon balm: similar to chamomile — ritual > pharmacologyCBD: evidence mixed; some patients respond but product quality varies; prescription Epidiolex is the exceptionAshwagandha: may help in chronic stress + anxiety-driven insomnia (detailed in atlas `ashwagandha/cortisol-mechanism`), but carries DILI risk — not for long-term use
Practical:
First line: lifestyle + CBT-IIf adding supplements: Mg 300 mg + Gly 3 g pre-bed is the safest and best-value combinationL-theanine 200 mg: add if anxiety is significantMelatonin: only when matched to an indication, at low doseDon't expect supplements to "cure" insomnia — at best they raise subjective quality by 10-20%
Chapter 4
Z-drugs + benzos · long-term risks
Z-drugs + benzos · long-term risks
The truth about OTC and prescription sleep medications:
① Z-drugs (Zopiclone / Eszopiclone / Zolpidem [Ambien])
Mechanism: selective GABA-A α1 receptor agonistsEffect: onset time ↓ 5-15 min; total sleep ↑ 30-50 min (short-term)Tolerance: begins at 2-4 weeks, obvious by 6-12 weeksDependence: moderate; abrupt discontinuation can cause rebound insomnia + anxietySide effects:Complex sleep behaviors (Ambien sleepwalking, sleep eating, sleep driving) — FDA black-box warningNext-day grogginess + cognitive slowing (especially in the elderly)Increased fall and hip fracture riskDementia risk (long-term > 6 months) — cohort data are mixed but show a significant association (*Billioti de Gage 2014* *BMJ*)Clinical recommendation: limit to short-term (< 4 weeks), intermittent use; avoid in the elderly and in those with cognitive impairment
② Benzodiazepines (Diazepam / Alprazolam / Lorazepam / Temazepam)
Mechanism: non-selective GABA-A agonistsEffect: strong sedation + anxiolysisDependence: high — begins at 4-6 weeks, withdrawal can be severe (seizure risk)Side effects:Falls + hip fracturesDementia (similar association to Z-drugs)Respiratory depression (especially with alcohol or opioids)Long-term personality changes (emotional blunting, memory issues)Clinical recommendation: avoid as first-line for insomnia; for acute anxiety, short-term only (≤ 2 weeks); always taper
③ Antihistamines (Doxylamine / Diphenhydramine — Benadryl)
OTC + common sleep aids (Unisom, NyQuil, etc.)Side effects and risks:Anticholinergic → dry mouth, constipation, blurred vision, urinary retentionStrong long-term association with dementia (*Gray 2015* *JAMA Intern Med*)Next-day grogginess + balance issuesTolerance develops quicklyClinical recommendation: not recommended for chronic insomnia — long-term risk exceeds short-term benefit
④ Tricyclic antidepressants (Trazodone / Doxepin / Mirtazapine)
Used at low dose for insomnia (off-label for trazodone)Effect: moderate; slower onset than Z-drugsSide effects: fewer, but possible cardiac / weight / sexual function effectsClinical: a reasonable choice when insomnia and depression coexist
⑤ New orexin receptor antagonists (Suvorexant / Lemborexant / Daridorexant)
Mechanism: block orexin (the wakefulness maintenance system) → sleepiness emerges naturallyAdvantages: low dependence + novel mechanism + less cognitive impactPrice: high (often requires insurance authorization)Side effects: next-day grogginess + very rare sleep paralysisClinical: a new option, a better fit for chronic insomnia
Each of these five drug classes has its own indications and red lines — turn to the next page for the clinical decision table + how to taper after years of use.
① Z-drugs (Zopiclone / Eszopiclone / Zolpidem [Ambien])
Mechanism: selective GABA-A α1 receptor agonistsEffect: onset time ↓ 5-15 min; total sleep ↑ 30-50 min (short-term)Tolerance: begins at 2-4 weeks, obvious by 6-12 weeksDependence: moderate; abrupt discontinuation can cause rebound insomnia + anxietySide effects:Complex sleep behaviors (Ambien sleepwalking, sleep eating, sleep driving) — FDA black-box warningNext-day grogginess + cognitive slowing (especially in the elderly)Increased fall and hip fracture riskDementia risk (long-term > 6 months) — cohort data are mixed but show a significant association (*Billioti de Gage 2014* *BMJ*)Clinical recommendation: limit to short-term (< 4 weeks), intermittent use; avoid in the elderly and in those with cognitive impairment
② Benzodiazepines (Diazepam / Alprazolam / Lorazepam / Temazepam)
Mechanism: non-selective GABA-A agonistsEffect: strong sedation + anxiolysisDependence: high — begins at 4-6 weeks, withdrawal can be severe (seizure risk)Side effects:Falls + hip fracturesDementia (similar association to Z-drugs)Respiratory depression (especially with alcohol or opioids)Long-term personality changes (emotional blunting, memory issues)Clinical recommendation: avoid as first-line for insomnia; for acute anxiety, short-term only (≤ 2 weeks); always taper
③ Antihistamines (Doxylamine / Diphenhydramine — Benadryl)
OTC + common sleep aids (Unisom, NyQuil, etc.)Side effects and risks:Anticholinergic → dry mouth, constipation, blurred vision, urinary retentionStrong long-term association with dementia (*Gray 2015* *JAMA Intern Med*)Next-day grogginess + balance issuesTolerance develops quicklyClinical recommendation: not recommended for chronic insomnia — long-term risk exceeds short-term benefit
④ Tricyclic antidepressants (Trazodone / Doxepin / Mirtazapine)
Used at low dose for insomnia (off-label for trazodone)Effect: moderate; slower onset than Z-drugsSide effects: fewer, but possible cardiac / weight / sexual function effectsClinical: a reasonable choice when insomnia and depression coexist
⑤ New orexin receptor antagonists (Suvorexant / Lemborexant / Daridorexant)
Mechanism: block orexin (the wakefulness maintenance system) → sleepiness emerges naturallyAdvantages: low dependence + novel mechanism + less cognitive impactPrice: high (often requires insurance authorization)Side effects: next-day grogginess + very rare sleep paralysisClinical: a new option, a better fit for chronic insomnia
Each of these five drug classes has its own indications and red lines — turn to the next page for the clinical decision table + how to taper after years of use.
Decision table + tapering long-term Z-drugs
Clinical decision table (5 scenarios, which tier):Acute < 4 weeks + major stress / jet lag: short-term Z-drug is acceptable + start CBT in parallelChronic insomnia: CBT-I first, medications adjunctive + intermittentInsomnia + severe depression / anxiety: treat the underlying condition + short-term adjunctInsomnia + sleep apnea: no sleep medications (they worsen breathing); use CPAP — see atlas `sleep-apnea`Elderly (> 65): avoid Z-drugs + benzos + Benadryl (on the Beers list); prioritize CBT-I + nutritional tools
"I've been on Ambien for 5 years — what should I do?"
This is not uncommon, and clinicians see it often. A few principles:
Don't stop abruptly. Rebound insomnia + anxiety can be worse than the original symptoms; benzos additionally carry seizure riskTaper over 2-3 months, reducing by ~25 % every 1-2 weeks. This gives GABA-receptor upregulation time to occurStart CBT-I in parallel — that is the real replacement mechanism, not another drugSubstitute supplements: Mg 300 mg + Gly 3 g pre-bed, plus L-theanine 200 mg if anxiety is in the mix, can soften the subjective withdrawal (atlas `insomnia/nutrient-tools` covers this)Don't feel ashamed — long-term Z-drug use is more a failure of physicians and the medical system to deliver CBT-I than your personal failure. Starting now, you can change it.
Atlas + Report closure
Atlas links back to:`caffeine-l-theanine/caffeine-pharm` L4 — adenosine pressure + how it interferes with the deep-sleep threshold`melatonin/real-dose-vs-commercial` L4 — 0.3 mg receptor saturation + the *Erland 2017* label chaos`ashwagandha/cortisol-mechanism` L4 — chronic stress + hypothalamic–pituitary–adrenal axis: The body's stress-response chain (hypothalamus → pituitary → adrenal) that releases cortisol. + cortisol diurnal disruption`magnesium/relax` L4 — SERCA + NMDA Mg²⁺ block`glycine/metabolic-hub` L4 — thermoregulation + GABA`nervous/neurotransmitters` L4 — where GABA / benzodiazepines / Z-drugs act
Atlas + Report: the report engine's `sleep-mag` / `caffeine-pm` / `screen-evening` / `mindfulness-suggest` / `melatonin-skeptic` rules all link back to this story — taking users from "the report says I might have insomnia" to "I understand why, and here is what I can actually do".
The simplest 4-week insomnia improvement plan:
Week 1:
Fix the wake time (even on weekends)Caffeine cutoff by 12 pm noon (or earlier for slow metabolizers)Blue-light control after 9 pmDownload a CBT-I app
Week 2:
Add a sleep diary (record actual sleep time)Implement stimulus control (bed only for sleep + sex)Supplement: Mg 300 mg + Gly 3 g pre-bed
Week 3:
Assess sleep efficiencyIf < 85% → try sleep restrictionAdd progressive muscle relaxation
Week 4:
Review + adjustIf improvement is limited → CBT-I therapist / sleep medicine
"Perfect sleep" is not the goal: an occasional bad night is not catastrophic — chronic insomnia is the real problem. Accepting imperfection is one of CBT-I's core wisdoms — "tonight I might sleep poorly, but life continues, and so will tomorrow".
Chapter 5
Decision tree + red flags
Decision tree + red flags
"I can't sleep — what do I do?" Step by step:
Week 1 · Self-check + basics:
Is it acute or chronic?Acute < 3 months + a trigger (stress / jet lag / illness) → usually self-limited; simple sleep hygiene + short-term supplementsChronic ≥ 3 months → start CBT-IBasic workup:Caffeine (afternoon / evening)Blue light (evening phone / TV)Alcohol (pre-bed)Exercise (too late)Bedroom environment (noise / light / temperature)
Weeks 2-4 · Start CBT-I + nutritional tools:
CBT-I: digital app or scheduled therapistMg 300 mg + Gly 3 g pre-bedL-theanine 200 mg if anxiousSleep diary
Weeks 4-8 · Assess:
Sleep efficiency ≥ 85%?Subjective improvement?Improved daytime function?
No improvement after 8 weeks: refer to sleep medicine specialty:
Rule out other causes (apnea / RLS / parasomnia / psychiatric)Polysomnography (PSG) if apnea is suspected
Red flags (ER / see a doctor immediately):
Loud snoring + apneic pauses + extreme daytime sleepiness: sleep apnea → severe CV / neurological riskRestless legs + irresistible urge to move: restless legs syndrome (RLS)Sleep terrors / violent sleep behaviors: REM behavior disorder (RBD) — can be an early Parkinson's prodromeSudden episodes of falling asleep during the day: narcolepsy — rare but seriousInsomnia + depression + thoughts of self-harm: immediate psychiatric careInsomnia + palpitations / rapid weight loss / heat intolerance: rule out hyperthyroidism
"Accepting" long-term insomnia:
There is no promise of "always sleeping 8 hours": even with treatment, an occasional bad night is normalGoal: most nights are enough + daytime is functional + overall quality of lifePerfectionist thinking worsens insomnia — one goal of CBT-I is to loosen this tension
One last point: don't let insomnia define you. Insomnia is an experience, not an identity. While you are working on improvement, keep doing the things that make life rich — work, relationships, interests — they are themselves part of managing insomnia.
Week 1 · Self-check + basics:
Is it acute or chronic?Acute < 3 months + a trigger (stress / jet lag / illness) → usually self-limited; simple sleep hygiene + short-term supplementsChronic ≥ 3 months → start CBT-IBasic workup:Caffeine (afternoon / evening)Blue light (evening phone / TV)Alcohol (pre-bed)Exercise (too late)Bedroom environment (noise / light / temperature)
Weeks 2-4 · Start CBT-I + nutritional tools:
CBT-I: digital app or scheduled therapistMg 300 mg + Gly 3 g pre-bedL-theanine 200 mg if anxiousSleep diary
Weeks 4-8 · Assess:
Sleep efficiency ≥ 85%?Subjective improvement?Improved daytime function?
No improvement after 8 weeks: refer to sleep medicine specialty:
Rule out other causes (apnea / RLS / parasomnia / psychiatric)Polysomnography (PSG) if apnea is suspected
Red flags (ER / see a doctor immediately):
Loud snoring + apneic pauses + extreme daytime sleepiness: sleep apnea → severe CV / neurological riskRestless legs + irresistible urge to move: restless legs syndrome (RLS)Sleep terrors / violent sleep behaviors: REM behavior disorder (RBD) — can be an early Parkinson's prodromeSudden episodes of falling asleep during the day: narcolepsy — rare but seriousInsomnia + depression + thoughts of self-harm: immediate psychiatric careInsomnia + palpitations / rapid weight loss / heat intolerance: rule out hyperthyroidism
"Accepting" long-term insomnia:
There is no promise of "always sleeping 8 hours": even with treatment, an occasional bad night is normalGoal: most nights are enough + daytime is functional + overall quality of lifePerfectionist thinking worsens insomnia — one goal of CBT-I is to loosen this tension
One last point: don't let insomnia define you. Insomnia is an experience, not an identity. While you are working on improvement, keep doing the things that make life rich — work, relationships, interests — they are themselves part of managing insomnia.