Insomnia is a sleep disorder defined by difficulty falling asleep, staying asleep, or returning to sleep after early waking, despite adequate opportunity to sleep, with daytime consequences that include fatigue, impaired concentration, and irritability. Chronic insomnia disorder requires the difficulty on 3 or more nights a week for more than 3 months, under both the DSM-5-TR and the International Classification of Sleep Disorders, Third Edition (ICSD-3).
The gap between symptoms and disorder is wide. Between 30% and 36% of adults report at least one insomnia symptom, while 6% to 10% meet full diagnostic criteria for the disorder, per the StatPearls clinical review of insomnia. Women, middle-aged and older adults, shift workers, and people with co-occurring medical or psychiatric conditions carry the higher rates.
The first-line treatment is not a medication. Cognitive behavioral therapy for insomnia (CBT-I) holds a strong recommendation from the American College of Physicians as the initial treatment for chronic insomnia. This page provides no medication dosing; prescribing decisions belong to a licensed clinician.
What Is Insomnia?
Insomnia is a disorder of sleep initiation, maintenance, or quality that occurs despite adequate opportunity for sleep and produces daytime impairment. Chronic insomnia disorder requires the pattern on 3 or more nights per week for more than 3 months, per the StatPearls review of the DSM-5-TR and ICSD-3 criteria.
Two boundaries define the diagnosis. First, opportunity: a person sleeping 5 hours because work allows only 5 hours is sleep-deprived and does not have insomnia. Second, daytime consequence: fatigue, concentration problems, mood disturbance, or performance decline must follow the nights. The 6% to 10% of adults who cross both boundaries have a treatable disorder rather than a bad habit, and the disorder presents in countable patterns, which the symptom section maps.
What Are the Symptoms of Insomnia?
Insomnia presents through 3 nighttime patterns, difficulty falling asleep, difficulty staying asleep, and early-morning waking without return to sleep, plus the daytime impairment that completes the diagnosis.
The 4 daytime symptom clusters are listed below.
- Fatigue: persistent tiredness independent of effort, present from waking.
- Cognitive impairment: reduced concentration, slowed decisions, and memory lapses that degrade work and driving performance.
- Mood disturbance: irritability and lowered stress tolerance that strain relationships.
- Daytime sleepiness: pressure to nap or doze during the day, raising accident risk.
Which nighttime pattern dominates, and how long the pattern has run, is what separates the types of insomnia.
What Are the Types of Insomnia?
Insomnia divides by duration into short-term insomnia, lasting under 3 months and tied to an identifiable stressor, and chronic insomnia disorder, running 3 or more nights a week for more than 3 months. Within either duration, the presentation is onset, maintenance, or early-waking. The table below is a context map of the classification.
| Classification | Definition | Typical course |
| Short-term (acute) insomnia | Sleep difficulty under 3 months, tied to a stressor, illness, or schedule disruption | Resolves when the precipitant resolves |
| Chronic insomnia disorder | 3+ nights per week for more than 3 months despite adequate opportunity | Persists without treatment; responds to CBT-I |
| Onset presentation | Difficulty falling asleep at the start of the night | Either duration class |
| Maintenance presentation | Waking during the night with difficulty returning to sleep | Either duration class |
| Early-waking presentation | Final waking earlier than intended, without return to sleep | Either duration class |
One classification change matters for anyone reading older material: the DSM-5 retired the split between primary insomnia and insomnia secondary to another condition, merging both into insomnia disorder. The change reflects the evidence that insomnia co-occurring with depression or pain warrants direct treatment rather than waiting for the other condition to lift. What produces the disorder in the first place is the causes question.
What Causes Insomnia?
Chronic insomnia develops through the 3P pattern: predisposing vulnerability, a precipitating stressor, and perpetuating behaviors that keep the sleeplessness running after the stressor passes. The model, introduced by sleep researcher Arthur Spielman, organizes the documented causes.

The 5 documented cause categories are listed below.
- Stress and hyperarousal: acute stress is a leading precipitant, and sustained physiological hyperarousal, elevated alertness that persists into the night, is the mechanism that maintains chronic insomnia.
- Mental health conditions: depressive, anxiety, and trauma-related disorders disturb sleep architecture, and the relationship runs in both directions.
- Medications and medical conditions: stimulating medications, chronic pain, reflux, and endocrine conditions each fragment sleep.
- Substances: caffeine and nicotine delay sleep onset as stimulants, and alcohol shortens sleep onset while fragmenting the second half of the night. The alcohol use disorder page covers how self-medicating sleep with alcohol escalates.
- Schedule disruption: shift work and irregular sleep-wake timing desynchronize the circadian system from the sleep opportunity.
Perpetuating behaviors deserve their own sentence, because they are the treatment target: extended time in bed awake, daytime napping, and worry about sleep itself each condition the brain to treat the bed as a place of wakefulness. The costs of leaving that cycle running are documented most clearly in mental health.
How Does Insomnia Affect Mental Health?
People with insomnia have 2.6 times the odds of developing depression compared with people who sleep normally, per Baglioni and colleagues' 2011 meta-analysis of 21 longitudinal studies in the Journal of Affective Disorders (OR 2.60, CI 1.98-3.42). Riemann and colleagues' 2020 review in Neuropsychopharmacology identifies insomnia symptoms as independent predictors of later depressive disorders.
The direction of that arrow matters clinically: insomnia precedes and predicts depression, not merely the reverse, which makes treating insomnia a depression-prevention target. The same bidirectional loop runs with anxiety: anxious arousal delays sleep, and sleep loss lowers the threshold for anxious arousal the next day. Breaking the loop starts with an accurate diagnosis.
How Is Insomnia Diagnosed?
Insomnia is diagnosed by clinical history against the duration and frequency criteria, supported by a 1-to-2-week sleep diary, with overnight testing reserved for suspected co-occurring sleep disorders. The diary records bedtimes, wake times, awakenings, and daytime function, and it exposes the perpetuating behaviors treatment will target.
Two instruments extend the history when needed. Actigraphy, a wrist-worn movement monitor, estimates sleep-wake patterns across weeks in the person's own bed. Polysomnography, the laboratory sleep study, is indicated when the history suggests obstructive sleep apnea or a movement disorder such as restless legs syndrome rather than insomnia alone. With the diagnosis set, the treatment evidence is unusually clear-cut.
How Is Insomnia Treated?
Cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment for chronic insomnia in adults, carrying a strong recommendation from the American College of Physicians, per the 2016 ACP clinical practice guideline. The guideline reserves medication for shared decision-making when CBT-I alone has not succeeded.

CBT-I combines 5 components: stimulus control, which reconnects the bed with sleep by removing wakeful time from it; sleep restriction, which compresses time in bed to match actual sleep and rebuilds sleep pressure; cognitive restructuring, which corrects catastrophic beliefs about sleeplessness; relaxation training; and sleep hygiene education. The measured effects are specific: across 20 randomized trials and 1,162 participants, CBT-I reduced sleep onset latency by 19 minutes, cut wake after sleep onset by 26 minutes, and raised sleep efficiency by 9.9 percentage points, with improvements sustained at follow-up, per Trauer and colleagues' 2015 meta-analysis in Annals of Internal Medicine.
Prescription options exist as second-line tools: benzodiazepine receptor agonists, dual orexin receptor antagonists, melatonin receptor agonists, and the sedating antidepressant doxepin are the approved classes. Selection, duration, and dose are a prescriber's decision made against a specific patient's history, and no dosing guidance belongs on an educational page. Sustained recovery also runs through the habits that prevent relapse into sleeplessness.
How Do You Prevent Insomnia From Returning?
Relapse prevention rests on 5 stable habits: a fixed wake time, caffeine limits after midday, no alcohol as a sleep aid, a screen-free wind-down period, and getting out of bed during extended wakefulness. Each habit blocks one perpetuating behavior from re-establishing.
The fixed wake time anchors the circadian system regardless of the night before. Leaving the bed during long awakenings preserves the bed-sleep association CBT-I builds. Talk to a clinician when sleep difficulty returns for 3 or more nights a week across a month despite these habits, since early re-treatment is shorter than re-treating an entrenched cycle. The questions below address what remains.
What Are the Most Common Questions About Insomnia?
The 6 questions below cover self-resolution, alcohol, mental illness status, CBT-I versus medication, duration thresholds, and when to seek care.
Does Insomnia Go Away on Its Own?
Short-term insomnia resolves when its precipitating stressor resolves. Chronic insomnia disorder, defined by 3 or more nights a week for over 3 months, persists without treatment because perpetuating behaviors maintain it after the original trigger is gone.
Does Alcohol Help You Sleep?
No. Alcohol shortens the time to fall asleep, then fragments the second half of the night and suppresses restorative sleep stages. Using alcohol as a sleep aid builds tolerance and worsens both the insomnia and the drinking.
Is Insomnia a Mental Illness?
Insomnia disorder is a diagnosable sleep-wake disorder in the DSM-5-TR. It stands independently of mood and anxiety disorders, co-occurs with them at high rates, and predicts later depression with 2.6 times the odds of normal sleepers.
Is CBT-I as Effective as Sleeping Medication?
CBT-I is the first-line treatment, recommended by the American College of Physicians before medication. Its gains, 19 minutes faster sleep onset and 26 minutes less nighttime waking on average, persist after treatment ends; medication benefits are not established beyond the treatment period.
How Many Nights of Bad Sleep Count as Insomnia?
Chronic insomnia disorder requires difficulty on 3 or more nights per week for more than 3 months, with adequate sleep opportunity and daytime impairment. Fewer nights or shorter duration is classified as short-term insomnia.
When Does Insomnia Require a Doctor?
Seek evaluation when sleep difficulty runs 3 nights a week for a month, impairs daytime functioning, or pairs with loud snoring, breathing pauses, or leg discomfort, which point toward sleep apnea or restless legs syndrome instead of insomnia.

