Can't Sleep? What to Do Now

If you can't sleep, don't lie there fighting it. When you are still awake after about 20 minutes, sleep-medicine guidance says to get out of bed, do something quiet in dim light, and go back when you feel sleepy [1]. Pick your situation below for the next steps.

I've been awake…

You lay down less than 20 minutes ago

  1. Rest without trying to sleep. The AASM calls lying in bed and forcing yourself to sleep the worst thing you can do [2].
  2. Turn the clock to face the wall and leave the phone alone. Counting lost minutes adds stress [3].
  3. Give your body something slow to follow: a longer exhale or a quick muscle relaxation from the feet up. The military sleep method timer runs a 2-minute version.
  4. If you start to feel annoyed, you do not have to wait for an exact 20 minutes. Go to the next situation.

For a full plan for the first 10 minutes, see how to fall asleep fast.

About 20 minutes in, and you are getting frustrated

  1. Get up now. A rough guess about the time is fine [3].
  2. Go to another room and keep the light low. Stay off screens [4].
  3. Do something calm: a paper book, quiet music or an audiobook. Skip work, bills and anything exciting [3].
  4. Go back to bed when you feel sleepy, with heavy eyes and yawning. If you are awake again after a while, get up again [1].

Leaving a warm bed is hard. It is an investment in the next nights more than in this one.

You woke up in the middle of the night

  1. Expect it. Most people have about 2 or 3 wake-ups a night that they notice [3].
  2. Don't check the time. Use the bathroom if you need to, and fix the room if it is too warm or too bright [3].
  3. Still awake after about 20 minutes? Use the steps for getting up.
  4. Tomorrow, get up at your usual time and skip the nap. The NHS advises against sleeping in after a bad night [3][5].

Your mind won’t stop

  1. Stop trying to solve anything tonight. Two in the morning is a bad time for it.
  2. Write tomorrow's tasks on paper, as specifically as you can, for about 5 minutes. In a lab study this led to faster sleep than writing about finished tasks [6].
  3. Give your mind one calm job: a detailed, peaceful scene. In a small trial, imagery helped people with insomnia fall asleep faster, while general distraction did not [7].
  4. Still racing after about 20 minutes? Get up, sit somewhere dim and read something dull until you feel sleepy.

If anxiety is the main thing tonight, try 2 minutes of a longer exhale from how to calm your nervous system.

It is almost time to get up

  1. Keep your usual wake-up time instead of sleeping in. The NHS says to stick to your regular hours after a bad night [5].
  2. If the alarm is about an hour away and you are wide awake, getting up can be easier than lying there. That follows from the get-up rule; no study tested this exact case.
  3. Skip the daytime nap, which the NHS advises against with insomnia, and go to bed at your normal time tonight [3][5].
  4. Don't drive if you feel very sleepy [5].

This has happened for many nights

  1. Count it. Chronic insomnia means trouble sleeping 3 or more nights a week for more than 3 months [8].
  2. Keep a simple sleep diary for 1 or 2 weeks. Doctors may ask for one [8].
  3. See a GP or doctor if changing your habits has not helped, the problem has lasted months, or it makes the day hard to cope with [5].
  4. Ask about cognitive behavioral therapy for insomnia (CBT-I). It is usually the first treatment for long-term insomnia, a 6- to 8-week plan [9], and European guidelines recommend it first for adults of any age [10].

General information, not medical advice. The times are guides; you do not need to check a clock.

Quietarium editorial team Updated Sources: 21

What to do when you can't sleep: the 20-minute rule

Get out of bed when you can't sleep, keep the light low, and come back only when you feel sleepy. This is called stimulus control. The 2021 AASM guideline for chronic insomnia suggests it and lists its instructions: go to bed only when sleepy, get out of bed when unable to sleep, use the bed only for sleep and sex, wake at the same time every morning, and skip daytime naps [11].

  1. Get up. Guess the time rather than checking it.
  2. Change rooms. A chair in another room, with one soft lamp on.
  3. Pick something dull. A paper book, folding laundry, quiet music. No phone, no email, no TV series.
  4. Return when sleepy. Heavy eyelids and yawning are the signal, whatever time it is.
  5. Repeat if needed. Some nights take two or three rounds. Get up at your usual time anyway.

If you have been lying in bed for hours and still can't sleep, you have not missed your chance: get up now and start at step 1.

The guideline adds that the rule may need changes for people at high risk of falls, with mobility problems, or taking sleeping pills [11]. If getting up at night is unsafe for you, keep the path lit and ask your doctor how to adapt it.

Where "20 minutes" comes from (and why it is a guess)

The number comes from patient guides, and the clinical guideline itself does not set one. The AASM's page for patients says: "If you are not asleep after about 20 minutes, then you are to get out of bed to do something else relaxing" [1]. Another AASM page puts it as "about 15 to 20 minutes for most people", counted from when you begin to get frustrated [12]. The 2021 guideline only says to get out of bed when you are unable to sleep [11].

The signal is frustration, not the clock.

How well does the rule work? A 2024 meta-analysis pooled 11 trials, most of them from 1978 to 1998. Against no treatment, stimulus control gave small to large gains in time to fall asleep and total sleep (g = 0.38 to 0.85). Against other active treatments the differences were negligible (g = 0.06 to 0.30), and the authors call for more robust studies [13].

What to do when you wake up in the middle of the night

It is 3 a.m., the phone is right there, and you want to know how long you have left. Leave it. Waking up at night is normal, and counting the missed minutes adds stress that can delay sleep [3]. If you wake up already anxious and it carries into the day, see morning anxiety.

  • If you need the bathroom or the room is too warm, deal with it quickly and quietly, then lie back down [3].
  • If you keep checking the time, turn the clock around. In a sleep clinic sample of 1,078 patients, those who watched the clock more often had more severe insomnia. That study shows a link, not that clock-watching causes insomnia [14].
  • If pain keeps you awake, follow your doctor's plan for nighttime pain first.
  • If you are still awake after about 20 minutes, get up and follow the rule above.

In the morning, get up at your usual time.

When your mind won't stop: worries, lists and pictures

Spend 5 minutes writing tomorrow's tasks on paper, then give your mind one calm picture. In a lab study of 57 healthy young adults, those who wrote a specific to-do list at bedtime fell asleep faster than those who wrote about tasks they had finished, and the more specific the list, the faster they fell asleep [6].

Worry gets a similar treatment in an older trial. Students with insomnia who wrote down their worries along with a possible next step had less mental arousal before sleep than those who only wrote worries [15]. That trial had 33 students and did not measure how fast they fell asleep. For worries that also follow you through the day, see how to stop overthinking.

For the picture, choose one quiet scene and fill in details: the light, the sounds, the temperature. In 41 people with insomnia, imagery cut the time to fall asleep, and general distraction did not [7]. If you feel spaced out or panicky rather than busy-minded, 5-4-3-2-1 grounding may suit you better. If you would rather breathe than picture a scene, breathing exercises for sleep has a dim night timer.

Should you stay up if you can't sleep?

Stay up only until you feel sleepy, and do it out of bed. NHS inform says it is better to stay up until you are ready to sleep than to go to bed early and worry about not sleeping [16].

Pulling an all-nighter on purpose does not fix the next night. The NHS advice after a bad night is the opposite of catching up: keep your usual hours, don't sleep in, and don't nap [5]. You may feel worse the next day, and that extra sleep pressure helps the following night [3]. Do not drive if you feel very sleepy.

Why won't my body let me sleep?

Often there is no single cause you can find in one night, and that is all right. The NHS lists the most common causes of insomnia: stress, anxiety or depression, noise, a room that is too hot or cold, an uncomfortable bed, alcohol, caffeine or nicotine, jet lag and shift work [5].

  • If you had a drink to relax, expect lighter sleep. Alcohol can make it easier to fall asleep but makes waking up during the night more likely [9].
  • If coffee or tea was your afternoon habit, the NHS advises none in the 6 hours before bed [5].
  • If someone says you snore or gasp in your sleep, mention it to a doctor. Breathing that stops and restarts during sleep is sleep apnea [17].
  • If your legs have a strong urge to move when you rest at night, that is the main sign of restless legs syndrome [18].
  • If worry is the loudest thing, go back to the section on lists and pictures.

Signs that need a doctor are listed at the end of the page.

What's checked and what's only advice

The get-up rule has the best evidence of the common tips; the clock, the list and the warm drink have much less.

TipStatusWhat is known
Get out of bed when you can't sleepSupported, modestSuggested by the AASM for chronic insomnia, based on low-quality evidence from 8 studies [11]; gains over no treatment in a meta-analysis of 11 trials [13].
Exactly 20 minutesA rule of thumbComes from patient guides, not from the guideline [1].
Don't watch the clockIndirectLinked with more severe insomnia in one clinic sample; cause not shown [14].
Write a to-do listOne lab studyHealthy young adults fell asleep faster [6].
Write worries plus a next stepPreliminaryLess pre-sleep arousal in 33 students [15].
Picture a calm scenePreliminaryOne small trial in insomnia [7].
Try to stay awake (paradoxical intention)PromisingA meta-analysis of 10 trials found clear gains and asked for stronger studies [19].
A nightcapWorks against youLighter sleep, more night waking [9].

Frequently asked questions

What drinks will help me sleep?

No drink has been shown in the sources we checked to put you to sleep. The NHS suggests a warm milky drink or herbal tea instead of caffeine in the evening, as a calming habit [20]. Alcohol is the one to avoid: it can help you fall asleep but makes sleep lighter and night waking more likely [9].

How can I fall asleep right now?

Lie still, make each out-breath longer than the in-breath, and relax your muscles. If it has been about 20 minutes, get up for a while instead. A 10-minute plan with a timer is on how to fall asleep fast.

Why can’t I sleep even though I’m tired?

Being tired and being sleepy are not the same thing. Your body can be worn out while your mind is still busy with the day. A quiet hour before bed and a written to-do list help close the day, and a sleepy feeling usually follows.

Is it OK to lie in bed and rest if I can’t sleep?

For a short while, yes. Lying awake for a long time teaches your brain that bed is a place to be awake, which is what the get-up rule tries to undo [9].

When to see a professional

If you sleep fine but hours later than you need to, that is a schedule problem: the sleep schedule planner moves it back in small steps. A few bad nights are common and usually pass. Book an appointment if:

  • changing your sleep habits has not helped, you have had trouble sleeping for months, or it makes daily life hard to cope with [5];
  • it happens 3 or more nights a week and has lasted more than 3 months, which is how the NHLBI describes chronic insomnia [8];
  • your breathing stops and starts while you sleep, you make gasping, snorting or choking noises, or you always feel very tired during the day [21];
  • an urge to move your legs is stopping you from sleeping [18].

Ask about CBT-I rather than sleeping pills. The NHS says GPs now rarely prescribe sleeping pills for insomnia [5]. Before taking any sleep aid or supplement, check with a doctor or pharmacist.

If getting up at night makes you dizzy or unsteady, sit on the edge of the bed for a minute first, and keep a light on the way.

If you feel very bad right now

Emergency, US and Canada 911

If you are thinking about suicide or are afraid you might hurt yourself, call or text now. You do not have to wait until it gets worse.

  • Emergency, US and Canada 911
  • Crisis line, US and Canada (free, 24/7) 988, call or text

All countries and lines

Author
Quietarium editorial team
Updated

This page does not replace advice from a doctor. Medical disclaimer · Editorial policy

Sources: 21

  1. American Academy of Sleep Medicine. Cognitive behavioral therapy for insomnia: stimulus control. sleepeducation.org. sleepeducation.org (accessed October 19, 2026). Patient guide.
  2. American Academy of Sleep Medicine. Can't sleep? Do this, not that (2021). sleepeducation.org. sleepeducation.org (accessed October 19, 2026). Patient guide.
  3. Johns Hopkins Medicine. Up in the middle of the night? How to get back to sleep (with Luis F. Buenaver, PhD). hopkinsmedicine.org (accessed October 19, 2026). Hospital patient guide.
  4. American Academy of Sleep Medicine. Healthy sleep habits. sleepeducation.org. sleepeducation.org (accessed October 19, 2026). Patient guide.
  5. NHS. Insomnia. Reviewed March 19, 2024. nhs.uk (accessed October 19, 2026). Patient guide.
  6. 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. PubMed 29058942. Randomized laboratory study, 57 healthy adults aged 18 to 30.
  7. Harvey AG, Payne S. The management of unwanted pre-sleep thoughts in insomnia: distraction with imagery versus general distraction. Behav Res Ther. 2002;40(3):267-277. doi:10.1016/s0005-7967(01)00012-2. PubMed 11863237. Controlled trial, 41 people with insomnia.
  8. National Heart, Lung, and Blood Institute. Insomnia: what is insomnia? nhlbi.nih.gov (accessed October 19, 2026). Government patient guide.
  9. National Heart, Lung, and Blood Institute. Insomnia: treatment. nhlbi.nih.gov (accessed October 19, 2026). Government patient guide.
  10. Riemann D, Espie CA, Altena E, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res. 2023;32(6):e14035. doi:10.1111/jsr.14035. PubMed 38016484. Clinical practice guideline.
  11. Edinger JD, Arnedt JT, Bertisch SM, 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. PubMed 33164742. Clinical practice guideline.
  12. American Academy of Sleep Medicine. Improve your sleep in five simple steps. sleepeducation.org. sleepeducation.org (accessed October 19, 2026). Patient guide.
  13. Jansson-Fröjmark M, Nordenstam L, Alfonsson S, Bohman B, Rozental A, Norell-Clarke A. Stimulus control for insomnia: a systematic review and meta-analysis. J Sleep Res. 2024;33(1):e14002. doi:10.1111/jsr.14002. PubMed 37496454. Systematic review and meta-analysis.
  14. Krakow B, Krakow J, Ulibarri VA, et al. Nocturnal time monitoring behavior ("clock-watching") in patients presenting to a sleep medical center with insomnia and posttraumatic stress symptoms. J Nerv Ment Dis. 2012;200(9):821-825. doi:10.1097/NMD.0b013e318266bba3. PubMed 22932731. Retrospective chart review, 1,078 patients.
  15. Carney CE, Waters WF. Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia. Behav Sleep Med. 2006;4(1):13-28. doi:10.1207/s15402010bsm0401_2. PubMed 16390282. Randomized trial, 33 students.
  16. NHS inform. Insomnia. nhsinform.scot (accessed October 19, 2026). Patient guide.
  17. National Heart, Lung, and Blood Institute. Sleep apnea. nhlbi.nih.gov (accessed October 19, 2026). Government patient guide.
  18. NHS. Restless legs syndrome. nhs.uk (accessed October 19, 2026). Patient guide.
  19. Jansson-Fröjmark M, Alfonsson S, Bohman B, Rozental A, Norell-Clarke A. Paradoxical intention for insomnia: a systematic review and meta-analysis. J Sleep Res. 2022;31(2):e13464. doi:10.1111/jsr.13464. PubMed 34405469. Systematic review and meta-analysis.
  20. NHS Every Mind Matters. How to fall asleep faster and sleep better. nhs.uk (accessed October 19, 2026). Patient guide.
  21. NHS. Sleep apnoea. nhs.uk (accessed October 19, 2026). Patient guide.