Insomnia: when you cannot sleep
Insomnia has an effective, evidence-based treatment, and it is not sleep hygiene, a supplement or a new mattress.
The thing worth knowing
Cognitive behavioural therapy for insomnia, CBT-I, is the recommended first-line treatment for long-term insomnia in the UK. It is more effective than sleeping tablets over the long run and does not carry their downsides.
A GP can refer you, including to digital programmes. That route costs nothing.
See a GP about any of these
Pauses in breathing during sleep, gasping or choking awake, loud persistent snoring, or heavy daytime sleepiness.
Falling asleep unintentionally during the day, particularly while driving, which should be treated as urgent.
Sleep problems alongside low mood, anxiety, or thoughts of harming yourself.
This page is general information and is not a substitute for medical advice.
What counts as insomnia
Insomnia is not one bad night, and it is not defined by hours slept.
It is difficulty falling asleep, staying asleep, or waking too early, despite adequate opportunity to sleep, with daytime consequences: fatigue, poor concentration, low mood, irritability.
The daytime part matters. Someone who sleeps five hours and functions well does not have insomnia; someone who sleeps seven and is exhausted may have something else going on.
Short-term insomnia lasts days or weeks and usually has an obvious trigger: stress, grief, illness, a new baby, shift work. It often resolves on its own.
Long-term insomnia is three or more nights a week for three months or more. That is the point at which self-management stops being the answer and CBT-I is indicated.
Why it persists after the cause has gone
This is the most useful thing on the page, because it explains why people are still not sleeping long after the stressful period ended.
Something disrupts your sleep. You respond sensibly: go to bed earlier, lie in longer, try harder to sleep, nap when you can.
Those responses maintain the problem. More time in bed awake teaches your brain that bed is a place where you lie awake, and trying hard to sleep produces alertness, because sleep is one of the few things that gets worse with effort.
So the original cause goes and the pattern stays. CBT-I treats the maintaining behaviours rather than the original trigger, which is why it works when addressing the trigger does not.
What CBT-I actually involves
It is not relaxation content, and it is more demanding than sleep hygiene, which is why it works.
Stimulus control. Bed is for sleep. If you have been awake around twenty minutes, get up, go to another room, do something dull in dim light, and return when sleepy. This rebuilds the association between bed and falling asleep.
Sleep restriction. Temporarily limiting time in bed to match actual sleep, which consolidates it. The most effective component and the most uncomfortable, and it should be done with guidance rather than improvised.
A fixed wake time, seven days a week, regardless of how the night went.
Cognitive work on the thoughts that keep people awake, particularly the arithmetic about how much sleep is left and what tomorrow will be like.
Sleep hygiene, which is included and is the least effective part on its own.
It typically runs four to eight sessions, and it usually gets worse before it gets better, which is why doing it with support matters.
What to do tonight
While you arrange the above, these are the highest-value things and none costs anything.
Get up if you have been awake twenty minutes. The single most useful behavioural change.
Turn the clock away. Knowing the time turns a brief waking into a calculation about sleep left, and that alertness is what keeps you awake rather than the waking itself.
Keep the wake time fixed even after a bad night. Lying in repays the debt tonight and moves the problem to tomorrow.
Do not nap while you are trying to re-establish a pattern, because it discharges the sleep pressure you need at bedtime.
Get daylight in the morning. Twenty minutes outdoors anchors the body clock.
Sleeping tablets, and what to expect
UK guidance is that hypnotics are for short-term use, typically a few days to two weeks, for severe or disabling insomnia.
They work in the short term. Tolerance develops, and stopping can produce rebound insomnia worse than the original, which is how short courses become long ones.
Over-the-counter antihistamine sleep aids cause next-day grogginess for many people and are not intended for ongoing use.
None of this is a reason to refuse medication if a GP judges it appropriate. It is a reason to ask about CBT-I at the same appointment rather than instead of it, and never to stop a prescribed medicine abruptly without discussing it.
When it is not insomnia
Several conditions present as poor sleep and need different treatment.
Sleep apnoea fragments sleep without waking you enough to remember it, so it presents as unrefreshing sleep and daytime sleepiness rather than lying awake.
Restless legs, an urge to move the legs that worsens at rest and in the evening.
Depression and anxiety, which have a bidirectional relationship with sleep: each worsens the other.
Pain, menopause, thyroid problems, and medication effects, all of which are common and treatable.
If sleep has been poor for weeks, the appointment is worth making regardless of which of these it turns out to be.
Related reading
Sleep basics
Other causes
How this site works
Nothing here is paid for by a brand. No manufacturer has copy approval, a preview, or the ability to change a score, and where a link earns a commission that never changes a ranking.
Where a brand does not publish a specification, that is stated rather than estimated, because an absent number is itself information. The corrections log and the products I will not recommend page are both public.
Questions people ask
What counts as insomnia?
Difficulty falling asleep, staying asleep or waking too early despite adequate opportunity, with daytime consequences. Long-term insomnia is three or more nights a week for three months or more.
What is the most effective treatment for insomnia?
Cognitive behavioural therapy for insomnia, CBT-I, which is the recommended first-line treatment in the UK and is more effective than sleeping tablets over the long run. A GP can refer you, including to digital programmes.
Why does insomnia continue after the cause has gone?
Because the sensible responses to poor sleep maintain it. More time in bed awake teaches your brain that bed is where you lie awake, and trying hard to sleep produces alertness. CBT-I treats those maintaining behaviours.
What should I do if I cannot get back to sleep?
Get up after around twenty minutes, go to another room, do something dull in dim light and return when sleepy. Turn the clock away, because knowing the time turns a brief waking into a calculation that keeps you alert.
Are sleeping tablets a good idea?
UK guidance is that they are for short-term use, typically a few days to two weeks. Tolerance develops and stopping can cause rebound insomnia, so ask about CBT-I at the same appointment rather than instead of it.