
A common guideline is to get up if you think you've been lying awake for about 20 minutes, or sooner if you feel frustrated or alert. Do something calm in dim light, then return to bed only when sleepy. Treat 20 minutes as a rough guide, not a stopwatch.
If you can't sleep, a common guideline is to get out of bed after about 20 minutes of lying awake. If you feel frustrated, wired or anxious before that, you can get up sooner. The point is to keep your bed linked with sleeping rather than with tossing and worrying.
This "20 minute rule" comes from behavioral approaches to insomnia, not from a precise lab threshold. Treat it as a rough guide. Below, you'll find how to apply it without clock-watching, what to do once you're up, and when to get help.
- Aim for roughly 20 minutes, or sooner if you feel tense or alert.
- Estimate by feel. Don't stare at the clock.
- Stay in dim light and do something calm.
- Go back to bed only when sleepy.
- Keep your wake-up time steady.
Why the 20 minute rule exists
Your brain learns associations. If you regularly spend long stretches in bed awake and irritated, the bed can become a cue for alertness. Getting up breaks that pattern.
This idea is central to stimulus control, one part of cognitive behavioral therapy for insomnia. You can read more in our guide to stimulus control therapy and our CBT-I basics at home.
Can't sleep? How to decide when to get out of bed
You don't need a stopwatch. Checking the time repeatedly tends to raise pressure, which works against you.
- Get up if you think about 20 minutes have passed.
- Get up sooner if your mind is racing or you feel frustrated.
- Stay put if you feel drowsy, calm and close to drifting off.
- Turn the clock away from view if you can.
What to do once you're out of bed
- Keep the lights low. Use a lamp, not overhead lighting.
- Choose something quiet and unstimulating, such as a paper book, gentle stretching or calm audio.
- Avoid work, news, email and bright screens. See what actually matters about evening light.
- Try a slow breathing practice if you feel tense. Our breathing exercises guide and progressive muscle relaxation script are good places to start.
- Return to bed when you feel sleepy, not just tired.
- If you're awake again after roughly 20 minutes, repeat.
If your mind is racing
Worries tend to loop at night. Writing them down on paper in another room can help you set them aside until morning. Try a bedtime brain dump.
If the fear of not sleeping is itself the problem, our page on sleep anxiety covers how that cycle works and how to loosen it.
See the details, current pricing and who it suits.
Check current optionsAffiliate link: we may earn a commission at no extra cost to you.Mistakes that undo the rule
| Mistake | Why it backfires | Try instead |
|---|---|---|
| Checking the clock constantly | Raises pressure and alertness | Estimate by feel |
| Scrolling your phone in bed | Bright, engaging and keeps you awake | Get up and do something dull |
| Sleeping in after a bad night | Weakens the next night's sleep drive | Keep your wake time steady |
| Long late naps | Reduces sleepiness at bedtime | See napping and night sleep |
Recommended for youCBT-I Basics: How Cognitive Behavioral Therapy for Insomnia Works at HomeThe downsides and limits
Getting up is uncomfortable, especially on cold nights, and the first week or two can feel like you're losing sleep. Results vary, and it is not a cure for every sleep problem.
Support that makes the rule easier to follow
Getting up works better when the basics are in place. A consistent wake time, a comfortable room and a sensible caffeine cutoff all help.
- Fix your sleep schedule gradually
- Set up your bedroom and check the best room temperature
- Set a caffeine cutoff
- Track patterns with a free sleep diary
If you're weighing a supplement as well, treat it as a separate decision. Our page on whether YU SLEEP is right for you lays out what the official page claims and the unknowns, and this checklist for your doctor helps you prepare questions.
When to get help
If trouble falling or staying asleep happens most nights for a few weeks and affects your days, talk to a doctor or sleep specialist. A sleep diary makes that conversation more useful. For nights when you wake repeatedly, see trouble sleeping through the night.
Next steps
Start tonight: pick a calm, dim-light activity and place it where you can reach it. Then explore sleep better without buying anything, and consider sleep restriction therapy if you want a structured next step.
Frequently asked questions
How long should you lie in bed awake before getting up?
A widely used guideline is about 20 minutes. If you feel awake, frustrated or wired before then, you can get up sooner. The aim is to keep your bed linked with sleep, not with worry. Treat the number as approximate rather than exact.
Do I need to watch the clock for the 20 minute rule?
No. Checking the clock often adds pressure and can make you more alert. Estimate by feel instead: if you seem to have been awake a while and are getting restless or tense, get up. A rough guess is good enough.
What should I do when I get out of bed?
Go to a dimly lit spot and do something quiet and boring, such as reading a paper book, gentle stretching or listening to calm audio. Avoid bright lights, work, news and scrolling. Return to bed when you feel sleepy.
What if I keep getting up all night?
That can happen early on. Keep a steady wake-up time, keep getting up when you are awake and frustrated, and avoid long daytime naps. If it continues for weeks or affects your days, speak with a doctor or sleep professional.
Is it bad to stay in bed and rest if I can't sleep?
Resting quietly now and then is not harmful. The concern is long, tense stretches of wakefulness in bed, which can train your brain to link bed with frustration. If you are calm and relaxed, staying a bit longer is reasonable.
Should I get up if I wake at 3 AM?
The same guideline usually applies. If you have been awake roughly 20 minutes or feel alert and anxious, get up and do something calm in low light. If you wake often, track it in a sleep diary and consider talking to a doctor.
Can a supplement replace getting out of bed?
No. Getting up is a behavior technique, and supplements are a separate choice with their own evidence and cautions. If you are considering one, check with a doctor or pharmacist first, especially if you take medication.
Keep reading
Sleep Restriction Therapy: How to Try It Safely at HomeSleep restriction therapy how to: set a time-in-bed window, track your sleep, adjust weekly and kno…
Stimulus Control Therapy: Rules to Retrain Your Brain to Link Bed With SleepStimulus control therapy uses a few simple rules to retrain your brain to link bed with sleep. Lear…
Sleep Diary Template: How to Track Your Sleep for FreeA sleep diary template is the cheapest sleep tool there is: a simple log you fill in each day, on p…