In this article
Waking at three in the morning with your mind racing and being unable to return to sleep. Getting up feeling as though you have not rested at all. Almost everyone has nights like these during worrying times, and that alone is not a health problem. When sleeping difficulties recur on many nights, last for months and affect the following day, this is known as insomnia disorder, one of the most common complaints in general practice and mental health appointments.
Understanding why sleep is disrupted is the first step towards restoring it. Insomnia rarely has a single cause. It usually results from a combination of factors: some make a person more vulnerable, others trigger the problem, and others perpetuate it after the initial cause has disappeared. This article looks systematically at the most common causes to help identify what may be involved. It does not replace an individual assessment.
What exactly is insomnia?
In clinical terms, insomnia does not simply mean “sleeping too little”. It is difficulty falling asleep or staying asleep, or waking earlier than desired, despite having the opportunity and suitable conditions for sleep. It is accompanied by daytime consequences such as tiredness, irritability, difficulty concentrating, poorer performance and worry about sleep. Some people sleep for only a few hours and feel well; that is not insomnia.
The usual criteria define chronic insomnia as difficulties occurring at least three nights a week for at least three months. If they last for less time, this is called short-term insomnia, which often accompanies a period of stress and resolves when it passes. The 2023 European insomnia guideline stresses that diagnosis is based mainly on a careful clinical discussion, supplemented by questionnaires and sleep diaries.
| Type of complaint | How it is described |
|---|---|
| Difficulty falling asleep | “I go to bed and remain awake for more than half an hour” |
| Difficulty staying asleep | “I wake several times and struggle to fall asleep again” |
| Waking too early | “I wake much earlier than I need to and cannot get back to sleep” |
| Unrefreshing sleep | “I sleep, but wake feeling as though I have not rested” |
| Daytime consequences | Tiredness, irritability, memory lapses, sleepiness |
A model for understanding the causes
Specialists often use a simple framework called the three-P model to organise the causes of insomnia. Predisposing factors make some people more vulnerable; precipitating factors trigger the problem at a particular time; and perpetuating factors keep it going.
This model highlights an important point: the cause that started insomnia is not always what perpetuates it. Someone may begin sleeping badly during a difficult period at work and still sleep badly months after it ends because they have developed habits and worries that feed the problem.
| Type of factor | Examples |
|---|---|
| Predisposing | Tendency towards anxiety, a worrying temperament, family history, age |
| Precipitating | Bereavement, separation, illness, changing jobs, having a baby, trauma |
| Perpetuating | Spending a long time awake in bed, long naps, fear of not sleeping, alcohol to induce sleep |
Stress and life events
Stress is the most common trigger for insomnia. Problems at work, financial difficulties, family conflict, a relative's illness, bereavement or separation activate the body's alert system. At night, when there are no distractions, the mind returns to these issues, the heart speeds up and sleep does not come.
Most often, this short-term insomnia improves as the event loses its impact. The risk lies in what happens in the meantime: the person starts going to bed earlier “to catch up”, lies awake for long periods, watches the clock and worries about the next day. The bed becomes associated with frustration and alertness, and the problem takes on a life of its own.
Anxiety, depression and other mental health disorders
Insomnia and mental health are closely linked in both directions. Insomnia is a common symptom of anxiety and depression, but may also appear before them and increase the risk of developing them. The European guideline therefore recommends treating insomnia even when it coexists with other disorders, rather than waiting for it to disappear when the other problem improves.
| Disorder | How it affects sleep |
|---|---|
| Anxiety | Difficulty falling asleep, racing thoughts, tension |
| Depression | Early waking, unrefreshing sleep, sometimes excessive sleep |
| Post-traumatic stress | Nightmares, waking with a start, fear of falling asleep |
| Bipolar disorder | Reduced need for sleep during periods of elation |
| Alcohol or drug use | Fragmented sleep, insomnia during withdrawal |
A markedly reduced need for sleep, with very high energy, racing thoughts and unusual behaviour, is a sign that warrants prompt medical assessment.
Physical conditions and pain
Many physical conditions disrupt sleep, through both their symptoms and the worry they cause. Chronic pain is one of the clearest examples: it makes it difficult to find a comfortable position and causes night-time waking. Needing to urinate repeatedly at night, breathlessness when lying down, heartburn, itchy skin and hot flushes can also interrupt sleep.
| Physical problem | Effect on sleep |
|---|---|
| Chronic pain (back, joints) | Waking, difficulty finding a comfortable position |
| Gastro-oesophageal reflux | Heartburn and coughing when lying down |
| Urinary problems | Getting up several times during the night |
| Respiratory and heart conditions | Breathlessness when lying down, coughing |
| Thyroid changes | Restlessness and insomnia when hormone levels are too high |
| Neurological conditions | Changes in sleep pattern and quality |
In these cases, managing the underlying condition well is an essential part of treating insomnia, but is not always enough. Sleep-related habits and worries may need attention in their own right.
Medicines, caffeine, alcohol and nicotine
Some everyday substances have a significant effect on sleep. Caffeine in coffee, black and green tea, cola, energy drinks and chocolate remains active in the body for several hours and may make it difficult to fall asleep even when consumed in the afternoon. Nicotine is a stimulant. Alcohol may help you fall asleep, but fragments sleep in the second half of the night and worsens snoring.
Some medicines may also interfere with sleep, including certain blood pressure medicines, corticosteroids, decongestants, some antidepressants and asthma medicines. If you suspect that a medicine is affecting your sleep, speak to your doctor or pharmacist. Never stop or alter medication on your own.
Habits, schedules and the environment
Modern life does not always support good sleep. Irregular schedules, with very different bedtimes and getting-up times across the week, long late-afternoon naps, exposure to bright light and screens until late, shift work and heavy meals before bed can cause or perpetuate insomnia.
The bedroom environment also matters: noise, light, an uncomfortable temperature or an unsuitable bed make rest more difficult. However, these factors should not be overemphasised. In chronic insomnia, changing the environment alone rarely resolves the problem because the mechanisms perpetuating it are mainly behavioural and cognitive.
Other sleep disorders that resemble insomnia
Some sleep disorders cause symptoms similar to insomnia but have different causes and treatments. Recognising them matters, because treating them as simple insomnia may delay the solution. The European guideline recommends a sleep study when these disorders are suspected or insomnia does not respond to treatment.
| Disorder | Signs that raise suspicion |
|---|---|
| Sleep apnoea | Loud snoring, pauses in breathing noticed by others, daytime sleepiness |
| Restless legs syndrome | Leg discomfort late in the day, with an urge to move them |
| Delayed sleep phase | Only feeling sleepy very late and sleeping well when able to wake late |
| Periodic limb movements | Leg jerks during sleep, noticed by a partner |
Stages of life
Some stages of life are associated with greater difficulty sleeping. During pregnancy, physical discomfort, the need to urinate and anxiety may disrupt sleep. During menopause, hot flushes and hormonal changes are common causes. With age, sleep tends to become lighter and more fragmented, and falling-asleep and waking times move earlier. This is normal to a degree and should not be confused with illness.
Teenagers' body clocks tend to shift later, making it difficult to fall asleep early and wake for school. In these cases, involving parents and, where necessary, the school can help find realistic solutions.
When to seek help
It is worth seeking help when difficulty sleeping lasts several weeks, clearly affects the day, including work, driving, mood or relationships, or when someone already relies on alcohol or non-prescription medicines to sleep. Suspected another sleep disorder or an associated mental health problem also warrants assessment.
The good news is that chronic insomnia has effective treatment. The European guideline recommends cognitive behavioural therapy for insomnia as the first choice for adults of all ages, including people with other conditions. Medicines may have a role, but only on prescription and generally for short periods. If insomnia occurs alongside severe emotional distress, hopelessness or thoughts of death, seek help immediately.
At Clínica Alegre in Setúbal and Seixal, the appointment begins with listening and understanding what is affecting sleep, so that the most appropriate support can be decided together.
Frequently asked questions
Is sleeping fewer than seven hours always insomnia?
No. Insomnia is defined by difficulty sleeping with daytime consequences, not by a fixed number of hours.
Can insomnia be hereditary?
Some people are more predisposed, partly because of genetic and temperamental factors, but habits and circumstances also have a major influence.
Will treating anxiety make insomnia go away?
It may improve, but often persists. Direct treatment of insomnia alongside anxiety is therefore recommended.
Can afternoon coffee affect sleep at night?
Yes. Caffeine remains active for several hours and can make it difficult to fall asleep.
Is snoring related to poor sleep?
Loud snoring with pauses in breathing may indicate sleep apnoea, which requires its own assessment.
Is it normal to sleep worse with age?
Sleep becomes lighter with age, but insomnia that affects the day is not inevitable and can be treated.
Did you enjoy this article?
Scientific references2
- 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. Journal of Sleep Research. 2023;32(6):e14035.
- 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. Journal of Clinical Sleep Medicine. 2017;13(2):307-349.





