Why Do I Get Heart Palpitations at Night?

Nighttime heart palpitations are surprisingly common and usually harmless. The combination of a quiet room, a still body, and specific sleep positions makes you far more aware of your heartbeat than you’d be during the day. That said, several real physiological triggers can cause your heart to flutter, skip, or pound while you’re lying in bed, and understanding them helps you figure out which ones you can fix yourself and which deserve a closer look.

Your Sleep Position Changes What You Feel

The most straightforward explanation is also the most overlooked: lying down physically repositions your heart relative to your chest wall. Your heart sits behind the sternum, slightly left of center, with the lower tip (the apex) angled to the left. This apex is largely made up of the left ventricle, the chamber that does most of the heavy pumping.

When you roll onto your left side, gravity pulls the apex closer to the chest wall. Your rib cage is somewhat flexible, and the weight of your body pressing against the mattress compresses it slightly. The result is that the strong pumping action of the left ventricle lands close enough to the chest wall that you feel a noticeable thump with each beat. Add in the stillness and silence of nighttime, and those thumps can feel alarmingly loud. This isn’t your heart doing anything abnormal. It’s just closer to the surface.

Sleeping hunched over on your side can also increase pressure inside the chest cavity, which may trigger actual palpitations rather than just heightened awareness. If switching to your back or right side makes the sensation disappear, position is likely the culprit.

The Vagus Nerve Connection

The vagus nerve runs from your brainstem down through your chest and into your abdomen, and it controls both your heart rate and your digestion. Lying on your left side can physically stimulate this nerve, which then sends abnormal electrical signals to the heart and triggers genuine palpitations: skipped beats, fluttering, or brief episodes of a faster rhythm.

This same nerve is why digestive issues and heart palpitations often show up together. Acid reflux, especially when it worsens at night because you’re lying flat, can irritate the vagus nerve in a pattern sometimes called gastrocardiac syndrome. The acid irritation travels along the nerve and disrupts heart rhythm. Research suggests this vagus nerve irritation from chronic reflux may even increase the risk of atrial fibrillation, a more sustained irregular rhythm. If your palpitations tend to follow large meals or come with a burning sensation in your chest or throat, reflux could be the link.

Stress Hormones and Your Body Clock

Your body runs on a roughly 24-hour hormonal cycle, and cortisol plays a key role. Cortisol levels begin rising in the hours before you wake up, sometimes spiking just minutes before your alarm goes off. Research from the British Heart Foundation found that this pre-dawn cortisol surge changes the electrical properties of heart cells, making the heart more vulnerable to rhythm disturbances in the early morning hours. This pattern has evolved over millions of years and explains why palpitations often strike in the 4 a.m. to 7 a.m. window, when you’re still technically in bed but your body is already gearing up for the day.

Anxiety and chronic stress amplify this effect. If you tend to lie awake processing the day’s worries, your body releases adrenaline on top of cortisol. Both hormones speed up the heart and make irregular beats more likely. The cruel irony is that noticing palpitations creates more anxiety, which releases more adrenaline, which makes palpitations worse.

Sleep Apnea and Oxygen Drops

Obstructive sleep apnea is one of the most underdiagnosed causes of nighttime palpitations. When your airway collapses repeatedly during sleep, your blood oxygen drops. Each drop triggers a cascade: your nervous system swings between its “rest” and “fight or flight” branches, pressure inside the chest swings wildly, and the heart’s electrical system becomes unstable. These changes shorten the recovery time between heartbeats in ways that can trigger both atrial and ventricular arrhythmias.

You may not know you have sleep apnea. Classic signs include loud snoring, gasping awake, morning headaches, and feeling exhausted despite a full night’s sleep. If your palpitations come with any of these, a sleep study can confirm or rule it out. Treating sleep apnea often resolves the palpitations entirely.

Everyday Triggers That Peak at Night

Several common habits contribute to nighttime palpitations, and they’re worth checking before assuming something more serious is going on:

  • Caffeine and alcohol. Both can linger in your system for hours. Caffeine’s half-life is about five to six hours, meaning a 3 p.m. coffee still has half its stimulant effect at bedtime. Alcohol, meanwhile, disrupts heart rhythm as your body metabolizes it overnight.
  • Dehydration. When you’re low on fluids, your blood volume drops, and your heart compensates by beating faster or harder. Most people drink less water in the evening, and the cumulative deficit shows up at bedtime.
  • Stimulant medications. Decongestants, some asthma inhalers, and ADHD medications can all elevate heart rate. If you take any of these in the afternoon or evening, they may still be active when you lie down.
  • Nicotine. A stimulant that raises heart rate and makes premature beats more frequent. Smoking or vaping close to bedtime is a common, fixable trigger.

When Palpitations Signal Something Serious

Most nighttime palpitations are premature beats, either from the upper chambers (premature atrial contractions) or the lower chambers (premature ventricular contractions). These are extremely common and rarely dangerous on their own. The concern shifts when palpitations come with other symptoms.

Palpitations paired with dizziness, feeling like you might faint, or actually losing consciousness suggest a faster, more sustained arrhythmia that needs evaluation. Chest pain, significant shortness of breath, or palpitations that last several minutes without stopping also warrant prompt attention. A family history of sudden cardiac death, fainting spells, or known arrhythmias raises the stakes as well, since some inherited heart rhythm conditions first appear as palpitations.

Tracking Palpitations at Home

If your palpitations are occasional and you want to document them before a doctor’s visit, consumer smartwatches with ECG capability have become reasonably accurate. One clinical trial found that a smartwatch detected premature ventricular contractions with about 89% sensitivity and 94% specificity, and premature atrial contractions at about 84% sensitivity. Those numbers are solid for a screening tool, though accuracy drops with movement, loose skin contact, or a poorly fitting band. If you capture a tracing during an episode, it gives your doctor something concrete to review.

Keep a simple log alongside any wearable data: what time the palpitations started, how long they lasted, what position you were in, and what you ate or drank in the hours before. Patterns emerge quickly. Many people discover their palpitations track perfectly with late caffeine, left-side sleeping, or post-meal reflux, all of which are fixable without medical intervention.