What to Do When You Have a Panic Attack

The single most effective thing you can do during a panic attack is slow your breathing and remind yourself that what you’re feeling, however terrifying, is not dangerous and will pass. A typical panic attack peaks within about ten minutes and rarely lasts longer than half an hour. That knowledge alone can change the experience, because much of a panic attack’s intensity comes from the fear that something catastrophic is happening. The strategies below work both during an attack and as part of a longer-term plan to reduce their frequency.

What Is Actually Happening in Your Body

Understanding the mechanics makes the coping strategies make sense. During a panic attack, a brain region called the amygdala activates the same alarm network that would fire if you were in genuine physical danger. Signals shoot from the amygdala to the hypothalamus and brainstem, triggering a cascade of fight-or-flight responses: racing heart, rapid breathing, sweating, tingling, chest tightness, and a rush of adrenaline.1PubMed. Neuroanatomical hypothesis of panic disorder, revised The trouble is, there’s no actual predator. Your body is reacting to a threat that isn’t there.

One of the most important downstream effects is hyperventilation. When you breathe too fast, you blow off too much carbon dioxide (CO2), which shifts your blood chemistry and produces many of the sensations people find most frightening: dizziness, numbness in the hands and face, a feeling of unreality, and a tightening in the chest. Research suggests that low CO2 levels play a central role in sustaining and worsening panic symptoms, even though the exact mechanism is still debated.2PubMed Central. Hyperventilation in panic disorder and asthma: empirical evidence and clinical strategies This is why breathing techniques are the first line of defense: they directly counteract the chemical shift that drives many of the worst symptoms.

Slow Your Breathing First

The most reliable in-the-moment intervention is controlled, slow breathing with an emphasis on a long exhale. A common pattern is to inhale through the nose for four counts, hold briefly, and exhale slowly through pursed lips for six to eight counts. The extended exhale activates your parasympathetic nervous system, which is the branch that calms everything down. You’re essentially sending a manual signal to your brain that says “stand down.”

The goal is not to take huge deep breaths. People in the middle of a panic attack who try to gulp air often make hyperventilation worse. Instead, aim for slow and shallow. If counting feels impossible in the moment, try breathing out as though you’re blowing through a straw. That naturally slows the rate and prevents you from over-breathing.

A technology-assisted version of this approach uses a device that gives you real-time feedback on your CO2 levels and breathing rate. In a trial of 69 adults with panic disorder who used four weeks of capnometry-guided respiratory training, the response rate was 83%, and more than half achieved remission. Their CO2 levels moved from slightly low back into the normal range, confirming that restoring CO2 balance is a key part of why breathing retraining works.3PubMed Central. A Multisite Benchmarking Trial of Capnometry Guided Respiratory Intervention for Panic Disorder in Naturalistic Treatment Settings You don’t need the device to benefit from the principle. The device just proves what the technique is doing physiologically.

Use Cold Water to Activate the Diving Response

If breathing exercises feel too hard to manage in the grip of full panic, there’s a more physical trick: apply cold water or a cold pack to your face, especially around the eyes and cheeks. This triggers what’s known as the mammalian diving response, a reflex that automatically slows your heart rate and redirects blood flow. It’s the same reflex that kicks in when you plunge your face into cold water. In a clinical study, a cold facial immersion task significantly reduced heart rate and lessened self-reported anxiety and panic symptoms in people with panic-level anxiety.4PubMed Central. The Implications of the Diving Response in Reducing Panic Symptoms

In practice, you can splash very cold water on your face, hold a bag of frozen vegetables against your cheeks, or press a cold wet cloth across the bridge of your nose and under your eyes. The colder the better, within reason. Some people keep a zip-lock bag of ice in the freezer specifically for this purpose. It’s fast-acting and doesn’t require you to concentrate on counting or breathing patterns, which makes it useful when panic has already gotten intense.

Talk Yourself Through It

Panic attacks derive much of their power from catastrophic interpretation: “I’m having a heart attack,” “I’m going to faint and die,” “I’m losing my mind.” Research has found that changing these interpretations is one of the strongest predictors of recovery. In treatment studies, reductions in catastrophic misinterpretations predicted subsequent drops in panic frequency, distress, and avoidance behavior.5PubMed Central. Catastrophic misinterpretations as a predictor of symptom change during treatment for panic disorder The relationship was specific: changing how people interpreted their symptoms led to improvement, but the reverse path (just reducing symptoms first) didn’t reliably change the interpretations. In other words, the story you tell yourself about what’s happening matters at least as much as the physical sensations themselves.

During an attack, try naming what’s happening out loud or in your head: “This is a panic attack. My body thinks there’s a threat, but there isn’t one. This will peak and then fade.” You don’t need to believe it fully in the moment. Even a partial acknowledgment that this is panic and not a medical emergency can reduce the spiral of fear feeding more fear. Some people find it helpful to have a scripted phrase they’ve memorized and rehearsed during calm moments, so it’s available automatically when they need it.

Ground Yourself With Your Senses

Grounding techniques work by pulling your attention out of the internal alarm loop and anchoring it to something concrete in your environment. The most commonly taught version is the 5-4-3-2-1 method: identify five things you can see, four you can touch, three you can hear, two you can smell, and one you can taste. The exact numbers don’t matter. What matters is that you’re forcing your brain to process specific sensory input, which competes with the panic signals for attention.

Other grounding options include holding an ice cube in your hand, pressing your feet firmly into the floor and noticing the pressure, running your fingers along a textured surface, or biting into something with a strong flavor like a lemon wedge. The principle is the same across all of them: give your nervous system something real and immediate to focus on. Grounding doesn’t stop the physiological cascade, but it can prevent the escalation that happens when fear of the symptoms becomes the dominant experience.

Is It a Panic Attack or Something Else

One of the most common fears during a first panic attack is that you’re having a heart attack. The symptoms overlap more than you’d expect: chest pain, shortness of breath, sweating, nausea, and a sense of impending doom all appear in both conditions. Distinguishing between them matters both for your safety and for avoiding unnecessary trips to the emergency room that can reinforce the panic cycle.6International Journal of Clinical Practice. Chest Pain: Panic Attack or Heart Attack?

Some general patterns can help you tell the difference, though none are foolproof:

  • Chest pain quality: Panic attacks tend to produce sharp, stabbing chest pain that stays in one spot and is often worst when you breathe in. Cardiac chest pain is more often described as pressure, squeezing, or heaviness that spreads to the arm, jaw, or back.
  • Duration: Panic attack symptoms usually peak within ten minutes and then begin fading. Heart attack symptoms tend to persist or worsen over time.
  • Tingling and numbness: Widespread tingling, especially in the hands and around the mouth, is a classic sign of hyperventilation and strongly suggests panic.
  • Context: If you’ve had panic attacks before and this feels like those, that’s reassuring. If you’ve never experienced anything like this, especially if you have risk factors for heart disease, err on the side of getting checked.

If there is any real doubt, call emergency services. Panic attacks are not dangerous, but actual cardiac events are. It’s better to get cleared by a doctor and learn it was panic than to dismiss a genuine cardiac problem. Once you’ve been medically evaluated and know your heart is healthy, that knowledge becomes part of your toolkit for future attacks: “I’ve been checked. My heart is fine. This is panic.”

Panic Attacks That Wake You From Sleep

Not all panic attacks happen while you’re awake and stressed. Between 44% and 71% of people with panic disorder report waking from sleep in a state of full panic, a phenomenon called nocturnal panic. These episodes emerge from non-REM sleep and are distinct from nightmares, sleep terrors, and sleep apnea.7PubMed. Assessment and treatment of nocturnal panic attacks You don’t wake up from a scary dream; you wake up with your heart pounding and no identifiable trigger. That lack of an obvious cause can make nocturnal panic attacks feel even more frightening than daytime ones.

The same coping strategies apply: sit up, slow your breathing, turn on a light, remind yourself this is a known phenomenon and it will pass. Some people find it helpful to get out of bed briefly and do something low-key, like walking to another room or sipping cold water, to break the association between the bed and the panic. If nocturnal panic attacks recur, mention them specifically to a clinician, because they sometimes respond to slightly different treatment approaches than daytime attacks.

Common Triggers Worth Knowing About

Panic attacks can strike without any obvious trigger, which is part of what makes them so disorienting. But certain factors lower the threshold and make an attack more likely. Caffeine is one of the better-studied triggers. Research on people with panic disorder has found that caffeine can provoke panic attacks in a susceptible subgroup, and the mechanism appears to involve an amplified sensitivity to CO2 buildup. In these individuals, caffeine worsened their already heightened reaction to rising CO2 levels.8PubMed. Caffeine challenge and breath-holding duration in patients with panic disorder If you’ve noticed that your attacks tend to follow heavy coffee consumption, reducing your intake is one of the simplest modifications you can make.

Other common contributors include sleep deprivation, alcohol withdrawal (even the mild “rebound” anxiety after a night of drinking), major life stress, and physical illness that produces unusual body sensations. Heat, dehydration, and skipping meals can all produce lightheadedness and a racing heart that gets misread as the beginning of an attack, which then becomes one. Knowing your personal triggers doesn’t prevent attacks entirely, but it reduces the frequency of the ones that are avoidable.

Longer-Term Treatment That Reduces Attacks

In-the-moment coping is essential, but if you’re having repeated panic attacks, the goal shifts toward reducing how often they happen and how much they control your life. The most effective long-term approach is a form of cognitive behavioral therapy that includes interoceptive exposure, which means deliberately and safely reproducing the physical sensations of panic (spinning in a chair, breathing through a straw, hyperventilating briefly) so your brain learns that those sensations are not dangerous. In clinical trials, exercises like intentional hyperventilation and breath-holding produced significant improvements in the fear of body sensations that fuels panic disorder.9PubMed Central. Interoceptive hypersensitivity and interoceptive exposure in patients with panic disorder: specificity and effectiveness

Medication is another option, either alongside therapy or on its own. A large network meta-analysis of randomized trials found that several drug classes achieved significantly higher remission rates than placebo for panic disorder, including SSRIs, tricyclic antidepressants, and benzodiazepines.10PubMed Central. Drug treatment for panic disorder with or without agoraphobia: systematic review and network meta-analysis of randomised controlled trials SSRIs are generally the first-line medication because they carry fewer risks. Benzodiazepines work fast, which makes them tempting for acute relief, but regular use leads to physical dependence and withdrawal symptoms that can resemble the very anxiety they were prescribed for.11PubMed Central. Benzodiazepines: Uses, Dangers, and Clinical Considerations Most clinicians now prescribe benzodiazepines only for short-term or as-needed use while an SSRI takes effect, which usually takes a few weeks.

How to Help Someone Else During a Panic Attack

If you’re with someone who’s having a panic attack, the most important thing is to stay calm yourself. Your composure is contagious in the same way that their alarm is. Research into mental health first aid for panic attacks identified a set of consensus-backed guidelines covering what a bystander should know and do.12BMC Psychology. Redevelopment of mental health first aid guidelines for supporting someone experiencing a panic attack: a Delphi study

Practical steps that help:

  • Speak calmly and simply: “You’re safe. This is a panic attack. It’s going to pass.” Don’t over-explain or lecture.
  • Ask before touching: Some people find a hand on their shoulder grounding; others feel trapped by physical contact during panic. Ask first.
  • Offer to breathe with them: Exaggerate your own slow breathing so they can match your pace. This is often more effective than telling them to breathe slowly, because it gives them a visual and auditory rhythm to follow.
  • Don’t minimize: “Just relax” or “there’s nothing to be afraid of” tends to make people feel worse. Acknowledge that what they’re feeling is real and intense, and then reassure them it’s temporary.
  • Stay with them: Don’t leave until the attack subsides and they feel stable. After it’s over, ask what would help: some people want to talk about it, others want to move on quickly.

If you’re unsure whether the person is having a panic attack or a medical emergency, the guidelines advise treating it as a potential medical event until you have reason to believe otherwise. That means calling for help if there’s any ambiguity.

Why Your Brain Does This in the First Place

It’s natural to wonder why the body would have a system so prone to false alarms. One framework from evolutionary biology, called the Smoke Detector Principle, offers an explanation. The idea is that any defense system calibrated to catch every real threat will inevitably produce false alarms, because the cost of missing a genuine danger (death) is so much higher than the cost of a false alarm (a few minutes of unpleasant arousal). Anxiety, from this perspective, is like a smoke detector that goes off when you burn toast: annoying and occasionally debilitating, but the alternative, a smoke detector that stays silent during a real fire, is far worse.13Evolution, Medicine, and Public Health. The smoke detector principle: Signal detection and optimal defense regulation

This doesn’t make panic attacks feel any less awful, but it reframes them as a misfiring of a system that exists for good reason. Your brain isn’t broken. It’s over-cautious. For some people, that reframing itself is therapeutic: the attack isn’t evidence of something wrong with you, it’s evidence of a protective system with a hair trigger.

Emerging Research on the Gut and Panic

One area of growing interest is the relationship between gut bacteria and panic disorder. A recent case-control study found that people with panic disorder had distinct patterns of gut microbes compared to healthy controls, with differences in bacterial groups linked to inflammation and metabolism.14PubMed Central. Gut Microbiota Alterations in Patients with Panic Disorder: A Case-Control Study This is still early-stage research, and nobody is prescribing probiotics for panic attacks yet. But it fits into a broader picture in which the gut and the brain communicate through shared chemical pathways, and disruptions in one system can show up as symptoms in the other. If you’ve noticed that your digestive health and your anxiety tend to flare together, you’re not imagining it. The connection is real, even if the clinical applications are years away.

For now, the practical takeaway is mundane but solid: the same lifestyle factors that support gut health, regular meals, adequate fiber, limited alcohol, and reasonable sleep, also tend to lower the baseline stress on your nervous system. None of this replaces therapy or medication for someone with recurrent panic attacks, but it’s one more angle worth paying attention to as the science matures.