Lying in Bed for Hours and Can't Sleep? What to Do

What sleep specialists suggest when you are awake in the night: the 20-minute rule, a bedtime to-do list, daytime habits, and when to talk with a provider.

Sleep Supplements & Science 12 min read September 23, 2026
Lying in Bed for Hours and Can't Sleep? What to Do

Anirva sells Sleep Harmony, a dietary supplement. This article shares research for general education and is not medical advice.

It is the middle of the night, and you have been lying in bed for what feels like hours. Here's the well-studied step sleep specialists suggest, what else helps, and when it's worth talking with a provider.

Key takeaways
  • The 20-minute rule: if you're not asleep after about 20 minutes, sleep specialists suggest leaving bed for something relaxing and returning when you feel sleepy. [1]
  • Go by how long it feels, not the clock. AASM guidance says to leave bed once you perceive about 20 minutes awake, rather than watching the time. [1]
  • A five-minute to-do list helped 57 young adults fall asleep about nine minutes faster in one sleep-lab study. [11][12]
  • You cannot force tiredness, but daytime habits such as exercise, morning light and caffeine timing can help. [15][16][17]
  • If it happens three nights a week for three months, talk with a provider — CBT-I is the first-line treatment for chronic insomnia. [6][10]

Facts at a Glance

Fact Detail
The rule to try Leave bed after about 20 perceived minutes awake; return when sleepy [1]
To-do list effect About 9 minutes faster to fall asleep in a 57-person lab study [11][12]
Average time to fall asleep 10 to 20 minutes for most people [7]
Chronic insomnia threshold 3+ nights a week for 3+ months, affects ~10% of adults [10]
Last reviewed [DATE]

Why Lying Awake in Bed Can Make It Harder

Most people need about 10 to 20 minutes to fall asleep. [7] Cleveland Clinic's behavioral sleep specialist adds that this is only an average. It becomes a problem only if it keeps you from enough sleep or causes stress. [8]

Lying in bed awake for a long time can also make the next night harder. The AASM's clinical guideline explains that long stretches awake in bed can link the bed with wakefulness, frustration and worry. [1] AASM's patient guide describes how people begin to dread bedtime, expecting to toss and turn for hours. [2]

The 20-Minute Rule

The step sleep specialists describe is called stimulus control — one part of cognitive behavioral therapy for insomnia, or CBT-I. The AASM guideline lists its instructions. [1] They include going to bed only when sleepy, keeping a regular schedule, skipping naps and using the bed only for sleep. If you can't fall asleep within 20 minutes, the instruction is to get out of bed, do something relaxing until you feel drowsy, then return to bed — and repeat as needed.

The guideline adds that the 20 minutes is perceived time: people are advised to leave bed once they sense about 20 minutes have passed, rather than watching the clock. [1] AASM's patient guide also suggests doing something else relaxing after about 20 minutes. [2] Cleveland Clinic's CBT-I page describes the same idea as the 15- to 20-minute rule and suggests planning ahead for what you'll do after you get up. [3]

Worth knowing: Most of this evidence is from people with chronic insomnia. We did not find trials in people who occasionally lie awake. AASM's 2021 guideline gives a conditional recommendation for stimulus control as a single therapy for chronic insomnia, and a strong recommendation for full CBT-I. [5]

A cozy reading armchair beside a softly lit floor lamp in a quiet living room at night, a book resting open on the armrest, suggesting the moment of getting up from bed to do something relaxing elsewhere in the house. A Sleep Harmony bottle rests in sharp focus in the foreground on a small side table beside the chair. Warm, dim lamp light, calm nighttime mood, but not a bedroom or nightstand scene, shallow depth of field keeping the bottle the clear focal point

When Your Mind Won't Slow Down

Racing thoughts are a common reason for lying awake. In a 2018 sleep-lab study, 57 healthy adults aged 18 to 30 spent five minutes writing before bed. [11] Those who wrote a to-do list fell asleep significantly faster than those who wrote about tasks they had completed. The difference was about nine minutes, and more specific lists went with faster sleep. [12]

The researchers noted that they studied healthy young adults, so it is not known whether the results apply to people with insomnia. [13] Relaxation therapy also has support: AASM's 2021 guideline gives a conditional recommendation for it as a single therapy for chronic insomnia. [5] Cleveland Clinic's specialists suggest a relaxing routine such as a bath, reading or meditation.

How Can You Make Yourself Tired?

You cannot force tiredness, but a few things build the drive to sleep and steady your body clock. Sleep pressure depends on how long you have been awake and on the time of day. [14] The table below shows what studies found for daytime habits.

Habit What Studies Found Note
Regular exercise Small-to-medium benefit for time to fall asleep in a meta-analysis of 66 studies Kredlow 2015 [15]
Warm bath or shower, 1–2 hrs before bed About 10 minutes shorter time to fall asleep in a review of 17 studies Haghayegh 2019 [16]
Bedtime to-do list About 9 minutes faster in a lab study of 57 healthy young adults Scullin 2018 [11]
Caffeine timing 400 mg six hours before bed cut total sleep by more than an hour Drake 2013 [17]
Naps Avoiding naps is part of AASM's stimulus-control instructions AASM guideline [1]
Consistent wake time & morning light Suggested by Cleveland Clinic's sleep specialists No trial of its own

Cleveland Clinic's specialist also suggests not getting into bed until you are actually sleepy, which fits the stimulus-control instructions. [8]

Why Can't I Get Comfortable?

If the problem is getting comfortable, several things can play a part. Cleveland Clinic notes that being too hot can disrupt sleep and that 60 to 67°F (15 to 19°C) is the range it suggests for the bedroom. [9] A behavioral sleep specialist there also notes that restless legs syndrome can affect how long it takes to fall asleep. [8] The Sleep Foundation notes that people in pain or discomfort often have difficulty getting deep sleep. [18] If discomfort keeps returning, a healthcare provider can help find the cause.

When Lying Awake Is More Than a Rough Night

Occasional bad nights are common. AASM describes chronic insomnia as occurring at least three times a week for at least three months, and it estimates that about 10% of adults have it. [10] In that case, the American College of Physicians recommends CBT-I as the initial treatment, [6] and the AASM guideline gives it a strong recommendation. [1] CBT-I typically takes four to eight sessions. [4]

Cleveland Clinic notes that stress is one of the main causes of insomnia. [9] If worries or low mood are keeping you awake, a provider can help with that as well.

Before trying anything new

If you often lie awake, feel very sleepy in the day, snore loudly or notice leg discomfort at night, a healthcare provider can help look for causes. Many medicines can affect sleep, and Cleveland Clinic suggests telling your provider if you notice sleep changes after starting one, rather than stopping it on your own. If you are pregnant, nursing, take prescription medicines or have a health condition, it is a good idea to check with your provider before trying anything new.

Free tool

Curious what's actually disrupting your sleep?

Try our free Sleep Calculator — it'll help you find your ideal sleep schedule and match you with the right approach for your specific sleep issue.

Try the Sleep Calculator →

If You'd Like to Try One Thing Tonight

If you'd like to try one thing tonight, the best-supported step is the 20-minute rule, with a consistent wake time the next morning. Choosing in advance where you'll go and what you'll do can make it easier to follow through. If the same pattern continues for weeks, a provider trained in CBT-I can guide the rest.

The Short Version

Sleep specialists suggest that when you've been awake about 20 minutes, you leave bed for something relaxing and return when you feel sleepy. A short to-do list before bed and steady daytime habits may help too. If lying awake happens three nights a week for three months, CBT-I is the first-line treatment, and a provider can help you find it.

Frequently Asked Questions

What should I do if I've been lying in bed for hours and can't sleep?
Sleep specialists suggest getting out of bed once you perceive about 20 minutes awake, doing something relaxing in low light, and returning when you feel sleepy. You can repeat this as needed. Keeping a consistent wake time the next morning is part of the same approach. [1]
Is it okay to stay in bed and rest if I can't sleep?
We did not find studies that compare staying in bed with getting up on an occasional bad night. AASM's guidance for chronic insomnia suggests leaving bed after about 20 minutes so the bed stays linked with sleep, going by how long it feels rather than watching the clock. [1]
How can I make myself tired at night?
You cannot force tiredness. Sleep pressure builds with time awake, and regular exercise, morning light, avoiding late naps and keeping caffeine early may help. [15][17] A five-minute to-do list before bed helped healthy young adults fall asleep about nine minutes faster in one study. [11]
Why can't I get comfortable to sleep?
Temperature, pain and restless legs can all play a part. Cleveland Clinic suggests a bedroom at 60 to 67°F, and it notes restless legs syndrome can affect how long it takes to fall asleep. [9][8] If discomfort returns often, a healthcare provider can help find the cause.
How long should it take to fall asleep?
Most people fall asleep in about 10 to 20 minutes, according to Cleveland Clinic's sleep specialist. [7] It's an average, and it varies from person to person — mainly a concern when it keeps you from enough sleep or causes stress. [8]
When should I see a doctor about not being able to sleep?
Chronic insomnia means trouble sleeping at least three times a week for at least three months, with daytime effects. [10] Talk with a provider sooner if you feel very sleepy in the day, snore loudly or have leg discomfort at night. CBT-I is the first-line treatment for chronic insomnia. [6]

References

  1. Schutte-Rodin S, Broch L, Buysse D, Dorsey C, Sateia M. Clinical guideline for the evaluation and management of chronic insomnia in adults. J Clin Sleep Med. 2008;4(5):487–504. (Stimulus-control instructions, Table 11.)
  2. American Academy of Sleep Medicine. Cognitive behavioral therapy. Sleep Education patient guide.
  3. Cleveland Clinic. Cognitive behavioral therapy for insomnia (CBT-I): what it is. Updated February 2026.
  4. American Academy of Sleep Medicine. New guideline supports behavioral, psychological treatments for insomnia. December 2020.
  5. AJMC. New AASM guidelines support behavioral, psychological treatments for insomnia. (Summary of Edinger et al., J Clin Sleep Med. 2021;17(2):255–262.)
  6. Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD. 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.
  7. Cleveland Clinic. How long should it take to fall asleep? January 28, 2026.
  8. Cleveland Clinic Newsroom. How long should it take you to fall asleep. June 22, 2026.
  9. Cleveland Clinic. Here's how to get more deep sleep and REM sleep. May 9, 2025.
  10. American Academy of Sleep Medicine. Insomnia Awareness Day facts and stats. Sleep Education.
  11. Scullin MK, Krueger ML, Ballard HK, Pruett N, Bliwise DL. The effects of bedtime writing on difficulty falling asleep: a polysomnographic study comparing to-do lists and completed activity lists. J Exp Psychol Gen. 2018;147(1):139–146. doi:10.1037/xge0000374.
  12. Denworth L. The connection between writing and sleep. Psychology Today. January 2018. (Average difference in minutes.)
  13. HealthDay. To-do list before bedtime prompts better sleep. 2018. (Study limitations noted by the author.)
  14. Zisapel N. New perspectives on the role of melatonin in human sleep, circadian rhythms and their regulation. Br J Pharmacol. 2018;175(16):3190–3199. PMC6057895.
  15. Kredlow MA, Capozzoli MC, Hearon BA, Calkins AW, Otto MW. The effects of physical activity on sleep: a meta-analytic review. J Behav Med. 2015;38(3):427–449. PMID 25596964; doi:10.1007/s10865-015-9617-6.
  16. Haghayegh S, Khoshnevis S, Smolensky MH, Diller KR, Castriotta RJ. Before-bedtime passive body heating by warm shower or bath to improve sleep: a systematic review and meta-analysis. Sleep Med Rev. 2019;46:124–135. PMID 31102877; doi:10.1016/j.smrv.2019.04.008.
  17. Drake C, Roehrs T, Shambroom J, Roth T. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med. 2013;9(11):1195–1200. PMID 24235903; doi:10.5664/jcsm.3170.
  18. Sleep Foundation. How to get more deep sleep: tips for a restful night. Updated March 12, 2026.
A note on evidence The 20-minute rule is the best-supported step for a wakeful night, and CBT-I is the first-line treatment when it becomes chronic insomnia.
20-minute rule can't sleep CBT-I insomnia sleep habits
AA
ANIRVA Admin
Anirva Editorial