What are the differential diagnoses for insomnia?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: October 16, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Differential Diagnoses for Insomnia

When evaluating insomnia, systematically categorize the differential diagnosis using the ICSD-2 classification framework, which divides insomnia into primary sleep disorders, secondary causes (mental disorders, medical conditions, substances), and behavioral/environmental factors. 1

Primary Insomnia Disorders

Psychophysiological Insomnia

  • Key features: Heightened arousal (physiological, cognitive, or emotional) with learned sleep-preventing associations
  • Look for: Muscle tension, racing thoughts, heightened environmental awareness, excessive worry about sleep consequences creating a "vicious cycle" of arousal and poor sleep
  • The bed becomes associated with waking arousal rather than sleep 1

Paradoxical Insomnia (Sleep State Misperception)

  • Key features: Complaint of severe or "total" insomnia that greatly exceeds objective sleep disturbance
  • The reported daytime deficits are not commensurate with the severity of reported sleep loss
  • Can be diagnosed clinically, though polysomnography confirms the discrepancy 1

Idiopathic Insomnia

  • Key features: Persistent insomnia with insidious onset during infancy or early childhood
  • No extended periods of remission
  • Absence of specific precipitating or perpetuating factors 1

Adjustment (Acute) Insomnia

  • Key features: Insomnia associated with an identifiable stressor (psychosocial, physical, or environmental)
  • Short duration (days to weeks)
  • Expected to resolve when the stressor resolves 1

Secondary Insomnia: Mental Disorders

Insomnia Due to Mental Disorder

  • Key features: Insomnia occurs exclusively during the course of a mental disorder and is judged to be caused by that disorder
  • Must be severe enough to cause distress or require separate treatment
  • Critical distinction: Do not use this diagnosis if insomnia has an independent course from the mental disorder 1
  • Screen specifically for depression and anxiety in every patient 2, 3

Secondary Insomnia: Medical Conditions

Insomnia Due to Medical Condition

  • Key features: Insomnia caused by a coexisting medical disorder or physiological factor
  • Use this diagnosis when insomnia causes marked distress or warrants separate clinical attention
  • Do not use if insomnia has a course independent of the medical condition 1
  • Common culprits include pain syndromes, cardiovascular disease, respiratory disorders 4

Secondary Insomnia: Substances

Insomnia Due to Drug or Substance

  • Key features: Sleep disruption from prescription medications, recreational drugs, caffeine, alcohol, food, or environmental toxins
  • Can occur during use/exposure OR during discontinuation
  • Expected to resolve or substantially improve after substance cessation and discontinuation effects subside 1
  • Critical pitfall: Always obtain detailed medication history including over-the-counter and herbal products 2

Behavioral/Environmental Causes

Inadequate Sleep Hygiene

  • Key features: Voluntary sleep practices inconsistent with good sleep quality
  • Look for: Irregular sleep scheduling, alcohol/caffeine/nicotine use, engaging in non-sleep behaviors in the sleep environment
  • Some element may characterize other insomnia disorders 1

Other Sleep Disorders Presenting as Insomnia

Critical diagnostic pitfall: Insomnia symptoms are common in other primary sleep disorders, making differential diagnosis challenging 5

Sleep Apnea

  • Patients often complain of insomnia symptoms, particularly sleep maintenance difficulties
  • Dangerous pitfall: Inappropriate hypnotic therapy may worsen sleep apnea 3
  • Consider comorbid insomnia and sleep apnea (COMISA) 5

Circadian Rhythm Sleep-Wake Disorders

  • Present with difficulty initiating or maintaining sleep
  • Distinguished by timing patterns and relationship to circadian phase 5

Nocturnal Myoclonus/Restless Legs Syndrome

  • Can present as difficulty initiating or maintaining sleep
  • Requires specific questioning about leg sensations and movements 6

Unspecified Categories

Insomnia Not Due to Substance or Known Physiologic Condition, Unspecified

  • Use when insomnia cannot be classified elsewhere but is suspected to relate to underlying conditions
  • Typically used when further evaluation is required or when criteria for more specific disorders are not met 1

Clinical Approach Algorithm

  1. Rule out dangerous mimics first: Sleep apnea (inappropriate sedative therapy is dangerous) and depression (requires specific treatment) 3

  2. Obtain detailed histories:

    • Complete medication/substance history (prescription, OTC, herbal, caffeine, alcohol, recreational drugs)
    • Sleep partner information (critical for sleep apnea, movement disorders)
    • Psychiatric screening (depression, anxiety, substance abuse)
    • Medical comorbidities (pain, cardiovascular, respiratory)
    • Sleep hygiene practices and environmental factors 2
  3. Assess temporal patterns:

    • Acute (days-weeks) suggests adjustment insomnia
    • Chronic since childhood suggests idiopathic insomnia
    • Relationship to substance use/withdrawal
    • Relationship to medical/psychiatric condition onset
  4. Evaluate for learned associations: Excessive time in bed awake, "trying hard" to sleep, bed associated with frustration rather than sleep 1

  5. Consider polysomnography when: Suspecting sleep apnea, paradoxical insomnia, or when diagnosis remains unclear after thorough clinical evaluation 1

References

Guideline

clinical guideline for the evaluation and management of chronic insomnia in adults.

Journal of clinical sleep medicine : JCSM : official publication of the American Academy of Sleep Medicine, 2008

Research

Treatment of primary insomnia.

The Journal of the American Board of Family Practice, 2004

Research

Diagnosis and treatment of insomnia.

American family physician, 1987

Research

[Management of patients with insomnia and polymorbidity. A draft of the clinical guidelines].

Zhurnal nevrologii i psikhiatrii imeni S.S. Korsakova, 2024

Research

Sleep disorders: insomnias.

The Nurse practitioner, 1985

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.