How to Stop Palpitations at Night: Tips That Work

Nighttime heart palpitations often respond to simple physical techniques that activate your vagus nerve, the long nerve running from your brain to your abdomen that helps regulate heart rate. In many cases, palpitations at night feel worse than they actually are because your body is still and quiet, making every heartbeat more noticeable. But there are concrete steps you can take both in the moment and throughout the day to reduce or eliminate them.

Techniques That Work in the Moment

When palpitations wake you up or keep you from falling asleep, vagal maneuvers can slow your heart rate within seconds. These work by stimulating the vagus nerve, which sends a signal to your heart to ease up.

The Valsalva maneuver is the most widely recommended. Lie on your back, take a deep breath, then try to exhale forcefully with your nose and mouth closed for 10 to 30 seconds. It should feel like you’re trying to push air through a blocked straw. A modified version that tends to work even better: after holding the strain, quickly bring your knees to your chest or raise your legs in the air and hold that position for 30 to 45 seconds.

The cold water dive reflex is another reliable option. Fill a bowl with ice water, take several deep breaths, hold the last one, and submerge your entire face for as long as you can. If getting out of bed for a bowl of ice water sounds miserable at 2 a.m., pressing a bag of ice or a cold, wet towel firmly against your face triggers the same reflex. This mimics the body’s diving response, which rapidly slows heart rate.

Slow, controlled breathing is the gentlest approach and the easiest to do without fully waking up. Inhale for four seconds, hold for four, exhale for six to eight. Extending the exhale activates the parasympathetic nervous system, the “rest and digest” branch that counterbalances the fight-or-flight response driving your palpitations.

Why Sleeping Position Matters

If you notice palpitations mainly when lying on your left side, there’s a straightforward physical explanation. Your heart sits behind the sternum, but its lower tip, the apex, is made up largely of the left ventricle, the chamber that does most of the heavy pumping. When you roll onto your left side, gravity shifts the apex closer to the chest wall. At the same time, your rib cage compresses slightly under your body weight against the mattress. The result is that the strong pumping action of the left ventricle sits close enough to the chest wall that you feel a noticeable thump.

This isn’t a dangerous rhythm change. It’s your normal heartbeat becoming more perceptible. The stillness and quiet of drifting off to sleep amplify the sensation further. If this describes your experience, simply switching to your right side or your back can make the palpitations seem to disappear.

Common Triggers Earlier in the Day

What you consume hours before bed often shows up as palpitations once you lie down. Caffeine has a half-life of about five to six hours, meaning half of it is still circulating in your blood that long after your last cup. A coffee at 3 p.m. is still affecting your nervous system at 9 p.m. If nighttime palpitations are a recurring problem, cutting off caffeine by noon for a week is a simple experiment worth trying.

Alcohol is a well-documented trigger. Even moderate drinking can lead to irregular heart rhythms, particularly a pattern called “holiday heart syndrome,” where alcohol causes episodes of atrial fibrillation that can last up to 24 hours after you stop drinking. Heavy or binge drinking makes these episodes more frequent and longer-lasting over time, potentially progressing from occasional bursts to week-long episodes. If your palpitations correlate with evenings you drink, the connection is likely real.

Large meals close to bedtime are another culprit, especially if you have acid reflux. Stomach acid backing up into the esophagus stimulates the vagus nerve, and because that same nerve regulates heart rate, the irritation can trigger palpitations, a racing heart, or a feeling of skipped beats. Eating your last meal at least three hours before bed and elevating your head slightly while sleeping can reduce this effect significantly.

Dehydration and Electrolyte Imbalances

When you’re dehydrated, your blood volume drops. Your heart compensates by beating faster and harder to push the reduced volume of blood through your body. These compensatory beats can feel irregular or pounding, especially at rest when you’re more attuned to them. Staying well-hydrated throughout the day, not just chugging water at bedtime (which may just wake you up to urinate), helps maintain the blood volume your heart needs for smooth, steady contractions.

Low magnesium and potassium levels directly affect the electrical signals that coordinate your heartbeat. Normal magnesium levels fall between 1.46 and 2.68 milligrams per deciliter, and dipping below that range can cause palpitations, muscle cramps, and fatigue. You don’t necessarily need a blood test to address this: eating magnesium-rich foods like nuts, leafy greens, and seeds, along with potassium-rich foods like bananas, avocados, and potatoes, supports stable heart rhythm. If you exercise heavily, sweat a lot, or take certain medications like diuretics, your electrolyte needs are higher than average.

Anxiety, Stress, and the Feedback Loop

Anxiety and palpitations feed each other in a cycle that’s especially vicious at night. Stress hormones increase heart rate. You notice your heart racing. That awareness creates more anxiety, which releases more stress hormones. In the dark and quiet of a bedroom, there’s nothing to distract you from the sensation, so it escalates.

The symptoms of a panic attack and a true heart rhythm problem overlap considerably: racing heart, breathlessness, dizziness. One key difference is onset. Anxiety-driven palpitations typically build gradually alongside worry or physical tension. A cardiac arrhythmia like SVT (supraventricular tachycardia) tends to switch on suddenly, “out of the blue,” with heart rates that can spike to 250 beats per minute or higher, far beyond the 100 to 130 range typical of anxiety. If your episodes start and stop abruptly like a light switch, that pattern is worth mentioning to a doctor.

For anxiety-driven palpitations, the breathing techniques described above pull double duty: they calm your nervous system and slow your heart simultaneously. Progressive muscle relaxation before bed, where you tense and release each muscle group from your feet upward, can also lower your baseline arousal level enough to prevent episodes from starting.

How Doctors Investigate Nighttime Palpitations

A standard electrocardiogram taken during an office visit captures only a few seconds of your heart’s activity. Since nighttime palpitations are intermittent by nature, a brief snapshot rarely catches them. For this reason, doctors typically use portable monitoring devices you wear at home.

An event monitor is a small device you can wear for several days to a full month. You activate it when you feel symptoms, and it records your heart’s electrical activity during the episode. This is particularly useful for palpitations that happen infrequently or only at night, because it captures the actual rhythm disturbance rather than relying on your description of what it felt like. Some newer monitors record continuously so that even events you sleep through get captured.

Red Flags That Need Immediate Attention

Most nighttime palpitations are benign, but certain accompanying symptoms change the equation. Sudden loss of consciousness or collapse requires emergency care. Palpitations paired with dizziness or lightheadedness, where you feel like you might faint, also warrant an emergency visit. Chest pain alongside palpitations is another signal to seek immediate help rather than wait for a scheduled appointment. These combinations can indicate a serious arrhythmia or reduced blood flow to the heart that needs rapid evaluation.

Palpitations that happen occasionally, last a few seconds to a few minutes, and resolve on their own, especially if they respond to vagal maneuvers, are far less concerning. But if they’re becoming more frequent, lasting longer, or disrupting your sleep regularly, tracking your episodes (time of night, duration, what you ate or drank, your stress level) gives a doctor useful data to work with.