Staying asleep
How to get back to sleep after waking in the night
The short answer
Three hours and twenty minutes. That's what's left if you fall asleep right now, and you've done that sum twice. You don't fall asleep right now.
The house has the particular quiet it only has at this hour. The boiler ticks. A car goes past and its headlights slide across the ceiling and off again.
You turn over. You try the breathing thing from the app you deleted. The next time you do the sum it's under three hours, and you're wide awake and a little cross about it.
None of this is something you're doing wrong. The Royal College of Psychiatrists says most people wake a few times a night, and that's normal. The waking isn't the problem; the 20 minutes after it are.
Tomorrow it shows up in the text you send at 4pm, the one that's shorter than it needed to be, to someone who didn't deserve it.
Why you can't just drop back off
Sleep runs in cycles of about 90 minutes. The first couple are heavy with deep sleep. The later ones are mostly light sleep, which is easy to wake from and harder to sink back into.
By 3am you've had most of the deep sleep you're going to get. That's why you feel so awake.
Then your brain does what brains do when they wake: it looks for a task. Counting the hours is a task. So is wondering why this keeps happening, and so is listening for the car.
Each of those is a small signal that it's time to be up. Your brain takes the hint.
How the bed learns to keep you awake
Your brain is good at places. The kitchen means food; the sofa means telly. Lie awake and tense in the same bed for enough nights and the bed starts to mean awake.
That's the idea behind a treatment called stimulus control, which dates from the 1970s. The rules are plain: bed is for sleep, go to bed only when sleepy, get up if you're not sleeping, same wake time every day, no naps.
It's now one part of cognitive behaviour therapy for insomnia, or CBT for short. That's the treatment the NHS offers before any sleeping pill.
Why checking the clock makes it worse
In 2007, researchers asked people to watch a clock while they tried to fall asleep, or not to. They ran it twice: once with 60 good and poor sleepers, once with 38 people diagnosed with insomnia.
The clock-watchers worried more before sleep, took longer to drop off and overestimated how long they'd been awake. The number on the clock was doing more than measuring the night. It was lengthening it.
At 3am the sum is the clock's whole purpose. Turn it to the wall and the sum can't start.
What to do when you wake at 3am
- Don't look at the time. Turn the clock round before you get into bed, and leave the phone face down or out of the room. If you don't know whether it's 2.50 or 4.10, you can't do the sums. That's the whole point.
- Lie still for a few minutes and don't force it. Brief wakings often close on their own if you let them. The NHS advice is to stay comfortable and resting rather than trying to make sleep happen. Keep your eyes shut and the room dark.
- If you're clearly awake, get up. The NHS puts this at around 20 minutes. The number is a rule of thumb, not a tested threshold; the evidence is for the habit of getting up, not for any particular minute. Go somewhere comfortable with the lights low. A paperback or a jigsaw works. Email doesn't, and nor does anything with a scroll bar, because the screen is bright and the task wakes you further.
- Go back to bed only when you're sleepy. Not when you've been up for a decent stretch, and not when you feel you ought to. Sleepy means heavy eyes and a drifting mind. Go back too early and you're lying awake in bed again, which is the association you're trying to break.
- Put the worry on paper. If a thought woke you, write it down in one line and leave it on the side. You're not solving it at 3am; you're telling your brain it's been filed. The Royal College of Psychiatrists suggests the same thing before bed, for the same reason.
- Try tensing and releasing, in bed. Progressive muscle relaxation: tense one muscle group for about five seconds, let go, wait ten seconds, move on. It takes 10 to 15 minutes from eyebrows to calves. The Royal College says it suits the middle of the night as well as bedtime. You may be asleep before you reach your feet.
- Get up at your usual time anyway. A lie-in or an afternoon nap feels like repair, but it spends the sleepiness you need for tonight and nudges your body clock later. The NHS asks for the same wake time every day, even after a bad night. We've written about why the wake-up time matters more than bedtime.
What the evidence does and doesn't show
Stimulus control is one of the oldest tools in the kit, and the trials show their age. A 2024 review in the Journal of Sleep Research found 11 trials, most published between 1978 and 1998. Against doing nothing, it gave small to large gains in time to fall asleep and total sleep; against other active treatments, the difference was negligible.
A second 2024 review of 23 studies came to much the same conclusion. It works compared with no treatment, and the studies are mostly of poor quality. That review also suggests the leaving-the-room rule may matter less than the rest; the advice still stands, and its authors say to read their result cautiously.
And it's slow. The Royal College of Psychiatrists warns it can take several weeks to notice a change. You may sleep a little worse before you sleep better.
If it happens most nights
A bad night now and then is normal. Most nights, for months, is a pattern, and patterns have causes.
We've gone through the usual ones in why 3am keeps happening. And falling asleep fine but not staying asleep is its own problem, with its own fixes.
The NHS says to see a GP if changing your habits hasn't helped, it's gone on for months, or it's affecting your days. Take two weeks of notes with you; a sleep diary turns "waking up a lot" into something a GP can work with.
They may offer CBT for insomnia, in person or online. Sleeping pills are rarely the answer, and the NHS says so.
Tonight the clock faces the wall, and the rest can wait.
Questions
How do you get back to sleep quickly?
By not trying to, mostly. Speed is the one thing you can't force; wanting sleep fast is the thought that holds it off. Don't check the time, and if 20 minutes have clearly gone, get up and come back when you're sleepy.
Should you go back to sleep after a nightmare?
Yes, once your heart has settled. Nightmares tend to come in the last part of the night, when dreaming sleep is longest, so the night isn't over. Get up for a few minutes with the light low, then go back when you feel sleepy; if they're regular and spoiling your days, talk to a GP, because there are therapies that help and the Royal College of Psychiatrists notes that worrying about nightmares tends to keep them going.
Why is it so hard to get back to sleep after waking up?
Because the second half of the night is light sleep, your brain is looking for a job, the clock is right there and the bed may have learned the wrong association. None of those is permanent. Each of the steps above works on one of them.
What if it's nearly morning?
If the alarm is less than an hour away, the night may be done. Get up, open the curtains and start the day; bright light wakes you better than 40 minutes of thin sleep would. Tonight will go better for a steady wake time than for a lie-in.
Sources
- Insomnia, NHS, 2024
- How to fall asleep faster and sleep better, NHS Every Mind Matters, 2026
- Sleeping well, Royal College of Psychiatrists, 2025
- Stimulus control for insomnia: a systematic review and meta-analysis, Journal of Sleep Research, 2024
- The effectiveness of stimulus control in cognitive behavioural therapy for insomnia in adults: a systematic review and network meta-analysis, Journal of Sleep Research, 2024
- Sleeping with the enemy: clock monitoring in the maintenance of insomnia, Journal of Behavior Therapy and Experimental Psychiatry, 2007
This article is general information, not medical advice. If sleep problems last more than a few weeks, speak to your GP.
Was this helpful?
Thank you.