Some links may earn us a commission; our work is independent.

Is Insomnia a Mental Illness? How Sleep and Mental Health Interact

Learn how insomnia is classified, why it can be diagnosed alongside a mental or medical condition, and when sleep and mental health symptoms need care.

close-up of sad woman lying in bed with depression

The short version

  • Insomnia disorder is most precisely classified as a sleep-wake disorder, including when it appears in the DSM-5-TR.
  • It can be diagnosed and treated alongside depression, anxiety, PTSD, bipolar disorder, substance use, pain, or another condition when the insomnia warrants its own attention.
  • CBT-I is the first-choice treatment for chronic insomnia, but urgent mental health symptoms, dangerous withdrawal, and severe sleepiness need immediate or coordinated care.

Insomnia disorder is most precisely described as a sleep-wake disorder. The DSM-5-TR, which is the American Psychiatric Association's manual for mental disorders, places insomnia disorder in its sleep-wake disorders section. The International Classification of Sleep Disorders, or ICSD-3-TR, places chronic insomnia disorder under insomnia disorders 12.

That makes a flat yes-or-no answer to “Is insomnia a mental illness?” misleading. “Mental illness” is a broad term used differently in ordinary conversation, health systems, insurance, and law. For clinical purposes, sleep-wake disorder is the clearer label. Appearing in a psychiatric manual does not mean insomnia is imaginary, a personal failing, or necessarily caused by a psychiatric condition.

If a legal, employment, insurance, or benefits form uses the term “mental illness,” follow that program's definition or ask the relevant clinician or administrator. A diagnostic category alone cannot answer a jurisdiction-specific question.

Insomnia can exist with or without a mental health condition

Older diagnostic systems divided insomnia into “primary” insomnia, which was defined as occurring on its own, and “secondary” insomnia, which was attributed to another condition. DSM-5 and ICSD-3 dropped that split because cause and effect are often difficult to separate. Insomnia may continue after its original trigger improves, and it can have a reciprocal relationship with depression, anxiety, PTSD, pain, or another condition 34.

Current classification does not require depression, anxiety, PTSD, bipolar disorder, substance use, pain, or a medical condition to disappear before insomnia can receive attention. Chronic insomnia can be diagnosed alongside any of them when the sleep problem meets its own criteria and is not solely due to the other condition. Both problems may need treatment 5.

The distinction still requires clinical judgment. Repeated waking that is fully explained by untreated sleep apnea and resolves when the apnea is treated may not represent a separate insomnia disorder. Sleep difficulty that persists, develops its own pattern, or independently impairs daytime life may warrant a comorbid insomnia diagnosis.

What counts as chronic insomnia disorder?

Chronic insomnia is more than a few bad nights or feeling unrefreshed. Current criteria require the following 5:

  • difficulty falling asleep, staying asleep, or returning to sleep after waking earlier than intended
  • adequate opportunity and circumstances for sleep
  • clinically significant distress or daytime impairment linked to the sleep problem
  • symptoms at least three times a week for at least three months
  • sleep and daytime symptoms that are not solely due to another sleep disorder, medical or mental disorder, or medication or substance use

These criteria are not a self-diagnostic stopwatch. There is no single number of minutes awake that proves or disproves insomnia for everyone. Short-term insomnia can also be distressing, impair function, and deserve care before three months have passed. A clinician uses the whole pattern, including sleep opportunity, daytime effects, other symptoms, and possible alternative explanations 5.

Questionnaires and sleep diaries can organize the history, but neither diagnoses insomnia by itself. A routine sleep study is usually unnecessary unless symptoms suggest sleep apnea, a movement disorder, a parasomnia, or another sleep condition 5.

Insomnia is not the same as needing less sleep

The experience around the lost sleep helps distinguish insomnia from several other problems.

Pattern What makes it different
Insomnia The person wants or tries to sleep but cannot sleep reliably despite enough time and a suitable setting. The problem causes distress or daytime impairment.
Mania or hypomania A reduced need for sleep occurs with unusually elevated or irritable mood, increased energy or activity, racing thoughts, fast speech, impulsivity, or an inflated sense of ability. The person may sleep very little without initially feeling tired 6.
Insufficient sleep opportunity Work, caregiving, an unsafe environment, a chosen schedule, or other demands do not leave enough time or suitable circumstances for sleep.
Circadian timing difference Sleep is easier and more complete at a body-clock time that conflicts with the required schedule.
Substance, medication, or withdrawal effect Caffeine, stimulants, alcohol, cannabis, prescribed medicines, or withdrawal changes the sleep pattern.
Another sleep disorder Snoring, gasping, breathing pauses, an urge to move the legs, frequent unplanned dozing, or unusual sleep behaviors suggest a different or additional sleep disorder.

Reduced need for sleep is especially important. Someone in a manic or hypomanic episode may feel energetic after very little sleep, while a person with insomnia usually wants more sleep and feels the consequences of not getting it. Insomnia may also occur alongside bipolar disorder, so the distinction is not always either-or 65.

How insomnia and mental health affect each other

Sleep and mental health can influence one another in both directions. Depression, anxiety, trauma symptoms, grief, psychosis, substance use, and acute stress can interfere with sleep. Persistent insomnia can also add emotional strain, reduce coping capacity, and accompany later changes in mental health 57.

Depression and anxiety

A meta-analysis of longitudinal studies found that people with insomnia had higher odds of later depression and anxiety. A separate systematic review found evidence that insomnia, depression, and anxiety can predict one another over time 78.

These studies establish a prospective association, not a single cause. Shared stress, physical illness, medication use, social conditions, existing symptoms, and measurement differences can influence both sleep and mental health. The evidence is strongest for depression, less extensive for anxiety, and much thinner for outcomes such as alcohol misuse or psychosis. It does not show that insomnia alone will cause any one disorder 7.

PTSD and trauma symptoms

Insomnia and nightmares are common in PTSD, but the direction is not one-way. A systematic review of six short daily-diary studies found that shorter or poorer sleep predicted worse PTSD symptoms the next day, while worse PTSD symptoms predicted poorer sleep and more nightmares that night. The studies were small, relied mainly on self-report, and followed people for only 7 to 28 days, so they provide initial evidence of a daily reciprocal pattern rather than proof of long-term causation 9.

Treating sleep can be useful within PTSD care, but CBT-I does not process trauma or replace an evidence-based PTSD treatment. Nightmares may also need their own assessment and treatment.

Suicide risk

Longitudinal research links insomnia and other sleep disturbances with later suicidal thoughts and behaviors. A meta-analysis of 42 studies found statistically significant associations, but the authors described sleep disturbances as weak predictors and noted substantial variation across studies. Insomnia cannot tell whether a particular person is suicidal or predict an imminent act 10.

The practical response is to ask directly about suicidal thoughts, intent, and plans when insomnia occurs with hopelessness, severe depression, agitation, or a marked change in behavior. A sleep complaint should neither be treated as proof of suicide risk nor used to avoid that conversation 11.

What a coordinated assessment should cover

A useful assessment examines the sleep complaint and the person's wider health at the same time:

  • Sleep pattern and opportunity: bedtime, wake time, awakenings, naps, variability, caregiving, work, housing, noise, and whether sleep improves when the person follows a preferred schedule
  • Daytime effects: fatigue, concentration, mood, function, accidents, and true sleepiness or unplanned dozing
  • Mental health: low mood or loss of interest, anxiety or panic, trauma symptoms and nightmares, past or current mania, hallucinations or delusions, and thoughts of suicide or self-harm
  • Substances and withdrawal: caffeine, nicotine, alcohol, cannabis, stimulants, sedatives, opioids, and any recent reduction or abrupt stop
  • Medicines: prescriptions, over-the-counter products, supplements, dose changes, timing, activating effects, sedation, and interactions
  • Other sleep disorders: snoring, gasping, breathing pauses, restless legs symptoms, dream enactment, circadian timing, and excessive sleepiness
  • Medical contributors: pain, breathing symptoms, reflux, thyroid symptoms, menopause symptoms, neurologic change, and other illnesses

This is not a demand for every possible test. The history directs whether the next step is primary care, a sleep clinician, a mental health clinician, substance-use care, medication review, or testing for a suspected sleep or medical disorder 5.

CBT-I can be used alongside mental health treatment

Cognitive behavioral therapy for insomnia, or CBT-I, is the first-choice treatment for chronic insomnia. It combines a carefully adjusted sleep window, stimulus control, cognitive work around sleep, arousal-reduction skills, and sleep education. Sleep hygiene may support the plan, but a list of bedroom and lifestyle tips is not an adequate standalone treatment 512.

A meta-analysis of 37 randomized trials in people who had insomnia plus a psychiatric or medical condition found that CBT-I improved insomnia and several sleep measures. Benefits for the comorbid conditions were smaller. This supports treating insomnia directly while keeping expectations realistic about what sleep treatment can accomplish 13.

CBT-I can therefore proceed alongside treatment for depression, anxiety, PTSD, stable bipolar disorder, or substance-use recovery when the care team agrees it is safe. Better sleep may improve some mood or anxiety symptoms, but CBT-I does not replace antidepressant care, trauma-focused therapy, mood stabilization, psychosis treatment, or substance-use treatment 135.

When CBT-I needs adaptation

Sleep restriction or compression temporarily reduces time in bed. It should not be applied as a rigid do-it-yourself rule when there is:

  • bipolar disorder, especially current mood elevation or a history of sleep loss triggering mania
  • an uncontrolled seizure disorder
  • dangerous daytime sleepiness, untreated sleep apnea, or a safety-sensitive job
  • active psychosis, severe agitation, suicidal crisis, or another acute psychiatric risk

In these situations, the clinician may delay treatment, use a gentler sleep window, prioritize regular timing, or coordinate closely with psychiatric, neurologic, or sleep care. Current VA and Department of Defense guidance specifically identifies bipolar disorder, uncontrolled seizure disorders, excessive sleepiness, and acute mental health symptoms as reasons to adapt or delay behavioral insomnia treatment 5.

Keep medicines and supplements in context

Sleep medicines, sedating antidepressants, over-the-counter antihistamines, melatonin, cannabis, and herbal products are not interchangeable and are not universally safe or effective. Their usefulness depends on the actual diagnosis, other medicines and substances, breathing risk, pregnancy, age, and the symptom being treated. They should not be used to cover up new mania, psychosis, dangerous withdrawal, or severe sleepiness 5.

Do not abruptly stop a regularly used benzodiazepine. Rapid reduction can cause severe withdrawal, including seizures, hallucinations, mania, psychosis, and suicidal thoughts. Alcohol withdrawal after sustained heavy drinking can also become life-threatening and may require medically supervised care 1415.

For evidence, risks, and shared decision-making about specific options, see the general insomnia treatment guide. A prescriber or pharmacist should review the complete medicine and supplement list.

When to get urgent help

Contact local emergency services or go to an emergency department now if someone has:

  • suicidal intent, a plan, or an immediate risk of self-harm or harming someone else 11
  • very little need for sleep with rapidly escalating mania, severe agitation, psychosis, or dangerous behavior 616
  • sudden or severe confusion, which may be delirium rather than insomnia 17
  • a seizure, severe shaking, hallucinations, or confusion after reducing alcohol or a benzodiazepine 1415
  • suspected overdose, trouble breathing, unresponsiveness, or inability to stay awake 18

New hallucinations, delusions, or loss of contact with reality need a same-day urgent mental health assessment. Use emergency services if the person may act on these experiences, cannot care for themselves, or cannot stay safe 16.

If sleepiness makes driving difficult, stop driving and arrange safe transportation. Do not try to push through it 19.

Insomnia deserves care whether it occurs on its own or beside another diagnosis. Using the specific term sleep-wake disorder keeps the classification clear, while a combined sleep, medical, mental health, medication, and safety assessment keeps the person at the center of treatment.

Sources

Evidence cited in this article.

19 sources
  1. Sleep-Wake Disorders (opens in a new tab)
    American Psychiatric AssociationProfessional guidance
  2. International Classification of Sleep Disorders (ICSD) (opens in a new tab)
    American Academy of Sleep MedicineProfessional guidance
  3. Eating, Sleep Disorder Criteria Revised in DSM-5 (opens in a new tab)
    Psychiatric NewsProfessional guidance
  4. Behavioral and Psychological Treatments for Chronic Insomnia Disorder in Adults: An American Academy of Sleep Medicine Systematic Review, Meta-Analysis, and GRADE Assessment (opens in a new tab)
    Journal of Clinical Sleep MedicineResearch
  5. VA/DoD Clinical Practice Guideline for the Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea (opens in a new tab)
    U.S. Department of Veterans Affairs and U.S. Department of DefenseGovernment source
  6. Bipolar Disorder (opens in a new tab)
    National Institute of Mental HealthGovernment source
  7. Insomnia as a Predictor of Mental Disorders: A Systematic Review and Meta-Analysis (opens in a new tab)
    Sleep Medicine ReviewsResearch
  8. A Systematic Review Assessing Bidirectionality Between Sleep Disturbances, Anxiety, and Depression (opens in a new tab)
    Research
  9. Bidirectional Associations Between Daily PTSD Symptoms and Sleep Disturbances: A Systematic Review (opens in a new tab)
    Sleep Medicine ReviewsResearch
  10. Sleep Disturbances as Risk Factors for Suicidal Thoughts and Behaviours: A Meta-Analysis of Longitudinal Studies (opens in a new tab)
    Scientific ReportsResearch
  11. 5 Action Steps to Help Someone Having Thoughts of Suicide (opens in a new tab)
    National Institute of Mental HealthGovernment source
  12. Behavioral and Psychological Treatments for Chronic Insomnia Disorder in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline (opens in a new tab)
    Journal of Clinical Sleep MedicineResearch
  13. Cognitive Behavioral Therapy for Insomnia Comorbid With Psychiatric and Medical Conditions: A Meta-Analysis (opens in a new tab)
    JAMA Internal MedicineResearch
  14. FDA Requiring Boxed Warning Updated to Improve Safe Use of Benzodiazepine Drug Class (opens in a new tab)
    U.S. Food and Drug AdministrationGovernment source
  15. Alcohol Use Disorder: From Risk to Diagnosis to Recovery (opens in a new tab)
    National Institute on Alcohol Abuse and AlcoholismGovernment source
  16. Understanding Psychosis (opens in a new tab)
    National Institute of Mental HealthGovernment source
  17. Delirium (opens in a new tab)
    MedlinePlus, U.S. National Library of MedicineGovernment source
  18. Overdose (opens in a new tab)
    MedlinePlus, U.S. National Library of MedicineGovernment source
  19. Drowsy Driving: Avoid Falling Asleep Behind the Wheel (opens in a new tab)
    National Highway Traffic Safety AdministrationGovernment source

Keep reading

More on Sleep and Mental Health

Open Sleep and Mental Health →