In this article
Almost everyone has a bad night occasionally, but when insomnia recurs several times a week and persists, it is no longer a passing inconvenience and deserves attention.
This article explains the main causes of insomnia, how it is assessed and which treatments have the strongest evidence. The central message of the latest European recommendations is clear: first-line treatment for chronic insomnia is cognitive behavioural therapy for insomnia, while medicines have a more limited, short-term role and must always be prescribed.
What is insomnia?
Insomnia is defined by the person's own complaint, not by a fixed number of hours. Some people sleep little and feel well, while others spend many hours in bed and wake exhausted. Insomnia is characterised by difficulty sleeping combined with daytime consequences, despite having the opportunity to sleep.
When it lasts less than three months, it is known as acute or short-term insomnia and is often linked to a specific event, such as bereavement, changing jobs, illness or exams. When it occurs at least three nights a week for three months or more, it is known as chronic insomnia.
| Type | Duration | Typical situation |
|---|---|---|
| Acute insomnia | Days to weeks, less than three months | Stress, bereavement, illness, travel, change in routine |
| Chronic insomnia | At least three nights a week for three months or more | The problem persists even after the trigger has passed |
| Sleep-onset insomnia | Difficulty falling asleep | Common in people with anxiety or a delayed sleep pattern |
| Sleep-maintenance insomnia | Waking several times or too early | Common with age, pain, depression or alcohol |
Causes of insomnia: predisposition, triggers and perpetuation
A widely used model divides the causes of insomnia into three types. Predisposing factors make someone more vulnerable, such as a tendency to worry or naturally lighter sleep. Precipitating factors are the events that start the problem. Perpetuating factors are the habits and thoughts developed to compensate for bad nights that ultimately keep insomnia going.
This last group is the most important for treatment. Spending more time in bed “to catch up”, taking long naps, checking the time during the night, lying awake trying to sleep or worrying about the consequences of not sleeping are understandable reactions. However, they keep the brain alert and associate the bed with frustration.
| Type of factor | Examples |
|---|---|
| Predisposing | Tendency towards anxiety, family history, lighter sleep, age |
| Trigger | Stress, bereavement, illness, pain, schedule changes, having a baby |
| Perpetuating | Spending too long in bed, long naps, irregular schedules, worrying about sleep |
Illnesses, medicines and substances that may cause insomnia
Insomnia is often associated with other conditions. It is very common in mental health disorders such as depression and anxiety disorders, and may even precede other symptoms. Physical conditions involving pain, breathlessness, the need to urinate at night, reflux or hormonal changes also disrupt sleep.
Other sleep problems can resemble insomnia, including obstructive sleep apnoea and restless legs syndrome. Some medicines, caffeine, nicotine and alcohol can also interfere. Alcohol may help you fall asleep, but fragments sleep in the second half of the night. Never stop a medicine because you suspect it is causing insomnia without first speaking to your doctor.
| Category | Examples |
|---|---|
| Mental health | Depression, anxiety, bipolar disorder, trauma |
| Physical illnesses | Chronic pain, respiratory conditions, reflux, thyroid problems, menopause |
| Other sleep problems | Obstructive sleep apnoea, restless legs syndrome, circadian rhythm disorders |
| Substances | Caffeine, nicotine, alcohol, other drugs |
| Medicines | Some medicines may interfere with sleep; speak to your doctor |
How insomnia is assessed
Assessment is based mainly on a clinical discussion: how and when the problem began, what nights are like, what happens during the day, existing habits and any other conditions or medicines. The 2023 European guideline, coordinated by Riemann and colleagues, recommends a clinical interview, a sleep diary and questionnaires, together with investigation of associated physical and mental health conditions.
A sleep diary completed for one to two weeks records bedtime, the estimated time taken to fall asleep, awakenings, getting-up time and tiredness the next day. It is simple and very useful. Laboratory sleep studies (polysomnography) are not routinely needed; they are indicated when another problem such as sleep apnoea is suspected, or when insomnia does not respond to treatment.
Treating insomnia: cognitive behavioural therapy
Cognitive behavioural therapy for insomnia is a structured treatment, usually delivered over several sessions. It combines restricting time in bed, stimulus control, work on sleep-related thoughts and worries, relaxation techniques and sleep education. The European guideline recommends it as first-line treatment for chronic insomnia in adults of any age, including people with other conditions, whether delivered in person or digitally.
A meta-analysis by Trauer and colleagues, combining 20 trials involving more than 1,000 adults with chronic insomnia, showed clinically meaningful improvements in the time taken to fall asleep, time awake during the night and sleep efficiency. Benefits tended to last over time. The increase in total sleep time was smaller and not significant in this analysis, showing that the main benefit lies in sleep quality and continuity.
| Component | What it involves |
|---|---|
| Time in bed restriction | Match time in bed to actual sleep time to consolidate sleep |
| Stimulus control | Use the bed only for sleep; get up if you cannot fall asleep |
| Cognitive restructuring | Review beliefs and worries about sleep |
| Relaxation | Techniques to reduce physical and mental arousal |
| Sleep education | Information about habits, light, schedules, caffeine and alcohol |
The role of medicines
When cognitive behavioural therapy is not enough or is inaccessible, medication may be considered. The European guideline states that benzodiazepines, benzodiazepine receptor agonists, orexin receptor antagonists and low-dose sedating antidepressants may be used for short-term treatment, up to around four weeks. Longer use may be considered in some cases after weighing the benefits and risks.
The American Academy of Sleep Medicine guideline by Sateia and colleagues stresses that the quality of evidence for most medicines is low and recommendations are generally weak. Risks include next-day drowsiness, falls, memory problems, tolerance and dependence. All these medicines are prescription-only. Starting, adjusting or stopping them is always a medical decision, and abrupt withdrawal may cause rebound insomnia and discontinuation symptoms.
Sleep hygiene: useful, but not enough
Sleep hygiene advice, including regular hours, avoiding caffeine in the afternoon, limiting alcohol, keeping the bedroom dark and cool, and reducing screen use before bed, provides a useful foundation. On its own, however, it rarely resolves chronic insomnia. It is more effective as part of cognitive behavioural therapy.
The European guideline also notes that light therapy and physical exercise may be useful additions, but do not replace the main treatment.
| Measure | What it is for |
|---|---|
| A regular getting-up time | Stabilises the body clock |
| Avoid caffeine in the afternoon and evening | Reduces difficulty falling asleep |
| Limit alcohol | Prevents awakenings in the second half of the night |
| Natural light exposure in the morning | Helps regulate the circadian rhythm |
| Regular physical activity | May improve sleep quality |
When to seek help
Seek help if insomnia has lasted more than a few weeks, affects work, mood or safety, or you increasingly rely on medicines or alcohol to sleep. Loud snoring with pauses in breathing, severe daytime sleepiness, particularly while driving, or uncomfortable leg movements at night warrant medical assessment. Insomnia accompanied by persistent sadness, loss of interest or feelings of hopelessness needs prompt attention.
At Clínica Alegre in Setúbal and Seixal, the consultation begins by listening and understanding what is happening, so we can decide on the most appropriate support together.
Frequently asked questions
How many hours of sleep are needed?
It varies from person to person. More important than a number is feeling rested and functioning well during the day.
Can insomnia be a sign of depression?
Yes. Insomnia is common in depression and may even precede it. If you have persistent sadness or loss of interest, speak to a professional.
Does spending longer in bed help you catch up?
Usually not. Extending time in bed tends to fragment sleep and perpetuate insomnia.
Do sleeping medicines cure insomnia?
They may provide short-term relief, but do not address the factors that perpetuate it. Cognitive behavioural therapy targets these causes.
Do I need a sleep study?
Not routinely. It is indicated when another problem such as sleep apnoea is suspected, or when insomnia does not respond to treatment.
Can therapy for insomnia be done online?
Yes. The European guideline recognises the effectiveness of digital as well as face-to-face treatment.
Did you enjoy this article?
Scientific references3
- Riemann D, Espie CA, Altena E, Arnardottir ES, Baglioni C, Bassetti CLA, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia, 2023. J Sleep Res. 2023;32(6):e14035.
- Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D. Cognitive behavioural therapy for chronic insomnia: a systematic review and meta-analysis. Ann Intern Med. 2015;163(3):191–204.
- Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2017;13(2):307-49.





