by Strong Mornings See our plans

Can't fall asleep after waking up in the middle of the night

If you can't fall asleep after waking up in the middle of the night, do this: keep the lights off, don't check the time, and slow your breathing for a few minutes. If you are still wide awake after about 20 minutes, get out of bed, sit in dim light and do something dull until you feel sleepy, then go back. That, plus a steady wake time in the day, is what treatment for insomnia is built on.

Not sure how long you really lie awake? Our free 2-minute sleep quiz estimates it and gives you a starting sleep window. Below: why you can't get back to sleep, a step-by-step order for the night itself, what to do by cause, and how to stop it happening.

Why waking in the night turns into being awake

Waking briefly in the night is normal. Sleep comes in cycles of about 90 minutes, and you surface between them. Most of the time you drift straight back down and forget it. You stay awake when something keeps your alert system switched on. Usually it is one of these:

The point: the wake-up isn't the problem. How you respond in the next 20 minutes is.

What to do, in order

Minute 0 to 5: stay calm and low

  1. Don't look at the time. Turn the clock away tonight so you can't.
  2. Keep the room dark. If you need the bathroom, use a dim night light and keep your eyes half closed.
  3. Breathe out longer than in. In for 4, out for 6 to 8, ten rounds. Let your shoulders and jaw drop on each out-breath.
  4. Tell yourself the truth: "Resting in the dark is still rest. I don't need to sleep right now." Dropping the demand takes the pressure off.

Minute 5 to 20: give your mind a dull job

After about 20 minutes: get up

If you are still wide awake, or getting more wound up, leave the bedroom. Sit in a chair in dim light. Read a dull paper book, fold laundry, or listen to quiet audio. No phone, no news, no bright kitchen light, no email. Go back to bed only when your eyes feel heavy. If you're awake again 20 minutes later, repeat. This is the rule from stimulus control therapy, and it works by re-teaching your brain that bed means sleep.

You don't need to time it precisely. The feel test: if you're calm and drifting, stay. If you're frustrated, hot or alert, get up.

What to do by cause

When you wake...Try
With a busy mind or a list of worriesCognitive shuffle, notepad, then get up if it lasts. Daytime: a 10-minute worry time at 6 p.m. See waking at night with anxiety
Hot, sweaty or kicking off the coversCool the room to about 65 to 68°F, a fan, lighter layers, a change of pyjamas kept by the bed. See night sweats and can't sleep
Hungry or shakyA small snack (a banana, a slice of toast with peanut butter), and look at dinner timing. See waking up at night hungry
After an evening of drinkingWater, no more alcohol, and expect the second half of the night to be rough. See why you wake at 3 a.m. after drinking
Needing the toiletGo, in dim light, and straight back. Fewer fluids in the last 2 hours
At the same time every nightIt may be a learned pattern. See waking at the same time every night
Gasping, choking or short of breathDon't treat it as insomnia. See waking up choking and talk to a doctor

Things that make it worse

Stopping it: what to change in the day

A 2-week plan

DaysWhat to do
1 to 3Log: bedtime, rough number of times you wake, rough minutes awake, wake time, how you feel at 10 a.m. (1 to 5). Change nothing.
4 to 7Fixed wake time. Morning light. Caffeine before noon. Clock turned away. Notepad by the bed. Use the 20-minute rule every time.
8 to 10Add a 30-minute wind-down and a worry time. Cool the bedroom.
11 to 14If you still spend 30+ minutes awake on most nights, trim time in bed by 15 minutes. Compare with days 1 to 3.

A few nights will still be bad. Judge it by the week: are the awake minutes shrinking? If they aren't, the free sleep quiz can set a more exact window for you.

When to see a doctor

Talk to a doctor if you've struggled to go back to sleep three nights a week or more for over a month, or sooner if you notice:

CBT for insomnia is the recommended first treatment for long-lasting insomnia in guidelines from the American College of Physicians and the American Academy of Sleep Medicine.

Frequently asked questions

How long should I lie awake before getting up?

About 20 minutes is the usual guidance, but it's a guide. If you're frustrated or more awake, get up sooner. If you're calm and drowsy, stay.

Is it bad to wake up in the middle of the night?

No. Brief waking is normal. It matters when you are awake for long stretches most nights and tired in the day.

What should I do if I wake at 3 a.m. and can't sleep?

Follow the same steps: no clock, slow breathing, a dull mental task, and up after 20 minutes. We cover the time in waking up at 3 a.m. and waking up at 2 a.m.

Should I stay in bed with my eyes closed or get up?

Stay for the first 15 to 20 minutes if you're calm. If your mind is racing or you're frustrated, get up.

Can I use my phone to fall back asleep?

It's better not to. Screens add light and content that keep the brain engaged. Use audio at low volume, or a paper book, if you need something.

Will this stop on its own?

Sometimes, if it was triggered by a short-lived stress. If it has lasted weeks, a routine change usually helps faster than waiting.

Start tonight

Put a notepad by the bed, turn the clock to the wall, and decide on tomorrow's wake time. If you wake, breathe, shuffle words, and get up after 20 minutes if you're still wide awake. For a plan matched to your own sleep, take the free sleep quiz. More on all sleep guides.

Sources: Edinger JD et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an AASM clinical practice guideline. Journal of Clinical Sleep Medicine, 2021. Qaseem A et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine, 2016. Bootzin RR. Stimulus control treatment for insomnia. Proceedings of the American Psychological Association, 1972. American Academy of Sleep Medicine, Sleep Education: insomnia (sleepeducation.org).