What Can Heartburn Be a Sign Of? Causes & Conditions

Heartburn is usually nothing more than stomach acid splashing into your esophagus after a big meal, but when it keeps happening, it can point to several conditions worth knowing about. The sensation itself is straightforward: a circular muscle at the bottom of your esophagus is supposed to close after you swallow, and when it relaxes at the wrong time or weakens, acid flows upward and burns the lining of the food pipe. What matters is whether that’s a one-off event or a pattern, and whether the burning is actually coming from your stomach at all.

GERD: When Occasional Reflux Becomes a Disease

Almost everyone gets heartburn at some point. It crosses into gastroesophageal reflux disease (GERD) when it happens two or more times a week or when the acid starts damaging the esophagus. The American College of Gastroenterology defines GERD as a chronic condition caused by the regular backflow of stomach contents into the esophagus, producing both symptoms and tissue changes that can be seen on an endoscopy, like narrowing, erosions, or precancerous cell growth.

GERD is worth taking seriously because it doesn’t just cause discomfort. Over years, repeated acid exposure can lead to a condition called Barrett’s esophagus, where the cells lining the lower esophagus change to resemble intestinal tissue. People with Barrett’s have a 30 to 125 times higher risk of developing esophageal cancer compared to the general population. The actual yearly risk remains small (about 0.4 to 0.5 percent per year), with an estimated lifetime risk around 5 percent, but that’s why persistent heartburn deserves attention rather than just another antacid.

Hiatal Hernia

A hiatal hernia happens when part of your stomach pushes up through the opening in your diaphragm where the esophagus passes through. This disrupts the natural anti-reflux barrier and increases acid exposure in the esophagus. Studies from the US and Western Europe have found that 50 to 94 percent of patients with reflux-related esophageal damage also have a hiatal hernia. Not everyone with a hiatal hernia gets heartburn, but if you have chronic reflux that doesn’t respond well to lifestyle changes, a hernia could be the structural reason why.

Peptic Ulcers and Stomach Inflammation

Ulcers, which are open sores in the lining of the stomach or the upper part of the small intestine, can produce a burning sensation that feels a lot like heartburn. The key difference is location: ulcer pain tends to center in the upper abdomen rather than behind the breastbone, and it sometimes improves briefly after eating before returning. Gastritis, an inflammation of the stomach lining often caused by the same bacterium responsible for most ulcers, can also create overlapping symptoms.

Ulcers don’t always announce themselves with pain. Sometimes the first sign is blood in the stool (which may look black or tarry) or vomit that resembles coffee grounds. If you notice those signs alongside chronic burning, the problem likely goes beyond simple reflux.

Gallbladder Problems

Gallstones can mimic heartburn closely enough that people sometimes treat themselves with antacids for months before getting the right diagnosis. Pain from gallstones often hits the middle of the abdomen or even the chest, which is why it gets confused with acid reflux or indigestion. The difference is that gallbladder pain typically comes in intense waves (often after fatty meals), can radiate to the right shoulder or back, and doesn’t respond to antacids the way true heartburn does. If your “heartburn” comes with sharp, episodic pain rather than a steady burn, gallstones are worth considering.

Pregnancy

Heartburn affects an estimated 30 to 80 percent of pregnancies, depending on the population studied. The cause is hormonal: rising levels of progesterone relax smooth muscle throughout the body, including the sphincter at the bottom of the esophagus. Research has shown that progesterone and estrogen together significantly decrease the muscle’s ability to contract and stay closed, which lets acid escape upward. The growing uterus also puts physical pressure on the stomach, making reflux worse in later trimesters. This type of heartburn is a sign of normal pregnancy physiology, not disease, and it typically resolves after delivery.

Medications That Trigger Reflux

Heartburn that appears out of nowhere can be a sign that a medication you’re taking is irritating the esophagus directly or weakening the sphincter muscle. Two different mechanisms are at play. Some drugs physically irritate the esophageal lining on the way down, including certain antibiotics, bone-density medications, and iron supplements. Others relax the sphincter or increase acid production: blood pressure medications (especially calcium channel blockers), opioid painkillers, certain antidepressants, sedatives, and overactive bladder drugs all fall into this category.

If your heartburn started or worsened after beginning a new prescription, that connection is worth raising with whoever prescribed it. Adjusting the timing, switching to a different drug, or simply taking the medication with a full glass of water and staying upright afterward can sometimes solve the problem.

When Heartburn Might Be Your Heart

This is the reason many people search for what heartburn could mean, and it’s the most important thing to get right. A heart attack can feel like heartburn, producing a burning or pressure sensation in the chest that includes nausea and abdominal discomfort. The overlap is real: “indigestion” and “heartburn” are listed among recognized heart attack symptoms.

A few features help separate the two. True heartburn usually follows eating, improves with antacids, worsens when lying down, and may come with a sour taste in the mouth. Heart-related chest pain is more likely to feel like pressure, tightness, or squeezing that spreads to the arms, neck, jaw, or back. It often comes with shortness of breath, cold sweat, sudden dizziness, or unusual fatigue.

The problem is that these features overlap enough to fool even doctors in the early minutes. If you have persistent chest pain, especially with sweating, lightheadedness, or pain radiating to your arm or jaw, treat it as a cardiac emergency. Even chest pain that went away on its own after a few hours warrants a call to your doctor, because both heartburn and a developing heart attack can produce symptoms that temporarily subside.

Symptoms That Signal Something Deeper

Occasional heartburn after a spicy meal rarely needs investigation. But certain accompanying symptoms suggest the burning is pointing to something more serious:

  • Difficulty swallowing or a feeling that food gets stuck: this can indicate esophageal narrowing from chronic acid damage or, less commonly, a growth.
  • Unintentional weight loss alongside persistent heartburn raises concern about ulcers, esophageal changes, or other digestive conditions that need evaluation.
  • Black or tarry stools, or vomit with blood or a coffee-ground appearance: these suggest bleeding somewhere in the upper digestive tract.
  • Heartburn that doesn’t improve with over-the-counter acid reducers after two weeks of consistent use, which may point to a non-acid cause like gallbladder disease or a structural problem.
  • New heartburn starting after age 50 with no clear dietary trigger, which warrants a closer look to rule out Barrett’s esophagus or other changes.

Most heartburn turns out to be exactly what it seems. But because the same burning sensation can come from your esophagus, your stomach, your gallbladder, your medication list, or your heart, paying attention to the pattern, the timing, and what else comes with it tells you whether it’s a nuisance or a signal.