Learn

What to Do When You Can't Fall Asleep

The most effective answer is also the simplest, and the least welcome: do not just lie there. Here is why getting out of bed is the thing that breaks the habit.

The short answer

  • The evidence-based answer is stimulus control: if you are awake and frustrated, get out of bed, go to another room, and return only when you feel sleepy — not merely tired.
  • The AASM's 2021 guideline conditionally recommends stimulus control as a single-component therapy, and it is one of the components of multicomponent CBT-I, which is that guideline's only strong recommendation for chronic insomnia.
  • It works because the bed–sleep association is learned. Before insomnia, your bed meant sleep; lying awake in it has taught the opposite.
  • Do not watch the clock and do not keep trying to fall asleep. Effort raises hyperarousal, which is one of the factors that perpetuates chronic insomnia.
  • A few difficult nights handled this way stay a few difficult nights. Handled by spending longer in bed, they are how a short run becomes a chronic problem.

CBT-I = cognitive behavioral therapy for insomnia · AASM = American Academy of Sleep Medicine

For education only, and not a substitute for advice from your own doctor or prescriber.

Quick check

Do your answers fit the pattern for insomnia?

Four yes/no questions, about thirty seconds. Your result shows straight away, and no email is needed.

Do you have difficulty falling asleep or staying asleep for 3 or more nights a week?
Question 1 of 4

It is 2am. You have been awake a while. The question you are asking has a clear, evidence-based answer, and it is probably not the one you want.

Get up.

The technique has a name: stimulus control. It is one of the components of CBT-I, and the AASM's 2021 guideline conditionally recommends it as a single-component therapy for chronic insomnia in adults.1

The rule: when you have been awake in bed for a while and you are frustrated rather than sleepy, leave the bed. Go to another room. Do something quiet and undemanding in low light. Return when you feel sleepy — not when you feel you have been up long enough, and not when you decide you ought to try again.

Why it works

It sounds too simple to matter. It works because the association between your bed and sleep is learned, and learning runs in both directions.2

For most of your life, bed meant sleep. Then came a stretch of lying there awake — tense, checking the time, doing arithmetic about how many hours are left. Once that becomes the prevailing pattern, the bed stops cueing sleep and starts cueing alertness.

At that point, walking into the bedroom is enough to wake you slightly. People describe falling asleep on the sofa and becoming wide awake the moment they get into bed. That is not a quirk; it is conditioning doing exactly what conditioning does.

Stimulus control reverses it by breaking the pairing. If you are awake, you are not in bed. The bed is for sleep, so the bed goes back to meaning sleep.

What not to do instead

The worst response is the most natural one: stay put and keep trying. The harder you try, the more alert and tense you become. That is hyperarousal, named among the factors that perpetuate chronic insomnia — and deliberately attempting to fall asleep is a reliable way to produce it.2

Do not check the clock. It turns the night into a countdown, which never helps. It is also why the rule here uses frustration as the trigger rather than a number of minutes.

Do not compensate tomorrow. Going to bed an hour earlier to make up the loss, or sleeping in to catch up, is the most common way one rough night becomes a run of them. It spends the sleep pressure you need the next night, which makes another night of lying awake more likely.

The first few nights are harder

Getting out of bed at 2am feels like giving up on sleep, and in the short term you may get less of it.

But the mechanism is not about tonight. It is about re-establishing what the bed means, so that you sleep better in the nights that follow instead of repeating this one. Lying there feels more restful in the moment, and that is precisely what keeps the problem going.

Where this sits in treatment

Stimulus control works best as part of multicomponent CBT-I, which is the only treatment carrying a strong recommendation in the AASM's 2021 guideline. On its own it drops to a conditional recommendation.1

Pairing it with sleep restriction is particularly effective. When the sleep window is narrow and sleep pressure is high, you fall asleep quickly on returning to bed. Run stimulus control without it and you can end up out of bed for long stretches.

Common questions

Should I get out of bed if I can't sleep?
Yes. That is the core instruction of stimulus control. Go to another room, do something quiet and undemanding in low light, and return to bed only when you feel sleepy.
How long should I lie there before getting up?
Classic descriptions use a rule of about fifteen minutes, but the simpler test is whether you have noticed you are awake and frustrated rather than drowsy. Feeling alert is the better signal — and it avoids clock-watching, which works against you.
What should I do when I get up?
Something quiet, undemanding and frankly boring, in low light. Reading is the usual suggestion. Avoid anything absorbing, bright or with a reward loop — the point is to wait for sleepiness, not to start something you will want to continue.
Doesn't getting up wake me up more?
It feels that way for the first few nights, and in the short term you may get less sleep. The mechanism is not about that night — it is about un-pairing the bed from wakefulness over a couple of weeks. Lying there instead feels more restful and is what keeps the problem going.
What if I am too tired to get out of bed?
Then you are probably about to fall asleep, which is not the situation the rule is aimed at. Stimulus control targets lying awake, alert and frustrated. If you are drowsy and drifting, stay where you are.
Do I still keep my wake-up time the same?
Yes, and this is the part people most often drop. A fixed wake time holds the schedule together. Sleeping in to recover a bad night spends the sleep pressure you need to fall asleep the next one.

References

  1. Edinger JD, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2021;17(2):255-262. doi:10.5664/jcsm.8986
  2. Chronic Insomnia. StatPearls, NCBI Bookshelf.
  3. Insomnia chapter, International Classification of Sleep Disorders, Third Edition, Text Revision (ICSD-3-TR). American Academy of Sleep Medicine; 2023.
  4. Schutte-Rodin S, Broch L, Buysse D, Dorsey C, Sateia M. Clinical guideline for the evaluation and management of chronic insomnia in adults. Journal of Clinical Sleep Medicine. 2008;4(5):487-504. doi:10.5664/jcsm.27286
  5. Caffeine. StatPearls, NCBI Bookshelf.

Next in this path

Do I have insomnia?A few quick questions
Take it