That overwhelming sensation that you are about to die is almost always your brain’s threat-detection system firing, and in most cases the trigger is not a life-threatening emergency. Panic attacks are by far the most frequent cause of the experience, but a handful of genuine medical conditions can produce the same feeling. Sorting out which category you fall into matters, because the feeling itself is nearly identical whether the cause is benign or serious.
Panic Attacks and the Brain’s Suffocation Alarm
If you have ever felt a sudden wave of terror, chest tightness, air hunger, and the certainty that death is imminent, you have likely experienced a panic attack. One prominent theory explains this as a false alarm in a built-in survival system. The brain monitors blood carbon dioxide levels and other signals to detect suffocation. In some people, that monitor is oversensitive and fires when there is no actual threat, producing sudden respiratory distress, rapid breathing, and an overwhelming urge to flee.1PubMed. False suffocation alarms, spontaneous panics, and related conditions. An integrative hypothesis The resulting panic feels nothing like ordinary fear or stress. It is dominated by intense air hunger, a physiological distress signal that convinces you something catastrophic is happening inside your body.2PubMed Central. Panic, suffocation false alarms, separation anxiety and endogenous opioids
What makes panic attacks especially convincing is a feedback loop between the mind and the lungs. Hyperventilation, which often starts involuntarily during a panic attack, drops blood carbon dioxide and produces lightheadedness, tingling in the hands and face, and a racing heart. Those symptoms feed back into the alarm system, reinforcing the sense that something is badly wrong. Research has found that roughly half of people diagnosed with panic disorder also meet criteria for hyperventilation syndrome, and vice versa, because the two conditions share the same underlying hypersensitivity of the central alarm system and reinforce each other in a positive feedback loop.3The American Journal of Medicine. Hyperventilation and panic disorder This is why telling someone mid-panic to “just calm down” rarely helps: the physiological spiral is already running.
Spontaneous panic attacks, the kind that arrive without any obvious trigger, are particularly disorienting because there is no external danger to point to. Researchers have argued that these attacks cannot simply be fear in the traditional sense, since there is no threat to be afraid of, and must instead represent a distinct malfunction of the suffocation alarm.4PubMed. Testing the suffocation false alarm theory of panic disorder That distinction is worth knowing because it reframes what is happening: your body is not detecting real danger, it is sounding an alarm that was designed for a real scenario and misfiring in a harmless one.
When “Impending Doom” Is a Genuine Medical Warning
Here is where things get more serious. In certain medical emergencies, the feeling that you are dying is not a false alarm at all. It is your body correctly identifying a threat. Clinicians sometimes call this a “sense of impending doom,” and in some contexts it is treated as a diagnostic clue rather than a psychological symptom.
Anaphylaxis is the classic example. During a severe allergic reaction, mast cells and other immune cells dump histamine and related chemicals into the bloodstream, causing blood vessels to dilate, blood pressure to crash, and airways to constrict. The resulting combination of plummeting circulation, swelling, and oxygen deprivation produces severe anxiety and a visceral sense that death is imminent.5PubMed Central. Anaphylaxis Emergency physicians are trained to take that feeling seriously when a patient reports it alongside skin flushing, throat tightness, or a drop in blood pressure.
A similar phenomenon occurs during acute hemolytic transfusion reactions, where the immune system attacks mismatched donor blood cells. Symptoms can appear within minutes of starting a transfusion and include flushing, back pain, low blood pressure, a racing heart, and a pronounced sense of impending doom.6Surgery (Oxford). Complications of blood transfusions – Section: Acute haemolytic transfusion reactions (HTR) Because the patient is often already in a hospital setting, this symptom frequently gets recognized and acted on quickly.
Sepsis is another condition where the body’s alarm bells ring for good reason. When an infection spirals out of control, the immune system can unleash a massive inflammatory response involving a flood of signaling molecules that damages organs throughout the body.7PubMed Central. Roles of cytokine storm in sepsis progression: biomarkers, and emerging therapeutic strategies Patients in the early stages of sepsis often report feeling profoundly unwell in a way they cannot articulate, a sense that something is deeply wrong. That instinct is medically meaningful.
Pulmonary Embolism and the Psychiatric Disguise
A pulmonary embolism, where a blood clot blocks an artery in the lungs, is one of the trickiest conditions to distinguish from a panic attack. Both produce sudden shortness of breath, chest pain, a pounding heart, and intense fear. The overlap is not just superficial: a review of the literature found that pulmonary embolism can manifest with psychopathological symptoms including panic attacks, psychosis-like features, and even catatonia, sometimes masking the underlying vascular emergency entirely.8PubMed Central. Pulmonary embolism masked by symptoms of mental disorders
This is a genuine clinical problem. A person with a history of panic disorder who shows up in an emergency department with chest pain and shortness of breath may be assumed to be having another panic attack, when in fact a clot is sitting in their pulmonary vasculature. The takeaway for anyone reading this: if a “panic attack” feels different from your usual ones, if it comes with leg swelling, calf pain, or follows a long period of immobility, treat it as a medical emergency until proven otherwise.
Endocrine Tumors That Mimic Panic Disorder
One of the more dramatic examples of a medical condition hiding behind psychiatric symptoms is pheochromocytoma, a rare tumor of the adrenal glands that produces surges of adrenaline and related hormones. A case report described a man who endured 13 years of severe anxiety and panic attacks treated with psychiatric medications before the tumor was finally discovered. After surgical removal of the pheochromocytoma, his major panic attacks disappeared entirely, his anxiety improved dramatically, and nearly all of his psychiatric medications were stopped.9PubMed Central. Unusual presentation of pheochromocytoma: thirteen years of anxiety requiring psychiatric treatment The same clinical group found two additional patients in their cohort of 160 pheochromocytoma cases whose severe anxiety had resolved completely after tumor removal.
Pheochromocytomas are rare, affecting only a few people per million each year. But they illustrate an important principle: when panic-like symptoms come with episodes of very high blood pressure, profuse sweating, severe headaches, and a pounding heart in distinct bursts, a hormonal cause should be investigated. The symptoms are driven by real spikes of adrenaline and noradrenaline flooding the bloodstream, so the feeling of dying is, in a sense, physiologically justified even though the person is not in immediate danger from the hormone surge itself.
Seizures That Feel Like Terror
Certain types of epileptic seizures produce intense fear as their primary symptom rather than the convulsions most people associate with epilepsy. This phenomenon, known as ictal fear, most commonly originates in the temporal lobe and involves the amygdala, the brain’s threat-processing center. Research has shown that ictal fear is frequently accompanied by a rising sensation in the stomach, heart palpitations, dilated pupils, and pallor, closely mimicking a panic attack.10Brain. Relationship between atrophy of the amygdala and ictal fear in temporal lobe epilepsy
The fear produced by these seizures is not limited to the temporal lobe. A case study using deep brain electrodes demonstrated that a seizure originating in the occipital lobe, at the back of the brain, produced an intense fear response a full 12 seconds before the electrical activity reached the amygdala.11PubMed Central. Occipital Lobe Epilepsy With Ictal Fear: Evidence From a Stereo-Electroencephalography (sEEG) Case People experiencing ictal fear often have no idea they are having seizures. The episodes are brief, stereotyped, and come out of nowhere, which again looks a lot like panic disorder. The distinction matters because the treatment is completely different: anti-seizure medication rather than psychiatric therapy.
Carbon Monoxide and Toxic Exposures
Carbon monoxide poisoning deserves its own mention because it is both common and routinely missed. CO is colorless and odorless, and its symptoms at lower levels of exposure, including headache, dizziness, confusion, and nausea, are nonspecific enough to be blamed on anything from the flu to anxiety. The gas interferes with how cells use oxygen and generates widespread inflammation, with the brain and heart bearing the worst of it.12PubMed Central. Carbon Monoxide Poisoning: Pathogenesis, Management, and Future Directions of Therapy As exposure continues, symptoms can escalate to severe disorientation, chest pain, and a feeling of impending death. Roughly 15 to 40 percent of survivors develop long-term cognitive problems, and about a third of those with moderate to severe exposure show heart damage afterward.
If you feel like you are dying and the feeling starts at home (particularly in winter, when heating systems are running), and other household members are also feeling unwell, get outside immediately and call emergency services. A simple CO detector can prevent this scenario entirely.
Withdrawal from stimulant drugs such as methamphetamine and cocaine can also produce overwhelming dread and a sense that something is catastrophically wrong. Most people who use these substances regularly experience withdrawal symptoms upon stopping, and the acute phase during the first week is often marked by severe anxiety, agitation, and dysphoria.13PubMed Central. Clinical management of psychostimulant withdrawal: review of the evidence The feeling of dying in this context reflects a genuine neurochemical disruption, but it is typically self-limiting and improves over the following weeks.
Autonomic Dysfunction and Postural Tachycardia Syndrome
For some people, the feeling of dying is not a one-off event but a recurring feature of a chronic condition. Postural tachycardia syndrome, or POTS, is a disorder of the autonomic nervous system in which standing up triggers an excessive heart rate increase along with lightheadedness, palpitations, and sometimes near-fainting. Beyond these orthostatic symptoms, many people with POTS also report severe cognitive dysfunction, anxiety, and depressive symptoms.14Autonomic Neuroscience. Cognitive and psychological issues in postural tachycardia syndrome
The overlap between POTS and panic disorder is substantial. A sudden heart rate spike, chest discomfort, and difficulty thinking clearly can easily feel like a medical emergency, and many POTS patients report spending years being told their symptoms were “just anxiety” before receiving a correct diagnosis. If your episodes of feeling like you are dying consistently happen when you stand up, change position, or are on your feet for extended periods, POTS is worth discussing with a physician.
Sleep Paralysis and Nighttime Terror
Waking up unable to move, feeling a weight on your chest, and being convinced you are about to die is one of the most terrifying experiences a person can have. This is sleep paralysis, specifically a variant sometimes called the incubus phenomenon, a paroxysmal sleep-related event in which a person experiences the visual or tactile sensation of pressure on the chest during a state between sleep and waking.15PubMed Central. The incubus phenomenon: Prevalence, frequency and risk factors in psychiatric inpatients and university undergraduates
During REM sleep, the brain temporarily paralyzes most voluntary muscles to prevent you from acting out dreams. Occasionally, consciousness returns before the paralysis lifts, trapping you in a waking state where you cannot move or speak. The chest pressure and breathing difficulty are partly real, because the muscles of the ribcage are still inhibited, and partly perceptual, because the brain in this transitional state often generates hallucinations. The result feels existentially threatening even though it resolves on its own within seconds to minutes. Sleep paralysis is more common during periods of sleep deprivation, irregular sleep schedules, and high stress.
Depersonalization and the Feeling of Not Being Real
Not everyone who feels like they are dying experiences it as a physical emergency. For some, the sensation is more existential: a sudden disconnection from your own body, thoughts, or surroundings so profound that reality itself seems to dissolve. This experience, known as depersonalization or derealization, involves feeling detached from your own body, emotions, or mental processes, and it is often triggered by trauma, intense stress, mental health conditions, or substance use.16PubMed Central. A cross-sectional survey on depersonalization/derealization and meditation-induced alterations of the self
People experiencing depersonalization often describe feeling as though they are watching themselves from outside, that the world looks flat or unreal, or that they have ceased to exist in a meaningful sense. This can be intensely distressing and is frequently interpreted as dying or going insane. Depersonalization episodes are common during panic attacks and can also occur as a standalone condition. While the experience is deeply unsettling, it is not dangerous in itself and reflects a dissociative coping mechanism rather than a structural problem with the brain.
The Gut Connection
Gastrointestinal problems have a surprisingly strong ability to produce symptoms that feel cardiac and life-threatening. The vagus nerve, which runs from the brainstem to the abdomen, connects the gut and the heart in ways that can blur the line between digestive distress and cardiovascular symptoms. Clinical observations going back decades have documented that gastrointestinal disturbances can mimic the symptoms of angina and other cardiac conditions, and that treating the GI problem can reduce or eliminate what patients had believed were heart attacks.17JAMA. Role of the Gastrointestinal Tract in Production of Cardiac Symptoms: Experimental and Clinical Observations
Acid reflux, esophageal spasm, and even severe bloating can trigger vagal reflexes that slow the heart rate, lower blood pressure, and produce a cold sweat. Combined with chest and upper abdominal pain, this constellation of symptoms is easily mistaken for a heart attack by the person experiencing it. If you notice that your episodes of feeling like you are dying tend to coincide with meals, certain foods, or digestive discomfort, a GI evaluation may be more useful than cardiac testing.
Why the Brain Has a Death Alarm in the First Place
Stepping back from specific conditions, it helps to understand why the brain is capable of producing such an intense and terrifying signal at all. From an evolutionary standpoint, anxiety is a defensive system that evolved to protect organisms against threats. Normal anxiety has subtypes that correspond to different kinds of danger: predator threats, social exclusion, suffocation, contamination. Anxiety disorders arise when these normal defensive responses become dysregulated, either firing too easily or failing to shut off.18Ethology and Sociobiology. Fear and fitness: An evolutionary analysis of anxiety disorders
The system is deliberately biased toward false positives. An ancestor who fled from a shadow that turned out to be harmless wasted some energy. An ancestor who ignored a real predator because the alarm did not fire died. Over millions of years, this bias toward overreaction was selected for, which is why the modern brain would rather scream “you are dying” a hundred times when you are fine than stay silent the one time you are not. Understanding this does not make panic attacks less frightening in the moment, but it can make the aftermath less confusing. Your brain is not broken. It is running software optimized for a world where false alarms were cheap and missed threats were fatal.
Rare Physiological Triggers
A few uncommon medical scenarios can produce a sudden, intense sense of impending death through mechanisms that are still being studied. One example involves the stellate ganglion, a cluster of nerve cells in the neck that helps regulate blood flow to the brain and upper body. In rare cases, medical procedures that block this nerve cluster have paradoxically triggered acute anxiety and a sense of impending doom, possibly because the block causes an asymmetric change in blood flow to the brain that the body interprets as a threat.19Medical Hypotheses. Paradoxical anxiety after stellate ganglion block: a hypothesis of contralateral vasoconstriction, cerebral perfusion asymmetry, and interoceptive alarm This is a niche finding, but it reinforces a broader point: the brain constantly monitors internal signals about blood pressure, blood flow, oxygen, and CO2, and any sudden disruption in those signals can trigger the death alarm, even when the disruption is minor and temporary.
If you are repeatedly experiencing the feeling that you are dying, the most important first step is ruling out the treatable medical causes with a physician, particularly cardiac, pulmonary, endocrine, and neurological ones. Once those are excluded, the most likely explanation is a misfiring alarm system, which is genuinely treatable through therapy, medication, or both. The feeling is real, the danger usually is not, and the distinction between the two is something modern medicine is equipped to sort out.