Why Spicy Food Causes Heartburn: The Real Reason

Spicy food causes heartburn because capsaicin, the compound that makes peppers hot, activates pain receptors lining your esophagus and slows the rate at which your stomach empties. This combination means the burning compound lingers longer in your digestive tract while simultaneously triggering the same nerve endings that fire during acid reflux. About 18% of people with frequent heartburn and 12% of those diagnosed with GERD specifically identify spicy foods as a trigger.

How Capsaicin Triggers the Burning Sensation

Your esophagus is lined with sensory nerve endings equipped with a specific receptor called TRPV1. This receptor exists to detect heat, acidity, and tissue damage. Capsaicin happens to activate the exact same receptor, which is why eating a hot pepper feels like a literal burn even though no thermal heat is involved. When capsaicin reaches the esophageal lining, it switches on these receptors in both the nerve endings and the surface cells themselves, producing the sensation you recognize as heartburn.

The intensity of that burning depends heavily on the condition of your esophageal lining. Research published in Clinical and Translational Gastroenterology found that capsaicin applied directly to the esophagus produced significantly greater pain intensity compared to a saline control, and it also impaired the recovery of the tissue’s protective barrier. That barrier normally shields sensory nerve endings from irritants. When it’s weakened, whether from prior acid exposure, inflammation, or the capsaicin itself, those nerve endings become more exposed to whatever passes through. This is why people who already have some degree of reflux tend to feel spicy food more intensely: their esophageal lining is already compromised, so capsaicin hits exposed nerves directly.

Spicy Food Slows Your Stomach Down

Beyond direct irritation, spicy food changes how quickly your stomach processes a meal. Chili-containing meals slow gastric emptying, meaning food and stomach acid sit in your stomach longer than they would after a non-spicy meal. A fuller stomach that takes longer to empty puts more pressure on the valve between your esophagus and stomach, making it easier for acidic contents to push upward.

Red pepper is a particularly common culprit here. It contains high concentrations of capsaicin, and it has been specifically linked to delayed gastric emptying and a higher likelihood of provoking reflux. The longer your stomach stays full, the wider the window for acid to splash back into your esophagus, where those TRPV1 receptors are waiting.

Capsaicin Doesn’t Actually Increase Stomach Acid

One of the most common assumptions about spicy food is that it floods your stomach with extra acid. The research shows the opposite. When capsaicin is applied inside the stomach at normal dietary concentrations, it actually decreases acid output in a dose-dependent manner. In other words, more capsaicin meant less acid, not more.

Capsaicin also appears to have a protective effect on the stomach lining itself. It stimulates sensory nerve endings in the stomach wall in a way that helps defend against damage from alcohol and common anti-inflammatory drugs. So the problem with spicy food isn’t that it turns your stomach into an acid bath. The problem is mechanical (slower emptying, more pressure on the esophageal valve) and sensory (direct activation of pain receptors in the esophagus). Your stomach handles capsaicin reasonably well. Your esophagus does not.

Why Some People Are More Affected

Not everyone gets heartburn from the same bowl of chili, and the difference comes down to the integrity of your esophageal lining. If you already experience occasional reflux, even at a level you don’t notice, your mucosal barrier may be partially worn down. That means capsaicin reaches the deeper nerve endings more easily. People with an intact, healthy esophageal lining have a thicker buffer between capsaicin and those TRPV1 receptors, so the same meal produces little or no discomfort.

Frequency of exposure also plays a role, though not always in the direction you’d expect. Regular spicy food eaters sometimes report less sensitivity over time, likely because repeated low-level TRPV1 activation can temporarily desensitize those receptors. But this isn’t a universal effect, and it doesn’t mean the underlying irritation has stopped.

What Actually Helps After Spicy Food

If you’re already feeling the burn, reaching for a glass of water won’t do much. Capsaicin doesn’t dissolve in water, so swishing it around your mouth or swallowing it just moves the compound without neutralizing it. Milk is a far better option. It contains a protein called casein that breaks down capsaicin the way dish soap cuts through grease. A 2019 study comparing seven different beverages found that both skim and whole milk significantly outperformed water, seltzer, soda, and non-alcoholic beer at reducing the burn. The only non-dairy option that came close was a sugary flavored drink, likely because sucrose has a modest burn-reducing effect on its own.

Plant-based milks like oat or almond milk won’t help because they lack casein. If you don’t have dairy milk available, sucking on a sugar cube or sipping a sweet drink is your next best option, though neither works as effectively. For the heartburn itself, rather than just the mouth burn, eating starchy foods like rice or bread alongside spicy dishes can help absorb some of the capsaicin before it reaches your esophagus. Eating spicy food on an empty stomach removes that buffer entirely, which is one reason the same dish can bother you at lunch but not at dinner.

Long-Term Considerations

For most people, occasional spicy-food heartburn is uncomfortable but harmless. The picture gets more complicated with very frequent, very high levels of spicy food consumption over many years. A meta-analysis covering over 7,800 esophageal cancer patients and more than 515,000 controls found that the highest levels of spicy food intake were associated with a 70% increased risk of esophageal cancer compared to the lowest intake levels. This association was strongest in Chinese populations and didn’t reach statistical significance in Indian populations or for certain cancer subtypes, so the relationship is far from simple. Genetics, preparation methods, other dietary habits, and the specific types of spices used all likely play a role.

The more immediate concern for regular spicy food eaters is whether repeated capsaicin exposure is gradually wearing down the esophageal barrier. If you notice that heartburn is becoming more frequent or more intense over time, that pattern suggests your mucosal lining may not be fully recovering between episodes. Reducing the frequency or intensity of spicy meals, pairing them with dairy, and avoiding eating them close to bedtime (when lying down makes reflux worse) are the most practical adjustments.