Sleep Science

    How to Overcome Insomnia: What Actually Works

    Updated September 2026·By George Sanders·Medically reviewed content

    Insomnia is not a shortage of tiredness. Most people with chronic insomnia are exhausted — the problem is that the sleep system will not switch on when they need it to. Understanding that distinction is what separates the treatments that work from the ones that just feel sensible.

    Short answer

    The first-line treatment is cognitive behavioural therapy for insomnia (CBT-I), not medication. Its two most powerful components are stimulus control (only being in bed when sleepy) and sleep restriction (temporarily shortening time in bed to consolidate sleep). Both feel wrong for the first week and then work. Before starting, rule out the physical causes — most commonly snoring or sleep apnoea, in you or the person beside you.

    What insomnia actually is

    Clinically, insomnia means difficulty falling asleep, staying asleep, or waking too early, at least three nights a week for three months or more, with a daytime consequence. The mechanism is hyperarousal: the nervous system stays in an alert state at the time sleep should be initiating. Two things maintain it long after the original trigger has gone:

    • Conditioned arousal. After weeks of lying awake, the bed itself becomes a cue for wakefulness and frustration.
    • Compensatory behaviour. Going to bed earlier, lying in, napping and cancelling plans all dilute sleep pressure across a longer window, making sleep lighter and more broken.

    Rule out physical causes first

    CBT-I will not fix insomnia that has a physical driver. Check these before anything else:

    • Sleep apnoea. Loud snoring, witnessed breathing pauses, morning headaches and unrefreshing sleep. Take our STOP-BANG screen.
    • A snoring partner. An extremely common and entirely fixable cause of night waking. Our how to stop snoring guide is often the faster route to your own sleep.
    • Restless legs, pain, reflux, an overactive thyroid, prostate symptoms — each needs its own treatment.
    • Medication. Steroids, some antidepressants, beta blockers and decongestants all disturb sleep.
    • Alcohol. It shortens sleep onset and then fragments the second half of the night, which is the classic 3am waking pattern.

    CBT-I: the components that do the work

    1. Stimulus control

    The goal is to rebuild the association between bed and sleep. Five rules:

    • Go to bed only when sleepy, not merely tired
    • Use the bed for sleep and sex only — no phone, no laptop, no TV
    • If you are still awake after about 20 minutes, get up and go to another room
    • Do something quiet and undemanding in dim light until sleepiness returns, then go back
    • Repeat as often as needed, and get up at the same time regardless of how the night went

    Do not clock-watch to measure the 20 minutes — judge it by feel and turn the clock away from you.

    2. Sleep restriction

    The most effective single component, and the least popular. You temporarily limit time in bed to roughly the amount you are actually sleeping, which builds sleep pressure and consolidates the night.

    1. Keep a sleep diary for a week and calculate your average actual sleep time
    2. Set your time in bed to that figure, with a floor of five hours — never less
    3. Fix your wake time and work the bedtime backwards from it
    4. Once you are asleep for 85% or more of your time in bed across a week, add 15 minutes to the window
    5. Repeat weekly until you reach a stable, refreshing duration

    Expect to feel worse for five to seven days. Do not drive if you are seriously sleepy, and do not attempt this alongside shift work or untreated sleep apnoea without clinical supervision.

    3. Cognitive work

    Catastrophic thinking about sleep — "if I don't sleep now tomorrow is ruined" — is itself arousing. Useful counters: write tomorrow's worries and plans down in the early evening so the brain stops rehearsing them; remind yourself that a bad night is survivable and that you have functioned on poor sleep before; stop calculating how many hours are left.

    4. Wind-down and environment

    • A consistent 30–60 minute low-stimulation routine before bed
    • Bedroom at 16–18°C, dark, and as quiet as you can make it
    • No caffeine within eight hours of bedtime; no alcohol within four
    • Daylight within an hour of waking to anchor the body clock
    • No napping during an active sleep restriction phase

    Our guide to falling asleep faster covers the wind-down techniques in more detail.

    Where to get CBT-I in the UK

    Many NHS areas provide the Sleepio digital CBT-I programme free of charge — check your local NHS talking therapies service, which usually accepts self-referral. A GP can also refer you. Self-guided CBT-I books and apps work well for mild to moderate insomnia, though adherence is better with a structured programme.

    Medication, honestly

    Z-drugs and benzodiazepines are appropriate for short bursts during an acute crisis and are recommended in UK guidance only for two weeks or less. Beyond that, tolerance builds, stopping produces rebound insomnia, and both classes relax the upper airway — so they can turn a mild snoring problem into a significant one. Sedating antihistamines have the same drawback plus next-day grogginess. Melatonin is a timing signal rather than a sedative and is most useful for jet lag or delayed sleep phase.

    A realistic four-week plan

    WeekFocus
    1Sleep diary, fix wake time, rule out snoring and physical causes
    2Start stimulus control and sleep restriction; expect it to feel harder
    3Sleep begins to consolidate; add 15 minutes if efficiency is above 85%
    4Continue widening the window weekly; keep the wake time fixed permanently

    The bottom line

    Chronic insomnia responds to behaviour change far better than to tablets, but only if the physical causes are dealt with first. If you snore heavily, or share a bed with someone who does, start there — a surprising number of long-running insomnia cases are really an airway problem wearing a disguise.

    Frequently asked questions

    What is the most effective treatment for insomnia?

    Cognitive behavioural therapy for insomnia (CBT-I) is the first-line treatment recommended by NICE and by every major sleep body. It outperforms sleeping tablets in the long term and the benefits persist after treatment ends. In the UK it is available on the NHS through the Sleepio digital programme in many areas, or through a GP referral to a talking therapies service.

    How long does it take to fix insomnia?

    A structured CBT-I programme runs four to eight weeks, with most people noticing improvement from week two or three. Sleep restriction — the most powerful component — usually makes things feel worse for the first week before it works, which is why people abandon it too early.

    Are sleeping tablets a bad idea?

    They have a place for short-term use during an acute crisis, but they are not a solution for chronic insomnia. Z-drugs and benzodiazepines lose effect within weeks, cause rebound insomnia on withdrawal, and relax the airway — which makes snoring and sleep apnoea worse. UK guidance is short courses only, two weeks or less.

    Does lying in bed awake make insomnia worse?

    Yes, and this is central to why it becomes chronic. Repeatedly lying awake teaches the brain to associate the bed with alertness and frustration. Getting up after about 20 minutes and doing something quiet in dim light until you feel sleepy breaks that association. It feels counterproductive and it is the single most effective behavioural rule.

    Can snoring cause insomnia?

    Your own snoring can fragment sleep without waking you fully, producing unrefreshing nights that feel like insomnia. A partner's snoring is a very common and very treatable cause of genuine sleep-onset and sleep-maintenance insomnia. If either applies, treating the snoring is more effective than treating the insomnia.

    Do melatonin supplements work?

    Melatonin is a body-clock signal, not a sedative. It helps with jet lag and delayed sleep phase, and in the UK it is licensed as a prescription medicine for short-term use in over-55s. It is of limited use for classic insomnia where the problem is hyperarousal rather than timing.

    Should I use a sleep tracker?

    With caution. Trackers estimate sleep stages from movement and heart rate and are not accurate enough to diagnose anything. For people with insomnia they often increase anxiety about sleep — a documented pattern sometimes called orthosomnia. A simple paper sleep diary is more useful during treatment.

    When should I see a GP?

    If difficulty sleeping happens three or more nights a week for over three months, if it affects your daytime functioning, or if there are signs of an underlying cause such as loud snoring with breathing pauses, restless legs, pain, or low mood. Insomnia secondary to another condition needs that condition treated.