Heartburn has nothing to do with your heart. It’s a digestive problem, not a cardiac one. The burning sensation comes from stomach acid splashing up into your esophagus, the tube that carries food from your throat to your stomach. The name is misleading because the pain happens behind your breastbone, right where your heart sits, which is why people have connected the two for centuries.
That said, the confusion between heartburn and heart problems is more than just a naming issue. The two can feel remarkably similar, and even doctors sometimes struggle to tell them apart without testing.
Why the Pain Feels Like It’s in Your Heart
Your esophagus runs directly behind your heart, and the two organs share nerve pathways. Pain signals from the esophagus travel through the sympathetic nervous system to the spinal cord, where they converge with pain signals from the heart onto the same nerve cells. Your brain receives these overlapping signals and genuinely cannot always tell which organ sent them. This is the same phenomenon that causes a heart attack to produce pain in the jaw or left arm: the brain misreads where the signal originated.
This overlap is so complete that even nitroglycerin, a medication used for heart-related chest pain, can sometimes relieve esophageal spasms too. Pain patterns from the esophagus and the heart can be identical in quality, location, and intensity. The only reliable way to tell them apart in ambiguous cases is through direct testing.
Heartburn vs. Heart Attack Symptoms
Despite the overlap, the two conditions do tend to follow different patterns. Heartburn typically produces a burning sensation in the chest and upper abdomen. It usually shows up after eating, especially large or spicy meals, and gets worse when you lie down or bend over. You might notice a sour taste in your mouth. It often wakes people up at night, particularly if they ate within two hours of going to bed.
A heart attack, by contrast, tends to feel more like pressure, tightness, or squeezing in the chest. The pain often radiates to the arms, neck, jaw, or back. It’s more commonly triggered by physical exertion or stress rather than food. Sweating that seems unrelated to temperature, shortness of breath, and lightheadedness are classic accompanying signs.
These are tendencies, not rules. The tricky part is that the exceptions are common enough to matter.
When Heartburn Isn’t Heartburn
Roughly half to three-quarters of people who show up to an emergency department with chest pain end up receiving a non-cardiac diagnosis. Many of those cases turn out to be acid reflux, anxiety, or muscle strain. But the reverse also happens: genuine heart problems get mistaken for digestive issues.
This is especially true for women. A study of women who had heart attacks found that only 30% experienced significant chest pain beforehand. Their most common warning signs in the weeks leading up to the event were unusual fatigue (70%), sleep disturbance (48%), shortness of breath (42%), and indigestion (39%). Because these symptoms look so much like everyday digestive complaints, women are more likely to have heart attacks that go unrecognized or get misdiagnosed in emergency departments.
One practical distinction: if you take antacids and they relieve your chest discomfort, that points toward an acid reflux problem. If you’re experiencing chest pain brought on by exercise that doesn’t respond to antacids, that pattern is more characteristic of a heart issue.
What Happens if You Go to the ER
If you show up with chest pain, the emergency department won’t simply take your word that it’s heartburn. The standard approach involves an electrocardiogram (a quick, painless test that reads your heart’s electrical activity) and a blood test for a protein called troponin. When heart muscle is damaged, it releases troponin into your bloodstream, so elevated levels are a reliable marker for a heart attack.
Newer, high-sensitivity versions of this blood test can detect very small amounts of heart muscle injury and allow doctors to rule out a heart attack within one to three hours of your arrival. If both the electrocardiogram and troponin levels come back normal, the odds that your chest pain is cardiac drop dramatically, and your doctor can shift focus to digestive or other causes.
Symptoms That Should Not Wait
Chest discomfort paired with any of the following warrants immediate attention: pain that spreads to your neck, jaw, or left arm; sweating that seems out of proportion to what you’re doing; shortness of breath; nausea combined with lightheadedness; or chest pressure that came on during physical activity. These combinations shift the probability away from simple heartburn.
If you’re someone who gets heartburn regularly and the feeling is familiar, you’re in a reasonable position to recognize when something feels different. The concern isn’t the burning you’ve had a hundred times before. It’s the episode that doesn’t follow the usual script: it doesn’t respond to antacids, it came on during exertion rather than after a meal, or it’s accompanied by symptoms you don’t normally get. That’s when treating it as “just heartburn” becomes risky.