How to Treat Anxiety Attacks: In the Moment and Long-Term

Anxiety attacks can be stopped or significantly reduced with a combination of immediate breathing and grounding techniques, longer-term therapy, and in some cases medication. Most attacks peak within minutes and resolve within an hour, but they feel overwhelming in the moment because your body’s stress system floods you with hormones that spike your heart rate, tighten your chest, and make you feel like something is seriously wrong. The good news: every one of those symptoms is temporary, and there are concrete steps you can take both during and between episodes.

What’s Happening in Your Body

When an anxiety attack hits, your brain’s stress system kicks off a hormonal chain reaction. Your hypothalamus releases a signaling hormone, which tells your pituitary gland to release another, which tells your adrenal glands to pump out cortisol and adrenaline. This is the same fight-or-flight response your ancestors used to escape predators. The problem is that your body can’t tell the difference between a genuine threat and a triggering thought or stressful situation, so it responds the same way: racing heart, shallow breathing, chest tightness, tingling hands, dizziness, and a wave of dread.

None of these sensations are dangerous, even though they feel alarming. Your heart is beating faster because adrenaline told it to. Your breathing is shallow because your muscles are tensing for action. Understanding this can take some of the fear out of the experience, which itself helps the attack pass faster.

How to Calm an Attack in the Moment

The single most effective thing you can do mid-attack is slow your breathing. Box breathing is a simple technique used by everyone from therapists to military personnel. Here’s how it works: inhale slowly through your nose for a count of four, hold for four, exhale through your mouth for four, then hold again for four. Repeat the cycle. The slow breath holds allow carbon dioxide to build temporarily in your blood, which lowers your heart rate and activates your parasympathetic nervous system (your body’s built-in calm-down system). Most people feel a noticeable shift within two to three minutes.

If your mind is racing too fast to focus on counting, try a sensory grounding exercise called 5-4-3-2-1. It works by pulling your attention out of anxious thoughts and anchoring it to the physical world around you:

  • 5 things you can see. A crack in the ceiling, a pen on the desk, the color of someone’s shirt.
  • 4 things you can touch. The texture of your jeans, the cool surface of a table, the ground under your feet.
  • 3 things you can hear. Traffic outside, a fan humming, your own breathing.
  • 2 things you can smell. If nothing is obvious, walk to a bathroom and smell the soap, or step outside.
  • 1 thing you can taste. Gum, coffee, the lingering flavor of your last meal.

This exercise works because your brain can’t fully process sensory details and spiral into catastrophic thinking at the same time. By the time you reach “one thing you can taste,” the intensity of the attack has typically dropped considerably.

Other Techniques That Help During an Episode

Cold water on your face or an ice cube held in your hand can jolt your nervous system out of panic mode. The cold activates a reflex that slows your heart rate. Some people keep a frozen orange or ice pack nearby for this reason.

Movement also helps. Walking, even just pacing around a room, burns off some of the adrenaline your body released. Gentle stretching or shaking out your hands and arms can reduce the physical tension that builds during an attack. The key is to avoid sitting still and white-knuckling it, which tends to make you focus more on the symptoms.

Talking to yourself out loud can be surprisingly effective. Saying something like “This is an anxiety attack. It will pass. My body is not in danger” gives your rational brain a foothold. It sounds simple, but naming what’s happening reduces the fear of the unknown, which is often what makes an attack escalate.

Is It an Anxiety Attack or Something Else?

One of the most common fears during an anxiety attack is that you’re actually having a heart attack. There are a few reliable ways to tell the difference. With an anxiety attack, chest pain typically stays in the chest. With a heart attack, pain tends to radiate to the arm, jaw, or neck. Heart attacks usually follow physical exertion like climbing stairs or shoveling snow, while anxiety attacks are triggered by emotional stress or sometimes nothing obvious at all. Anxiety attack symptoms peak and then fade within minutes to about an hour. Heart attack symptoms persist or come in waves that keep getting worse.

If you’re ever genuinely unsure, treat it as a cardiac event and get medical help. But if you’ve been checked out before and know your heart is healthy, recognizing the pattern of an anxiety attack can prevent the fear spiral that makes it worse.

It’s also worth knowing that “anxiety attack” isn’t a formal clinical term. The diagnostic manual used by mental health professionals defines panic attacks, which involve a sudden surge of intense fear with physical symptoms like pounding heart, sweating, trembling, and shortness of breath. What most people call an anxiety attack is either a panic attack or a period of intense anxiety that builds more gradually. The distinction matters less than getting the right treatment, but if a clinician asks you to describe your episodes, being specific about whether they come on suddenly or build over time helps them help you.

Long-Term Treatment With Therapy

Breathing techniques manage individual attacks, but therapy addresses the underlying patterns that cause them. Cognitive behavioral therapy (CBT) is the most studied and effective approach for anxiety. It works by helping you identify the thought patterns that trigger or worsen attacks and replacing them with more realistic interpretations. For example, if your usual thought during chest tightness is “I’m dying,” CBT helps you practice replacing it with “My body is having a stress response, and it will pass.”

Exposure therapy, often used alongside CBT, gradually introduces you to situations or sensations you associate with anxiety. If crowded spaces trigger your attacks, a therapist might have you visualize a crowd, then visit a moderately busy store, then a busier one. Over time, your brain learns that the trigger isn’t actually dangerous, and the panic response weakens. Most people see meaningful improvement within 8 to 16 sessions, though this varies.

When Medication Makes Sense

If anxiety attacks are frequent or severe enough to interfere with your daily life, medication can be an effective part of treatment. The most commonly prescribed options for long-term anxiety management are SSRIs and SNRIs, two classes of medication that adjust how your brain processes certain chemical signals. These aren’t quick fixes for an active attack. They take several weeks to reach full effect, and their purpose is to lower your baseline anxiety so attacks happen less often and feel less intense.

For acute, in-the-moment relief, doctors sometimes prescribe fast-acting anti-anxiety medications, but these carry a risk of dependence and are generally used sparingly or short-term while longer-acting medications take effect.

One option worth noting for people who prefer to avoid prescription medication: a lavender oil preparation called Silexan has been studied in clinical trials for generalized anxiety. In a six-week, double-blind study, it reduced anxiety scores by 45%, which was comparable to a commonly prescribed benzodiazepine. It’s available over the counter in capsule form in many countries. It’s not a replacement for therapy or prescription medication in severe cases, but it may be worth discussing with your provider if your anxiety is mild to moderate.

Building a Routine That Reduces Attacks

Lifestyle factors play a larger role in anxiety than most people realize. Regular aerobic exercise (even 20 to 30 minutes of brisk walking) lowers baseline cortisol and increases your brain’s production of calming neurotransmitters. Sleep deprivation makes the stress-response system more reactive, so even one or two nights of poor sleep can make you more vulnerable to an attack. Caffeine directly stimulates adrenaline release, and many people with anxiety find that cutting back or eliminating it noticeably reduces their symptoms.

Alcohol is tricky. It temporarily calms the nervous system, which is why many anxious people gravitate toward it, but it disrupts sleep architecture and increases rebound anxiety the following day. Over time, regular drinking makes anxiety worse, not better.

Building a daily practice of box breathing or another relaxation technique, even for five minutes when you’re not anxious, trains your nervous system to shift into calm mode more efficiently. Think of it like a muscle: the more you practice activating your body’s relaxation response, the faster it kicks in when you actually need it.