When the fear arrives suddenly and peaks fast, doctors call it a panic attack. The National Institute of Mental Health describes it as a sudden wave of fear or discomfort even when there is no clear danger or trigger.
Some people are simply more sensitive to their own body signals. And a few medical problems, like an overactive thyroid or a heart rhythm problem, can feel almost the same, which is why they are worth ruling out.
What happens in your body during an anxiety attack?
Your survival system fires as if you were in danger. Some researchers think panic attacks are like “false alarms,” where the body’s survival instincts are active too often or too strongly (NIMH).
The physical symptoms can include a pounding or racing heart, sweating, chills, trembling, difficulty breathing, dizziness, tingly or numb hands, chest pain and nausea (NIMH). A panic attack begins suddenly and most often peaks within 10 to 20 minutes, though some symptoms continue for an hour or more (MedlinePlus).
Panic attacks themselves are not life-threatening, and the physical symptoms usually resolve with time (NIMH). The trouble is the loop they can start. Someone might feel their heart pounding and assume they are having a heart attack, and that fear feeds the next attack.
Why do some people get them and others don’t?
Part of the answer is how strongly you react to your own body sensations. Researchers call this anxiety sensitivity: a fear of anxiety-related sensations, such as a fast heartbeat or breathlessness (McNally, 2002).
It predicts attacks before they happen. In a study of 1,401 young adults followed through five weeks of military basic training, about 20% of those with the highest anxiety sensitivity scores had a panic attack, compared with 6% of everyone else (Schmidt and colleagues, 1997).
Breathing chemistry is another piece. A review of the research proposed that some people with panic disorder have a hypersensitive carbon dioxide alarm system, and that triggering it may set off panic (Papp and colleagues, 1993). The same review found that fast breathing on its own is neither necessary nor sufficient for panic to occur.
Carbon dioxide sensitivity is not unique to panic disorder. A 2021 analysis of 41 studies and 2,181 people found that breathing air with extra carbon dioxide was more likely to set off an attack in people with panic disorder, premenstrual dysphoric disorder and social anxiety disorder than in healthy volunteers (network meta-analysis, 2021).
Genes may play a role too, but the cause of panic disorder is unknown, and it often occurs when there is no family history (MedlinePlus). Panic disorder is twice as common in women as in men. For the gene side of anxiety in more depth, see our guide to what causes anxiety disorders.
What triggers an anxiety attack?
| Trigger | What the evidence shows |
|---|---|
| Caffeine | In blinded studies, 51.1% of people with panic disorder had a panic attack after caffeine and none after a placebo (Klevebrant and Frick, 2022). |
| Short sleep | Even modest night-to-night reductions in sleep predict increases in anxiety the next day (Ben Simon and colleagues, 2020). |
| Alcohol withdrawal | Anxiety, shakiness and a rapid heart rate are withdrawal symptoms that tend to start within 8 hours after the last drink (MedlinePlus). |
| Cold medicines and stimulants | MedlinePlus advises people with panic disorder to reduce or avoid caffeine, certain cold medicines and stimulants (MedlinePlus). |
| Memory of an attack | Recalling a past attack may trigger panic attacks (MedlinePlus). |
The caffeine finding is lopsided. In the same analysis, people with panic disorder were far more vulnerable than healthy volunteers: 53.9% had an attack after caffeine, against 1.7% of healthy controls (Klevebrant and Frick, 2022).
Too much caffeine can also cause a fast heart rate, palpitations, jitters and anxiety on its own (FDA).
Not every attack has a trigger. At least in the early stages of panic disorder, there is no trigger that starts the attack (MedlinePlus).
Which medical problems can feel like an anxiety attack?
Before panic disorder is diagnosed, other medical disorders must be checked for, and blood tests may be done (MedlinePlus).
| Condition | Overlapping symptoms | Test that helps |
|---|---|---|
| Overactive thyroid | Rapid or irregular heartbeat, nervousness, shaky hands and sweating (NIDDK). | A TSH blood test can tell if you have too much thyroid hormone (MedlinePlus). |
| Low blood sugar | Feeling shaky or jittery, dizzy, irritable, or that your heart is beating too fast (NIDDK). | A blood glucose reading, most often with a blood glucose meter (NIDDK). |
| Heart rhythm problem | Palpitations, anxiety, chest discomfort, dizziness and difficulty breathing (NHLBI). | An electrocardiogram (EKG) is the most common test for diagnosing arrhythmias (NHLBI). |
| Alcohol withdrawal | Anxiety, jumpiness, sweating and a rapid heart rate (MedlinePlus). | A doctor’s history of drinking and timing; symptoms tend to peak by 24 to 72 hours (MedlinePlus). |
Blood tests used when looking for a rhythm problem include electrolytes such as potassium and thyroid hormone (NHLBI). If you already take a medicine for your thyroid, our article on what a high TSH result means explains the other direction.
When should you get emergency help?
Get emergency care for chest pain or trouble breathing, even if you think it is anxiety. Many people with panic disorder first seek treatment at the emergency room because the panic attack often feels like a heart attack (MedlinePlus).
The National Heart, Lung, and Blood Institute advises seeking emergency medical care if symptoms are very serious, such as difficulty breathing or chest pain (NHLBI).
What you might try (talk to your doctor first)
- Keep a symptom log: write down when it happens, what you feel and what you were doing, as NHLBI recommends for heart symptoms (NHLBI).
- Cut back on caffeine, certain cold medicines and stimulants, and avoid alcohol (MedlinePlus).
- Eat at regular times, get plenty of exercise and get enough sleep (MedlinePlus).
- Ask about cognitive behavioral therapy (CBT), which teaches different ways of reacting to the feelings that happen during or before a panic attack (NIMH).
- Ask about breathing retraining, which a review found may block the full-blown attack (Papp and colleagues, 1993).
If you take any prescription medicine, including antidepressants, a thyroid medicine or a blood thinner, speak with your prescriber before changing anything, supplements included.
For attacks that wake you up at night, our article on nocturnal panic attacks covers the sleep side.
How Enovone can help
Ena, our AI health guide, can look at your attacks alongside your lab results, such as TSH and glucose, your DNA and your symptom log, and help you see which look-alike causes are worth ruling out first. A licensed doctor reviews anything that needs a clinician.
Ask Ena what might be behind your attacks.
Common questions
Can an anxiety attack happen for no reason?
Yes. Panic attacks can come as a sudden wave of fear even when there is no clear danger or trigger, and at least in the early stages of panic disorder there is often no trigger that starts the attack. That is part of what makes them frightening. Keeping a log of when they happen can still turn up patterns, such as caffeine, short sleep or the hours after drinking.
How long does an anxiety attack last?
A panic attack begins suddenly and most often peaks within 10 to 20 minutes. It can last from a few minutes to an hour or sometimes longer, and some symptoms can linger after the peak. The physical symptoms usually resolve with time. If symptoms keep going for hours, or include chest pain or trouble breathing, get checked rather than assuming it is anxiety.
Can caffeine cause anxiety attacks?
It can in people who are prone to them. In blinded studies, about half of people with panic disorder had a panic attack after caffeine and none after a placebo, while only 1.7% of healthy volunteers did. Too much caffeine can also cause a fast heart rate, palpitations and jitters on its own. Ask your doctor what amount is right for you.
How do I know if it is an anxiety attack or a heart problem?
You often cannot tell from the inside, because heart rhythm problems can cause palpitations, chest discomfort, dizziness and even anxiety. Many people with panic attacks first go to the emergency room for this reason. Seek emergency care for chest pain or difficulty breathing. A doctor can use an EKG, the most common test for rhythm problems, and blood tests to sort it out.
Sources
- National Institute of Mental Health. Panic Disorder: What You Need to Know.
- MedlinePlus. Panic disorder.
- Klevebrant L, Frick A. Effects of caffeine on anxiety and panic attacks in patients with panic disorder. Gen Hosp Psychiatry, 2022.
- FDA. Spilling the Beans: How Much Caffeine Is Too Much?
- Papp LA et al. Carbon dioxide hypersensitivity, hyperventilation, and panic disorder. Am J Psychiatry, 1993.
- A systematic review and network meta-analysis of carbon dioxide provocation in psychiatric disorders. J Psychiatr Res, 2021.
- McNally RJ. Anxiety sensitivity and panic disorder. Biol Psychiatry, 2002.
- Schmidt NB et al. The role of anxiety sensitivity in the pathogenesis of panic. J Abnorm Psychol, 1997.
- Ben Simon E et al. Overanxious and underslept. Nat Hum Behav, 2020.
- NIDDK. Hyperthyroidism (Overactive Thyroid).
- NIDDK. Low Blood Glucose (Hypoglycemia).
- NHLBI. Arrhythmias: Symptoms.
- NHLBI. Arrhythmias: Diagnosis.
- MedlinePlus. Alcohol withdrawal.
- MedlinePlus. TSH (Thyroid-stimulating hormone) Test.