Somnera
CBT-I science

Should I get out of bed when I can't sleep? Yes - here's exactly how

Stimulus control is the least glamorous part of CBT-I and one of the best evidenced. What to do at 2:47am, where to go, and why the twenty minutes is not literal.

5 min read

Last reviewed September 2, 2026

A path leaving an outlined rectangle, looping out and around, and returning to the same edge.

Share

Yes. And the reason is not that lying there is unpleasant - it is that lying there awake is how a bed becomes a place your body expects to be awake.

This is stimulus control. It gets less attention than sleep restriction and it is one of the best-evidenced pieces of the whole approach - the AASM's behavioral guideline names it specifically as a single-component therapy with its own recommendation. Almost nothing written about it is written for the person who is actually awake right now.

What is going wrong

A bed is a cue. For most people it cues sleepiness, in the same automatic way a kitchen cues hunger. It gets that power from repetition - hundreds of nights of lying down and falling asleep.

Repetition works in both directions. Enough nights of lying down and being awake, tense, checking the clock and calculating how many hours are left, and the cue changes meaning. The bed starts to reliably produce alertness.

People notice this without knowing what it is. Falling asleep on the sofa and then being wide awake the moment you get into bed is the classic version. Same body, same tiredness, different room - and the room is the variable.

The rules, in plain form

Bed is for sleep. Not scrolling, not television, not worrying, not working. Sex is the exception every version of this protocol makes.

Only get in when you are sleepy. Sleepy is not the same as tired. Tired is heavy limbs and no energy - which you have all day. Sleepy is eyes closing on their own, losing the thread of a sentence. Confusing the two is one of the most common ways people end up lying awake.

If you are awake, get up. Whether that is at the start of the night or at 3am.

Go back when you are sleepy again. Not when you have decided enough time has passed.

Get up at the same time every morning, regardless of what the night did. This is the anchor for everything else.

No daytime napping while you are doing this. It spends the pressure you need at night.

The twenty minutes is not literal

Every protocol says something like fifteen to twenty minutes. Then people set a timer or watch the clock, and the watching is itself arousing - now there is a deadline, and failing it means something.

Judge it by feel. The rule that works better: if you are awake enough to be wondering how long you have been awake, get up.

If it helps, turn the clock away from the bed entirely. Knowing it is 3:12am has never once helped anybody get back to sleep, and the arithmetic that follows - four hours and eighteen minutes until the alarm - is a reliable way to make it worse.

What to actually do when you are up

This is where the advice usually stops, so:

Take the free assessment to see:

  • Your Insomnia Severity Index (ISI) score
  • A personalized 6-week CBT-I plan, built by a sleep physician
  • How your sleep improves, night by night
Start free assessment

Go somewhere else if you can. A different room is ideal because the point is to be awake outside the bed. If you live in one room, a chair on the other side of it counts - just not in or on the bed.

Keep the light low. Enough to read by. Not the overhead. Bright light is a signal to the body clock and you do not want to send it at 3am.

Get warm first. Being cold will keep you up on its own. Blanket, dressing gown, socks. This sounds trivial and it is the reason a lot of people refuse to get out of bed in winter.

Do something absorbing but not compelling. A novel you are enjoying but not gripped by. Folding laundry. A podcast at low volume. Something you can stop mid-way without minding.

Not the phone. Not because of blue light - that argument is weaker than it is usually presented - but because of what is on it. Email, messages, news and social feeds are engineered to hold attention, and every one of them can hand you something to think about for the next hour.

Do not try to sleep out there. If you drift off on the sofa you have taught your body that the sofa is where sleep happens, which is the same problem in a new location. Go back to bed when sleepy.

The objection, answered

"But then I'll be more awake."

Briefly, yes. That is the cost and it is real.

What you are buying is that the bed stops being the place where you lie awake doing arithmetic about the alarm. That takes a couple of weeks of consistency and then it starts paying every night rather than costing you one.

The version most people run instead - staying put, trying harder, waiting - feels less disruptive and is exactly the practice that built the association in the first place.

Where it fits

Stimulus control repairs the association. Sleep restriction builds the pressure. They are two different jobs and the guideline recommends the multicomponent version - all of it together - far more strongly than any single piece.

If your problem is more the thinking than the lying there, a racing mind at night is a different mechanism with a different answer.

More in CBT-I science.

Somnera is a self-guided education program built on CBT-I, founded and written by Dr. Camilo Ruiz, DO, FACOI, FAASM. It is not a diagnosis and does not replace care from your own clinician. The assessment is free.

Citations

  • Edinger JD, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2021;17(2):255–262. doi:10.5664/jcsm.8986
  • Qaseem A, et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med. 2016;165(2):125–133. doi:10.7326/M15-2175
  • Espie CA, et al. The attention–intention–effort pathway in the development of psychophysiologic insomnia: a theoretical review. Sleep Med Rev. 2006;10(4):215–245. doi:10.1016/j.smrv.2006.03.002

Frequently asked questions

Protocols usually say fifteen to twenty minutes, but you judge it by feel, not by a clock. If you are awake enough to be wondering how long it has been, that is your answer. Checking the time is itself part of the problem.

Briefly, yes. The trade is that lying awake in bed strengthens the association between the bed and being awake, which is what makes tomorrow night harder. You are spending a little alertness tonight to buy back the bed.

Another room if you have one, dim light, something absorbing but not compelling - a book, folding laundry, a podcast at low volume. Not your phone, not email, not anything with an outcome you care about. Warm and boring is the target.

It is fine as a place to be awake. It is not fine as a place to fall asleep, because then the sofa becomes where you sleep and the bed stays where you lie awake. Go back to bed when you feel sleepy.

Early on, yes - that is when the association is being rebuilt. It usually gets easier fast, because the nights it works reduce how often you need it.