How to Sleep With Heart Palpitations at Night

Heart palpitations at night are common and, in most cases, harmless. They feel worse at bedtime because you’re lying still in a quiet room with nothing to distract you from every heartbeat. The good news: a combination of sleep position changes, breathing techniques, and lifestyle adjustments can make a real difference in how often they happen and how much they disrupt your sleep.

Why Palpitations Feel Worse at Night

During the day, your brain filters out the sensation of your heartbeat. At night, that filter disappears. You’re lying down, the room is quiet, and your chest is pressed against a mattress or pillow. Suddenly, every skip, flutter, or extra beat becomes impossible to ignore.

There’s also a physiological shift happening. When you lie down, blood redistributes toward your chest, which changes the pressure your heart works against. Your nervous system transitions between its alert (“fight or flight”) mode and its resting (“rest and digest”) mode. That transition can cause brief irregularities in rhythm, especially if your body is still wound up from caffeine, stress, or a late meal. Research consistently identifies alcohol, caffeine, exercise close to bedtime, and sleep deprivation as the most common self-reported triggers in people prone to palpitations.

The Best Sleeping Position

Many people notice palpitations more when lying on their left side. This makes sense: in that position, your heart sits closer to the chest wall, so you physically feel each beat more intensely. People with heart failure often report worsening symptoms on the left side and naturally prefer sleeping on their right.

Sleeping on your right side appears to produce the most favorable balance of nervous system activity. A study comparing five lying positions found that the right side position produced the highest level of calming vagal nerve activity and the lowest level of stress-related sympathetic activity. In practical terms, your heart rate tends to be steadier and slower when you’re on your right side.

If right-side sleeping isn’t comfortable, a slightly elevated position can also help. Propping your upper body with a wedge pillow or an extra pillow reduces the amount of blood pooling in your chest. For people whose palpitations are linked to acid reflux (which can mimic or trigger heart sensations), left-side sleeping actually helps keep stomach acid from creeping upward. The best general advice, from the American Heart Association: sleep in whatever position lets you fall asleep fastest and wake up least often.

Breathing Techniques That Calm Your Heart

When palpitations strike as you’re trying to fall asleep, deep breathing is one of the most effective tools you have. Filling your lungs with oxygen signals your nervous system that there’s no threat, shifting your body out of its alert state and into rest mode. This activates the vagus nerve, which acts like a brake on your heart rate.

The box breathing technique works well for this:

  • Inhale slowly for a count of four
  • Hold your breath for a count of four
  • Exhale slowly for a count of four
  • Hold again for a count of four

Repeat this cycle for two to five minutes. Most people feel their heart rhythm settle within the first few rounds. The key is making your exhale at least as long as your inhale, since the exhale phase is what activates the calming branch of your nervous system. You can also try extending the exhale to a count of six or eight if four feels too short.

Another approach is the Valsalva maneuver: bear down as if you’re straining on the toilet while holding your breath for 10 to 15 seconds. This briefly increases pressure in your chest and stimulates the vagus nerve, often resetting an irregular rhythm within seconds. Splashing cold water on your face triggers a similar reflex.

Lifestyle Changes That Reduce Nighttime Palpitations

What you do in the hours before bed has a direct effect on whether your heart cooperates at night. Caffeine is the most obvious culprit. It doesn’t just keep you awake; it increases the excitability of heart muscle cells, making extra beats more likely. If you’re sensitive, cut off caffeine by early afternoon. Keep in mind that chocolate, certain teas, and some medications contain caffeine too.

Alcohol is another major trigger. Even moderate drinking increases the likelihood of irregular heart rhythms, and the effect peaks several hours after your last drink, right around the time many people are trying to sleep. Nicotine activates the same stress response as caffeine and has a similar effect on heart rhythm.

Dehydration and electrolyte imbalances play a quieter but significant role. Your heart relies on precise levels of magnesium, potassium, calcium, and sodium to maintain its rhythm. Low magnesium in particular is linked to extra heartbeats. Eating magnesium-rich foods (dark leafy greens, nuts, seeds, beans) or discussing supplementation with a provider may help if your diet is lacking. The amino acid taurine has also shown promise in small studies: it helps regulate the same electrolytes and dampens the release of stress hormones. In case reports, high doses reduced premature heartbeats by roughly 50%, though this isn’t yet standard advice.

Large or spicy meals close to bedtime can trigger both acid reflux and palpitations. Eating your last meal at least two to three hours before bed gives your body time to digest and reduces the chance that a full stomach will press against your diaphragm and irritate your heart’s rhythm.

When Anxiety Is the Real Trigger

Nighttime palpitations and anxiety feed on each other. You feel a flutter, which makes you anxious, which dumps adrenaline into your system, which makes your heart beat harder and faster, which makes you more anxious. Breaking that loop is often the most effective “treatment.”

Panic attacks can closely mimic heart problems. They come on quickly, peak in about 10 minutes, and produce chest tightness, a racing heart, sweating, and a feeling of dread. The key difference: panic attacks are driven by intense fear, and they resolve relatively quickly. Heart-related events tend to build gradually and often involve pain or pressure that radiates to the jaw, arm, or back.

If you’ve had a medical workup that shows your heart is structurally healthy, anxiety is the most likely explanation for recurring palpitations at bedtime. Progressive muscle relaxation, where you tense and release each muscle group from your toes to your forehead, can be helpful. So can limiting screen time in the hour before bed, since blue light and stimulating content both keep your stress response elevated.

Sleep Apnea and Palpitations

Obstructive sleep apnea is one of the most underdiagnosed causes of nighttime heart rhythm problems. Each time your airway closes during sleep, your oxygen level drops and your nervous system jolts into high alert. These abrupt shifts in nervous system tone can trigger irregular heartbeats directly.

The connection is dose-dependent: the more severe the apnea, the more likely you are to have rhythm disturbances. In one population study, 92% of patients with severe sleep apnea showed cardiac arrhythmias during the night, compared to 53% of people without breathing disorders. Both extra atrial beats and extra ventricular beats were significantly more common in the moderate-to-severe apnea group.

If you snore loudly, wake up gasping, feel unrested despite a full night’s sleep, or your partner has noticed you stop breathing, sleep apnea is worth investigating. The gold standard diagnosis is an overnight sleep study that monitors your brain waves, heart rhythm, breathing effort, airflow, and oxygen levels simultaneously. A standard heart monitor worn for 24 hours can pick up suspicious patterns, but it isn’t reliable enough on its own to confirm or rule out apnea.

Red Flags That Need Immediate Attention

Most nighttime palpitations are benign extra beats or brief runs of fast rhythm that resolve on their own. But certain combinations of symptoms change the picture. Call emergency services if palpitations are accompanied by passing out, intense chest pain or pressure that spreads to your neck, jaw, or arms, or difficulty breathing.

Outside of emergencies, you should still bring palpitations up with a provider if they come with dizziness, confusion, lightheadedness, unusual sweating, or shortness of breath. Palpitations that are getting more frequent or more intense over time also warrant evaluation. A wearable heart monitor, typically worn for 24 hours to two weeks, can capture what your heart is actually doing during the episodes you feel at night. Most arrhythmias caught this way on overnight recordings turn out to be benign, but the recording gives you and your provider a clear answer rather than a guess.