CBT-i
Basics

Can't Get Back to Sleep? What to Do at 3am

Can't Get Back to Sleep? What to Do at 3am

It's 3am. You were asleep an hour ago, and now you're flat on your back, wide awake, doing the math on how long until the alarm. The more you order yourself to fall back asleep, the more awake you feel, and the quieter the house gets, the louder your head becomes.

Here's the counterintuitive part: lying there trying to force it usually just keeps you up longer. So the most useful move is to stop trying. If you've been awake for about 20 minutes and you're fully awake, get out of bed, keep the lights low, and do something calm and dull until you feel sleepy again, then go back. This isn't folk wisdom. It comes from stimulus control, a core piece of CBT-I (Cognitive Behavioral Therapy for Insomnia), the recommended first-line treatment for chronic insomnia [4].

It helps to separate two situations. For the occasional bad night, the steps in this article are really all you need. But if you've been waking up like this for weeks or months, those same steps still get you through the night, while lasting relief comes from doing CBT-I as a full program, one that retrains your sleep over time rather than a single move you reach for in the dark. Below is why these middle-of-the-night wake-ups happen, and what to do (and not do) when you're stuck awake tonight.

One caveat before we get into it: this is about the common, stress-and-habit kind of night waking, not the kind driven by an underlying medical condition such as sleep apnea, an overactive thyroid, restless legs, or chronic pain. If the steps here don't help after a week or two, or you also snore heavily, gasp awake, or feel exhausted no matter how long you spend in bed, it's worth getting checked out by a doctor.

Why Do You Keep Waking Up in the Middle of the Night?

Waking up in the night is normal. Everyone has brief awakenings between sleep cycles, and many are so short you never remember them [1]. Sleep also gets lighter in the second half of the night, which is why the ones you do notice tend to land in the early hours. On its own, waking up isn't the problem. It turns into one when three things line up: you can't fall back asleep, it happens night after night, and it starts to wear on how you feel and function during the day.

For a lot of people, a big part of it is hyperarousal. Insomnia keeps your nervous system running a little hot around the clock, so instead of drifting back to sleep, you come fully online: your heart rate ticks up, your mind starts scanning for problems, and a wake-up that should have lasted 30 seconds stretches into an hour of staring at the ceiling [1]. Plenty of ordinary things feed that arousal:

  • Caffeine or nicotine too late in the day. Both are stimulants, and caffeine in particular lingers for hours, so depending on your sensitivity and timing an afternoon cup may still be affecting your sleep in the middle of the night.

  • An evening drink. Alcohol can make you feel sleepy at first, but as the night goes on it tends to fragment your sleep and leave it lighter and more broken.

  • Stress or a racing mind. Unfinished worries keep your arousal dialed up, so the moment you surface between sleep cycles, your brain treats it as a cue to start problem-solving instead of settling.

  • A bedroom that's too warm or too bright. Your body needs a slight drop in core temperature and real darkness to stay asleep, so a hot room or light through the curtains can nudge you awake.

  • Worry about being awake itself. Once you've had a few bad nights, the fear of another one becomes its own trigger, and clock-checking or bracing for a rough day only adds to it. This can become a big part of the pattern.

What Should You Do at 3am When You Can't Get Back to Sleep?

The core rule comes straight from stimulus control, one of the behavioral components of CBT-I: if you've been awake for roughly 15 to 20 minutes and sleep isn't coming, don't keep lying there. Here's the sequence to follow.

  1. Get out of bed. Leaving the bedroom is the heart of stimulus control, and it keeps your brain from pairing the bed with the frustration of being awake [2].

  2. Keep the lights low. Use the dimmest lamp you can and skip overhead lights, so you don't signal your body that morning has arrived.

  3. Choose something quiet and undemanding: a familiar, easy book, quiet audio with the screen off, or a simple body scan. Steer clear of anything that pulls you in or rewards you for staying up.

  4. Try slowing your breathing. A few minutes of long, unhurried exhales can help release physical tension and give your mind a neutral focus.

  5. Keep the room comfortably cool, around 65 to 68°F, and adjust your bedding if you feel too warm.

  6. Go back to bed only when you feel sleepy, not just because time has passed. If you wake again later, run through the same steps.

The aim isn't to fill the time. It's to spend the wakeful stretch somewhere other than your bed, so that over time bed goes back to meaning sleep [2].

What You Should Not Do in the Middle of the Night

A few habits feel comforting in the moment and quietly make the night worse:

  • Don't force it. Willing yourself to sleep only raises the alertness you're trying to switch off. The harder you push, the more awake you get, which is why "just relax and go to sleep" is such useless advice at 2am.

  • Don't reach for your phone. Between the light and the pull of messages, news, or work, your phone tends to wake you up more, not less. If you need something to do, keep it offline and dim.

  • Don't pour a nightcap. A drink might help you nod off faster, but alcohol tends to fragment the later part of the night and wake you again a couple of hours on, right when you're trying to stay asleep [3].

  • Don't do the clock math. Adding up how many hours you have left only spikes the worry that's keeping you awake. Turn the clock away so you're not tempted to check.

  • Don't overcorrect the next day. After a rough night, it's tempting to sleep in late or nap for hours to make up the lost sleep. If you're truly wiped out, a little extra rest won't ruin you, but the more you can hold a steady wake-up time and get some morning daylight, the faster your sleep tends to settle. Rather than chasing what you lost, put your energy into the next night: ease off late caffeine and alcohol, and give yourself a calmer wind-down. (If you're following a structured CBT-I program, the guidance is typically stricter by design: a fixed wake time and no naps are how the program rebuilds your sleep drive, so follow your program over the general version here.)

Why Does Trying Harder to Sleep Backfire?

Sleep is one of the few things that gets further away the harder you chase it. Effort switches on arousal, and arousal is the opposite of sleep. Worse, every frustrated hour spent staring at the ceiling can train your brain to associate your bed with being awake and anxious, which is part of why lying awake in bed feels worse the longer you stay put [2]. If the reason you're up is a mind that won't stop running, the same principle applies to the thoughts themselves; there are specific ways to handle racing thoughts at bedtime rather than wrestle them.

Frequently Asked Questions

Should I get out of bed if I can't fall back asleep?

Usually yes. If you've been awake for roughly 15 to 20 minutes and sleep isn't coming, get out of bed, keep the lights low, and do something calm and dull until you feel sleepy, then return. This is a core CBT-I technique called stimulus control, and it helps keep your bed from becoming a place your brain associates with being awake.

Is it bad to check your phone when you wake up at night?

It's generally best to avoid your phone. The light, the clock-checking, and engaging messages or news can all make it harder to settle back down. If you get out of bed, choose something dim and low-key instead, and leave the phone behind.

Should I eat or drink something to get back to sleep in the middle of the night?

Generally, don't use food or a drink as a sleep aid. Skip alcohol, which fragments the rest of the night, along with caffeine in any form and a heavy meal. If you're genuinely hungry, a small, light snack is fine, and a few sips of water are fine if you're thirsty. Follow any food or medication instructions from your doctor.

Get Your Sleep Back On Track

Getting out of bed can rescue a rough night, but rebuilding your sleep is what keeps the wake-ups from coming back. That's what Rest is built for, as a program grounded in the principles of CBT-I [4] and shaped by its lead scientific advisor, Dr. Ashley Mason, PhD, of UCSF. See how Rest works and start tonight »

(Rest is a program built on the principles of CBT-I. It is not a treatment and not a substitute for medical care.)

Citations

  1. Morin, C. M., & Espie, C. A. (2003). Insomnia: A Clinical Guide to Assessment and Treatment. New York: Kluwer Academic/Plenum Publishers. — normal night-time awakenings, hyperarousal, and stimulus control.

  2. Perlis, M. L., Smith, M. T., Benson-Jungquist, C., & Posner, D. A. (2005). Cognitive Behavioral Treatment of Insomnia: A Session-by-Session Guide. New York: Springer. https://doi.org/10.1007/0-387-29180-6 — stimulus control and conditioned arousal (the 15–20 minute get-out-of-bed rule).

  3. Lydon-Staley, D. M., Ram, N., Conroy, D. E., Pincus, A. L., Geier, C. F., & Maggs, J. L. (2016). The within-person association between alcohol use and sleep duration and quality in situ: An experience sampling study. Addictive Behaviors, 61, 68–73. https://doi.org/10.1016/j.addbeh.2016.05.018 — alcohol and poorer, more fragmented sleep.

  4. Edinger, J. D., Arnedt, J. T., Bertisch, S. M., et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 17(2), 255–262. https://doi.org/10.5664/jcsm.8986

Disclaimer: Rest is a self-management and well-being tool for sleep improvement and is not intended to diagnose, treat, cure, or prevent any disease. It does not replace care by your healthcare provider or any treatments you may be using. Always continue to take your medications as directed by your healthcare provider. The information provided in the Rest app and related materials is intended for your general knowledge only and is not a substitute for professional medical advice or treatment for specific medical conditions. Use Rest only as directed. Always seek the advice of your physician or other qualified healthcare provider with any questions you may have regarding a medical condition. If you have or suspect you have a specific medical condition or disease, please consult your healthcare provider before using the Rest program.

Company: Evolve Global, Inc.