Why Do I Get Chest Pains at Night?

Nighttime chest pain has many possible causes, and lying down changes your body’s physiology in ways that can trigger or worsen several of them. Acid reflux, coronary artery spasm, sleep apnea, panic attacks, and shifts in nervous system activity during sleep can all produce chest discomfort that feels alarming when it pulls you out of rest. The fact that it happens at night is itself a diagnostic clue, because some of these conditions follow a clear circadian pattern.

Acid Reflux Gets Worse When You Lie Down

Gastroesophageal reflux is one of the most common reasons for nighttime chest pain, and it catches people off guard because it can feel nothing like heartburn. The burning or pressure behind the breastbone mimics cardiac pain closely enough that emergency departments regularly evaluate reflux patients for heart attacks. When you lie flat, gravity stops helping keep stomach acid in the stomach, and the esophagus sits at the same level as the gastric contents. Research on patients with reflux disease found that episodes were more frequent in the supine position, and about a quarter of episodes happened within a minute of changing sleeping position.1PubMed. Influence of spontaneous sleep positions on nighttime recumbent reflux in patients with gastroesophageal reflux disease

For most people with reflux, the acid exposure while lying down is actually less pronounced than when upright during the day. But a subset of patients shows supine reflux that matches or even exceeds their daytime reflux, and these are the people who tend to wake up with chest pain.2PubMed. Upright versus supine reflux in gastroesophageal reflux disease Beyond acid itself, abnormal muscle contractions in the esophagus (esophageal motility disorders) can also produce chest pain that’s hard to distinguish from a heart problem.3PubMed. Esophageal motility disorders and chest pain If your nighttime chest pain comes with a sour taste, throat clearing, or worsens after eating late, reflux is worth investigating first.

Coronary Artery Spasm Peaks in the Early Morning

One of the more worrying causes of nighttime chest pain is a temporary spasm in the coronary arteries, known as variant or Prinzmetal angina. Unlike the more familiar form of angina caused by fatty plaque narrowing the arteries, this involves a sudden, involuntary tightening of an artery wall that temporarily chokes off blood flow. The pain can be severe and often comes with changes on an electrocardiogram that look just like a heart attack.

This type of spasm follows a strong circadian rhythm. Ambulatory heart monitoring in patients with variant angina has shown that most ischemic episodes occur between midnight and the early morning hours, peaking around 5 a.m.4Journal of Cardiology Cases. Prinzmetal angina: An unrecognized cause of recurrent ST elevation myocardial infarction Exercise testing confirms the same pattern: in one study, all thirteen patients with variant angina developed attacks during early-morning treadmill tests, while only two of thirteen had attacks during afternoon tests.5PubMed. Circadian variation of exercise capacity in patients with Prinzmetal’s variant angina: role of exercise-induced coronary arterial spasm

A related phenomenon is microvascular angina, where the spasm or constriction occurs not in the large coronary arteries but in the tiny vessels deeper in the heart muscle. Researchers have investigated whether primary hyperconstriction of these microvessels causes ischemia at rest, suggesting that even people with normal-looking coronary arteries can develop genuine cardiac chest pain while sleeping or lying still.6The Lancet. Microvascular angina and primary myocardial ischaemia at rest This matters because standard cardiac tests sometimes miss microvascular disease, leaving patients without an explanation for recurring nighttime pain.

Sleep Apnea and Nighttime Oxygen Drops

Obstructive sleep apnea does far more than cause snoring. When the airway repeatedly collapses during sleep, oxygen levels plunge and the heart has to work harder against rising pulmonary pressures. Over time, and sometimes acutely in a single night, this can trigger angina and abnormal heart rhythms. In a series of patients studied for nocturnal cardiac symptoms, two with severe obstructive sleep apnea had nocturnal arrhythmias and angina that resolved once the apnea was treated with continuous positive airway pressure.7PubMed Central. Role of respiratory sleep disorders in the pathogenesis of nocturnal angina and arrhythmias

A larger study of over 700 patients reinforced this connection at a population level. Patients with moderate-to-severe sleep apnea were significantly more likely to have heart attacks between midnight and 6 a.m. compared to those without apnea. The risk was especially concentrated in patients who also had nocturnal drops in blood oxygen, with the odds of a midnight-to-morning heart attack roughly 1.5 to 1.8 times higher depending on which oxygen measure was used.8PubMed Central. Association of Obstructive Sleep Apnea and Nocturnal Hypoxemia With the Circadian Rhythm of Myocardial Infarction In patients with heart failure, the situation is compounded by fluid that shifts from the legs into the chest when lying down, which can worsen both obstructive and central sleep apnea.

What REM Sleep Does to Your Heart

Sleep is not uniform, and the stage you are in when chest pain strikes can reveal a lot about what is happening. During rapid-eye-movement sleep, the nervous system behaves differently than during deeper, quieter sleep stages. Sympathetic activity (the “fight or flight” arm of the nervous system) rises during REM, producing a measurably higher ratio of sympathetic to parasympathetic tone compared to deep sleep.9PubMed. REM sleep-related brady-arrhythmia syndrome Heart rate becomes more variable, blood pressure fluctuates, and the heart’s oxygen demand increases.

This matters because REM sleep appears to be a particularly vulnerable window for cardiac events. In patients with both obstructive sleep apnea and coronary heart disease, nearly four out of five ischemic episodes occurred during REM sleep, even though REM accounted for only about a fifth of total sleep time.10PubMed. Sleep-related myocardial ischemia and sleep structure in patients with obstructive sleep apnea and coronary heart disease REM is also when autonomic dysfunction can cause unusual heart rhythms. A report on apparently healthy young adults who had vague daytime chest symptoms found that they experienced repeated pauses in heartbeat lasting up to nine seconds during REM sleep, pointing to autonomic instability as the underlying cause.11PubMed. Sinus arrest during REM sleep in young adults

REM periods get longer as the night progresses, which means the second half of the night carries higher cardiac risk. If your chest pain reliably strikes in the predawn hours rather than shortly after you fall asleep, the REM-related surge in sympathetic activity may be part of the explanation.

Nocturnal Panic Attacks

Waking up in a state of panic, with chest tightness, pounding heart, shortness of breath, and a sense of dread, is surprisingly common among people with panic disorder. Studies estimate that somewhere between 44 and 71 percent of people with panic disorder have experienced at least one nocturnal panic attack.12PubMed. Assessment and treatment of nocturnal panic attacks These episodes emerge from non-REM sleep, which makes them distinct from nightmares, sleep terrors, and dream-related arousals.

The chest pain during a nocturnal panic attack is real, not imagined. The sudden burst of adrenaline increases heart rate, tightens chest muscles, and can trigger hyperventilation, all of which produce genuine physical discomfort. Comparing patients who have both nocturnal and daytime panic attacks with those who only experience daytime attacks, researchers found that the two groups were strikingly similar in their symptom profiles and treatment outcomes, suggesting that nocturnal panic is not a fundamentally different condition but rather the same disorder expressed during sleep.13Brazilian Journal of Psychiatry. Diurnal panic attacks with and without nocturnal panic attacks: are there some phenomenological differences? If you have experienced daytime panic attacks, the nighttime chest pain you feel may be the same mechanism operating without the usual daytime distractions.

When Anxiety Makes Normal Sensations Feel Worse

Even outside of full-blown panic attacks, anxiety can amplify how you perceive physical sensations in your chest. At night, with fewer distractions and heightened body awareness, a minor twinge that you would ignore during the day can feel alarming. This phenomenon, called somatosensory amplification, has been studied in patients with chest pain and known coronary artery disease. Normal or minor physical sensations can be interpreted as evidence of something serious, creating a feedback loop of anxiety, heightened nervous system arousal, and increasingly focused attention on the chest.14Journal of Cardiopulmonary Rehabilitation and Prevention. The Role of Emotional Imagery and Somatosensory Amplification in Atypical Chest Pain in Patients With Angina Pectoris

This is not just an adult problem. A study of adolescents with unexplained chest pain found that those with chest pain had higher scores on both health anxiety and somatosensory amplification scales compared to controls.15PubMed. Health anxiety and somatosensory amplification in adolescents with unexplained chest pain: A comparative study The practical takeaway is that anxiety does not merely coexist with chest pain; it can actively worsen it, and the quiet of nighttime creates ideal conditions for this amplification cycle to run unchecked. If your nighttime chest pain reliably comes during periods of stress or worry, and cardiac and gastrointestinal causes have been ruled out, anxiety-driven amplification is a serious possibility worth discussing with a clinician.

When Blood Pressure Fails to Drop at Night

In healthy people, blood pressure drops by roughly 10 to 20 percent during sleep, a pattern called “dipping.” Your heart gets a nightly reprieve from the demands of the waking day. But in some people, blood pressure stays elevated at night or even rises. This non-dipping pattern has been linked to increased strain on blood vessels and accelerated plaque buildup.16PubMed Central. Night-Time Non-dipping Blood Pressure and Heart Rate

The underlying problem appears to involve a failure of the parasympathetic nervous system to adequately take over at night. Non-dippers show a blunted drop in stress hormones from day to night and greater sensitivity of receptors that cause blood vessels to constrict, keeping arterial tone high when it should be relaxing.17PubMed Central. Non-Dipping Blood Pressure or Nocturnal Hypertension: Does One Matter More? Irregular sleep schedules make this worse. Research on sleep variability found that for every additional hour of variation in when you fall asleep or how long you sleep, nighttime blood pressure dipping decreased measurably.18PubMed Central. Sleep Variability, Sleep Irregularity, and Nighttime Blood Pressure Dipping

If you have high blood pressure and experience nighttime chest tightness, a 24-hour ambulatory blood pressure test can reveal whether you are a non-dipper. This is not something a standard daytime reading at the clinic would catch. Keeping a consistent sleep schedule may itself help restore the dipping pattern.

How Sleeping Position Plays a Role

The position you sleep in physically shifts your organs and changes how blood returns to the heart. People with heart failure tend to instinctively avoid sleeping on their left side. Research on heart failure patients found that the majority preferred the right-side-down position, and echocardiographic measurements showed better cardiac output markers in that position compared to lying on the left side or on the back. Roughly half of these patients chose the right side, while about 40 percent avoided the left side entirely. The heart sits slightly left of center in the chest, and lying on the left side can bring it closer to the chest wall, increasing awareness of its beating and potentially compressing structures in ways that feel uncomfortable.

Even for people without heart failure, switching sleeping positions can provoke chest sensations. Rolling onto the left side sometimes produces a noticeable thudding or pressure feeling as the heart shifts against the chest wall. Combined with the reflux data mentioned earlier, where position changes triggered acid episodes within a minute, it becomes clear that something as ordinary as turning in bed can set off chest pain through purely mechanical means.

Nocturnal Asthma and Chest Tightness

Asthma does not always present as obvious wheezing. Nighttime airway narrowing can produce a feeling of chest tightness or pressure that some people interpret as cardiac pain rather than a breathing problem. Nocturnal asthma involves a drop in airflow that’s accompanied by increased airway inflammation and heightened sensitivity of the airways.19PubMed. Nocturnal asthma: underlying mechanisms and treatment Lying down also allows postnasal drip and mucus to pool in the airways, and the body’s natural cortisol levels (which help keep airways open) reach their lowest point around 4 a.m.

If your nighttime chest tightness comes with any component of breathlessness, a dry cough, or a feeling that you cannot take a full breath, and especially if you notice it worsening in certain seasons or around allergens, the cause may be respiratory rather than cardiac. A peak flow meter kept on the bedside table can help capture whether your airflow drops during the night.

Medications and Environmental Triggers

Some medications can cause chest pain as a side effect, and the timing may coincide with nighttime if the drug is taken in the evening or has a delayed peak in the bloodstream. A review of adverse drug reaction reports over twenty years found that out of more than 19,000 reports, about 220 involved drug-induced chest pain or heart attack. The most frequently implicated drugs included the migraine medication sumatriptan, the blood pressure drug nifedipine, and nicotine (primarily from patches).20PubMed. Drug-induced chest pain and myocardial infarction. Reports to a national centre and review of the literature If you use a nicotine patch, wearing it overnight delivers nicotine continuously and can contribute to chest discomfort during sleep.

Environmental cold is another factor. When the bedroom temperature drops, the body responds with vasoconstriction and a rise in heart rate and blood pressure, increasing the work the heart has to do. For someone with existing coronary artery disease, this added demand can tip the balance toward ischemia. Epidemiological data have consistently shown more cardiac deaths during winter months, and the mechanism applies on a micro-scale to a cold bedroom.21PubMed. Cold exposure and ischemic heart disease Keeping the bedroom at a moderate temperature, particularly if you have known heart disease, is a simple intervention that removes one contributor to nighttime cardiac stress.

When to Track Symptoms at Home

Nighttime chest pain is difficult to capture in a clinical setting because it may not happen on demand. Traditional ambulatory heart monitors (Holter monitors) worn for 24 to 48 hours sometimes miss infrequent events. Consumer wearable devices are beginning to fill some of that gap. Smartwatch-based heart rhythm detection has shown strong accuracy for identifying certain arrhythmias through continuous optical heart rate monitoring.22PubMed Central. Connected health: Ventricular tachycardia detection with Apple Watch–A case report

A wearable is not a substitute for a proper workup, but it can provide your doctor with useful data. If your smartwatch flags an irregular rhythm at the same time you experience chest pain, that correlation helps guide further testing. Some people find it helpful to keep a simple log by the bed noting the time of their symptoms, what position they were in, what they ate before bed, and whether they felt anxious. Over a few weeks, patterns often emerge: the pain always comes two hours after eating (reflux), or always around 4 a.m. (coronary spasm or REM-related ischemia), or only when you have been lying on your left side. This kind of pattern recognition, even informal, can be more useful to a clinician than a single daytime snapshot.

Sorting Through Multiple Possible Causes

What makes nighttime chest pain tricky is that many of these causes overlap. A person with obstructive sleep apnea may also have reflux, because the effort of breathing against a closed airway generates negative pressure that pulls stomach acid upward. Someone with anxiety-driven amplification may also have genuine coronary microvascular disease, meaning part of their pain is structural and part is perceptual. A non-dipper with high nocturnal blood pressure may also have a cold bedroom, compounding the stress on already compromised coronary arteries.

Because of this layering, clinicians investigating nighttime chest pain often work through causes systematically rather than stopping at the first plausible explanation. An empirical trial of a proton pump inhibitor tests the reflux hypothesis. A sleep study captures apnea events and oxygen drops. A 24-hour blood pressure monitor reveals non-dipping. Ambulatory heart monitoring picks up arrhythmias and ischemic changes. And a conversation about stress and sleep habits addresses the anxiety component. In many cases, the answer turns out to be not a single cause but two or three acting together, which is why nighttime chest pain sometimes persists even after one contributing factor has been treated.