What is a nocturnal panic attack?
A nocturnal panic attack is a panic attack that wakes you from sleep. You come to in a state of intense fear, often with a racing heart, sweating, trembling and shortness of breath. A feeling of choking may be more likely at night than during the day. Like any panic attack, it arrives suddenly rather than building slowly, which is how you tell a panic attack from an anxiety attack.
It isn't a sign that you've been dreaming about something scary, though a bad dream can sometimes come first. These attacks usually happen during non-REM sleep, as you pass between light and deep sleep, and they're more common in the first half of the night.
What to do when it happens
- Make the room feel ordinary. Turn on a soft light and sit up. Seeing your room helps you register where you are.
- Name what's happening. If you've had this checked before, remind yourself: this is panic, I've been here before, and it will pass.
- Slow your breathing. Breathe in gently for 4 and out for 6. Rapid breathing can make dizziness and other symptoms worse.
- Ground yourself. Feel your feet on the floor and name what's around you. The 5-4-3-2-1 grounding technique works well here.
- Relax your muscles. Tense and release one muscle group at a time, working from your feet upward.
How to get back to sleep
Don't force it. Lying in bed trying hard to sleep can teach your brain to link the bed with being awake and alert. Sleep specialists often suggest getting up if you've been lying awake for a while, doing something quiet in dim light, and returning when you feel sleepy.
Try not to check the time. Working out how little sleep you'll get adds a new worry. If your mind keeps running afterwards, these tips for racing thoughts at night can help.
Panic attacks when you wake up in the morning
Some people don't wake up in the night. Instead, the panic hits in the first few minutes after the alarm goes off: a pounding heart, a knot in the stomach and a sense of dread before the day has even started.
Part of this is biology. Cortisol, a hormone involved in the stress response, rises sharply in the 30 to 45 minutes after you wake up. This is called the cortisol awakening response, and it happens to everyone. If you're already stressed or anxious, that normal surge can tip you into panic.
Other things that can make mornings worse:
- A bad night's sleep, which leaves your body less able to handle stress.
- Alcohol the night before. As it wears off, it can leave you jittery and anxious.
- Caffeine on an empty stomach, which can feel a lot like panic.
- Worrying about the day ahead, especially if you go to bed already anxious.
The same steps above work in the morning. Sit up, name it, and slow your breathing before you check your phone. A steady wake-up time, some daylight and a proper breakfast before coffee can all help. If you wake up anxious most days, tell your doctor.
Why it happens
There's no single known cause, but several things may play a part:
- Panic disorder. People who have panic attacks at night often have them during the day too.
- Stress and anxiety. Long periods of stress can make your body quicker to sound the alarm.
- Caffeine and nicotine. Too much of either can trigger attacks. Alcohol or sedatives may bring short-term relief, but tend to make symptoms worse over time.
- Health conditions. Sleep apnea, PTSD, depression, asthma and heart rhythm problems can be involved or cause similar symptoms, which is why getting checked matters.
How to stop nocturnal panic attacks
- Watch your caffeine, especially in the afternoon and evening.
- Keep alcohol and nicotine down, particularly close to bedtime.
- Practise a breathing technique during the day. 4-7-8 breathing is a popular one to use at bedtime.
- Try not to fear going to bed. Avoiding sleep leaves you more tired, which makes everything harder. If you've started to dread bedtime, tell your doctor.
When to see a doctor
Talk to a doctor if you think you're having panic attacks at night, particularly if this is new, keeps happening, or is affecting your sleep. They can rule out other causes and discuss treatment such as CBT or medication.
Get urgent help if you have chest pain, pain spreading to your arm or jaw, trouble breathing that doesn't ease, or you aren't sure this is panic. If you're thinking about harming yourself and you're in the US, call or text 988. Elsewhere, contact your local emergency number or crisis line.

