What Triggers Heartburn? Causes From Food to Stress

Heartburn happens when stomach acid flows backward into your esophagus, the tube connecting your mouth to your stomach. About 14% of adults worldwide experience this regularly, adding up to roughly a billion people. The triggers range from specific foods and drinks to body position, stress, and even certain medications. Understanding what sets it off can help you avoid the burning before it starts.

How Heartburn Actually Works

At the bottom of your esophagus sits a ring of muscle that acts like a one-way valve, opening to let food into your stomach and closing to keep acid from climbing back up. Heartburn occurs when this valve relaxes at the wrong time. These inappropriate relaxations account for about 65% of all reflux episodes. They’re triggered by nerve signals responding to the stomach stretching, which is why overeating is such a reliable way to bring on symptoms.

When this valve opens briefly, stomach acid (which is strong enough to break down food) contacts the delicate lining of the esophagus. That lining has no protective barrier against acid the way your stomach does, so even a small amount of contact produces that familiar burning sensation behind the breastbone.

Foods That Set It Off

High-fat meals are one of the most consistent dietary triggers. When fat reaches your small intestine, it stimulates the release of hormones that slow stomach emptying. Your stomach stays full longer, stretches more, and those nerve-driven valve relaxations become more frequent. Longer-chain fats (the kind found in fried foods, butter, and fatty cuts of meat) are especially potent at slowing digestion compared to shorter-chain fats.

Other common food triggers include chocolate, citrus fruits, tomatoes, onions, and peppermint. These work through slightly different mechanisms. Chocolate and peppermint can directly lower the pressure of the esophageal valve. Citrus and tomato-based foods are naturally acidic, so they don’t need to cause valve relaxation to produce irritation if any reflux is already happening.

Spicy food deserves a more nuanced explanation than it usually gets. Capsaicin, the compound that makes chili peppers hot, activates pain receptors in the esophagus, which is why a spicy meal can feel like heartburn even when acid exposure hasn’t increased. Interestingly, research shows that capsaicin can actually desensitize the esophagus to acid over time, meaning regular spicy-food eaters may eventually experience less discomfort, not more. If spicy food bothers you, though, the symptom is real regardless of the mechanism.

Coffee, Alcohol, and Carbonated Drinks

Coffee is a well-established reflux trigger, but the reason isn’t what most people assume. A study comparing regular coffee, decaf coffee, tea, and water found that regular coffee caused significantly more reflux than the other beverages. Decaf reduced the effect considerably. The surprising part: when researchers added caffeine directly to water, it didn’t increase reflux at all. This means other compounds in coffee, not the caffeine itself, are responsible. If coffee bothers you, switching to decaf may genuinely help, while switching to tea (caffeinated or not) appears to be equally effective.

Alcohol relaxes the esophageal valve and can directly irritate the esophageal lining. Carbonated drinks introduce gas into the stomach, increasing distension and triggering those nerve-mediated valve relaxations. The combination of alcohol and carbonation (beer, sparkling wine) can be a particularly effective trigger.

Body Weight and Abdominal Fat

Carrying extra weight around your midsection is one of the strongest risk factors for chronic heartburn. Abdominal fat increases the pressure inside your abdomen, which pushes against the stomach and forces acid upward. Research on a large population found that people with the largest abdominal measurements had an 85% higher risk of reflux symptoms compared to those with the smallest measurements, even after accounting for overall body weight. This means it’s specifically belly fat, not just being overweight in general, that drives the risk.

Even modest weight loss can reduce abdominal pressure enough to improve symptoms. This is one of the few lifestyle changes with strong, consistent evidence behind it for heartburn relief.

Timing, Posture, and Eating Habits

Lying down within two to three hours of eating is a classic trigger. When you’re upright, gravity helps keep stomach contents where they belong. Lying flat removes that advantage and makes it easier for acid to reach the esophagus. Eating large meals compounds this effect by increasing stomach distension.

Bending over, heavy lifting, and tight clothing around the waist all increase abdominal pressure in the same way excess body fat does, just temporarily. If you notice heartburn during exercise, it’s often from movements that compress the abdomen, like crunches or cycling in an aggressive position.

Smoking and the Esophageal Valve

Smokers have significantly lower resting pressure in the esophageal valve compared to nonsmokers. Cigarette smoking also appears to directly provoke acid reflux through mechanisms beyond just weakening the valve. The damage seems to be cumulative: studies found that the valve pressure was chronically lower in smokers as a group, not just reduced during the act of smoking a cigarette. This suggests the effect builds over time rather than being limited to moments when you’re actively smoking.

Stress and Sleep Deprivation

Stress doesn’t necessarily cause more acid to splash into your esophagus, but it changes how your body perceives the acid that’s already there. Under psychological stress, the esophagus becomes hypersensitive, meaning normal amounts of acid exposure that wouldn’t usually register can suddenly produce noticeable burning.

Sleep deprivation has a similar sensitizing effect. Poor sleep makes the esophagus more reactive to acid and to irritants in general. This creates a feedback loop: heartburn disrupts sleep, and disrupted sleep makes the esophagus more sensitive to acid, which worsens heartburn symptoms the next day. Breaking this cycle often requires addressing both the reflux and the sleep problems together.

Pregnancy

Heartburn is extremely common during pregnancy, particularly in the second and third trimesters. Rising progesterone levels relax smooth muscle throughout the body, including the esophageal valve. This hormone-driven relaxation reduces the valve’s ability to stay closed. As pregnancy progresses, the growing uterus also physically displaces the valve upward into the chest cavity, where lower surrounding pressure makes it even less effective at keeping acid out of the esophagus. The combination of hormonal and mechanical factors makes pregnancy one of the most reliable predictors of new or worsening heartburn.

Medications That Can Cause Heartburn

Several common medications relax the esophageal valve as a side effect. Calcium channel blockers (used for blood pressure), certain asthma medications, and anticholinergic drugs (found in some allergy and bladder medications) are known to worsen reflux. NSAIDs like ibuprofen and aspirin can also irritate the esophageal and stomach lining directly, producing symptoms that feel identical to acid reflux. If you started a new medication around the time your heartburn began, that connection is worth exploring with your prescriber.

Patterns Worth Paying Attention To

Occasional heartburn after a large, fatty meal or a night of drinking is common and generally not concerning. When heartburn occurs more than twice a week for several weeks, clinicians start considering gastroesophageal reflux disease, or GERD. Updated diagnostic guidelines now emphasize that symptoms alone aren’t enough to confirm GERD. A conclusive diagnosis requires either visible damage to the esophageal lining on endoscopy or abnormal acid levels measured by a pH monitoring test.

Tracking your personal triggers is more useful than memorizing a generic list. Keep a simple log of what you ate, when you ate it, your body position, and your stress level when symptoms appear. Most people find that two or three specific triggers account for the majority of their episodes, and those triggers vary widely from person to person.