Skip to content
ContentLora

    Tip: press / anywhere to search.

    Explainer

    Insomnia explained: causes, CBT-I, sleep medicines and getting help

    Insomnia is a common sleep disorder in which people have trouble falling asleep, staying asleep or sleeping well despite having the chance to sleep; it becomes chronic when it happens at least 3 nights a week for more than 3 months.[1][2] US guidelines from the American College of Physicians and the American Academy of Sleep Medicine recommend cognitive behavioural therapy for insomnia (CBT-I) as the first treatment for chronic insomnia in adults.[3][4] Sleep medicines have a narrower, often short-term role, and the evidence behind them is weaker.[5][6]

    Editor reviewedStrict sourcingUpdated Explainer32 claims · 100% primaryHealth and medicine, Mental health
    Reading level: 4 passages differ; the rest is the same for everyone.

    If poor sleep comes with thoughts of suicide, help is available now. In the US, call or text 988 or chat at 988lifeline.org.[7] In the UK and Ireland, call Samaritans free on 116 123.[8] Elsewhere, find a local helpline at findahelpline.com.[9]

    This page is general information, not medical advice. It names classes of sleep medicine but gives no dosing. Don’t start, stop or change a medicine without talking to a doctor, pharmacist or other qualified clinician.

    Insomnia is a common sleep disorder: people have trouble falling asleep, staying asleep or getting good-quality sleep even when they have the time and the right setting to sleep well.[1] It can affect memory and concentration, and NHLBI says chronic insomnia raises the risk of high blood pressure and other long-term conditions.[10] This explainer covers how insomnia is defined, what drives it, the treatment that guidelines put first, where medicines fit, and when to see a clinician, as of November 2026. For mood-related sleep problems, see also depression explained and anxiety explained.

    What counts as insomnia

    Everyone has a bad night now and then. Short-term insomnia can last a few days or weeks and is often set off by stress or a change in schedule or surroundings.[2] It becomes chronic, or long-term, when it happens at least 3 nights a week for more than 3 months and isn’t fully explained by another health problem.[2]

    NHLBI’s definition of chronic insomnia requires symptoms on 3 or more nights a week for more than 3 months that cannot be fully explained by another health problem; the NHS uses a 3-month threshold for long-term insomnia.[2] The complaint must occur despite adequate opportunity and environment for sleep, which separates insomnia from simple sleep deprivation.[1] Clinicians rule out other medical problems, and a sleep clinic referral may follow if symptoms suggest another sleep disorder such as sleep apnoea.[11]

    How common it is and who gets it

    The American Academy of Sleep Medicine (AASM) estimates on its patient-information site, without giving a date or survey, that up to 35% of adults complain of insomnia, that short-term insomnia affects 15-20% of people at any given time, and that about 10% of people have chronic insomnia.[12] Insomnia is more common in women than in men and becomes more likely with age.[13] It is also more common in people under stress and in people with certain medical and mental health conditions, such as depression.[13]

    Common triggers include stress, anxiety or depression, noise, a room that is too hot or cold, an uncomfortable bed, and alcohol, caffeine or nicotine.[14] Worrying about whether you will sleep, and watching the clock, can make insomnia worse.[15] Some medicines, including some cold and allergy remedies, can also disturb sleep.[16]

    The AASM says depression is a frequent cause of insomnia, difficulty falling asleep is common in anxiety disorders, and a mental health disorder is often identified after a person first reports insomnia.[17] Worry about sleep and clock-watching can make insomnia worse, and CBT-I’s cognitive therapy aims to ease that worry.[15][18] Insomnia can also be a side effect of many prescription and over-the-counter medicines.[16] See PTSD explained for sleep problems linked to trauma.

    CBT-I: the first-line treatment

    Cognitive behavioural therapy for insomnia, or CBT-I, is a structured programme that often lasts 6 to 8 weeks.[19] It teaches you to link your bed with sleep, sets a fixed window of time in bed that grows as sleep improves, and helps you worry less about sleeping.[18] A doctor, nurse or therapist can deliver it in person, by phone or online, and in the UK a GP may offer an online self-help version.[19][20] Regular sleep and wake times and avoiding caffeine, nicotine and alcohol near bedtime help too.[21]

    The American College of Physicians’ 2016 guideline recommends CBT-I as the initial treatment for all adults with chronic insomnia disorder (strong recommendation, moderate-quality evidence).[3] The AASM’s 2021 guideline, based on a GRADE review, strongly recommends multicomponent CBT-I.[4] It conditionally supports brief multicomponent therapies and single components such as stimulus control, sleep restriction and relaxation, and suggests against sleep hygiene education as a standalone treatment.[22] The ACP guideline is based on a systematic review of randomised controlled trials.[3]

    Sleep medicines

    Medicines can help some people, but they are not the first choice. The NHS says GPs now rarely prescribe sleeping pills because of side effects and the risk of dependence.[23] Pharmacy sleep aids cannot cure insomnia, and the NHS says not to use them for more than 1 to 2 weeks.[24] Antihistamine sleep aids can be unsafe for some people, and melatonin has not been proven to treat insomnia.[25]

    Prescription options fall into classes: benzodiazepine receptor agonists, melatonin receptor agonists and orexin receptor antagonists, all with a rare risk of doing activities while asleep, such as walking, eating or driving.[26] Benzodiazepines are generally reserved for when other treatments have failed, can interact dangerously with other medicines and can be habit-forming.[27] Some antidepressants, antipsychotics and anticonvulsants are used off-label.[28] ACP recommends shared decision-making about adding a medicine when CBT-I alone has not worked (a weak recommendation on low-quality evidence).[5] The AASM’s 2017 guideline made only weak recommendations for individual drugs, suggested against trazodone, diphenhydramine, melatonin and valerian, and noted that industry funding and few trials per drug lower confidence in the evidence.[29][6] In England, NICE recommends the orexin antagonist daridorexant only when CBT-I has failed or is unavailable or unsuitable, for as short a time as possible.[30]

    When to see a clinician

    See a GP or other clinician if changing your sleep habits hasn’t helped, if you’ve had trouble sleeping for months, or if poor sleep is making daily life hard to cope with.[31] NHLBI suggests keeping a sleep diary for 1 to 2 weeks before the appointment.[32] The clinician may examine you and order blood tests to rule out conditions such as thyroid problems, and may refer you for a sleep study if another sleep disorder such as sleep apnoea is suspected.[11] Sleep-tracking apps are covered in our sleep and mood tracking apps guide.

    Next in the crash course

    Questions readers ask

    How do I know if I have insomnia rather than a few bad nights?

    Short-term insomnia lasts days or weeks and is often triggered by stress or a change in routine. Chronic insomnia happens 3 or more nights a week for more than 3 months and is not fully explained by another health problem. Only a clinician can diagnose it.[2]

    How common is insomnia?

    The American Academy of Sleep Medicine estimates that up to 35% of adults complain of insomnia and about 10% of people have chronic insomnia. It is more common in women and older adults.[12][13]

    What is CBT-I?

    Cognitive behavioural therapy for insomnia is a structured programme, often 6 to 8 weeks, that combines techniques such as stimulus control, sleep restriction, relaxation and changing worried thoughts about sleep. It can be delivered in person, by phone or online, and guidelines recommend it as the first treatment for chronic insomnia.[19][18][3]

    Is good sleep hygiene enough to treat insomnia?

    Healthy sleep habits help, but the AASM suggests that clinicians not use sleep hygiene on its own as a treatment for chronic insomnia.[21][22]

    Does melatonin work for insomnia?

    NHLBI says research has not proven melatonin to be an effective insomnia treatment, and the AASM's 2017 guideline suggested against using it for chronic insomnia. Talk to a clinician before using any sleep aid.[25][29]

    When should I see a doctor about sleep?

    The NHS suggests seeing a GP if changing your sleep habits hasn't helped, if you've had trouble sleeping for months, or if it is making daily life hard to cope with. NHLBI suggests keeping a sleep diary for 1 to 2 weeks before the appointment.[31][32]

    Sources

    · 32 claims from 9 publishers

    Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.

    1. [1]

      NHLBI describes insomnia as a common sleep disorder in which a person has trouble falling asleep, staying asleep or getting good-quality sleep, even with the time and the right environment to sleep well. confirmedas of 2026-11-07

    2. [2]

      Short-term insomnia can last days or weeks and is often triggered by stress or changes in schedule or environment; chronic insomnia occurs 3 or more nights a week, lasts more than 3 months and cannot be fully explained by another health problem. confirmedas of 2026-11-07

      • Insomnia - What Is Insomnia? · National Heart, Lung, and Blood Institute (NIH) · Primary source · 2022-03-24 (retrieved 2026-11-07)
      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    3. [3]

      The American College of Physicians' 2016 guideline, based on a systematic review of randomised controlled trials, recommends that all adults with chronic insomnia disorder receive cognitive behavioural therapy for insomnia (CBT-I) as the initial treatment, a strong recommendation based on moderate-quality evidence. confirmedas of 2016-05-03

    4. [4]

      The American Academy of Sleep Medicine's 2021 guideline strongly recommends multicomponent CBT-I for chronic insomnia disorder in adults. confirmedas of 2021-02-01

    5. [5]

      ACP recommends shared decision-making, including the benefits, harms and costs of short-term medication use, when deciding whether to add a medicine for adults in whom CBT-I alone was unsuccessful; this is a weak recommendation based on low-quality evidence. confirmedas of 2016-05-03

    6. [6]

      The 2017 AASM guideline said the quality of evidence for insomnia drugs is predictably downgraded because most trials are industry-funded, with a risk of publication bias, and because there are few trials per drug. confirmedas of 2017-02-15

    7. [7]

      The 988 Suicide & Crisis Lifeline provides free, confidential emotional support by call, text or chat to people in suicidal crisis or emotional distress 24 hours a day across the US and its territories, through a network of over 200 local crisis centers. confirmedas of 2026-10-11

    8. [8]

      In the UK and Ireland, Samaritans can be called free on 116 123, day or night. confirmedas of 2026-10-11

    9. [9]

      Find A Helpline lists free, confidential helplines verified with crisis centers in more than 175 countries. confirmedas of 2026-10-11

      • Find A Helpline · Find A Helpline (ThroughLine) · Primary source (retrieved 2026-10-11)
    10. [10]

      NHLBI says insomnia can affect memory and concentration, and chronic insomnia raises the risk of high blood pressure, coronary heart disease, diabetes and cancer. confirmedas of 2026-11-07

    11. [11]

      A clinician will do a physical exam to rule out other medical problems, may order blood tests for thyroid or other conditions, and may use a sleep study to look for other sleep disorders such as sleep apnoea. confirmedas of 2026-11-07

      • Insomnia - Diagnosis · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Diagnosis · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    12. [12]

      The American Academy of Sleep Medicine estimates that up to 35% of adults complain of insomnia, that short-term insomnia affects 15-20% of people at any given time, and that about 10% of people have chronic insomnia. confirmedas of 2026-11-07

    13. [13]

      Insomnia is more common in women than men and becomes more likely with age; it is also more common in people under stress and people with certain medical and mental health problems such as depression. confirmedas of 2026-11-07

    14. [14]

      Common causes of insomnia include stress, anxiety or depression, noise, a room that is too hot or cold, an uncomfortable bed, alcohol, caffeine or nicotine, jet lag and shift work. confirmedas of 2026-11-07

    15. [15]

      Worrying about whether you will get enough sleep and watching the clock can raise the risk of insomnia or make it worse. confirmedas of 2026-11-07

    16. [16]

      Insomnia can be a side effect of many prescription and over-the-counter medicines, including some cold and allergy medicines. confirmedas of 2026-11-07

      • Insomnia - Overview and Facts · American Academy of Sleep Medicine (sleepeducation.org) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    17. [18]

      CBT-I combines cognitive therapy to ease worry about sleep, relaxation, sleep education, sleep restriction (a set time in bed that is extended as sleep improves) and stimulus control (linking bed with sleep). confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    18. [19]

      NHLBI describes CBT-I as a 6- to 8-week treatment plan that is usually recommended as the first treatment for long-term insomnia, and says it can be delivered by a doctor, nurse or therapist in person, by phone or online. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    19. [20]

      In the UK, a GP may offer CBT for insomnia face to face with a therapist or through an online self-help programme. confirmedas of 2026-11-07

      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    20. [21]

      NHLBI's healthy sleep habits include going to bed and waking at about the same time every day and avoiding caffeine, nicotine and alcohol close to bedtime. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    21. [22]

      The 2021 AASM guideline conditionally suggests brief multicomponent therapies and single components such as stimulus control, sleep restriction and relaxation therapy, and suggests not using sleep hygiene alone. confirmedas of 2021-02-01

    22. [23]

      The NHS says GPs now rarely prescribe sleeping pills for insomnia because they can have serious side effects and people can become dependent on them. confirmedas of 2026-11-07

      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    23. [24]

      The NHS says pharmacy sleep aids cannot cure insomnia and should not be used for longer than 1 to 2 weeks. confirmedas of 2026-11-07

      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    24. [25]

      Over-the-counter sleep aids containing antihistamines can be unsafe for some people, and research has not proven melatonin supplements to be an effective treatment for insomnia. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    25. [26]

      Prescription insomnia medicines include benzodiazepine receptor agonists, melatonin receptor agonists and orexin receptor antagonists; rare side effects across these classes include doing activities while asleep, such as walking, eating or driving. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    26. [27]

      NHLBI says benzodiazepines may be prescribed if other treatments have not worked, can interact dangerously with other medicines, can be habit-forming and are meant for only a few weeks. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    27. [28]

      Clinicians sometimes prescribe medicines not FDA-approved for insomnia, such as some antidepressants, antipsychotics and anticonvulsants. confirmedas of 2026-11-07

      • Insomnia - Treatment · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    28. [29]

      The AASM's 2017 pharmacologic guideline made only weak recommendations; it suggested several prescription drugs over no treatment and suggested against using trazodone, diphenhydramine, melatonin, tryptophan or valerian for chronic insomnia. confirmedas of 2017-02-15

    29. [30]

      NICE recommends the orexin receptor antagonist daridorexant for long-term insomnia only if CBT-I has been tried and not worked or is unavailable or unsuitable, with treatment kept as short as possible and reviewed within 3 months. confirmedas of 2026-11-07

    30. [31]

      The NHS advises seeing a GP if changing sleep habits has not helped, if trouble sleeping has lasted months, or if insomnia is making daily life hard to cope with. confirmedas of 2026-11-07

      • Insomnia · NHS (UK) · Primary source (retrieved 2026-11-07)
    31. [32]

      NHLBI advises talking to a doctor if lack of sleep is affecting daily activities, and suggests keeping a sleep diary for 1 to 2 weeks beforehand. confirmedas of 2026-11-07

      • Insomnia - Diagnosis · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
      • Insomnia - Diagnosis · National Heart, Lung, and Blood Institute (NIH) · Primary source (retrieved 2026-11-07)
    Revision history (1)
    1. Page created.

    Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: Mar 7, 2027.

    Cite this page

    "Insomnia explained: causes, CBT-I, sleep medicines and getting help." ContentLora, updated Nov 7, 2026. https://contentlora.com/explain/insomnia-explained

    Spotted an error? Suggest a correction or emailcorrections@contentlora.com.