Insomnia: How to Fix Your Sleep Without Sleeping Pills
A doctor explains CBT-I, the actual first-line treatment for chronic insomnia: stimulus control, sleep restriction, and why sleep hygiene alone rarely works.

The short version
- Chronic insomnia is difficulty falling or staying asleep at least three nights a week for three months or more, with daytime consequences. Occasional bad nights are not insomnia.
- The recommended first-line treatment worldwide is not medication. It is CBT-I, cognitive behavioral therapy for insomnia, and its benefits last after treatment stops, which sleeping pills' do not.
- What starts insomnia is almost never what keeps it going. The things you do to cope, earlier bedtimes, lie-ins, naps, lying in bed trying, are usually what maintain it.
- Sleep hygiene is real advice that on its own barely treats chronic insomnia. It is necessary, not sufficient, and telling people otherwise wastes years.
- Melatonin is a timing signal, not a sedative. Its strongest evidence is for jet lag and body-clock disorders, not for ordinary insomnia.
See a doctor promptly if
These are the signs that change this from something to read about into something to act on.
- Loud snoring with pauses in breathing, waking gasping, or falling asleep during the day despite time in bed. This suggests sleep apnoea and needs assessment
- Falling asleep while driving or operating machinery, or any near-miss from sleepiness
- Acting out dreams, shouting, or physically moving during sleep
- Insomnia with low mood, loss of interest, or any thoughts of harming yourself
- New insomnia with weight loss, night sweats, palpitations or breathlessness lying flat
- Sudden loss of the need for sleep while feeling energetic and full of ideas. This needs prompt medical review
There is a treatment for chronic insomnia that works better than sleeping tablets, keeps working after you stop it, and has essentially no side effects. It has been first-line in the US, UK and Europe for years. Almost nobody who comes to me with insomnia has heard of it.
Instead they have heard the list: no screens, no caffeine after lunch, cool dark room, lavender. They have tried all of it and it has not worked. They have been given a hygiene checklist for a problem that needs a treatment.
What insomnia actually is#
Insomnia disorder has a definition worth measuring yourself against:
- Difficulty falling asleep, staying asleep, or waking too early and being unable to return to sleep;
- despite adequate opportunity. You are giving yourself the time and a reasonable place;
- with daytime consequences: fatigue, poor concentration, irritability, low mood;
- at least three nights a week, for at least three months (under three months it is short-term insomnia).
The "adequate opportunity" clause matters. Someone working two jobs who sleeps five hours because five hours is all they have does not have insomnia. They have sleep deprivation, a different problem with a different solution.
The two systems that make you sleep#
CBT-I works by manipulating two systems directly, so it helps to know how they work.
Sleep pressure. From the moment you wake, a chemical called adenosine builds up in the brain, and the sleepier you feel. Sleeping clears it. Caffeine blocks the receptors adenosine acts on. It hides the pressure rather than removing it, which is why tiredness arrives all at once when caffeine wears off. Naps and lie-ins release sleep pressure: that feels good and costs you the next night.
The body clock. A cluster of cells in the hypothalamus runs a roughly 24-hour rhythm that determines when you can sleep well, largely independent of how tired you are. It is set mainly by light hitting the eye, especially in the morning.
Good sleep happens when high sleep pressure lines up with the body clock's window for night. Insomnia is often a failure of that alignment, and most coping behaviors make it worse.
Why insomnia persists: the three-P model#
This explains the thing patients find most confusing: the original cause of their insomnia is long gone, and the insomnia is not.
Predisposing factors are the baseline: some people have a more reactive arousal system.
Precipitating factors are the trigger. Bereavement, a new baby, a job crisis, illness, pain, a stretch of night shifts. Everyone has sleepless weeks around these, and for most people sleep returns when the event passes.
Perpetuating factors are why it does not. These are the sensible-seeming things you start doing to cope:
- Going to bed earlier to "catch up", so you spend longer in bed awake.
- Staying in bed in the morning to salvage what you can, and napping.
- Cancelling evening plans to protect your sleep.
- Lying in bed trying to sleep, which is a contradiction in terms.
- Clock-watching, and worrying from mid-afternoon about tonight.
Each of these lowers sleep pressure, destabilizes the body clock, or trains your brain to associate bed with alertness. The insomnia becomes self-sustaining, which is good news, because you can dismantle it by changing what maintains it, without undoing the event that started it.
CBT-I: what it actually involves#
CBT-I is a structured program, usually four to eight sessions over six to eight weeks. It is not counseling and not relaxation. It is a set of procedures, each aimed at a mechanism.
| Component | What it targets | What you actually do |
|---|---|---|
| Sleep diary | Baseline data | Log bed time, estimated sleep, wake time and naps daily. Everything else is calculated from this. |
| Stimulus control | Conditioned arousal. The learned link between bed and wakefulness | Bed for sleep and sex only. If awake and frustrated, get up. Fixed wake time daily. |
| Sleep restriction | Weak sleep pressure, fragmented sleep | Temporarily cut time in bed to match actual sleep, then expand as sleep consolidates. |
| Cognitive therapy | Catastrophic beliefs and pre-sleep worry | Test beliefs like "if I don't sleep I can't function". Scheduled worry time earlier in the evening. |
| Arousal reduction | Physiological over-activation | Progressive muscle relaxation, paced breathing, a real wind-down period. |
| Sleep hygiene | Removing obstacles | Caffeine, alcohol, light, temperature, timing. Support, not treatment. |
| Relapse prevention | The inevitable bad week | A written plan for after two bad nights, so a blip does not restart the cycle. |
Stimulus control#
Your brain is an association machine. Spend 400 nights lying in bed awake and frustrated, and the bed itself becomes a cue for alertness. The way a dentist's waiting room raises your heart rate. Many people with severe insomnia fall asleep instantly on the sofa and wake the moment they get into bed.
The rules are simple and hard:
- Go to bed only when sleepy, not merely tired, but genuinely nodding.
- Use the bed only for sleep and sex. No work, no scrolling, no television, no lying there planning.
- If you are awake and frustrated, get up, leave the bedroom, do something quiet and dull in dim light, and go back only when sleepy again. Repeat as often as needed.
- Get up at the same time every morning, seven days a week, however the night went.
- No naps.
Rule 3 causes the most argument. Do not clock-watch to decide. The point is the frustration, not the minutes. Rule 4 does the heaviest lifting: a fixed wake time anchors the body clock and guarantees a predictable build-up of sleep pressure for the next night. Sleeping in after a bad night feels kind and reliably produces a second one.
Sleep restriction#
This is the most powerful component, and the one that needs the most care.
The logic: someone with insomnia typically spends nine hours in bed to get five and a half hours of broken sleep. Those extra hours dilute sleep pressure, so sleep becomes shallow and fragmented. Restriction concentrates it.
From two weeks of diary data you calculate sleep efficiency: time asleep divided by time in bed. Normal is above 85 per cent; in insomnia it is often 60 to 70. You then set time in bed to roughly your average actual sleep, keeping the fixed wake time and moving bedtime later. Time in bed is never set below about five to five and a half hours, whatever the arithmetic says. Each week, if efficiency exceeds about 85 to 90 per cent, you add 15 to 30 minutes back; if it drops, you hold.
Within a week or two, sleep pressure is high enough that you fall asleep quickly and stay asleep, and the window then expands. The end point is usually more sleep than before, not less.
The cognitive work#
This is the part people skip, and the part that prevents relapse.
Insomnia runs on a few beliefs that feel like facts: I need eight hours or tomorrow is ruined. My body is broken. Everyone else sleeps fine. Each raises arousal at exactly the moment you need it lowest, so the belief helps produce the outcome it predicts.
The work involves testing them against your own diary. Most people discover that their worst days were not their worst nights, and that their sleep is more variable than their sense of it. Alongside that sits practical work on pre-sleep worry: a scheduled 15 minutes earlier in the evening to write down what is on your mind and the next action for each item, so the mind has already been heard by the time the lights go out.
There is also a paradoxical technique that sounds like a trick and is not: lying in bed and gently trying to stay awake removes performance anxiety, and for people whose problem is effortful trying, it works.
Does it hold up?#
CBT-I is recommended as first-line treatment for chronic insomnia by the American Academy of Sleep Medicine, the American College of Physicians, NICE and the European Sleep Research Society. Meta-analyses consistently show meaningful improvements in time to fall asleep, time awake during the night and sleep quality. Sleeping tablets often work faster in the first two weeks and the two are comparable by six to eight weeks; the divergence comes afterwards, because CBT-I's effects persist for months to years while insomnia usually returns when a hypnotic stops. Digital CBT-I, where it follows the full protocol, performs close to face-to-face therapy.
Sleep hygiene, honestly#
Sleep hygiene is not wrong. It is misrepresented.
In research, sleep hygiene advice is so weak on its own that it is frequently used as the control condition. The thing CBT-I is compared against to prove it does something. As a standalone treatment it produces small effects at best, because hygiene removes obstacles rather than generating sleep. In someone with months of conditioned arousal and nine hours in bed, a cooler room changes nothing.
Keep it, though, because CBT-I works better in a clean environment:
- Caffeine has a half-life of roughly five to six hours, so a mid-afternoon coffee still has a quarter of its dose active at midnight. Sensitivity varies genetically by a lot.
- Alcohol shortens sleep onset and wrecks the second half of the night. Nicotine is a stimulant, and overnight withdrawal fragments sleep.
- Light in the morning anchors the body clock; bright light late in the evening delays it. Morning light is underused next to the attention given to evening screens.
- Temperature. Core temperature must fall for sleep to begin, so a cool room helps, as does a hot bath one to two hours before bed.
- The clock. Turn it away.
Melatonin, and what else is oversold#
Melatonin is produced by the pineal gland when it gets dark. Its job is to signal biological night: it is a timing signal, not a sedative, which predicts where it helps.
Evidence is reasonably good for problems of timing: jet lag, delayed sleep phase syndrome, and some circadian disruption in shift workers. Its use in children with neurodevelopmental conditions is a specialist decision. For ordinary chronic insomnia in adults, meta-analyses show the average reduction in time to fall asleep is small: around ten minutes.
Regulation differs by country: melatonin is sold over the counter in the United States and much of the Gulf, and is a prescription medicine in the United Kingdom and most of the European Union. Because supplements are loosely regulated, analyses of commercial products have repeatedly found content differing substantially from the label. For circadian effects, timing matters more than amount. A conversation for a clinician, not a bottle.
Also more marketed than evidenced: magnesium in people who are not deficient, CBD, weighted blankets, blue-light glasses. Antihistamine-based over-the-counter sleep aids cause tolerance within days and next-day grogginess.
What else could it be#
CBT-I treats insomnia, not the other conditions that stop people sleeping. Those need excluding.
- Obstructive sleep apnoea. Snoring, witnessed pauses, sleepiness despite adequate time in bed. Commonly missed in women, in whom it presents more often as insomnia than as snoring.
- Restless legs syndrome. An urge to move the legs, worse at rest in the evening, relieved by movement. Strongly linked to low iron stores; ferritin is worth checking even when hemoglobin is normal.
- Depression and anxiety. Early-morning waking is classically linked to depression, trouble getting off to sleep more to anxiety.
- Pain, reflux, an overactive bladder, breathlessness lying flat, an overactive thyroid, and menopausal night sweats.
- Medication. Some antidepressants, steroids, certain blood pressure and asthma medicines, decongestants and stimulants. Never stop a prescribed medicine over this; raise the timing with the prescriber.
At work#
Shift work is a different problem. The body clock is fine and the schedule is wrong, so the goal is not to rebuild sleep pressure but to defend sleep.
What helps most in an industrial workforce, in rough order of impact: a genuinely dark, quiet sleep environment, which means blackout material and earplugs rather than willpower; a fixed anchor sleep of four to five hours held constant across shift types, with a shorter second sleep around it; bright light during the night shift and dark sunglasses on the way home; caffeine early in a shift and not late; and forward-rotating rosters rather than backward.
Two safety points I will not soften. The drive home after a night shift is one of the riskiest parts of the job, and moderate sleep deprivation impairs reaction time comparably to alcohol. And a worker falling asleep by day despite adequate time in bed needs assessment for sleep apnoea, not hygiene advice.
What I actually see in clinic#
The thing that surprises people most is when I tell them to spend less time in bed. It sounds like being told to eat less when you are already hungry, and some visibly stop trusting me at that moment.
The second week is where people quit. Week one runs on determination. Week two is when sleepiness peaks and sleep has not yet consolidated, and that is exactly when someone decides it is not working and goes back to nine hours in bed. Explaining the shape of that curve in advance makes it survivable.
And the belief I challenge most often is not about sleep. It is "I've always been a bad sleeper." Very often that describes eighteen months, not a lifetime, and once someone can date the start, they can usually name the trigger, and then see that the trigger ended years ago and the habits did not.
The bottom line#
Chronic insomnia is a self-sustaining pattern, kept going by the very things people do to cope, which is why it outlasts whatever started it. The treatment with the best evidence is not a tablet. It is CBT-I, built on stimulus control, sleep restriction and cognitive work. Sleep hygiene supports that treatment but does not replace it, and being told otherwise is why so many people believe their insomnia is untreatable. Before starting, make sure sleep apnoea, restless legs, mood disorder and medication effects have been considered. And if you do only one thing: fix your wake time, and hold it.
Common questions
How many hours of sleep do I actually need?
Does CBT-I really work better than sleeping tablets?
Will sleep restriction make me exhausted?
Is it bad to lie in bed awake?
Does melatonin help insomnia?
Should I use a sleep tracker?
Does alcohol help you sleep?
How long does CBT-I take?
Sources
Still not sure what this means for you?
Bring your reports to a call with one of our doctors. Leave with a written summary and the right questions for your own doctor.


