Here is the thing nobody tells you about heartburn and anxiety: they are not two separate problems that happen to share your worst weeks. They are two readings off the same wire. The stomach and the nervous system are wired together, and when one runs hot, the other feels it.
Most people have been told the timing is a coincidence. The burn on the day of the big meeting, the queasy stretch after a fight. Coincidence is the lazy explanation. The real one is more interesting, and it points you toward a smarter fix.
Can anxiety cause heartburn?
Short answer: yes, and the biology is not subtle. Your gut and your brain talk constantly over a bundle of nerves and chemical signals we call the gut-brain axis. The vagus nerve is the main phone line, and it runs in both directions. That means stress signals travel down to the gut, and gut signals travel up to the brain. Anxiety does not have to invent a new symptom to cause heartburn. It just has to turn up the volume on the signals already there.
This is where disorders of gut-brain interaction (DGBI) come in. DGBI is the modern term for gut conditions where the plumbing looks normal on every test but the signaling between gut and brain is off. Heartburn tied to stress often lives in this territory, which is exactly why an antacid alone can leave you frustrated.
The burn is not always about acid
Start with what most people mean by heartburn. GERD, or gastroesophageal reflux disease, is when stomach acid washes back up into the esophagus often enough to cause trouble. That is a mechanical problem, and acid is the villain. But a large share of people who feel classic burning have near-normal acid exposure when you actually measure it. Their esophagus is not soaking in acid. It is reacting to normal amounts as if they were dangerous.
That reaction has a name: esophageal hypersensitivity. The nerves lining the esophagus fire at a lower threshold, so a splash of acid that a calmer nervous system would ignore registers as a five-alarm burn. When the burning is real but the acid is normal and the scope is clean, clinicians call it functional heartburn. It is a DGBI, and it responds poorly to more acid suppression because acid was never the whole story.
Anxiety is one of the biggest dials on that sensitivity. Chronic stress raises what researchers call visceral sensitivity, the gut's baseline reactivity to its own normal activity. Turn that dial up and ordinary digestion starts to hurt. This is the mechanism behind the phrase can anxiety cause heartburn: it does not pour in more acid, it lowers the threshold at which you feel it.
How stress changes the plumbing too
Sensitivity is only half of it. Stress also nudges the hardware. The ring of muscle at the bottom of the esophagus, the lower esophageal sphincter, is supposed to stay shut and open only to let food down. Stress and the fight-or-flight state can loosen its timing, letting acid slip up more easily. Stress also slows gastric emptying, meaning food and acid sit in the stomach longer with more chances to reflux.
There is a second pattern here worth naming. Functional dyspepsia (FD) is a DGBI centered in the upper stomach rather than the esophagus: fullness after small meals, early satiety, upper belly discomfort, sometimes a burning that people mistake for classic heartburn. FD travels with anxiety even more tightly than reflux does. Many people who think they have one problem actually have a blend of both, which matters when you go looking for a solution.
The loop that keeps it going
Here is why this problem digs in. The wire runs both directions, so the symptoms feed each other. A bad reflux episode makes you anxious about the next one. That anxiety raises visceral sensitivity, which makes the next episode more likely and more intense. You start scanning for the burn, and scanning for a sensation is one of the most reliable ways to feel it more. The fear of the symptom becomes part of the machinery producing it.
This bidirectional loop is well documented. Studies of reflux and functional dyspepsia consistently find that people with more anxiety report more severe symptoms, and that treating the anxiety side improves the gut side even when acid levels barely move. The two are not running in parallel. They are running on one circuit.
One wire, two symptoms, address both
This is the practical center of the whole piece. If heartburn and anxiety share a wire, then treating only one end tends to disappoint. Pour acid suppression on a nervous system that is amplifying normal signals, and you blunt one input while the amplifier keeps running. Work only on stress while ignoring genuine reflux mechanics, and you leave a real trigger firing.
The honest approach treats them as what they are: two symptoms on one line, often best worked on together. That means calming the amplifier and settling the plumbing at the same time, so neither end keeps re-triggering the other. You are not chasing two diseases. You are turning down one overactive circuit from both directions.
What to do
- Rule out the heart first for any new, severe, or exertional chest pain, and see a clinician to confirm your reflux is actually reflux before you treat it as a stress problem.
- Work both ends of the wire at once. Pair the things that settle the gut, smaller and slower meals, not lying down within three hours of eating, going easy on late alcohol and heavy fat, with things that lower the stress input: paced breathing, regular sleep, and a wind-down routine that actually happens.
- Track the timing for two weeks. Note when the burn hits and what your stress load was that day. If the pattern lines up with pressure more than with pizza, you have learned where to aim.
- Break the scanning habit. The more you hunt for the sensation, the louder it gets, so build in genuine off-time where you are not monitoring your chest.
- If burning, fullness, or dread persist despite the basics, ask specifically about functional heartburn and functional dyspepsia, the gut-brain patterns, rather than accepting a higher antacid dose as the only lever.
Stop treating your stomach and your stress as strangers who keep showing up to the same fights. They are on the same wire, and once you know that, you finally know where to cut the noise.
