Waking up at 3 a.m.: why it happens and how to get back to sleep

Waking in the middle of the night and lying awake is common. Here’s what can cause it, from stress to alcohol to depression, and what helps.

Earl Johns, MSN, PMHNP-BC

By Earl Johns, MSN, PMHNP-BC

Published

Based on evidence-based psychological research

A digital clock glowing in a dark room

Photos are illustrative and don’t show actual clients.

Want support with this?

Earl is a gay, neurodivergent psych NP who gets it. He offers affirming psychiatry and therapy by video across California, in network with Aetna, Anthem Blue Cross, Cigna, UnitedHealthcare / Optum and more. New clients are seen within about 3 business days.

Book a free 15-minute consult

Related care:

Medication management

→

Waking briefly at night is normal. Waking and lying awake for an hour, mind racing, is not something you have to accept. Here’s what often causes it and what helps.

Common causes

  • Stress and worry: your stress system can kick in during the lighter sleep of the early morning.

  • Alcohol: it may help you fall asleep, but as it wears off, sleep becomes lighter and more broken. Read more about alcohol’s short-term effects.

  • Depression: waking very early and being unable to get back to sleep is a classic sign. Our post on sadness vs. depression can help you tell the difference.

  • Other causes: needing to urinate, pain, hot flashes, reflux or sleep apnea.

What to do when you wake up

  1. Don’t check the time. Turn the clock away from you.

  2. Keep the lights low and your phone out of reach.

  3. Try slow breathing, like breathing in for four counts and out for six.

  4. If you’re still awake after what feels like 20 minutes, get up and do something quiet and dull in dim light, then return to bed when sleepy.

  5. Write down worries on a notepad by the bed, then let them wait until morning.

During the day

  • Keep the same wake time every day, even after a rough night.

  • Get morning light and some movement.

  • Limit caffeine after noon and alcohol in the evening.

If this happens most nights for more than a few weeks, CBT-I and a check for depression or anxiety can make a real difference.

What the research says about middle-of-the-night waking

Waking up and not being able to get back to sleep is one of the main forms of insomnia. The National Heart, Lung, and Blood Institute (NHLBI) describes insomnia as trouble falling asleep, staying asleep or getting restful sleep, even when you have the time and a decent place to sleep. When it shows up at least three nights a week for more than three months, it’s considered chronic.

You’re far from alone. A 2024 CDC data brief found that 18.1% of US adults had trouble staying asleep most days or every day.

Mood matters here too. The National Institute of Mental Health (NIMH) lists “waking too early in the morning” among the common signs of depression. If early waking comes with low mood, losing interest in things you used to enjoy or feeling hopeless, it’s worth a closer look. Our post on depression in gay men walks through how it can show up.

Clues that something physical is involved

Sometimes the 3 a.m. wake-up has a body-based cause. The NHLBI lists these among the signs of sleep apnea:

  • Breathing changes: loud snoring, gasping, or pauses in breathing that a partner, roommate or sleep tracker picks up.

  • Bathroom trips: waking often during the night to urinate.

  • Morning clues: a dry mouth or a headache when you wake up.

  • Daytime tiredness: feeling drowsy even after what should have been enough sleep.

If that sounds familiar, our post on sleep apnea and mental health explains how it’s checked. Medications and supplements can play a part too. The NHLBI suggests telling your provider about everything you take and asking which ones might be affecting your sleep.

When to reach out for help

  • It’s been more than a few weeks: waking most nights is a pattern worth treating, not just tolerating.

  • Your days are taking the hit: trouble focusing, irritability or dragging yourself through work.

  • Your mood is slipping: especially if you feel hopeless or numb.

  • You’re leaning on alcohol or sleep aids: the American College of Physicians recommends CBT-I as the first treatment for chronic insomnia, with medication considered together with your clinician if CBT-I alone isn’t enough.

If you’re having thoughts of suicide or don’t feel safe, call or text 988 any time, day or night. In an emergency, call 911.

Common questions

Is waking up at 3 a.m. a sign of depression?

It can be. NIMH lists waking too early as a common sign of depression. But stress, alcohol, sleep apnea and other health issues can cause it too, so look at the whole picture: mood, energy, interest in life and how long it’s been going on.

Does alcohol cause middle-of-the-night waking?

It often plays a role. The NHLBI notes that alcohol may help you fall asleep but can lead to lighter, more interrupted sleep. Skipping alcohol in the evening for a couple of weeks is a simple experiment.

Should I take something when I wake up and can’t get back to sleep?

Check with your prescriber first. Some sleep medications are only meant to be taken at bedtime, and doubling up or mixing products can be risky. Ask how and when your specific medication should be taken.

Can CBT-I help if I fall asleep fine but wake up too early?

Yes. CBT-I is designed for long-term insomnia, which includes trouble staying asleep, and the NHLBI calls it usually the first recommended option. Read more in our post on how CBT-I works.

Sources

Tired of 3 a.m. wake-ups? Wellthy Psychiatry offers thoughtful medication management for sleep, mood and anxiety by telehealth across California. Book a free 15-minute consult.

This post is for education only and isn’t a substitute for personal medical advice. Don’t start, stop or change a medication without talking to your prescriber.

✓ Medically reviewed by Earl Johns, MSN, PMHNP-BC

Last reviewed

Earl Johns, MSN, PMHNP-BC, psychiatric nurse practitioner

About the author

Earl Johns, MSN, PMHNP-BC

Board-certified psychiatric nurse practitioner · UCSF- and Stanford-trained · Founder of Wellthy Psychiatry & Wellness

Earl (he/him) is a gay, neurodivergent provider with ADHD himself and a mixed-ethnicity Filipinx, Pacific Islander and Latinx clinician. He offers LGBTQ+ and neuro-affirming psychiatric care, blending medication management, therapy and whole-person approaches. His background includes inpatient psychiatry and community mental health at a California county behavioral health program and a behavioral health federally qualified health center. He sees clients in San Francisco and by telehealth across California.

If sleep or appetite changes are wearing you down, Earl can look at medication, labs and daily habits together.

For California residents, by secure video.

Book a free 15-minute phone consult →