Sleep library · 3 AM waking

Waking up with a panic attack at night: what's happening and what helps

Updated October 16, 2026 · 3 min read · Sources listed below

Short answer. Some people wake suddenly in a state of panic: racing heart, breathlessness, a sense of dread. Researchers call this nocturnal panic. It starts from non-dream sleep and is different from nightmares or sleep apnea, though those should be ruled out. In midlife, hot flashes can feel similar. Slow breathing helps in the moment, and cognitive behavioral therapy is the best-studied treatment.

What a night-time panic attack is

You wake abruptly with fear and strong physical symptoms: pounding heart, sweating, shaking, short breath. There is no nightmare to explain it.

A 2005 review in Sleep Medicine Reviews describes nocturnal panic as common in people with panic disorder, with 44% to 71% reporting at least one such attack. It begins in non-REM sleep, which sets it apart from nightmares and sleep terrors.

Things that can feel the same

Because the list matters, a clinician's check is the first step if this happens more than once.

Get the free 14-night sleep tracker

A printable one-page tracker, plus a short email each week on what the research says helps midlife sleep. Unsubscribe in one click.

What to do in the moment

  1. Sit up and switch on a soft light.
  2. Breathe out longer than you breathe in: in for about 4, out for about 6, for a few minutes.
  3. Name what is happening: "This is a surge of adrenaline. It will pass."
  4. Cool down if you are hot: a layer off, a sip of cool water.
  5. Go back to bed when you feel calm and sleepy, not before.

If you have chest pain, fainting or breathlessness that doesn't settle, get emergency help.

What helps over time

Cognitive behavioral therapy targets the misreading of body sensations and the conditioned fear of waking. The 2005 review found evidence supporting it for nocturnal panic. The NHS also lists talking therapies and some medicines for panic disorder.

Good sleep routines help too: a fixed wake-up time, a calm last hour, and alcohol finished well before bed. CBT-I can help if fear of waking has turned into insomnia.

Frequently asked questions

Can you have an anxiety attack in your sleep?

Yes. Nocturnal panic means waking from sleep in a state of panic. It starts from non-dream sleep and is common among people with panic disorder.

Why do I wake up with anxiety at 3 AM?

Lighter sleep in the second half of the night, stress hormones, hot flashes in perimenopause and worry all play a part. If you wake in panic often, ask a doctor to rule out other causes such as sleep apnea.

How do I calm down after waking up panicking?

Sit up, use soft light, breathe out longer than in for a few minutes, cool down, and go back to bed when you feel calm. Get urgent help for chest pain or breathlessness that doesn't settle.

Which sleep pattern is yours?

The free Sleep Code quiz takes two minutes and gives you one thing to try tonight.

Take the quiz

Keep reading

Sources

This article is educational and is not medical advice. It was checked against the sources above on 2026-10-16.