This is not a medical device.
If this is your first episode, or you have chest pain, pain spreading to your arm or jaw, or you are fainting, please seek immediate emergency care.
Waking Up in a Panic Attack (Nocturnal Panic Relief)
Waking up gasping, shaking, or with a racing heart at night? Learn why nocturnal panic attacks happen, how to calm down in bed, and when to see a doctor.
Do this first, read later
- 1Sit up slowly. Do not jump out of bed or start pacing.
- 2Put one hand on your belly and breathe out slowly through your mouth.
- 3Turn on a soft, low light if the dark feels disorienting.
- 4Tell yourself: "My nervous system had a false alarm while I slept. I am safe in bed."
Gentle breathing and grounding you can do in bed. Free, in your browser.
What a nocturnal panic attack is
A nocturnal panic attack is a panic attack that wakes you from sleep. You surface suddenly with a pounding heart, fast breathing, sweating or chills, and an intense sense of dread, often without any dream to explain it. Because you go from deep rest to full alarm in seconds, it can feel even more frightening than a daytime attack.
It is common among people who have panic attacks. A review of the research by Craske and Tsao found that 44 to 71 percent of people with panic disorder have experienced at least one nocturnal attack, and 30 to 45 percent have them repeatedly. For a smaller group of people, attacks happen mostly at night.
Why panic can strike while you are asleep
Nocturnal panic attacks are not caused by nightmares. Sleep studies show they usually start in non-REM sleep, typically around the shift from lighter stage 2 sleep into deeper stage 3 sleep, which is a phase when people rarely dream.
During this shift, breathing, heart rate, and muscle tone naturally change. In someone whose alarm system is sensitive to body sensations, a small change such as a slight dip in breathing, a skipped heartbeat, or a feeling of letting go can be registered as a threat, and the brain wakes you in fight-or-flight mode. Some researchers also describe a fear of relaxation or loss of control: sleep is the ultimate letting go, and for a sensitized nervous system that can be enough to trigger an alarm.
Other factors can make nights worse: alcohol in the evening, which disrupts sleep and can cause rebound arousal a few hours later; caffeine after midday; irregular sleep; and daytime stress that has not been processed.
How to calm down without leaving bed
The goal is to let the adrenaline wave peak and settle while keeping your environment as calm and sleep-friendly as possible.
- Sit up or prop yourself on pillows. Lying flat can make breathing feel more effortful.
- Keep lights low. A bedside lamp or dim phone light is enough to reorient you. Avoid bright overhead lights.
- Place a hand on your belly and breathe in gently for 4 seconds, then out for 6 seconds. Keep going for a few minutes.
- Do not check the clock. Calculating how little sleep you will get adds a second layer of anxiety.
- Name what is happening: "This is a night-time panic attack. It started in my sleep and it will pass."
- Feel the mattress, the weight of the blanket, and the temperature of the air. These are simple anchors in the present.
- If you are hot and sweaty, push the covers back. Cooling down helps the body settle.
Getting back to sleep afterwards
Once the peak has passed, most people feel wired but exhausted. Trying hard to fall asleep usually backfires. A useful rule from insomnia treatment is that if you are still wide awake after roughly 15 to 20 minutes, get up, go to another dim room, and do something quiet and boring, such as reading a paper book or folding laundry, until you feel drowsy. Then return to bed.
Avoid screens with bright content, food heavy enough to wake your digestion, or starting your day early. A night with a panic attack is survivable on less sleep, and keeping your normal wake-up time the next morning protects the following night.
Nocturnal panic or something else?
Several other conditions can wake you suddenly at night. They have different causes and treatments, so it is worth knowing the differences and mentioning them to a doctor.
- Sleep apnea: repeated pauses in breathing, often with loud snoring, gasping or choking noises, and daytime sleepiness. A partner may notice it before you do.
- Nightmares: happen in REM sleep, usually later in the night, and you remember a vivid dream.
- Night terrors: more common in children. The person screams or thrashes but usually does not remember it in the morning.
- Acid reflux: can cause chest burning or choking sensations when lying down, especially after late meals.
- Heart rhythm problems or low blood sugar can also cause night-time palpitations and sweating.
When to see a doctor
Book a medical appointment if night-time episodes happen more than occasionally, if someone has noticed you stop breathing or gasp in your sleep, if you are very sleepy during the day, or if you wake with chest pain. A doctor may suggest a sleep study to rule out sleep apnea, which is common and treatable.
Call emergency services straight away if you wake with crushing chest pain, pain spreading to your arm or jaw, severe breathlessness that does not ease when you sit up, or symptoms of a stroke.
Longer-term treatment for night-time panic
The same treatments that help daytime panic also help nocturnal panic. Cognitive behavioral therapy (CBT) teaches you to reinterpret body sensations accurately rather than as danger signals, and often includes gentle, planned exposure to the sensations you have learned to fear, such as a fast heartbeat or the feeling of deep relaxation.
Good sleep habits support this work: a regular sleep and wake time, limiting alcohol and caffeine, and giving yourself a wind-down period before bed. If nights are affecting your ability to function, speak to a doctor about both therapy and medication options.
Breathe with the circle: 4 in, 6 out
Your heart naturally slows a little on every out-breath. Making the exhale longer than the inhale gives your body more of that slowing phase. Keep going for a couple of minutes.
Frequently Asked Questions
Are night panic attacks different from daytime attacks?
The body response is the same adrenaline surge. They often feel more disorienting because you wake straight into the peak with no warning. They usually start in non-REM sleep and are not caused by dreams.
Should I stay in bed or get up?
Stay in bed while the peak passes, sitting up with a low light if that helps. If you are still wide awake 15 to 20 minutes after it settles, get up, go to a dim room, and do something quiet until you feel sleepy again.
Why do I wake up at 3 a.m. with my heart racing?
Early morning waking can come from shifts between sleep stages, alcohol wearing off, stress hormones naturally rising toward morning, or a nocturnal panic attack. If it happens often, or with snoring and gasping, ask a doctor about sleep apnea.
Can a nocturnal panic attack be dangerous?
The panic itself is not dangerous. What matters is ruling out other causes such as sleep apnea, reflux, or a heart rhythm problem, especially if the episodes are new or come with chest pain.
Will I be scared to go to sleep now?
Some people develop a fear of falling asleep after a few night attacks. Avoiding sleep or staying up late tends to make attacks more likely. A consistent bedtime and CBT techniques are the usual way out of that cycle.
Sources
- Assessment and treatment of nocturnal panic attacks (Craske & Tsao, 2005) — Sleep Medicine Reviews
- Panic disorder — NHS
- Sleep apnoea — NHS
- Panic Disorder: When Fear Overwhelms — National Institute of Mental Health (NIMH)
- Generalised anxiety disorder and panic disorder in adults: management (CG113) — National Institute for Health and Care Excellence (NICE)
Last reviewed . This guide is general information based on the sources above and is not a substitute for advice from a doctor or mental health professional who knows your situation.
Want these tools on your phone?
We’re building an app that paces your breathing with gentle vibrations and a calm voice, works offline, and starts from your lock screen.