What to Do When You Can't Fall Back Asleep: The 20-Minute Rule
The 20-minute rule for when you can't fall back asleep: why lying there backfires, and the simple boring-room protocol to try instead.
If you're clearly awake after roughly 20 minutes, the simplest move is to get up. Go somewhere dim and dull, do something boring, and come back to bed once you actually feel sleepy — not on a schedule. This is what to do when you can't fall back asleep, and it's called stimulus control: your bed only works as a sleep cue if you mostly sleep in it. Estimate the 20 minutes; don't time it.
It sounds almost too simple to be the real answer, and yet it's one of the most consistently useful pieces of advice in sleep medicine. You already know the feeling. You've been lying there long enough to stop pretending you're nearly asleep, and you've started doing the math instead. If I drop off right now, that's four hours and ten minutes. Four hours is survivable. You turn over. You turn back. You check the time, which resets the math and somehow makes it worse.
Here's the part most people never hear: at that point in the night, lying there is doing more damage than being awake.
What to do when you can't fall back asleep
The rule, in one line: if you're clearly awake after roughly 20 minutes, get out of bed, go somewhere dim and dull, and come back once you feel sleepy.
No app, no breathing trick required, nothing to buy. It comes from a well-known idea in sleep medicine called stimulus control. Stimulus control is the practice of keeping the bed associated with sleep by getting out of it when you're awake, rather than lying there trying to force the issue.
Your brain is constantly learning what predicts what, whether you've agreed to it or not — walk into a kitchen and you're suddenly a little hungry. Beds work the same way. For most of your life, yours has reliably predicted sleep. The goal is simply keeping it that way.
Is it bad to just lie in bed awake?
Not for one night — a single night proves nothing and teaches your bed nothing. The trouble shows up over weeks, not hours.
Two things happen at once, and they compound:
- The bed is learning. Cues are built through repetition, whether or not you intend it. Fifty nights of lying awake and frustrated, running the same math, and the bed stops predicting sleep. It starts predicting waiting — a very different, more alert state.
- The effort itself is alerting. Trying to sleep is a task with a target and a way to fail, and your body responds accordingly. Sleep is one of the few things that moves further away the harder you reach for it.
Key takeaway
it's the pattern over weeks that matters, not any single rough night, so there's no need to panic about last night specifically.
How long should you wait before getting up?
Roughly 20 minutes, but estimated rather than timed. Working out how much time is left is arithmetic, and arithmetic is an alerting mental task — exactly the kind of thing you're trying to quiet down. It also turns falling asleep into a performance you can fail, and that pressure rarely helps anyone drop off faster.
Turn the clock away before bed and put the phone face down. In practice, the real trigger isn't a length of time at all — it's a feeling. The moment you notice you've started negotiating with yourself about how much sleep is left, you're already past the 20 minutes. That's the signal to get up.
What does the boring-room protocol actually look like?
The whole sequence, start to finish:
- Turn the clock away before you get into bed, not at 3am when you won't remember to.
- Lie still for a few minutes first — warm, eyes closed, not trying.
- When you notice you're negotiating with yourself, get up.
- Use a low lamp only, never an overhead light or a bright bathroom mirror light.
- Sit somewhere that isn't the bed — a different room if you have one.
- Do something dim and dull: paper, familiar, finite.
- Stay warm with a blanket or socks; getting cold wakes you up properly.
- Go back to bed when your eyes feel heavy, not when a set amount of time has passed.
- If it happens twice in one night, run the loop twice. That's not failure — it's a second wake-up, handled the same way as the first.
What counts as "dim and dull"?
Boring is the whole point, and finite matters more than people expect.
Reach for a paper book you've already read, a dull magazine, folding laundry under a low lamp, or familiar quiet audio with your eyes closed. Skip your phone entirely, along with overhead lights, anything with an inbox in it, and checking the time to see how it's going.
The phone deserves its own mention, because it's what most people reach for and what most reliably wrecks the whole plan. A book has a last page. A feed doesn't — you can't finish one, you can only give up on it, which is a worse way to arrive back in bed.
Does this work for racing thoughts, not just wakefulness?
Partly. The boring-room step gives a racing mind somewhere neutral to land, which helps plenty of people. But if the main problem most nights is genuinely anxious, fast-moving thoughts rather than simple wakefulness, pair this with an earlier wind-down — a steady routine earlier in the evening does more to prevent the racing in the first place than any middle-of-the-night fix can undo.
When is the 20-minute rule not the right tool?
This is general education for an ordinary bad night, and it doesn't cover everything.
If your daytime sleepiness is heavy enough to affect driving, or if sleep has been difficult most nights for three months or more, that's worth raising with a doctor rather than leaning harder on a checklist. Shift workers and new parents can use the same principle with smaller numbers — a short sleep window doesn't always leave room for a full get-up-and-sit-in-a-chair loop, so scale it down rather than skip it entirely.
None of that makes the rule wrong for those situations, just smaller. The underlying idea — protect what the bed means to your body — still applies even when the clock numbers have to shrink to fit real life. If you're generally curious about gentler options for the evening, our honest look at melatonin alternatives covers what the evidence actually supports.
The bed is a cue, and cues are built by what you actually do in them, not by what you meant to do. Getting up isn't giving in — it's protecting the association.
Our full sleep guide covers the rest of the evening, if you want the bigger picture.
General sleep education, not medical advice. If your sleep has been rough for more than a few weeks, or you snore, gasp, or wake up choking, please talk to a doctor. Nothing here replaces that conversation.
This article is general sleep education, not medical advice. If sleep problems persist, talk to your doctor.
Frequently asked questions
What should I do if I can't fall back asleep?
If you're clearly awake after roughly 20 minutes, get up and go somewhere dim and dull rather than continuing to lie there. Do something quiet and boring — a paper book, folding laundry under a low lamp — and come back to bed once you actually feel sleepy again.
Is it bad to just lie in bed awake?
One night changes nothing. Repeated over weeks, long stretches of lying awake and frustrated in bed can weaken the association between your bed and sleep, which is exactly what this approach is designed to protect.
How long should I wait before getting up?
Roughly 20 minutes, estimated rather than timed. Watching the clock adds an alerting mental task on top of the wakefulness itself. The practical cue is noticing you've started bargaining with yourself about how much sleep is left.
Does this work for racing thoughts, not just wakefulness?
It can help, since giving a busy mind something neutral to focus on outside of bed is genuinely useful. But if racing, anxious thoughts are the main driver most nights, an earlier wind-down routine tends to matter even more than the middle-of-the-night fix.
Keep reading
Night waking
Why Do I Wake Up at 3am? (And When It's Normal)
Waking at 3am is usually normal. Here is what your body is doing, why it keeps happening at the same hour, and what to do about it.
Wind-down routines
The 60-Minute Wind Down Routine Before Bed
A minimalist 60-minute wind-down that survives your worst night — lower the light, lower your temperature, empty your head, then bed.
Wind-down routines
How to Build a Bedtime Routine for Adults That Sticks
How to build a bedtime routine for adults that survives a bad week — four anchors that matter more than a long nightly checklist.