How to fall back asleep after waking up in the night

Woke up at 3am? How to fall back asleep: what to do in the first minutes, a 3-minute script, what helps after a nightmare, and when to see a doctor.

Updated September 25, 2026 · 8 min read

To fall back asleep, keep the light off, don't look at the clock, and treat the next few minutes as rest rather than a task: breathe out a little longer than you breathe in, let your body get heavy, and let thoughts wait until morning. If you're still awake after around 20 minutes, the NHS suggests getting up, doing something relaxing somewhere comfortable, and going back to bed when you feel sleepy.

Waking up in the night is common. IQWiG's patient site explains that sleep runs in cycles of about 90 to 110 minutes and that some people completely or partially wake up after a cycle ends. Below you'll find what to do in the first minutes, a short script, what helps at 3am or after a nightmare, and when it's worth seeing a doctor.

What to do in the first 5 minutes after waking up

The first few minutes decide whether you drift back or wake up fully. Keep everything small and dark.

  1. Don't check the time. The NHS suggests keeping clocks out of view and placing your phone face down. Knowing it's 3:12 starts a countdown in your head.
  2. Stay in the dark. If you need the bathroom, use the smallest light you can and come straight back.
  3. Stay still for a moment. Don't turn over five times. Find one comfortable position and let the bed hold you.
  4. Lengthen the out-breath. Breathe in normally, breathe out slowly, like a quiet sigh. Three or four times, then let it go back to normal.
  5. Label it and let it go. "I woke up. That happens." Then turn your attention to something physical: the weight of your hands, the pillow under your head.

A 3-minute script to fall back asleep

We wrote this for the moment you wake up and notice you're awake. Go through it in your mind, slowly. Each (pause) is about two calm breaths.

I've woken up. Many people do. It's all right. (pause) I don't need to fall asleep right now. I only need to lie here and rest. (pause) I let the mattress take my weight. My shoulders. My back. My hips. My legs. (pause) I breathe in, and I breathe out slowly. The out-breath is a little longer. (pause) My forehead is smooth. My eyes are heavy. My jaw is loose. (pause) My right hand is heavy. My left hand is heavy. My right foot. My left foot. (pause) If a thought comes, I let it pass like a car outside the window. It can come back in the morning. (pause) The room is quiet. The night is long enough. There's nothing to do. (long pause)

If you're still awake at the end, go back to the hands and feet and go more slowly. Counting backward slowly from a big number, such as 300, is another quiet way to keep your mind occupied without effort.

How to fall back asleep at 3am

Waking at 3 or 4 in the morning feels worse than waking at midnight, because the "how much sleep is left" math starts immediately. A few things help specifically at that hour:

  • Don't start solving problems. If a worry won't leave you alone, write it down in two words and tell yourself you'll deal with it after breakfast. Our racing thoughts guide explains the notice, name, come back steps.
  • Check the room. Too warm under the blanket? Is there a new sound or light? The NHS lists noise and a room that's too hot or cold among the most common causes of sleep problems.
  • Think back to the evening. IQWiG notes that even if some people fall asleep faster after drinking alcohol, it makes their sleep less restful. If early waking follows evenings with a drink, that's worth noticing.

How to fall back asleep fast

There's no reliable way to force it, and trying hard backfires. IQWiG puts it plainly: "Lying in bed and worrying about not being able to fall asleep can actually prevent you from sleeping." The fastest route is usually the calmest one: dark, still, a slow out-breath, a heavy body, no clock.

Some people use a structured relaxation, like the five-step military sleep method. It can help you relax, but there's no evidence for its "two minutes" promise.

How to fall back asleep after a nightmare

After a bad dream your body is often still on alert. Settle that first, then think about sleep.

  1. Get your bearings. Open your eyes. Look at something familiar in the room. Say to yourself where you are and that it was a dream.
  2. Turn on a dim light if the dark feels too close. Sit up and feel your feet on the floor.
  3. Breathe out slowly a few times, longer than you breathe in.
  4. Change the picture. Before you lie down, choose a calm, unrelated scene to think about: a walk you like, a room you feel safe in. Our guided visualization for sleep has one written out.
  5. Lie down again and go through the 3-minute script above.

The NHS lists nightmares among the things that can keep you from getting a good night's sleep. If they happen often or leave you dreading bedtime, talk to a doctor.

How to fall back asleep in the morning

Waking an hour before the alarm is its own case. If it's close to your wake-up time, resting quietly with your eyes closed is fine, and so is getting up. What the NHS advises against is sleeping in to make up for it: wake up and get out of bed at the same time every day, and don't sleep in after a bad night.

If you regularly wake up early and can't go back to sleep, the NHS counts that among the signs of insomnia.

If you're still awake after 20 minutes

Both the NHS and IQWiG suggest getting up rather than lying awake for a long time. IQWiG describes this as part of stimulus control, which aims to create a strong association between your bed and sleeping. One of its rules is: "Get up if you are having difficulty getting (back) to sleep."

  • Sit somewhere comfortable with a low light.
  • Do something calm and a little boring: a paper book, gentle stretching, quiet music.
  • Skip the phone and the news.
  • Go back to bed when your eyes get heavy, and start again with the script.

Back-to-sleep sessions in the app

If you'd rather have a quiet voice guide you back, AI Meditation: Sleep & Calm has two sessions made for waking in the night:

  • Gently Drifting Back to Sleep is the short, simple one: plain words, long pauses, a gentle breathing exercise and a heavy body. It says early on that the goal isn't to fall asleep at all costs, just to relax. If you're still awake near the end, it offers slow counting backward from a high number.
  • Back to Sleep with the Yoga Nidra Method is longer and more structured: it moves your attention through the body part by part, practices breathing in for four seconds and out for six, and ends with calm images like a warm light, a night sky and a soft cloud. The session cites two studies by Datta and colleagues, a single-patient case report on yoga nidra for chronic insomnia and a study of brain activity during yoga nidra practice. That's early research, not proof that it works for everyone. Our guide to yoga nidra and NSDR has a yoga nidra script for sleep, and yoga nidra vs meditation explains how it differs from other meditation.

You can make a session shorter or longer within its range, and the voices are AI voices. If you'd prefer sound without words, the app also has white, pink and brown noise with a timer that fades out at the end; our guide to white, pink and brown noise explains the difference. See how the app works, try it for free, no account needed.

When waking up at night is more than a bad night

Waking once in a while is part of normal sleep. Waking every night for weeks and lying awake is different. The NHS suggests seeing a GP if:

  • "changing your sleeping habits has not helped your insomnia"
  • "you've had trouble sleeping for months"
  • "your insomnia is affecting your daily life in a way that makes it hard for you to cope"

The NHS also lists things that can interrupt sleep and need a doctor's look, such as long-term pain, restless legs syndrome, snoring or interrupted breathing while sleeping (sleep apnoea), and menopause, and notes that many medicines can cause insomnia too. For more on nights where waking up is the pattern, see how to stay asleep, and for the bigger picture, the sleep meditation guide.

Your health

This app is a wellness app and does not replace medical advice. If you wake up most nights for weeks, or it affects your day, talk to a doctor. The NHS insomnia page explains when to see a GP and what treatment can look like.

Sources

All pages accessed on September 25, 2026.

Questions

Good to know

How do I fall back asleep in the middle of the night?

Keep the light off, don't check the time, and stay still for a moment instead of getting busy. Breathe out a little longer than you breathe in, and let your body get heavy on the mattress. Treat it as rest, not a task. If you're still awake after around 20 minutes, the NHS suggests getting up, sitting somewhere comfortable and doing something relaxing until you feel sleepy.

Is it normal to wake up in the night?

Yes. Sleep runs in cycles of about 90 to 110 minutes, and IQWiG's patient site notes that some people completely or partially wake up after a sleep cycle ends. Waking briefly is common. It becomes a problem when you regularly lie awake for a long time and feel tired during the day.

Why do I wake up at 3am and can't get back to sleep?

There's no single reason. Common ones include stress and worry, alcohol in the evening, a room that's too warm, noise, needing the bathroom, or pain. IQWiG also notes that deep-sleep stages get shorter as the night goes on. If it happens most nights for weeks, talk to a doctor.

How do I fall back asleep after a nightmare?

First get your bearings: open your eyes, notice the room and remind yourself where you are. Turn on a dim light if you need to, sit up, feel your feet on the floor and breathe out slowly a few times. Then lie back down and give your mind a calm, different picture to hold. If nightmares keep coming back, the NHS lists them among the things that can keep you from a good night's sleep, and a doctor can help.

Should I get up if I can't fall back asleep?

If you're still awake after around 20 minutes, yes. The NHS suggests getting up and doing something relaxing, like reading or listening to quiet music, and going back to bed when you feel sleepy. Keep the light low and skip the phone.

Get the app

AI Meditation: Sleep & Calm

A new meditation written for how you feel, every day. Plus sleep stories and soundscapes.

The iPhone app is coming soon.

Get it on Google Play
Scan to install on your Android phone

Try it for freeNo account needed