What to Do When You’re Having an Anxiety Attack

Practical steps to get through an anxiety attack, understand what’s happening in your body, and feel better in the aftermath.

The single most effective thing you can do during an anxiety attack is slow your breathing down deliberately, even though your body is screaming at you to gasp for more air. An anxiety attack, which clinicians typically call a panic attack, is a surge of intense physical symptoms that peaks within minutes and can feel like a medical emergency even when it isn’t one. The good news is that the attack will pass on its own, and there are concrete steps that can shorten it and make it less overwhelming. The trickier news is that what helps in the moment, what helps prevent future episodes, and what warrants a trip to the emergency room are three different conversations.

What Is Actually Happening in Your Body

Understanding the mechanics won’t stop the fear entirely, but it can take the edge off the worst of it. During a panic attack, your body launches a stress response that is real and measurable but disproportionate to any actual threat. Research monitoring patients during spontaneous attacks found marked increases in epinephrine secretion, with a mean jump of about 153%, along with heart rate increases averaging around 27% in those affected. Blood pressure changes, by contrast, were generally small. And contrary to what many people assume, the sympathetic nervous system is not globally activated during a panic attack. The response is more selective and uneven than a simple “fight or flight” switch being flipped.

The symptoms you feel, though, are unmistakably physical. Compared to people with generalized anxiety, those experiencing a panic attack report significantly more difficulty breathing, sweating, rapid heartbeat, tension, and intense worry all at once. Panic disorder tends to come on suddenly, often in your mid-to-late twenties, and the symptoms are heavily tied to hyperventilation. The breathing changes drive many of the other sensations: tingling in the hands, dizziness, chest tightness, and the terrifying feeling that you can’t get enough air.

This is worth knowing because it reframes the experience. You are not dying. Your body is flooding itself with adrenaline and altering its breathing pattern, which creates a cascade of frightening but temporary sensations. The attack itself typically peaks within ten minutes and subsides on its own.

Slow Your Breathing First

The reason breathing is the first line of defense is that hyperventilation drives a huge share of panic symptoms. When you breathe too fast, you blow off too much carbon dioxide, which shifts your blood chemistry and creates tingling, lightheadedness, and chest discomfort. These sensations feed the panic, which makes you breathe faster, which makes the sensations worse. Breaking that cycle is the single most impactful thing you can do during an attack.

The technique itself is simple. Breathe in slowly through your nose for a count of four, hold briefly, and breathe out through your mouth for a count of six or longer. The exhale being longer than the inhale is the key part, because extended exhalation activates the parasympathetic nervous system, which is the body’s braking system for the stress response. A randomized trial of slow-paced breathing in people with panic disorder found that regular practice improved heart rate variability parameters and shifted the autonomic nervous system toward parasympathetic dominance. Another randomized trial found that slow-paced breathing with biofeedback reduced inflammatory markers in people with panic disorder.

You don’t need biofeedback equipment for this to work in the moment. Just focus on making each exhale slow and deliberate. If counting feels impossible while you’re panicking, try breathing out through pursed lips as if you’re blowing through a straw. The physical restriction naturally slows the exhale.

The Cold Water Reset

If breathing alone isn’t cutting through the panic, cold water on your face can trigger a rapid physiological shift. Applying a cold stimulus to the face activates the parasympathetic nervous system and produces an immediate decrease in heart rate. Researchers have investigated this response, known as the cold face test, as an intervention to reduce acute stress responses, and it works by engaging the vagus nerve, which runs from the brainstem through the face and down into the chest and abdomen.

In practical terms, this means splashing very cold water on your face, pressing a cold wet cloth against your forehead and cheeks, or holding an ice cube in your hands. The effect isn’t subtle. Many people report a noticeable downshift in their heart rate and a slight calming sensation within seconds. It won’t end the attack entirely, but it can break the escalation long enough for you to get your breathing under control.

Grounding When Your Mind Is Spiraling

Panic attacks are not just physical. They come with a cognitive component that can be just as debilitating: the conviction that something catastrophic is happening. You might feel certain you’re having a heart attack, losing your mind, or about to pass out in public. Grounding techniques work by pulling your attention out of that catastrophic thought loop and anchoring it to something concrete in the present moment.

The most widely used approach is the 5-4-3-2-1 method: name five things you can see, four you can touch, three you can hear, two you can smell, and one you can taste. It sounds almost absurdly simple, and the evidence base comes mostly from clinical practice rather than large randomized trials. But research on grounding techniques for anxiety has shown statistically significant reductions in anxiety levels following their use. The mechanism is straightforward: your brain struggles to maintain catastrophic projections about the future while simultaneously cataloguing the details of your immediate surroundings. The sensory inventory forces a shift in attention.

Another grounding strategy is to pick up a physical object, like your keys or a pen, and describe it to yourself in exhaustive detail: its weight, temperature, texture, color. Anything that demands focused sensory attention serves the same purpose. The goal isn’t to make the fear disappear instantly but to interrupt the feedback loop between catastrophic thoughts and physical symptoms.

Is This a Panic Attack or Something Else

One of the cruelest features of a panic attack is that it mimics a heart attack convincingly enough to send people to the emergency room. Chest pain, shortness of breath, dizziness, and a pounding heart are hallmarks of both conditions. The overlap is significant enough that researchers have specifically studied whether standard emergency department assessments can tell them apart, and the answer is sobering: there were no clinical signs or symptoms routinely collected as part of a chest pain workup that could reliably distinguish patients with and without panic disorder.

This means that even doctors need diagnostic testing, not just symptom reports, to tell the difference. For you, the practical rule is this: if you have never been diagnosed with panic disorder and you are experiencing crushing chest pain, pain radiating to your arm or jaw, or extreme shortness of breath, go to the emergency room. Being evaluated for a cardiac event and finding out it was a panic attack is a much better outcome than assuming it’s “just anxiety” and being wrong. Clinicians stress that it is important for physicians to be able to recognize panic attacks and distinguish them from cardiac disease, precisely because both directions of misidentification carry risks.

If you have an established panic disorder diagnosis and have been through this before, you can usually recognize the familiar pattern. The attack builds rapidly, peaks within about ten minutes, and doesn’t come with the exertional trigger that cardiac events often have. But even people who know their panic attacks well should seek emergency care if the chest pain feels different from their usual episodes or lasts significantly longer.

What Makes Attacks More Likely

Caffeine is one of the most underappreciated triggers. A systematic review and meta-analysis pooling studies on caffeine and panic found that roughly half of panic disorder patients experienced a panic attack after caffeine administration, while none did after placebo. Patients were far more vulnerable than healthy controls, and showed increased sensitivity to caffeine’s anxiety-producing effects. A separate study found that people with panic disorder consumed significantly more caffeine than healthy controls, including more caffeinated medications and energy drinks.

Sleep deprivation is the other major modifiable risk factor that doesn’t get enough attention. Experimental research has shown that sleep deprivation increases anxious and fearful responding to biological challenges that mimic panic, suggesting it may be an important factor in the development of panic symptoms. People with panic disorder in the caffeine study also reported sleeping significantly less than controls.

If you’re having recurrent attacks, cutting caffeine (including energy drinks and caffeinated medications, which people often overlook) and stabilizing your sleep are two changes with real evidence behind them. Neither is a cure, but both reduce the physiological kindling that makes your nervous system more prone to tipping over into panic.

Medications and Their Tradeoffs

For people whose attacks are frequent or severe enough to interfere with daily life, medication is part of the conversation. The two main classes used are benzodiazepines and SSRIs, and they work very differently.

Benzodiazepines offer rapid onset of action, which is why they’re sometimes prescribed as a rescue medication for acute attacks. But they come with a real cost: tolerance and dependence develop with regular use. Abrupt withdrawal after regular use can induce a rebound anxiety state that is worse than the original problem, along with physical symptoms. This makes them a poor choice for ongoing daily use in most people, though they can serve a role as an occasional emergency tool under careful medical supervision.

SSRIs take weeks to reach full effect and don’t help during an acute attack, but they’re the first-line preventive medication for panic disorder because they reduce the frequency and severity of attacks over time without the dependence problems of benzodiazepines. The combination of an SSRI for baseline prevention and a benzodiazepine for rare emergency use is a common prescribing pattern, though the trend in recent years has been to minimize benzodiazepine prescriptions wherever possible.

Therapy That Changes How Your Brain Responds

Medication manages the symptoms, but the therapy approaches with the strongest evidence base actually change the way your nervous system reacts to the sensations that trigger panic. The most effective of these involve something called interoceptive exposure, which is deliberately and safely reproducing the physical sensations of a panic attack in a controlled setting so your brain learns they are not dangerous.

This sounds counterintuitive, and the first session can be uncomfortable. A therapist might have you hyperventilate for thirty seconds, spin in a chair, or breathe through a straw to recreate the dizziness, chest tightness, or air hunger you associate with attacks. Research comparing cognitive therapy to interoceptive exposure found no significant differences between the two approaches: both produced high rates of panic-free patients at the end of treatment and at follow-up, with anywhere from 75% to 92% of patients becoming panic-free. In patients for whom specific exercises like hyperventilation, breath-holding, spinning, or chest breathing were effective, significant improvement in fear of bodily sensations was observed.

This approach also works in online formats. A randomized controlled trial of internet-based acceptance and commitment therapy combined with interoceptive exposure found it to be effective for panic disorder and showed promise even for patients with concurrent agoraphobia. This matters because many people with panic disorder avoid leaving the house or traveling to appointments, so remote treatment removes a significant barrier.

What to Tell Someone Else Who Is Having an Attack

If you witness someone having a panic attack, your instinct may be to ask a lot of questions or try to reason them out of it. Neither tends to help. A Delphi study that developed mental health first aid guidelines for panic attacks identified 27 consensus-endorsed actions for members of the public to take when helping someone in this situation. The general principles that emerged emphasize staying calm yourself, speaking in short clear sentences, avoiding dismissive reassurance (“you’re fine, there’s nothing wrong”), and offering to guide the person through slow breathing rather than telling them to “just relax.”

Move the person to a quieter environment if possible. Ask them what has helped in the past, because people who have had previous attacks usually know what works for them. Don’t touch someone without asking first. The physical sensation of being grabbed or held can intensify panic in some people, though others find a hand on their shoulder stabilizing. Let the person lead on this.

Digital Tools and Tracking

Smartphone apps that provide biofeedback during panic attacks are a growing area of interest, though the evidence is still early. A pilot study of a digital therapeutic called PanicMechanic, which delivers real-time biofeedback during attacks, found that 94% of participants said they would recommend it to others who experience panic attacks. The researchers noted it was largely feasible to use, though they highlighted the need for integration with wearable devices and a controlled trial to establish actual effectiveness.

Even without specialized apps, tracking your attacks in a simple log can be genuinely useful. Recording when attacks happen, what you were doing, how much caffeine or sleep you’d had, and what helped gives you data over time. Patterns that are invisible day to day become obvious over weeks. Many people discover their attacks cluster around specific triggers, such as caffeine after noon, poor sleep the night before, or particular social situations, and that knowledge alone reduces the feeling of randomness that makes panic disorder so demoralizing. The attacks start to feel less like lightning strikes and more like something with identifiable precursors you can manage.