VitMode

Nocturnal Panic Attacks: Waking Up with Fear and a Racing Heart

Waking suddenly in the middle of the night with a racing heart, breathlessness, a sense of mortal danger and no memory of a bad dream can be a nocturnal panic attack. Between 44 and 71% of people with panic disorder report such episodes, and they occur in sleep without dreams (NREM). We explain how to tell them from nightmares, sleep apnoea, arrhythmia or low blood sugar, what research says about cognitive behavioural therapy and when it is worth checking the heart, thyroid and sleep.

Redakcja VitMode — Zdrowie psychicznethe VitMode editorial team, no individual bylinesPublished12 min read
How this article was made
Author
Redakcja VitMode — Zdrowie psychiczne — the VitMode editorial team, no individual bylines
Method
Prepared from primary sources: clinical trials, meta-analyses and guidelines. We describe study findings separately from our interpretation.
Source verification
Cited PubMed papers are automatically checked for a matching identifier, title and publication year.
Medical review
none — this article has not been reviewed by a physician
Last updated

The content is educational and does not replace medical advice. Read the full editorial process

Table of contents

A nocturnal panic attack — the short answer

A nocturnal panic attack is a sudden waking from sleep in a state of intense fear, with a racing heart, breathlessness, sweating and a sense of danger, usually without memory of a bad dream. It is a known phenomenon in people with panic disorder, but it is just as important to rule out other causes of night-time awakenings, including sleep-disordered breathing and heart rhythm disturbances.

This article explains how such an attack arises, how to tell it from a nightmare, sleep apnoea or a heart problem, what research says about treatment and when to have tests and see a doctor. It is not meant to make a diagnosis. We cover related topics separately in our articles on daytime panic attacks, nightmares, sleep apnoea and insomnia.

Why does a panic attack happen at night? The mechanism

A nocturnal panic attack seems odd, because in sleep there are no stimuli that could provoke fear. Studies indicate, however, that such episodes occur in non-rapid-eye-movement (NREM) sleep and not in REM sleep, in which vivid dreams occur. That distinguishes them from typical nightmares: the person wakes suddenly in a state of full arousal, often with no memory of the content of a dream, and only then feels fear and bodily symptoms.

What, then, sets off the attack? According to the Craske and Tsao review, people with nocturnal panic do not differ from those without it in sleep architecture, sleep physiology, subjective sleep quality or the severity of panic disorder, so there is no simple ‘signal in sleep’. It is thought that sensitivity to internal bodily cues matters: in deep sleep, small changes in breathing, heart rhythm or muscle tension may be read as a threat by a system that during the day has learned to react with fear to such sensations. This is a theoretical model, and the precise physiological triggers still require research.

How to tell it from a nightmare, sleep terror and sleep apnoea?

Not every waking with fear is a panic attack. The Craske and Tsao review stresses that nocturnal panic is a NREM phenomenon distinct from sleep terrors, sleep apnoea, nightmares and dream-induced arousals, and that assessment focuses precisely on ruling out these other explanations, using history, polysomnography and ambulatory recording.

PhenomenonSleep stage / time of nightWhat the person usually remembersClues
Nocturnal panic attackNREM, often first half of the nightFull awareness after waking, no memory of a dreamPalpitations, breathlessness, sweating; passes within a dozen or so minutes; often also attacks by day
NightmareREM, usually second half of the nightA clear memory of a frightening dreamFear is tied to the dream’s content; we write about nightmares separately
Sleep terrorDeep NREM, beginning of the nightUsually no memory; the person may be unreachable during the episodeScreaming, disorientation; more common in children
Obstructive sleep apnoeaAny stage, more often REM and the second half of the nightA feeling of choking, gasping, dry mouthSnoring, pauses in breathing noticed by a partner, daytime sleepiness
Heart rhythm disturbancesAny timePalpitations, a feeling of the heart ‘skipping a beat’May also occur by day and without fear; needs an ECG/Holter
Nocturnal hypoglycaemiaSecond half of the nightSweating, trembling, hunger, morning headachesMainly in people treated with insulin or some antidiabetic drugs
Night-time awakenings with fear — rough differentiation (does not replace a medical assessment)

Particular attention has been paid to the link with sleep apnoea. A survey of 301 sleep apnoea patients showed that obstructive sleep apnoea can cause symptoms resembling a nocturnal panic attack, which is why the authors recommend including it in the differential diagnosis. If someone snores, wakes choking, has morning headaches and daytime sleepiness, and night-time attacks occur without panic attacks by day, a sleep study is worth considering (see our knowledge-base entry on sleep apnoea).

What can worsen nocturnal panic attacks?

Nocturnal panic is predisposed above all by panic disorder, and it can be worsened by factors that stimulate the nervous system or disturb sleep: chronic stress, sleep deficit, caffeine in the afternoon and evening, alcohol (after initial calming it worsens sleep structure and can cause night-time awakenings with palpitations), nicotine, some drugs and the sudden stopping of sedative drugs. These are clinical observations and general knowledge of sleep physiology, not the result of a single study on nocturnal panic.

What works? Cognitive behavioural therapy and the evidence

There are no separate large clinical trials for nocturnal panic, so we rely on evidence for panic disorder, of which it is a symptom. The Craske and Tsao review indicates that cognitive behavioural therapy (CBT) targets misinterpretations of anxiety sensations, the hyperventilatory response and conditioned associations with signals from the body, and that more recent data support its efficacy in nocturnal panic too. The review’s authors found no controlled studies of drugs in people with nocturnal panic.

How does this translate into practice? Effective treatment of panic disorder by day should also reduce night-time attacks, but we have no separate evidence for each method. In CBT one learns to recognize catastrophic interpretations (for example ‘I wake with a pounding heart, so it is a heart attack’), to gradually get used to bodily sensations and to avoid behaviours that maintain fear, such as constantly checking the pulse or avoiding sleep. The choice of further treatment, including any medication, rests with the doctor; do not stop or change drugs on your own.

Personalized for you

Struggling with sleep?

Answer a few questions about your sleep, stress, diet, and lifestyle. VitMode will show you which areas might need the most attention and which supplements could be worth considering.

Takes about 2 minutesBased on scientific evidence

Recommendations take your answers and the strength of the scientific evidence into account. A supplement's popularity has no bearing on whether it gets recommended.

What to do during an attack and during the day?

Relaxation techniques and mindfulness can be helpful as a supplement, but they do not replace therapy for panic disorder. We do not recommend supplements ‘for nocturnal panic’ — such studies are lacking, and some can interact with drugs (we write about interactions separately).

Which tests are worth doing? Heart, thyroid, glucose, sleep

The Craske and Tsao review notes that assessing nocturnal panic consists mainly of ruling out other explanations. The doctor usually asks about daytime symptoms, snoring, drugs and substances and, depending on the picture, may order basic tests.

TestWhyWhen to consider
Resting ECG and Holter ECGDetecting heart rhythm disturbances, including at night (see our knowledge-base entry on the Holter)Palpitations, fainting, irregular pulse, heart disease in the family
TSH and thyroid hormonesAn overactive thyroid can cause palpitations, tremor, anxiety (see our entry on thyroid hormones)Weight loss, heat intolerance, hand tremor, palpitations
Glucose, blood countDetecting hypoglycaemia, anaemiaNight sweats, trembling, weakness; diabetes or glucose-lowering drugs
Sleep study (polygraphy / polysomnography)Detecting sleep apnoea and other disorders (see our entry on sleep apnoea)Snoring, pauses in breathing, daytime sleepiness, morning headaches
Psychiatric or psychological assessmentDiagnosing panic disorder and planning treatmentPanic attacks by day too, fear of another attack, avoidance of situations
Tests helpful in the work-up of night-time awakenings with fear (ordered by a doctor according to the clinical picture)

Myth: “If I wake with a pounding heart, it is always a heart problem”

Myth

A sudden waking with a racing heart and breathlessness always means heart disease, and if tests are normal, then ‘there is nothing wrong with me’.

Fact

A nocturnal panic attack can produce symptoms deceptively similar to heart problems, yet a real heart rhythm disturbance, sleep apnoea or hypoglycaemia can cause similar awakenings. A two-track approach is therefore reasonable: rule out organic causes, and if tests are normal and the picture fits panic, treat the anxiety. Normal heart results do not mean the symptom is ‘made up’ — a panic attack is a real, physiological phenomenon.

When to see a doctor? Red flags

What we do not cover: sleep terrors and behaviour disorders in sleep, which require a separate assessment, or details of drug treatment of panic disorder. We also do not describe nocturnal epileptic seizures, which can wake a person from sleep and need neurological assessment.

Summary and our editorial recommendation

QuestionShort answer
How common are they?Between 44 and 71% of people with panic disorder report at least one attack that woke them from sleep
In which sleep stage?In NREM sleep, not in dreaming (REM) sleep
How do they differ from a nightmare?No memory of a dream, full awareness after waking, strong bodily symptoms; a nightmare is REM with a clear dream
What to rule out?Sleep apnoea, arrhythmia, overactive thyroid, hypoglycaemia, the effect of alcohol, caffeine and drugs
What has the best evidence in treatment?CBT for panic disorder (136 trials in the network meta-analysis); separate drug trials for nocturnal panic are lacking
When urgently?With chest pain, fainting, severe breathlessness, prolonged palpitations — call 112
Nocturnal panic attacks at a glance

For someone who wakes with a feeling of impending death, the hardest thing is that the attack seems to be proof of a serious illness. Reliable knowledge changes that perception: it is a known phenomenon that can be understood, diagnosed and treated, and the diagnosis should always include an honest exclusion of organic causes, including apnoea and heart rhythm disturbances.

A panic attack at three in the morning is not proof that something worse is happening to the body than by day — it is an alarm set off in sleep. It deserves to be taken seriously but without catastrophizing: check the heart and breathing, then deal with the fear itself.
VitMode editorial team

Frequently asked questions

Yes. A nocturnal panic attack is a sudden waking in a state of intense fear, usually with a racing heart, breathlessness and sweating, without memory of a bad dream. According to a review, between 44 and 71% of people with panic disorder report at least one such episode. It occurs in NREM sleep.

A nightmare is REM sleep with a vivid, frightening dream that the person remembers; the fear stems from its content. In a nocturnal panic attack the person wakes suddenly in a state of arousal, usually without memory of a dream, with strong bodily symptoms, and the episode occurs in NREM sleep. We write about nightmares separately.

The most common explanation is a nocturnal panic attack, but sleep apnoea, heart rhythm disturbances, an overactive thyroid, hypoglycaemia and the effects of alcohol, caffeine and drugs need to be ruled out. For recurrent episodes it is therefore worth consulting a doctor and discussing tests such as an ECG, Holter, TSH or a sleep study.

Yes. A survey of 301 patients with sleep apnoea showed that obstructive sleep apnoea can cause symptoms similar to a nocturnal panic attack, so it should be considered in the differential diagnosis. Snoring, pauses in breathing, morning headaches and daytime sleepiness point to apnoea.

The panic disorder of which they are a symptom is treated. Best documented is cognitive behavioural therapy (CBT): in a network meta-analysis of 136 trials it did best among the psychotherapies. A 2005 review found no controlled drug trials for nocturnal panic alone. The choice of treatment rests with the doctor; do not stop drugs on your own.

They can, although there are no studies dealing solely with nocturnal panic. Caffeine stimulates the nervous system and worsens sleep, and alcohol, after initial calming, disturbs sleep structure and can cause night-time awakenings with a racing heart. It is sensible to limit caffeine in the afternoon and alcohol in the evening.

When it is accompanied by chest pain or pressure, severe breathlessness, fainting, an unsettling irregular or very fast heartbeat, bluish lips, or when it happens for the first time in an older person or one with heart disease. Then call your local emergency number (112 in the EU). For recurrent episodes without such symptoms, book a doctor’s appointment.

Sources (5)

Sources are numbered. PubMed items are automatically verified (identifier, title, year).

  1. 1Craske and Tsao 2005 — Sleep Medicine ReviewsPubMed
  2. 2Mellman and Uhde 1989 (sleep EEG) — Archives of General PsychiatryPubMed
  3. 3Mellman and Uhde 1989 (survey) — American Journal of PsychiatryPubMed
  4. 4Edlund et al. 1991 — Comprehensive PsychiatryPubMed
  5. 5Papola et al. 2022 — The British Journal of PsychiatryPubMed
VM

Redakcja VitMode — Zdrowie psychiczne

VitMode editorial team — no individual bylines; content based on primary sources

VitMode Editorial — Mental Health is the VitMode editorial team responsible for: mental health, stress, mood and their link with sleep. The team has no individual bylines — texts are prepared by VitMode editors from primary sources (clinical trials, meta-analyses, guidelines). Every cited PubMed paper is automatically checked for a matching identifier, title and publication year. The content is educational and does not replace medical advice. Factual errors can be reported in a comment under the post or through the contact form; corrections are made by the editorial team.

Explore the topic further

Related topics from the VitMode knowledge base — pick the area you care about.

This article

Nocturnal Panic Attacks: Waking Up with Fear and a Racing Heart

Your learning path

Path: Nocturnal Panic Attacks

0 of 5 read0%
  1. Learn the basics

  2. Understand possible causes

  3. Related topics

    • Nocturnal Panic Attacks: Waking Up with Fear and a Racing Heart (You are here)

Progress is saved in this browser only.

Start the path
Tools for this topic

Your entries stay in your browser and are never sent anywhere. This is a notebook, not a diagnostic tool — it does not diagnose or recommend treatment. Discuss results with your doctor.

Questions readers often ask

Short answers from related articles — click to read more.

What is anhedonia and how does it differ from sadness?

Anhedonia is a reduced ability to feel pleasure or a loss of interest in activities that used to be enjoyable. Sadness is a specific emotion, whereas anhedonia is rather its absence or flattening — a person may feel neither joy…

From the article: Anhedonia (Loss of Pleasure and Motivation): Causes, Link to Depression and What May Help
Are derealization and depersonalization the same thing?

No, although they often occur together. Depersonalization is a feeling of detachment from yourself (body, emotions, thoughts), while derealization is a feeling that your surroundings are unreal. The DSM-5 and ICD-11…

From the article: Derealization and Depersonalization: Symptoms, Causes and What Helps
Are intrusive thoughts the same as OCD?

No. Intrusive thoughts are unwanted, recurring thoughts, images or impulses experienced by most people. OCD is diagnosed only when obsessions and the compulsions that usually accompany them take up a lot of time, cause distress…

From the article: Intrusive Thoughts and Obsessive-Compulsive Disorder (OCD): Symptoms and Treatment
Can tics appear for the first time in an adult?

Yes, but it is less typical than tics persisting from childhood. Tic disorders in the DSM-5 classification presuppose an onset before age 18, so new, sudden tics in adulthood need assessment: functional tics, effects of drugs or…

From the article: Tics in Adults: Causes, Stress and Tics, and Treatment

Did not find your answer? Write to us — we do not give individual advice, but we can point to reliable sources. Ask the editors

Related knowledge base entries

Pomiar ciśnienia krwi za pomocą aparatu założonego na nadgarstek

Holter ECG and Ambulatory Blood Pressure Monitoring

Holter ECG and ambulatory blood pressure monitoring (ABPM) are two distinct ambulatory tests that record — respectively — an electrocardiographic trace or blood pressure values during everyday life over 24 hours or longer, catching disturbances invisible on a single office measurement.

DiagnostykaStrong evidence
Para w łóżku — mężczyzna głośno chrapiący, kobieta niespokojnie leżąca obok

Sleep Apnea (Obstructive and Central)

Sleep apnea isn't one uniform problem — it's a group of sleep-breathing disorders with distinct mechanisms: obstructive (OSA), caused by mechanical collapse of the throat, and central (CSA), caused by instability of the brain's breathing control — united by a shared outcome: repeated overnight drops in blood oxygen and fragmented sleep.

SenStrong evidence
Rozmyta sylwetka osoby idącej ciemnym korytarzem nocą

Parasomnias: Sleepwalking and Night Terrors

Sleepwalking and night terrors are disorders of arousal from deep NREM sleep, in which the brain is simultaneously part asleep and part awake — the affected person acts, and sometimes screams or walks, with no memory of it the next day.

SenModerate evidence
Lekarz badający gardło i szyję pacjenta w rękawiczkach

TSH and Thyroid Hormones (fT3, fT4, anti-TPO)

TSH is the first-line test for evaluating thyroid function, but on its own it rarely gives the full picture — only together with fT4, fT3, and anti-TPO can it distinguish a temporary fluctuation from an actual disorder.

Badania krwiStrong evidence
Kobieta śpiąca spokojnie w przytulnym łóżku z białą pościelą

Sleep

Sleep isn't a passive shutdown of the body — it's an active, highly organized biological process. Its shortfall (and, counterintuitively, its excess too) is linked to a measurably higher risk of death from any cause.

SenStrong evidence
Kobieta spokojnie śpiąca w przytulnej sypialni w nocnym świetle

Sleep and Growth Hormone / Cortisol Secretion

Sleep architecture — specifically the presence of deep slow-wave sleep — directly drives the largest daily pulse of growth hormone, while sleep acts as an anchor synchronizing the daily cortisol rhythm. Disrupted sleep dysregulates both systems regardless of how many hours we actually spend in bed.

SenStrong evidence