Quick answer
To get back to sleep, keep the lights low, do not check the clock or phone, relax your body with slow breathing, and use a calm mental task. If you are still awake after about 20 minutes, get up and do something quiet in dim light until you feel sleepy.
Key takeaways
- Do not check the clock or phone; it adds worry and bright light.
- Slow breathing and relaxing your body help many people drift back off.
- Lying awake frustrated trains your brain to stay awake in bed, so get up after about 20 minutes.

Waking in the middle of the night is normal, and most people fall back asleep within a few minutes without even remembering it. When you do lie awake, the key is to stay calm, keep the lights low and avoid your phone. Relax your body with slow breathing, use a boring mental task to quiet your mind, and if you are still awake after about 20 minutes, get up and do something calm until you feel sleepy.
First: do not make it worse
- Do not check the time. Seeing 3:12 AM starts mental math (“only 3 hours left”) and worry. Turn your clock away from the bed.
- Do not pick up your phone. Bright light and messages wake your brain fully.
- Do not turn on bright lights. Use a dim night light if you need to get up.
- Do not fight it. Telling yourself “I must sleep now” makes sleep run away.

Techniques to fall back asleep
1. Slow breathing
Breathe in through your nose for about 4 seconds and out slowly for 6 to 8 seconds. A long out-breath slows your heart rate and calms your nervous system. Keep going for 5 to 10 minutes. Some people like 4-7-8 breathing: in for 4, hold for 7, out for 8.
2. Progressive muscle relaxation
Starting with your feet, tense each muscle group for about 5 seconds, then release and notice the difference. Move up through your legs, stomach, hands, arms, shoulders and face.
3. Body scan
Without tensing, slowly move your attention through each part of your body and let it feel heavy and warm.
4. The cognitive shuffle
Choose a random word like “blanket”. For each letter, picture random, unrelated things: b for bicycle, banana, bucket; l for lamp, lemon, ladder. The aim is to keep your mind busy with calm, meaningless images instead of worries.
5. Imagery
Picture a calm place in detail: a beach, a forest path, a quiet lake. Notice colors, sounds and smells.
6. Let go of the goal
Some people find it helps to stop trying to sleep and simply rest with their eyes closed, telling themselves that rest is still good for them. Taking the pressure off often lets sleep return.
The 20 minute rule
If you have been awake for about 20 minutes and feel alert or frustrated, get out of bed. Go to another room with dim, warm light and do something quiet and dull: read a paper book, fold laundry, listen to calm music. When your eyes feel heavy, go back to bed. Repeat if needed.
This sounds strange, but it is one of the core methods in CBT-I, the leading treatment for insomnia. Lying in bed awake and frustrated teaches your brain to link the bed with being awake. Getting up breaks that link.
Things that often wake people, and fixes
| Trigger | Fix |
|---|---|
| Racing thoughts | Write a to-do list before bed; keep a notepad by the bed for a quick note at night |
| Bathroom trips | Less fluid in the last 2 hours; dim night light on the route |
| Too warm | Cooler room, lighter bedding, fan |
| Noise | Earplugs or white noise |
| Early light | Blackout curtains or an eye mask |
| Alcohol in the evening | Stop at least 3 to 4 hours before bed |
| Partner snoring | Earplugs, white noise, encourage side sleeping and a check-up |
| Hunger | Small balanced snack before bed if you often wake hungry |
If you often wake around the same time, read why do I wake up at 3 AM?
Waking for babies, children or work
If you are woken by a baby, a child or an on-call phone, keep lights as low as is safe, keep interactions calm and brief, and avoid looking at your phone afterwards. Go straight back to bed and use slow breathing. Partners can take turns so each person gets some unbroken sleep.
What about the next day?
After a poor night, keep your normal wake-up time. Get daylight in the morning, use caffeine early only and take a short nap of 10 to 20 minutes before mid-afternoon if needed. Go to bed at your usual time or a little earlier, not much earlier. Sleeping in or long naps make the next night harder. The nap calculator can help.
Preventing night wakings
- Keep a regular schedule every day.
- Get morning light and daytime exercise.
- Stop caffeine 6 to 8 hours before bed.
- Limit alcohol and finish early.
- Wind down with a calm routine and dim lights.
- Keep the bedroom cool, dark and quiet.
- See the full sleep hygiene checklist.
When to get help
If you wake and cannot get back to sleep at least three nights a week for three months, talk to a doctor about insomnia and CBT-I. See insomnia: causes and what helps. Also see a doctor if night waking comes with loud snoring or gasping, low mood or anxiety, pain, frequent urination or night sweats.
A real example
Bushra woke most nights around 2 AM, checked her phone and scrolled for an hour. She moved the phone out of the bedroom, kept a notepad by the bed to jot down any worry, and used slow breathing when she woke. On nights she could not sleep within about 20 minutes, she read in the living room with a small lamp. After two weeks, she was falling back asleep within 10 to 15 minutes on most nights.
Common myths
- “If I stay in bed long enough, I will fall asleep.” Often the opposite; frustration keeps you awake.
- “Watching TV will make me sleepy.” Bright screens and engaging content usually keep you up.
- “One bad night ruins the next day.” Most people function reasonably after one poor night, especially with a short nap and early caffeine.
A simple plan for tonight
- Before bed, turn the clock away and put your phone in another room.
- Keep a notepad and pen by the bed.
- If you wake, write down any worry in one line, then close your eyes.
- Do 5 minutes of slow breathing, then a body scan.
- If still awake and alert, go to a dim room and read until sleepy.
- Return to bed, and get up at your usual time in the morning.
Why sleep feels harder to get back to
At bedtime you have 15 or more hours of sleep pressure pushing you to sleep. At 3 AM, after a few hours of sleep, much of that pressure is gone, and your body clock is moving toward morning. That is why the same techniques work, but more slowly. Being patient and calm matters more than any single trick.
What a good night waking looks like
You surface, notice you are awake, roll over, maybe go to the bathroom with a dim light, and are back asleep within 10 to 15 minutes without looking at the time. That is normal healthy sleep. The steps in this guide aim to make your wake-ups look more like this, not to remove them completely.
Quick questions
How do I know 20 minutes have passed if I am not checking the clock?
Guess. The rule is not about exact timing. If you feel wide awake, restless or annoyed, that is your sign to get up, whether it has been 15 minutes or 30.
What if I wake up an hour before my alarm?
Try the same calm steps and rest with your eyes closed. If you are still awake after a while, it is fine to simply get up and start your day at a slow pace. Avoid shifting your alarm later to make up for it, and keep tonight’s bedtime normal.
Is lying in bed with my eyes closed as good as sleep?
No, but quiet rest is still better than scrolling or worrying, and it often turns into sleep. The trouble starts when you spend long, frustrated stretches awake in bed night after night.
Can I listen to a podcast or sleep story?
Yes, if it is calm, the volume is low and the screen stays off. Use a sleep timer and pick something familiar or dull, not a gripping story that makes you want to hear the next part.
Should I eat something if I wake up hungry?
A small, light snack is fine now and then. If it happens often, try a small balanced snack before bed instead, so night eating does not become a habit your body expects.
For help with the first part of the night, see how to fall asleep faster.
The bottom line
To get back to sleep, keep the lights and phone off, avoid clock-watching, slow your breathing and relax your body. Give your mind a calm task, and if sleep does not return in about 20 minutes, get up and do something quiet until you feel sleepy. Keep your wake-up time steady the next morning. Plan cycle-based bedtimes with the sleep calculator.
Frequently asked questions
How long should I lie awake before getting up?
About 20 minutes, judged roughly without watching the clock. If you feel wide awake or frustrated, get up sooner.
What should I do if I get up?
Go to another room with dim light and do something calm and boring, such as reading a paper book, until you feel sleepy.
Is it OK to listen to a podcast to fall back asleep?
Yes, if it is calm and played with the screen off and a sleep timer. Avoid exciting or stressful content.
Should I eat something if I wake at night?
Only if hunger is clearly what woke you. A small snack is fine; avoid large meals and sugary foods.
Why can I not fall back asleep even though I am tired?
Your sleep pressure is lower after several hours of sleep, and worry or light can make your brain more alert.
Does a sleep aid help?
Some may help short-term but can cause grogginess the next day. Talk to a doctor before using any sleep medicine.
Should I lie still or move around when I wake?
Get comfortable, then stay still and relaxed. Tossing and turning keeps you alert.
Does reading help me get back to sleep?
Reading a paper book in dim light in another room helps many people feel sleepy again.
Sources
This guide is for general information and is not medical advice.