The short answer: Panic attacks when falling asleep are surges of fear, a racing heart or breathlessness that hit just as you start to drift off, often jolting you wide awake. They’re different from nocturnal panic attacks, which wake you from sleep later in the night. Sometimes the trigger is a harmless hypnic jerk, the sudden twitch or falling feeling many people get at sleep onset, which an anxious body can read as danger. Slow breathing, a calm wind-down routine and getting up for a while if you can’t settle can all help. If it keeps happening or wrecks your sleep, see a doctor.
Rootd is a scientifically validated, clinician-approved app for anxiety and panic attacks that’s free to download, and it’s approved by ORCHA and DHFA for privacy, security, clinical assurance and safety. Its Breathr tool and Sleep sounds are made for winding down when bedtime brings anxiety with it.
Wind down with Rootd’s Breathr and Sleep, free App Store Play Store Scan with your phone
What does a panic attack when falling asleep feel like?
People describe it in similar ways: you’re relaxed, your mind starts to drift, and suddenly your heart is pounding, you feel a jolt of fear or you can’t catch your breath. Some feel a falling sensation or a body twitch first. Afterwards you may lie awake, alert and on edge, worried it will happen again.
The symptoms are the same as a daytime panic attack. The NHS says “During a panic attack you get a rush of intense mental and physical symptoms. It can come on very quickly and for no apparent reason.” Cleveland Clinic says “When you’re having a panic attack, you may sweat a lot, have difficulty breathing and feel like your heart’s racing.”
Is it different from a nocturnal panic attack?
Yes, mainly in the timing. A nocturnal panic attack, Cleveland Clinic says, is “a sudden feeling of fear that wakes you from sleep.” A review in Sleep Medicine Reviews describes nocturnal panic as “waking from sleep in a state of panic” and notes it “is a common occurrence among patients with panic disorder, with 44-71% reporting at least one such attack.”
Panic as you’re falling asleep happens earlier, while you’re still awake or only just drifting off. It’s often tied to the transition into sleep, to bedtime worry or to a hypnic jerk. If your attacks wake you up from sleep instead, our guide to nocturnal panic attacks covers that pattern in detail.
Why do panic attacks happen as you fall asleep?
There isn’t one single cause, but a few things often play a part.
A hypnic jerk sets off the alarm
A hypnic jerk is a sudden twitch or falling feeling as you drop off. Cleveland Clinic says “This is a common occurrence and it’s been estimated that 70% of the population may experience it in some form or another.” Hypnic jerks “are most likely to happen as you first begin to fall asleep, and during the light stage of sleep immediately following.”
Cleveland Clinic’s guide to myoclonus lists hypnic jerks among muscle twitches that “happen for normal reasons.” For someone prone to panic, though, that sudden jolt can feel like a warning sign. Your heart speeds up, you notice it, you get scared, and the fear feeds the physical symptoms.
Stress, caffeine and lack of sleep
Cleveland Clinic lists triggers for that falling feeling and twitching, including lack of sleep, caffeine, “Stimulant drugs and alcohol” and stress: “When you’re stressed, your mind may keep racing and chances are you’re not going to be able to get the rest you need at night.”
Fear of sleep itself
After one or two bad nights, it’s easy to start dreading bedtime. Cleveland Clinic notes that “Concerns about having a panic attack at night may cause you to delay going to bed or lead to insomnia.” Researchers have found something similar: in a study in the Journal of Anxiety Disorders, people with nocturnal panic “reported greater fear of relaxation and sleep” than people with daytime panic only. That fear can make the moment of letting go feel unsafe.
Fast breathing
Anxious breathing can create symptoms of its own. MedlinePlus says “Excessive breathing creates a low level of carbon dioxide in your blood. This causes many of the symptoms of hyperventilation,” and adds that “You may hyperventilate from an emotional cause, such as during a panic attack.”
What should you do if panic hits as you’re drifting off?
- Remind yourself what’s happening. The NHS says “Although panic attacks are frightening, they’re not dangerous. An attack will not cause you any physical harm.” If you felt a jolt first, it may have been a hypnic jerk.
- Slow your breathing. The NHS breathing exercise suggests you “Let your breath flow as deep down into your belly as is comfortable, without forcing it,” and says “Some people find it helpful to count steadily from 1 to 5.” MedlinePlus also describes pursed lip breathing: “puckering your lips as if you’re blowing out a candle, then breathing out slowly through your lips.”
- Relax your muscles. Cleveland Clinic suggests you “Focus on relaxing one muscle group at a time to reduce tension and stay present.”
- Let it pass. The NHS says “Most panic attacks last between 5 and 20 minutes.”
- Don’t force sleep. NHS Every Mind Matters says “if you’re still awake after around 20 minutes, get up and sit somewhere comfortable. Try a relaxing activity like gentle yoga, reading a book or listening to quiet music.” It adds: “Go back to bed when you feel sleepy.”
Rootd can help with steps 2 and 4. Breathr is “The perfect tool to practice deep breathing daily and find calm during times of stress,” and the Rootr panic button “will help you either face a panic attack head-on, or find comfort as quickly as possible.”
Panic as you drift off? Tap the Rootr, free App Store Play Store Scan with your phone
How can you stop panic attacks when falling asleep?
A calmer run-up to bedtime can make the transition into sleep feel safer. NHS Every Mind Matters suggests:
- A regular routine. “When you have a regular sleep routine, it can make it easier to fall asleep.”
- Less screen time late at night. “Try not to use phones, tablets or computers for an hour before bed.”
- A relaxing wind-down. Ideas include “reading something you enjoy,” “breathing exercises” and “listening to calming music.”
- Getting worries out of your head. “If you often worry in bed, try making a list of things you need to do the next day before you go to sleep.”
- Cutting back on stimulants. Caffeine “can make you feel more awake,” and “Alcohol and nicotine can also have disruptive effects on sleep, so try to avoid them 1 to 2 hours before bed.”
The NHS insomnia guide also suggests you “only go to bed when you’re sleepy.” Lying in bed wide awake and anxious can teach your brain to link bed with worry.
Longer term, treating panic in general tends to help at night too. The Sleep Medicine Reviews paper says cognitive-behavioral therapy for nocturnal panic “targets misappraisals of anxiety sensations, hyperventilatory response, and conditioned reactions to internal, physical cues,” and that “Recent evidence supports the efficacy of this approach.” Our guide to CBT for panic attacks explains how it works. For more general tips, see how to calm an anxiety attack at night and sleep tips for when anxiety keeps you up.
See a doctor if
Occasional jolts and bad nights are common, but talk to a doctor if:
- the jerks or panic keep happening. On hypnic jerks, Cleveland Clinic sleep specialist Dr. Reena Mehra says “If these movements regularly keep you awake, give you anxiety about going to bed or become frequent and you have concerns, be sure to see your doctor.”
- you have “Persistent anxiety that interferes with daily life or sleeping” (Cleveland Clinic)
- “you’ve had trouble sleeping for months” or “your insomnia is affecting your daily life in a way that makes it hard for you to cope” (NHS)
- you have “Signs of sleep apnea like loud snoring or gasping for breath” (Cleveland Clinic)
Lack of sleep adds up quickly. Our guide to anxiety and sleep deprivation explains how the two feed each other.
Get emergency help now if symptoms could be something else. Cleveland Clinic says “If you have chest pain, trouble breathing or lose consciousness, seek emergency medical care.” Also get help right away if you do not feel you can keep yourself or someone else safe.
Frequently asked questions
Why do I panic right as I’m falling asleep?
Common reasons include a hypnic jerk that startles you, stress and racing thoughts at bedtime, fast breathing and fear of having another attack. Cleveland Clinic says hypnic jerks “are most likely to happen as you first begin to fall asleep.”
Are mini panic attacks when falling asleep dangerous?
Panic attacks themselves aren’t dangerous. The NHS says “An attack will not cause you any physical harm.” New, frequent or unusual symptoms at night should still be checked by a doctor.
Is a hypnic jerk the same as a panic attack?
No. A hypnic jerk is a brief muscle twitch or falling feeling at sleep onset. Cleveland Clinic says it’s common, estimating “70% of the population may experience it in some form or another.” It can, however, trigger anxiety or a panic attack in some people.
Should I get out of bed if I can’t fall asleep after a panic attack?
Yes, if you’re still awake after a while. NHS Every Mind Matters says “if you’re still awake after around 20 minutes, get up and sit somewhere comfortable,” then “Go back to bed when you feel sleepy.”
Make bedtime feel safe again
When panic shows up at the edge of sleep, bedtime can start to feel like a threat. A steady routine, slow breathing and a plan for what to do if it happens take some of that fear away.
Rootd’s Sleep section offers “White noise, ASMR, sleep stories, relaxing sounds, and music for you to gain calm and sleep deeply,” and you can save your Breathe and Sleep sessions to Apple Health.
Fall asleep to calming sounds in Rootd, free App Store Play Store Scan with your phone
Sources
- Cleveland Clinic, “Why Do I Feel Like I’m Falling or Twitching As I’m Falling Asleep?”
- Cleveland Clinic, “Myoclonus”
- Cleveland Clinic, “Nocturnal Panic Attacks”
- Cleveland Clinic, “Panic Attacks & Panic Disorder”
- Craske MG, Tsao JC. “Assessment and treatment of nocturnal panic attacks.” Sleep Medicine Reviews, 2005 (PubMed)
- Aikins DE, Craske MG. “Sleep-based heart period variability in panic disorder with and without nocturnal panic attacks.” Journal of Anxiety Disorders, 2008 (PubMed)
- NHS, “Panic disorder”
- NHS, “Breathing exercises for stress”
- NHS Every Mind Matters, “How to fall asleep faster and sleep better”
- NHS, “Insomnia”
- NHS, “Where to get urgent help for mental health”
- MedlinePlus (US National Library of Medicine, NIH), “Hyperventilation”
Medical disclosure: This article is for general information and is not a diagnosis or a substitute for professional medical advice or treatment. New, severe, or unexplained symptoms need medical assessment. For a possible medical emergency, call your local emergency number.