What are the causes and treatments of insomnia (inability to sleep)?

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: February 26, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

Cognitive behavioral therapy for insomnia (CBT-I) should be considered the first-line treatment for adults with chronic insomnia disorder. This approach has been shown to improve global outcomes, including increased remission and treatment response, and reduced insomnia severity index (ISI) and Pittsburgh Sleep Quality Index (PSQI) scores compared to controls 1. CBT-I is a combination of treatments that include cognitive therapy around sleep, behavioral interventions, and education, and can be performed in primary care.

Causes of Insomnia

Insomnia can result from various underlying factors, including:

  • Stress
  • Anxiety
  • Depression
  • Medical conditions
  • Poor sleep hygiene practices, such as inconsistent sleep schedules, exposure to screens before bed, and consumption of caffeine and alcohol

Treatment Options

For short-term insomnia, over-the-counter options like melatonin (0.5-5mg taken 30-60 minutes before bedtime) may help. If insomnia persists, prescription medications such as zolpidem (Ambien, 5-10mg), eszopiclone (Lunesta, 1-3mg), or trazodone (50-100mg) might be prescribed for short-term use, typically 2-4 weeks 1. However, pharmacological therapy should only be considered after CBT-I has been tried, as the benefits and harms of medication are not well established, and there is a risk of cognitive and behavioral changes, including driving impairment 1.

Key Considerations

  • Insomnia is a common sleep disorder that can have significant impacts on quality of life and overall health
  • CBT-I is a highly effective treatment for chronic insomnia disorder, and should be considered the first-line treatment
  • Pharmacological therapy should only be used after CBT-I has been tried, and under the guidance of a healthcare provider
  • Addressing underlying factors, such as stress, anxiety, and depression, is essential for lasting improvement in insomnia symptoms.

From the FDA Drug Label

Because sleep disturbances may be the presenting manifestation of a physical and/or psychiatric disorder, symptomatic treatment of insomnia should be initiated only after a careful evaluation of the patient. The failure of insomnia to remit after 7 to 10 days of treatment may indicate the presence of a primary psychiatric and/or medical illness that should be evaluated Worsening of insomnia or the emergence of new thinking or behavior abnormalities may be the consequence of an unrecognized psychiatric or physical disorder. 2 3

  • Causes of insomnia: may be due to a physical and/or psychiatric disorder.
  • Treatments of insomnia:
    • Symptomatic treatment should be initiated only after a careful evaluation of the patient.
    • The smallest possible effective dose of sedative-hypnotics should be used, especially in the elderly.
    • Discontinuation of sedative-hypnotics should be strongly considered for patients who report complex behaviors such as sleep-driving.
  • Evaluation: The failure of insomnia to remit after 7 to 10 days of treatment may indicate the presence of a primary psychiatric and/or medical illness that should be evaluated.

From the Research

Causes of Insomnia

  • Insomnia can be classified as idiopathic or comorbid, with comorbid insomnias associated with psychiatric disorders, medical disorders, substance abuse, and specific sleep disorders 4
  • Idiopathic insomnia is essentially a diagnosis of exclusion 4
  • Insomnia can be acute, lasting from one night to a few weeks, or chronic, lasting at least three nights weekly for at least one month 4

Treatments for Insomnia

  • Non-pharmacologic interventions for insomnia include:
    • Sleep-hygiene education 4, 5
    • Stimulus-control therapy 4, 5, 6
    • Relaxation therapy 4, 6
    • Sleep-restriction therapy 4, 5, 6
    • Cognitive therapy 7, 5, 6
    • Multi-component therapy 5
    • Paradoxical intention 5
  • Pharmacologic therapies for insomnia include:
    • Benzodiazepines 4, 8
    • Benzodiazepine-receptor agonists 4, 8
    • Melatonin-receptor agonists 4, 8
    • Antidepressants 4, 8
  • Cognitive Behavioral Therapy for Insomnia (CBT-I) is a multi-component treatment that targets difficulties with initiating and/or maintaining sleep 7
  • CBT-I has been found to be an effective alternative to pharmacotherapy in individuals with insomnia 6

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Diagnosis and treatment of insomnia.

American journal of health-system pharmacy : AJHP : official journal of the American Society of Health-System Pharmacists, 2008

Research

Cognitive Behavioral Therapy for Insomnia (CBT-I): A Primer.

Klinicheskaia i spetsial'naia psikhologiia = Clinical psychology and special education, 2022

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.

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.