This content is for educational purposes only and is not a substitute for medical advice, diagnosis, or treatment. Speak with a qualified healthcare provider before changing medications, starting new treatments, or if insomnia is severely impacting your health or safety. CBT-I should ideally be delivered by a trained clinician for complex or chronic cases.

What Is Insomnia? Definition and Diagnostic Criteria

Insomnia is defined as persistent difficulty initiating sleep, maintaining sleep, or waking early โ€” despite adequate opportunity and circumstances for sleep โ€” that results in daytime impairment.

The clinical criteria (DSM-5 and ICSD-3) specify:

  • Sleep difficulty occurs at least 3 nights per week
  • Sleep difficulty is present for at least 3 months (chronic insomnia) or less than 3 months (acute/short-term insomnia)
  • The sleep problem causes clinically significant distress or impairment in daytime functioning
  • The difficulty occurs despite adequate opportunity for sleep
  • The sleep difficulty is not better explained by another sleep disorder

Types of Insomnia by Timing

TypeDescriptionAssociated With
Sleep onset insomniaDifficulty falling asleep at the beginning of the nightAnxiety, hyperarousal, circadian misalignment, conditioned arousal
Sleep maintenance insomniaFrequent or prolonged awakenings during the nightDepression, menopause, sleep apnea, alcohol, pain, anxiety
Early morning awakeningWaking significantly before intended time and unable to return to sleepDepression (classic symptom), advanced sleep phase, aging
Mixed insomniaCombination of onset and maintenance difficultiesMost common presentation in clinical settings

The Hyperarousal Model of Insomnia

Modern sleep science understands chronic insomnia primarily through the lens of hyperarousal โ€” a state of elevated physiological, cognitive, and emotional activation that is incompatible with sleep. People with chronic insomnia show:

  • Higher metabolic rate and core body temperature at night compared to good sleepers
  • Elevated heart rate variability markers indicating sympathetic nervous system predominance
  • Higher cortisol levels in the evening and night hours
  • Increased beta wave (high-frequency brain activity) even during sleep, suggesting a vigilant brain state
  • Greater regional brain glucose metabolism during sleep (as measured by PET imaging)

This hyperarousal is not simply anxiety about sleep โ€” it's a neurobiological state that is both a cause and a consequence of chronic insomnia, creating a self-perpetuating cycle.

Spielman's 3P Model: Why Insomnia Becomes Chronic

The most influential model for understanding chronic insomnia is Spielman's "3P Model" (also called the Predisposing-Precipitating-Perpetuating model). It explains why some people recover from an acute sleep disturbance while others develop chronic insomnia.

Predisposing Factors

These are biological and psychological traits that increase vulnerability to insomnia. They include: genetic factors, hyperreactive stress response (HPA axis), perfectionist or anxious personality traits, female sex (women have 1.4x higher insomnia prevalence than men), a history of anxiety or depression, and high trait arousal. Predisposing factors alone don't cause insomnia โ€” but they lower the threshold at which a triggering event can precipitate it.

Precipitating Factors

These are the acute triggers that start the insomnia episode. Common precipitating factors include: major life stress or loss, medical illness, surgery, travel and jet lag, shift work changes, relationship conflict, workplace pressure, medication changes, or stimulant use. Most people experience a sleep disturbance when exposed to significant precipitants. In those without high predisposition, sleep recovers when the stressor resolves.

Perpetuating Factors

Perpetuating factors are the behavioral and cognitive responses to insomnia that maintain it long after the precipitating cause is gone. These are the target of treatment. They include:

  • Extending time in bed: Going to bed earlier or staying later to "catch up" โ€” which reduces sleep efficiency and weakens the homeostatic sleep drive
  • Napping: Reduces adenosine accumulation needed for reliable nighttime sleep onset
  • Conditioned arousal: The bed becoming associated with wakefulness and frustration through repeated experience
  • Sleep-related anxiety and monitoring: Excessive focus on sleep, clock-watching, performance anxiety about sleeping
  • Catastrophizing: Magnifying the consequences of poor sleep ("I'll be worthless tomorrow," "I'm ruining my health")
  • Safety behaviors: Avoiding activities the next day to conserve energy โ€” which reduces daytime engagement and further disrupts sleep drive
Key insight: CBT-I is effective precisely because it directly targets perpetuating factors. The precipitating cause may have resolved years ago, but the person's behavioral response to insomnia โ€” staying in bed longer, napping, avoiding activities โ€” has become the ongoing engine of the disorder.

Common Causes of Insomnia

Psychological Causes

  • Anxiety disorders: The most common comorbidity; worry and rumination at bedtime directly prevent sleep onset; elevated nighttime cortisol maintains hyperarousal
  • Depression: Early morning awakening is a classic symptom; disrupted sleep architecture (reduced slow-wave sleep, earlier REM onset) are biological features of depression
  • Post-traumatic stress disorder (PTSD): Nightmare-related insomnia, hypervigilance preventing sleep onset, REM disruption
  • Acute stress: Temporary life circumstances โ€” exams, major decisions, relationship conflict

Medical Causes

  • Chronic pain conditions (arthritis, fibromyalgia, back pain)
  • Acid reflux / GERD (especially when lying flat)
  • Thyroid disorders (hyperthyroidism causes hyperarousal)
  • Respiratory conditions (asthma, COPD)
  • Heart failure and cardiovascular conditions
  • Neurological conditions (Parkinson's, Alzheimer's)
  • Hormonal changes (menopause, pregnancy, thyroid)
  • Nocturia (urinary frequency at night)

Medication and Substance Causes

  • Caffeine (particularly in slow metabolizers)
  • Alcohol (disrupts sleep architecture in the second half of the night)
  • Nicotine (stimulant; withdrawal during sleep)
  • Beta-blockers (some suppress melatonin)
  • Corticosteroids (increase alertness and disrupt circadian rhythm)
  • SSRIs/SNRIs (can cause insomnia, particularly on initiation; some reduce REM)
  • Stimulant medications (ADHD medications, decongestants)
  • Diuretics (cause nocturia)

Environmental and Behavioral Causes

  • Shift work and irregular schedules
  • Jet lag
  • Poor sleep environment (too warm, light exposure, noise)
  • Conditioned arousal from extended time in bed while awake

CBT-I: The First-Line Treatment for Chronic Insomnia

Cognitive Behavioral Therapy for Insomnia (CBT-I) is the first-line recommended treatment for chronic insomnia according to the American Academy of Sleep Medicine, the American College of Physicians, and the European Sleep Research Society โ€” ahead of any medication. It produces durable improvements that persist after treatment ends, unlike sleeping pills, which work only while taken.

CBT-I typically involves 4โ€“8 sessions with a trained therapist, though digital CBT-I programs (like Sleepio, SomRyst, and others) have demonstrated comparable efficacy in RCTs. The main components are:

1. Sleep Restriction Therapy

Sleep restriction is the most potent single component of CBT-I and the one that produces results fastest. It's also the most counterintuitive and the most difficult to follow โ€” but the evidence is unambiguous.

How Sleep Restriction Works:

  1. Calculate your actual average sleep time (not time in bed) โ€” typically using a sleep diary kept for 1โ€“2 weeks. If you're sleeping an average of 5.5 hours per night, that's your starting number.
  2. Set your time in bed to match your actual sleep time โ€” in this example, 5.5 hours. If your target wake time is 7 AM, your prescribed bedtime is 1:30 AM. A minimum of 5 hours is maintained for safety.
  3. This creates significant sleep pressure and initially increases sleepiness. Within days to 1โ€“2 weeks, sleep efficiency (percentage of time in bed actually asleep) rises toward 85โ€“90%+.
  4. As sleep efficiency rises above 85%, the sleep window is extended by 15 minutes (earlier bedtime). This process continues until adequate sleep duration is restored at high efficiency.
Important precautions: Sleep restriction is not appropriate for people with seizure disorder (sleep deprivation lowers seizure threshold), bipolar disorder (can trigger mania), or occupations where acute sleepiness creates safety risks. Always discuss with a healthcare provider before starting sleep restriction. Sleep efficiency is monitored throughout and the window is never reduced to less than 5 hours.

2. Stimulus Control

Stimulus control therapy targets conditioned arousal โ€” the brain's learned association between bed and wakefulness. The instructions are simple but require strict adherence:

  • Go to bed only when sleepy (not just tired)
  • Use the bed and bedroom only for sleep and sex
  • If unable to sleep within approximately 20 minutes, get out of bed and go to another room
  • Return to bed only when sleepy again
  • Wake at the same time every day regardless of how much sleep you got
  • No napping

The mechanism: through classical conditioning reversal, the bed gradually becomes re-associated with sleep onset rather than wakefulness and frustration. This typically takes 2โ€“6 weeks of consistent application.

3. Cognitive Restructuring

Cognitive restructuring addresses the thought patterns that perpetuate insomnia by magnifying its consequences and increasing performance anxiety about sleep. Common dysfunctional beliefs targeted include:

  • "I need 8 hours or I can't function" (sleep need varies by individual; catastrophizing increases hyperarousal)
  • "One bad night means I'll be useless tomorrow" (adults maintain significant cognitive function with modest sleep loss)
  • "I haven't slept โ€” something is terribly wrong with me" (occasional poor sleep is universal)
  • "I must control my sleep" (paradoxical โ€” the more you try to force sleep, the more elusive it becomes)

Restructuring involves identifying these thoughts, evaluating their accuracy against evidence, and substituting more realistic and less anxiety-provoking alternatives โ€” not positive thinking, but accurate thinking.

4. Relaxation Therapy

Relaxation techniques reduce the physiological hyperarousal that maintains insomnia. Evidence-based approaches include Progressive Muscle Relaxation (PMR), diaphragmatic breathing, and guided imagery. These are most effective when practiced regularly, not only at bedtime โ€” a daily practice reduces baseline arousal, not just bedtime arousal. See our nighttime routines guide for step-by-step instructions.

5. Sleep Hygiene Education

Sleep hygiene is included in CBT-I as a foundational component but is not sufficient on its own for chronic insomnia. See our complete sleep hygiene guide.

What NOT to Do When You Have Insomnia

  • Going to bed earlier to catch up: Reduces sleep efficiency and weakens sleep drive
  • Napping during the day: Depletes homeostatic sleep pressure needed for nighttime sleep
  • Lying in bed for hours trying to sleep: Strengthens the bed-arousal conditioned response
  • Clock-watching: Creates and reinforces sleep performance anxiety
  • Canceling plans to "rest" after a bad night: Reinforces insomnia-focused behavior and reduces daytime activity that supports sleep drive
  • Long-term use of alcohol as a sleep aid: Worsens sleep architecture and creates dependency

Medications for Insomnia: When Are They Appropriate?

Pharmacological treatment is not first-line for insomnia, but has a role in specific circumstances:

  • Short-term acute insomnia: Medications may be appropriate for 2โ€“4 weeks while behavioral changes are established or an acute stressor resolves
  • When CBT-I is unavailable or has failed: Several approved medications exist, including benzodiazepines, non-benzodiazepine receptor agonists (Z-drugs: zolpidem, eszopiclone, zaleplon), orexin receptor antagonists (suvorexant, lemborexant), and low-dose doxepin
  • Comorbid conditions: When insomnia is driven by depression or anxiety, treating the underlying condition may be the primary pharmacological approach

Prescription sleeping pills carry risks of dependency (benzodiazepines), rebound insomnia on discontinuation, cognitive impairment, and fall risk in older adults. They are most effective as a bridge therapy while CBT-I is implemented, not as standalone long-term treatment.

When to See a Doctor About Insomnia

  • Insomnia has persisted for 3+ months despite behavioral changes
  • Significant daytime impairment (cognitive, mood, safety)
  • You suspect a comorbid condition (depression, anxiety, sleep apnea)
  • Your insomnia began following a medication change or new medical condition
  • You've been using alcohol or OTC sleep aids regularly to sleep

A sleep clinic or behavioral sleep medicine specialist can deliver CBT-I in 4โ€“8 sessions. Telehealth CBT-I is widely available. Several validated digital CBT-I programs have received regulatory approval and are available without a referral.

What to Expect at a Sleep Clinic

For insomnia, a sleep clinic visit typically includes a structured clinical interview covering sleep history, daytime symptoms, medical and medication history, and mood screening. A sleep diary (kept for 1โ€“2 weeks before your appointment) provides objective data on your sleep patterns. A sleep study (polysomnography) is generally not necessary for uncomplicated insomnia but may be ordered if sleep apnea or another physiological condition is suspected.

Treatment planning will typically involve CBT-I โ€” either via referral to a behavioral sleep medicine specialist, a digital CBT-I program, or a structured self-help approach. Follow-up appointments monitor progress and adjust the sleep window (sleep restriction) as needed.

Frequently Asked Questions

Can insomnia be cured?
Yes โ€” particularly chronic primary insomnia (not driven by an ongoing medical or psychiatric condition) responds very well to CBT-I. Research studies show that 70โ€“80% of people with chronic insomnia who complete CBT-I achieve clinically meaningful improvement, and many achieve full remission. Unlike sleeping pills, which stop working when discontinued, CBT-I produces changes in sleep behavior and cognition that persist. "Cure" is a strong word in medicine, but durable remission with CBT-I is well-documented.
Is insomnia dangerous?
Chronic insomnia is associated with increased risk of depression, anxiety, cardiovascular disease, type 2 diabetes, and immune dysfunction โ€” particularly when sleep is consistently below 6 hours. It also significantly impairs daytime cognitive performance and increases accident risk. These health consequences are real motivations for treatment, not catastrophizing โ€” but they're also not reasons to panic about a single bad night, which is universal.
Does sleep restriction make insomnia worse before it gets better?
Yes, typically. The first 1โ€“2 weeks of sleep restriction produce increased daytime sleepiness and often feel harder than the insomnia itself. This is expected and is the mechanism working: the restriction is deliberately building sleep pressure. Most people see their sleep quality (not necessarily duration) improve within 1โ€“2 weeks, with duration increasing over the following 3โ€“6 weeks as the sleep window is progressively expanded.
Is melatonin useful for insomnia?
Melatonin is a timing signal, not a sedative. It's effective for jet lag, shift work, and Delayed Sleep Phase Disorder โ€” all conditions involving circadian misalignment. For primary chronic insomnia (a disorder of hyperarousal and conditioned wakefulness), melatonin has modest evidence for sleep onset insomnia at best and is not a substitute for CBT-I. A low dose (0.5โ€“1 mg, 1โ€“2 hours before bed) is worth trying as a low-risk adjunct, particularly if there's any circadian component, but should not be the primary treatment.
How is insomnia different from just being a "bad sleeper"?
Insomnia is distinguished from variable sleep quality by its persistence (3+ nights/week, 3+ months), its resistance to normal behavioral correction, and its causing clinically significant daytime impairment. "Bad sleeper" often describes someone with poor sleep hygiene or chronotype mismatch โ€” both of which respond to behavioral change. Chronic insomnia has a self-perpetuating neurobiological component (hyperarousal) that requires specific treatment (CBT-I) to resolve, not just "better habits."
Can children have insomnia?
Yes. Pediatric insomnia is common and often has behavioral components (limit-setting insomnia, sleep onset association disorders). CBT-I adapted for pediatric populations exists and is effective. Teenage insomnia frequently involves delayed sleep phase (night owl circadian tendency that conflicts with early school schedules) in addition to behavioral components. A pediatrician or pediatric sleep specialist can evaluate and guide treatment.