Most heart palpitations can be stopped or eased within seconds to minutes using simple physical techniques that activate your vagus nerve, the main nerve connecting your brain to your heart. That fluttering, pounding, or racing sensation is almost always harmless, especially if it lasts less than five minutes and you have no history of heart disease. But knowing exactly what to do in the moment, and what to change long-term, makes a real difference in how often palpitations show up and how quickly they pass.
Vagal Maneuvers: The Fastest Way to Slow Your Heart
Your vagus nerve acts like a brake pedal for your heart rate. Stimulating it sends a signal that tells your heart to slow down. These techniques, called vagal maneuvers, are the same ones used in emergency rooms to interrupt abnormal heart rhythms.
The most effective one you can do at home is the Valsalva maneuver. Bear down as if you’re having a bowel movement, hold that pressure for 10 to 15 seconds, then lie back and bring your knees to your chest or raise your legs in the air. Keep your legs elevated for 30 to 45 seconds after you stop bearing down. This two-step version (straining, then repositioning) works better than straining alone because the sudden shift in blood flow back to your heart amplifies the vagal response.
A simpler version that works well for children and some adults: blow hard against your closed thumb as if inflating a balloon, without letting any air escape. Forceful coughing is another option. Both create the same kind of internal pressure that stimulates the vagus nerve, though they tend to be slightly less reliable than the full Valsalva technique.
Other In-the-Moment Techniques
Splashing ice-cold water on your face or pressing a cold, wet towel against your forehead triggers what’s known as the dive reflex. Your body reacts as though you’ve plunged into cold water, reflexively slowing your heart rate. Some people find this works faster than bearing down.
Slow, controlled breathing helps too. Inhale through your nose for four counts, hold for four, and exhale through your mouth for six to eight counts. The extended exhale is what activates the vagus nerve. This approach is especially useful when anxiety is driving the palpitations, since it interrupts the stress response at the same time.
Sitting or lying down matters more than most people realize. If you’re standing when palpitations start, gravity is pulling blood away from your heart, forcing it to work harder. Getting horizontal or at least sitting with your legs elevated takes that strain off immediately.
Why Anxiety Triggers Palpitations
Anxiety is one of the most common causes of palpitations in people with otherwise healthy hearts. When you feel stressed or uneasy, your autonomic nervous system activates the fight-or-flight response, flooding your body with adrenaline. Adrenaline directly speeds up your heart rate and makes each beat feel more forceful, which is why you suddenly become aware of your heartbeat during moments of panic or worry.
The tricky part is that noticing palpitations often creates more anxiety, which releases more adrenaline, which makes the palpitations worse. Breaking that cycle is key. The breathing techniques above work partly because they shift your nervous system out of fight-or-flight mode and into its calmer counterpart. People with a history of panic disorder are actually less likely to have a dangerous cardiac cause behind their palpitations, so if anxiety is your primary trigger, that’s somewhat reassuring.
Dehydration and Electrolyte Imbalances
When you’re dehydrated, your blood volume drops. With less blood filling the heart, each beat produces a weaker contraction. Your heart compensates by beating faster and harder, which you feel as palpitations. This effect gets worse quickly with even light physical activity, like walking up stairs or standing up from a chair.
Dehydration also disrupts your electrolyte balance, and that’s where the real trouble starts. Electrolytes, particularly potassium and magnesium, control the electrical signals that keep your heart beating in a steady rhythm. Too little of either one can provoke irregular beats. Drinking plain water helps with volume, but if you’ve been sweating, sick, or not eating well, you may need to replace electrolytes too.
Magnesium
Magnesium plays a direct role in heart rhythm stability. Adults need between 310 and 420 mg per day depending on age and sex. Men over 31 need about 420 mg daily, while women in the same age group need about 320 mg. Good food sources include dark leafy greens, nuts, seeds, beans, and whole grains. Many people fall short of these targets through diet alone, which is one reason magnesium supplements are commonly discussed for palpitations. If you go the supplement route, stick within the recommended daily amount.
Potassium
Potassium requirements are higher than most people expect. Adult men need about 3,400 mg per day, and adult women need about 2,600 mg. Bananas get all the credit, but potatoes, sweet potatoes, beans, spinach, yogurt, and salmon are actually richer sources per serving. Coconut water is another practical option when you need a quick potassium boost alongside hydration.
Common Triggers Worth Tracking
Caffeine is the most obvious trigger, but the threshold varies enormously between people. Some can drink three cups of coffee without issue, while others get palpitations from a single cup of green tea. Alcohol is another frequent culprit, particularly in the hours after drinking when your body is metabolizing it. Even moderate amounts can provoke extra beats in some people.
Nicotine, both from cigarettes and vaping, stimulates adrenaline release and directly increases heart rate. Large meals, especially those high in sugar or refined carbs, can trigger palpitations because the resulting blood sugar spike prompts an insulin surge that shifts electrolytes temporarily. Eating smaller, more balanced meals reduces this effect.
Poor sleep is an underappreciated trigger. Sleep deprivation raises baseline stress hormones and makes your nervous system more reactive, lowering the threshold for palpitations throughout the following day. If your palpitations tend to cluster during stressful weeks or after bad nights of sleep, that connection is likely more than coincidence.
Keeping a brief log of when palpitations happen, what you ate or drank beforehand, how much sleep you got, and your stress level can reveal your personal pattern within a week or two.
When Palpitations Signal Something Serious
The vast majority of palpitations are benign, but certain combinations of symptoms need immediate attention. Call emergency services if palpitations won’t stop on their own and are accompanied by any of the following: passing out or feeling like you’re about to pass out, chest pain or pressure spreading to your neck, jaw, or arms, or difficulty breathing.
Outside of emergencies, some patterns warrant a conversation with your doctor. Palpitations that happen during exercise rather than at rest are more concerning than those that occur while sitting on the couch. Episodes that wake you from sleep, or that happen alongside swelling in your legs or feet, deserve evaluation. A history of heart disease in yourself or close family members also raises the stakes.
Palpitations lasting less than five minutes at a time, without any of the symptoms above, are unlikely to have a dangerous cause. But if they’re frequent enough to bother you, even benign palpitations are worth discussing because treatments exist that can reduce how often they happen.