Waking up in a panic attack: what happened, and what to do at 3 a.m.

    You did not wake up and then panic. You woke up already in it — heart hammering, soaked, certain something terrible is happening. There is no thought to argue with because there was no thought first, and that is the most frightening part.

    Do this now

    Sit up, feet down, long out

    2 minutes

    1. Sit up on the edge of the bed with both feet flat on the floor. Do not turn on a bright light and do not look at the time.
    2. Two nasal inhales — one full, one small sip on top — then a long slow exhale through the mouth.
    3. Four rounds. Then close the mouth and let every breath be small and nasal with a long exhale.
    4. Say the sentence out loud if it helps: this is a nocturnal panic attack, it peaks in minutes, it has happened before.
    5. When the wave is past, lie down on your side and keep the long exhale going without counting.
    Run it with a timer

    Why it happens with no trigger

    Nocturnal panic attacks arise out of non-REM sleep, typically in the first few hours, and they are not nightmares — there is no dream content to recall. The leading account is heightened sensitivity to internal changes: a small drift in carbon dioxide or a normal shift in sleep stage is registered as a threat, and the alarm fires before any conscious appraisal happens. Roughly two thirds of people with panic disorder report at least one.

    Why the body is the only available lever

    Because there was no thought to start it, there is no thought to stop it. What is available is the exhale, which slows the heart directly, and posture — sitting up with the feet grounded shortens the episode for most people. Reassurance works better afterwards than during.

    Why the next night is the real problem

    After one of these, bed itself becomes a threat, and the anticipatory dread keeps you awake — which shortens sleep, which raises the odds of another. That loop, not the attack, is what turns a bad night into a bad month. Breaking it means treating the following evening as the intervention point.

    What changes it, over a week

    • Every evening

      Ten minutes of slow nasal breathing with a long exhale, in bed, whether or not you feel you need it. A rehearsed pattern is what you fall back on at 3 a.m.

    • If it happens again

      Same sequence, same posture. Do not check the time, do not open a screen, do not get on your phone to look it up.

    • All day

      Nose breathing. Daytime over-breathing lowers CO₂ tolerance, which is the sensitivity these attacks run on.

    • This week

      Book a conversation with a clinician. Nocturnal panic responds to CBT for panic disorder, and it is also worth excluding sleep apnoea and reflux.

    When this is not a breathing pattern

    See a clinician — promptly, and before assuming any of this applies to you — if any of these describe you:

    • Waking gasping or choking, loud snoring, or witnessed pauses in breathing — ask for a sleep study, because sleep apnoea presents exactly like this
    • Chest pain or pressure on waking, especially if you have cardiac risk factors — treat it as cardiac and call emergency services
    • Episodes with confusion, tongue biting, or incontinence, which need neurological assessment
    • Night sweats with weight loss or fever
    • Any thoughts of harming yourself — contact your doctor or a crisis line today

    This page is education, not medical advice, and no part of it is a diagnosis. Full disclaimer.

    Questions people ask

    Is a nocturnal panic attack the same as a nightmare?
    No. Nightmares come out of REM sleep and you remember the dream; nocturnal panic comes out of non-REM sleep with no dream content at all. That absence is what makes it so disorienting.
    Could it be sleep apnoea instead?
    It genuinely could, and the two are frequently confused. Apnoea wakes you gasping or choking, usually with snoring and daytime sleepiness. If any of that fits, ask for a sleep study before assuming panic.
    Should I get out of bed?
    Sit on the edge of the bed with your feet on the floor during the attack — it helps. Once the wave has passed, lie back down rather than starting a night of activity, unless you are still wide awake twenty minutes later.
    Will it happen every night?
    Usually not. They tend to cluster during stressful periods and thin out again. The dread of the next one is the part that most needs addressing, and that is what therapy is good at.

    What this page is built on

    • — Craske & Barlow, 1989, and Craske et al., 2005 — nocturnal panic arising from non-REM sleep, and its prevalence in panic disorder
    • — Meuret & Ritz, 2010, International Journal of Psychophysiology — CO₂ sensitivity and respiratory dysregulation in panic
    • — Balban et al., 2023, Cell Reports Medicine — cyclic sighing and reduced physiological arousal

    Named by author and year. The DOIs live in the journal.

    Put a number on it

    Most of what is on this page tracks one measurement: the Control Pause. It takes sixty seconds, needs no account, and it is the thing that tells you whether any of this is working.

    Take the free test

    Go deeper

    From the journal

    Panic and acute anxiety

    It is happening now, or you are dreading the next one. All topics