Learn › CBT-I
Stimulus control for insomnia: rebuilding the link between your bed and sleep
Stimulus control is the part of CBT-I that retrains your brain to associate your bed with falling asleep rather than with lying awake, frustrated. In practice it comes down to a short list of rules: go to bed only when you are sleepy, use the bed only for sleep and sex, get out of bed if you have been awake for roughly fifteen to twenty minutes, and get up at the same time every morning no matter how the night went. It is one of the most-studied behavioural treatments for chronic insomnia, and it is usually the first thing a CBT-I programme asks you to change. One thing to know before you begin: these rules reduce the time you spend in bed, so most people feel sleepier during the day for the first week or two. That has real safety consequences — particularly for driving — and the approach is not suitable for everyone without medical advice. Please read the safety section below before you change anything tonight.
Why your bed stopped working
Your brain is very good at learning what places mean. For most people who sleep well, the bed has one meaning: this is where I switch off. The cue and the response have been paired thousands of times, so the association does the work automatically — you get in, and drowsiness follows.
Insomnia quietly rewrites that. If you spend several hundred hours lying in bed awake — planning tomorrow, replaying a conversation, calculating how many hours are left, feeling the frustration build — the bed slowly becomes a cue for alertness instead. This is what clinicians call conditioned arousal, and it is not a character flaw or a sign that you are bad at sleeping. It is ordinary learning working against you.
There is a giveaway that a lot of people recognise instantly: you fall asleep on the sofa in front of the television, drag yourself upstairs, get into bed — and you are suddenly, annoyingly awake. Nothing changed except the room. That is conditioning, and it means the association can be learned in the other direction too.
Stimulus control therapy, developed by Richard Bootzin in the early 1970s, exists to reverse the pairing: spend time in bed only when you are likely to sleep, and take yourself out of bed when you are not, so the bed stops predicting wakefulness.
The standard stimulus control rules
These are the classic instructions. They look almost too simple written down; the difficulty is entirely in doing them at 3am.
Rules one to four rebuild the bed–sleep association — including the sleep-and-sex-only rule, which is the one that stops the bed quietly being re-taught as a place for being awake. Rule five stabilises your body clock, which sets when you feel sleepy. Rule six protects sleep drive — the pressure that builds the longer you are awake. Sleep tends to come most easily when those two line up.
Before you start tonight, one pointer rather than a footnote: these rules cut your time in bed, and extra daytime sleepiness in the first week or two is the normal result. Do not drive or operate machinery while you feel sleepy. And if you have a seizure disorder, bipolar disorder, possible untreated sleep apnoea, a parasomnia such as sleepwalking, narcolepsy or any condition already making you very sleepy in the daytime, a safety-critical job, a raised risk of falls, or you are pregnant, talk to a clinician before changing your sleep schedule. The safety section below has the full list and the signs that mean stop.
- Go to bed only when you are sleepy — not merely tired. Tired is drained, heavy, done with the day. Sleepy is eyes closing by themselves, head nodding, reading the same line three times. You can be exhausted and not remotely sleepy. Only sleepy earns a trip to the bedroom.
- Use the bed for sleep and sex only. No laptop, no admin, no scrolling, no TV, no worrying with the lights off. Every other activity dilutes the signal.
- If you have been lying awake long enough that it is turning into frustration — roughly 15 to 20 minutes — get up and go somewhere else.
- Go back to bed only when you feel sleepy again, and repeat as many times as the night asks for. Some nights that is once. Early on it can be three or four times.
- Get up at the same time every morning, seven days a week, however badly the night went. This is the anchor that holds the whole thing steady.
- Don't nap while you are rebuilding the pattern — naps take the edge off the sleep drive you are working to build. The exception is safety, and it is not a small one: if you are too drowsy to drive or work safely, a short nap beforehand is the right call and it outranks this rule. Take it early in the day, keep it under about 30 minutes, and do not treat it as a failure.
The 20-minute rule, properly understood
This rule causes more confusion than the rest put together, usually because people treat the number as a measurement rather than a guide. Bootzin's original instruction did not specify a stopwatch figure at all — "about 15 to 20 minutes" is the everyday way clinicians make it usable.
So do not time it. Judge it by feel: if you are awake enough to be wondering whether twenty minutes have passed, they probably have, and that is your cue. The trigger is the combination of being awake and being bothered about it, not a particular reading on a clock.
In fact, clock-watching is one of the most reliable ways to keep yourself awake. Checking the time invites arithmetic (four hours and ten minutes until the alarm), arithmetic invites pressure, and pressure is arousal. Turn the clock away from the bed, or put the phone across the room where the alarm still works but the screen cannot be consulted.
One useful softening: if you are lying there calm, comfortable and untroubled, you do not have to leap up on principle. The rule exists to stop you accumulating hours of wakeful frustration in bed. If frustration is not present, the association is not being damaged much. If it is present, get up.
What to actually do when you get out of bed
The point is not punishment, and it should not feel like one. You are going somewhere else to wait for sleepiness to come back — comfortably.
Set it up in advance, during the day, so that at 3am you are not making decisions. A chair you like, a blanket left over the arm, a lamp you can put on a low setting, and something to do that you have chosen beforehand. Then going back to bed is triggered by sleepiness returning, not by finishing the chapter or by thirty minutes elapsing.
Plan the route as well as the destination. You will be doing this repeatedly, in the dark, while short on sleep — so a night light, a clear floor and slippers with grip are worth sorting out before the first night rather than after a stumble.
- Go to a different room if you can. If you cannot — or if stairs or unsteadiness are a factor — a different chair in the same room is a perfectly good substitute. The bed is the thing you are leaving, not the room.
- Keep the light low and warm. Bright overhead light and a blazing bathroom mirror both push against the sleepiness you are waiting for.
- Pick something absorbing but not gripping: a paper book you have read before, a quiet podcast, folding laundry, a jigsaw, knitting. Boring-but-pleasant is the target.
- Avoid work email, news, messages and anything with a feed. These are engineered to be alerting, and they are the most tempting thing in the house at 3am.
- Stay warm. Getting cold wakes you up thoroughly and makes the whole exercise feel like a penalty.
Common mistakes that quietly undo it
Most people who say stimulus control didn't work for them are doing one of these. They are all fixable.
- Timing the twenty minutes. The clock creates the arousal the rule is meant to reduce. Estimate; don't measure.
- Going back to bed because you are tired of being up. Boredom is not sleepiness. Wait for the heavy eyes.
- Compromising by just resting in bed with the lights off. This is the most common workaround, and it is exactly the behaviour the therapy targets. Lying quietly awake in bed still pairs bed with wakefulness.
- Reintroducing the bed as a lounge during the day — reading there on a Sunday, taking calls there, working from it. The signal you are rebuilding at night gets diluted in the afternoon.
- Letting the wake time slide at weekends. A two-hour lie-in on Saturday leaves your schedule out of step with your body clock in much the way a two-time-zone trip would — clinicians call it social jet lag — and Sunday night tends to pay for it.
- Quitting after three nights. It often feels harder before it feels easier, because in the first week or two you are trading some sleep time now against the chance of better-consolidated sleep later. Give it a fair run, ideally alongside the rest of a CBT-I programme. That persistence advice has a hard boundary, though: it does not apply if you are becoming unsafely sleepy, or your mood is shifting up or down. See the safety section for what should make you stop rather than push harder.
- Turning it into a performance. Scoring every night, checking a tracker at 4am, grading yourself — that is more pressure on the exact system you are trying to take pressure off. The aim is to stop fighting in bed, not to win.
- Ignoring the practicalities of getting up in the dark. If you are unsteady on your feet, on medication that makes you groggy, or facing a staircase, sort out lighting and a safe route first, or keep your somewhere-else in the same room.
Safety: what to expect, who should check with a clinician first, and when to stop
Be prepared for this to cost you some sleep in the short term. Getting out of bed repeatedly, holding a fixed wake time and dropping naps all reduce time in bed at first — building a stronger sleep drive is how the therapy is thought to work — and the predictable side effect is more daytime sleepiness in the first week or two. For many people that trade pays off over the following weeks. It is not a promise about how any particular person's nights will go, and if it does not pay off for you, that is information to take to a clinician, not a sign you tried badly.
That sleepiness has real consequences, so treat it seriously. Do not drive, operate machinery or do anything safety-critical while you feel drowsy. This applies to every reader, not only people who drive for a living — the commute and the school run are where most of the risk actually sits. If you are too sleepy to drive safely, a short early nap before you set off is the right choice even though the protocol says no naps. Safety outranks the protocol, every time. If your job is safety-critical — driving, machinery, healthcare shifts, anything where a lapse could hurt someone — talk to a clinician before starting and plan the timing around your roster.
Speak to a doctor before beginning stimulus control or sleep restriction if you have a seizure disorder, bipolar disorder, untreated or suspected obstructive sleep apnoea, a parasomnia such as sleepwalking, night terrors or confusional arousals, narcolepsy or any condition already causing excessive daytime sleepiness, a safety-critical job, if you are pregnant, or if you have another significant medical or psychiatric condition. If you are older or frail, or unsteady on your feet, the repeated getting-up at night is itself a falls risk and worth planning with a clinician before you start.
The parasomnia point deserves a sentence of its own on this page, because this page's central instruction is to get up and move around a dark house at 3am while short on sleep. Sleep loss is a well-established trigger for sleepwalking and related NREM parasomnias, and that combination is how people get hurt. So alongside the usual apnoea cues — loud snoring, gasping, pauses in breathing witnessed by a partner, feeling unrefreshed despite plenty of hours in bed — add these: walking, talking, or acting out dreams in your sleep. Any of them warrants an assessment rather than a behavioural programme started alone.
Once you have started, these are the signs to stop and get advice rather than push on:
If your mood drops significantly, or you find yourself feeling hopeless, please do not wait for a routine appointment. In the US you can call or text 988 for the Suicide and Crisis Lifeline; elsewhere, contact your local crisis line or emergency services. Sleep loss can pull mood down, and that is a reason to add time back and get help quickly, not a reason to try harder. None of this is medical advice, and if your sleep problems persist or you feel worse rather than better, see a clinician.
- Falling asleep unintentionally — nodding off in a chair, at your desk, in a meeting, or at the wheel.
- Any near miss while driving, or losing seconds at work you cannot account for.
- Mood becoming elevated, agitated or racing, or needing noticeably less sleep and feeling fine on it — this can signal a mood episode and needs medical attention the same week.
- Mood dropping significantly, or hopelessness setting in.
- New or worsening symptoms, or feeling markedly worse rather than simply tired.
- In every one of these cases the right response is the same: add time back to your sleep window and speak to a clinician. Pushing through is not the right response, and stopping is not failing.
How stimulus control fits into a full CBT-I programme
Stimulus control is one component of CBT-I, alongside sleep restriction (matching your time in bed to your actual sleep ability, then adjusting it week by week as your sleep efficiency changes), cognitive work on the beliefs that keep the alarm bells ringing, and relaxation methods that lower arousal.
The evidence hierarchy is worth knowing, because it tells you how to use this page. In its 2021 guideline on behavioural and psychological treatments for chronic insomnia in adults, the American Academy of Sleep Medicine made exactly one strong recommendation — for multicomponent CBT-I. Stimulus control on its own received a conditional recommendation in favour; sleep hygiene advice used as a stand-alone treatment received a conditional recommendation against. The American College of Physicians likewise recommended CBT-I as the initial treatment for chronic insomnia in its 2016 guideline. In plain terms: these rules are genuinely useful on their own, and they work better as part of the whole protocol.
Those guidelines evaluate the therapy, not any particular app — including this one. Where digital CBT-I has been tested in trials, it was specific, separately evaluated programmes such as Sleepio and Somryst; NICE's medical technologies appraisal, for instance, assessed Sleepio, one named product, rather than digital CBT-I as a category. No app, Quitude included, inherits that evidence. Quitude has not been through trials of its own.
With that stated plainly: Quitude's seven-week CBT-I programme is the free part of the app, and it sequences these steps for you in the order the protocol uses. It builds a sleep window from your own sleep diary and reviews it weekly on seven days of data, following Spielman's convention — widen the window by 15 minutes when sleep efficiency is 90% or above, hold it between 85% and 90%, tighten it by 15 minutes below 85%, and never go below a floor of 5 hours 30 minutes in bed. That floor is deliberately more conservative than the classic protocol's, precisely because nobody is supervising you week to week. Quitude is a self-help delivery of the published CBT-I protocol, not a clinical service, and not a substitute for advice from your own doctor.
Frequently asked questions
How long does stimulus control take to work?
Most CBT-I programmes run six to eight weeks, and stimulus control is usually introduced in the first week or two. Many people notice they are falling asleep faster within a few weeks, but the first stretch often feels worse rather than better, because you are deliberately spending less time in bed. Judge it over weeks, not nights, and try to resist scoring individual nights — that habit adds pressure. Two boundaries on the patience advice: do not drive or do anything safety-critical while you are drowsy, and if you are falling asleep unintentionally or your mood shifts up or down, add time back to your sleep window and speak to a clinician rather than pushing on. If nothing has shifted after a full programme, that too is a reason to talk to a clinician rather than to try harder.
Should I set a timer for the 20 minutes?
No. The twenty minutes is an estimate, not a measurement, and watching a clock is itself one of the reliable ways to stay awake. Judge by feel: if you are awake enough to be irritated about being awake, get up. If you are lying there calm and untroubled, you do not have to move on principle — the rule exists to stop wakeful frustration accumulating in bed.
What if I have nowhere to go — a studio flat, a shared room, or a partner who wakes up?
The bed is what you are leaving, not the room. A chair on the other side of a studio, with a small lamp and a blanket, works fine. If you share a bed, agree the plan with your partner in advance so a 3am exit is expected rather than alarming, and set up your chair, book and blanket before you go to bed so you are not rummaging in the dark. In a shared house, a landing, a kitchen or a well-cushioned corner is enough — though if stairs or unsteadiness are a factor, keep your spot on the same floor as your bed, and light the route properly.
Can I ever read in bed again?
For most people, yes — eventually. The strict sleep-and-sex-only rule is a treatment phase, not a life sentence. Once sleep has been stable for a while, plenty of people reintroduce a few minutes of reading in bed without the association slipping. If lying awake starts creeping back, dropping it again is usually the quickest correction.
Is stimulus control the same as sleep hygiene?
No, and the distinction matters. Sleep hygiene is general supporting advice — caffeine timing, a cool dark room, a wind-down routine. Stimulus control is a specific behavioural therapy that changes what your bed means by changing when you are in it. The AASM's 2021 guideline recommends stimulus control conditionally as a stand-alone therapy, and recommends against sleep hygiene used alone as a treatment. Good hygiene helps; it is not the treatment.
Is stimulus control safe for everyone?
No — and it is worth checking before your first night rather than after. Because the rules reduce time in bed and increase daytime sleepiness at first, speak to a clinician first if you have a seizure disorder, bipolar disorder, untreated or suspected sleep apnoea, a parasomnia such as sleepwalking or night terrors, narcolepsy or anything already causing excessive daytime sleepiness, a safety-critical job, a raised risk of falls, if you are pregnant, or if you have another significant medical or psychiatric condition. Everyone, whatever their job, should avoid driving and machinery while drowsy — and if you are too sleepy to drive safely, a short early nap beforehand is the right call even though the programme says no naps.
Try the program free
Quitude runs the CBT-I protocol from your own sleep diary — the program is free, there is no account, and your data stays on your device.
Keep reading
Why do I wake up at 3am and can't get back to sleep?
Waking at 3am is mostly normal sleep architecture — the trouble is what happens next. Why it happens, and the CBT-I approach that tends to help.
CBT-I vs sleeping pills: what the evidence actually says
CBT-I vs sleeping pills: how they compare short and long term, what sleep medicine guidelines actually say, and who each option suits.
What is CBT-I? A plain-English guide to the first-line treatment for insomnia
CBT-I is the first-line treatment for chronic insomnia. What it is, its five components, a week-by-week program, and how it compares to sleeping pills.