Can Gastritis Cause Back Pain and Chest Pain?

Gastritis can cause both chest pain and back pain, and it does so more often than most people realize. The stomach shares nerve pathways with the heart, esophagus, and mid-back through the upper thoracic spinal cord, which means inflammation in the stomach lining can generate pain that feels like it’s coming from the chest wall or from between the shoulder blades. This overlap is one reason gastric problems frequently get mistaken for heart disease, and vice versa.

How Stomach Inflammation Creates Chest Pain

The stomach sits just below the diaphragm, tucked under the left ribcage and behind the lower breastbone. When its lining is inflamed, the sensory nerves that serve the stomach send signals into the same segments of the spinal cord that receive input from the heart, esophagus, and chest wall. Research on upper thoracic spinal neurons has shown that gastric afferent signals converge onto the same neurons that process cardiac pain, providing a spinal mechanism for stomach-heart cross-organ communication.1PubMed. Gastrocardiac afferent convergence in upper thoracic spinal neurons: a central mechanism of postprandial angina pectoris Your brain receives the combined signal and, because it has limited ability to pinpoint which organ sent it, may interpret stomach inflammation as chest tightness, a burning sensation behind the breastbone, or a dull ache across the front of the chest.

This is why people with gastritis sometimes show up in emergency departments convinced they are having a heart attack. The pain can radiate behind the sternum, feel worse after eating, and even mimic the squeezing quality associated with angina. A cross-sectional study of primary care patients presenting with chest pain found that most patients with gastrointestinal disease localized their pain retrosternally, at rates comparable to those with acid reflux. Pain that worsened with food intake and radiated behind the sternum was positively associated with gastrointestinal disease, while pain triggered by exercise, breathing, or movement pointed away from a GI cause.2PubMed Central. Heartburn or angina? Differentiating gastrointestinal disease in primary care patients presenting with chest pain: a cross sectional diagnostic study

Why Gastritis Can Radiate to the Back

Back pain from gastritis tends to land in the mid-to-upper back, roughly between the shoulder blades. The mechanism is the same type of nerve-sharing that produces chest pain. The stomach’s sensory fibers enter the spinal cord at levels that also serve muscles and skin in the thoracic back. When the stomach sends a strong enough pain signal, the brain can mislocate it as originating from the back.

This pattern is especially common when the inflammation or an ulcer affects the posterior wall of the stomach, the part that sits closest to the spine and pancreas. A deep, gnawing ache between the shoulder blades that worsens after meals and eases with antacids is a classic clue that the pain is visceral rather than muscular. One case study documented a patient referred to physical therapy for what appeared to be severe low back pain and muscle spasms; during exercise, the therapist identified signs of underlying abdominal pathology that required immediate medical referral.3Journal of Orthopaedic & Sports Physical Therapy. Abdominal differential diagnosis in a patient referred to a physical therapy clinic for low back pain The lesson is that back pain with no clear musculoskeletal trigger, particularly when it follows meals or comes with nausea, deserves a look beyond the spine.

Diaphragmatic irritation adds another layer. The stomach presses against the underside of the diaphragm, and when gastritis or distension irritates the diaphragm, pain can refer upward into the shoulders or across the upper back. A case report described referred shoulder pain triggered by eating, most likely caused by left-sided diaphragmatic irritation from the stomach after a meal.4PubMed Central. Postprandial Referred Shoulder Pain: A Case Report The same mechanism can send signals to the thoracic back, particularly the left side.

Telling Gastric Pain Apart from a Heart Problem

The overlap between gastric and cardiac chest pain is not subtle. Both can produce retrosternal discomfort, both can feel burning or pressure-like, and both can be accompanied by nausea. A few patterns help sort them out, though none is foolproof on its own.

Gastric chest pain tends to:

Cardiac chest pain, by contrast, is more likely to be provoked by physical exertion, emotional stress, or cold air, and to be accompanied by shortness of breath, sweating, or pain radiating into the left arm or jaw. In the same study, pain that worsened with exercise, breathing, or movement was negatively associated with gastrointestinal disease, pointing instead toward cardiac or musculoskeletal causes.2PubMed Central. Heartburn or angina? Differentiating gastrointestinal disease in primary care patients presenting with chest pain: a cross sectional diagnostic study

These patterns are guidelines, not rules. A substantial number of people with real heart disease first notice their symptoms after a heavy meal, precisely because of the nerve convergence described above. And gastritis can occasionally produce chest pressure severe enough to feel indistinguishable from a cardiac event. If you are experiencing new, unexplained chest pain, the safest approach is always to rule out a cardiac cause before attributing it to your stomach.

How Often Gastric Disease Hides Behind “Cardiac” Chest Pain

The frequency with which GI problems masquerade as heart trouble is striking. In a study of 121 patients who had typical chest pain but normal coronary angiograms (meaning their heart arteries were clear), upper endoscopy revealed erosive gastritis in about 15%, gastric ulcers in roughly 3%, duodenal ulcers in about 4%, and reflux esophagitis in about 13%. Even among the subset of patients whose cardiac stress tests had been positive, suggesting a heart cause, over 85% turned out to have abnormal findings on gastrointestinal testing.5PubMed Central. The incidence of gastro-esophageal disease for the patients with typical chest pain and a normal coronary angiogram The researchers concluded that gastrointestinal studies should be performed even when evidence for a cardiac explanation exists, because the two often coexist.

A separate study looking at endoscopy in patients with noncardiac chest pain found gastritis and duodenitis in 18 of the patients examined, along with esophagitis in 24 and ulcers in 6. The study noted that endoscopy identified a significant number of patients with acid-related disease who would not have been diagnosed by esophageal testing alone.6PubMed. Utility of upper endoscopy in the evaluation of noncardiac chest pain In other words, chest pain that doesn’t turn out to be from the heart is often from the stomach or esophagus, and you may need a scope to prove it.

The Role of H. Pylori Infection

Helicobacter pylori, the bacterium responsible for a large share of gastritis and peptic ulcers worldwide, adds a specific wrinkle to the chest-pain picture. A preliminary study followed patients with recurrent angina-like chest pain who had not responded to standard acid-suppressing medications. Among those who received H. pylori eradication therapy, the time to rehospitalization for chest pain was significantly longer compared to those who did not receive treatment. The recommendation to eradicate H. pylori was a significant factor in prolonging the hospitalization-free period.7PubMed Central. The favourable effect of Helicobacter pylori eradication therapy in patients with recurrent angina-like chest pain and non-responsive to proton pump inhibitors – a preliminary study

This is a small study, and the findings need replication, but the direction is interesting: treating the bacterial infection in the stomach reduced episodes of chest pain that had looked cardiac. It fits with what we know about nerve convergence. If your stomach lining is actively inflamed by an ongoing bacterial infection, the signals pouring into the spinal cord are louder and more persistent, which makes referred chest pain more frequent and harder to distinguish from angina.

If you have been told your chest pain is noncardiac and you have never been tested for H. pylori, it may be worth asking about. A breath test or stool antigen test can confirm the infection, and a short course of antibiotics combined with acid-lowering medication clears it in most cases.

Visceral Hypersensitivity and Functional Dyspepsia

Not everyone with gastritis-like symptoms has visible inflammation on endoscopy. A related condition called functional dyspepsia produces upper abdominal pain, burning, and fullness without obvious structural damage to the stomach lining. One of the leading explanations for this is visceral hypersensitivity, where the nerves serving the gut become over-responsive to normal stimuli like stretching, acid exposure, or routine contractions.8PubMed Central. Functional dyspepsia: the role of visceral hypersensitivity in its pathogenesis

When the stomach’s sensory apparatus is dialed up, even mild distension after a small meal can produce pain signals strong enough to refer to the chest or back. This is relevant because a person might have “gastritis symptoms” including chest and back pain, undergo endoscopy, be told their stomach looks normal, and assume the diagnosis was wrong. In reality, the pain can be generated by nerves that have become hypersensitive rather than by visible erosion of the lining. The gastrointestinal tract contains specialized mechanoreceptor cells across multiple tissue types that detect stretching and pressure, and these cells are tuned to the physical properties of surrounding tissue.9PubMed Central. Gut feelings: mechanosensing in the gastrointestinal tract When this sensing system malfunctions, normal mechanical activity in the stomach gets amplified into pain.

People with functional dyspepsia and visceral hypersensitivity often report that their chest or back pain correlates strongly with meals, bloating, or stress, all of which increase activity in the gut’s sensory system. Treatments that target the underlying sensitivity, including low-dose antidepressants that modulate pain signaling, dietary modifications, and stress reduction, sometimes work better for this group than standard acid-lowering drugs.

When Acid Suppression Helps and When It Does Not

Proton pump inhibitors, the strongest class of acid-reducing medications, are often the first treatment tried for gastric chest pain. A systematic analysis of their effectiveness in unexplained chest pain found dramatically different results depending on whether the patient had objective evidence of acid reflux. In patients with confirmed reflux disease, the chance of significant chest-pain improvement with a PPI compared to placebo was roughly four times higher. But in patients without reflux disease, PPIs performed no better than placebo and in some analyses appeared slightly less effective.10PubMed. Response of unexplained chest pain to proton pump inhibitor treatment in patients with and without objective evidence of gastro-oesophageal reflux disease

This matters because it means a trial of PPIs is useful as a diagnostic clue: if your chest pain improves substantially on acid suppression, acid-related disease is likely contributing. If it does not improve, continuing PPIs indefinitely is unlikely to help and other explanations need attention. Many people stay on PPIs for years for chest pain that never responded to them in the first place, which exposes them to the known long-term side effects of prolonged acid suppression without corresponding benefit.

Red Flags That Demand Urgent Evaluation

Gastritis-related pain, while uncomfortable, is rarely dangerous on its own. But several conditions that produce overlapping symptoms are genuine emergencies. You should seek immediate medical attention if your chest or back pain is accompanied by any of the following:

  • Sudden tearing pain: a ripping sensation in the chest that radiates straight through to the back can signal aortic dissection, a condition that deteriorates rapidly and requires emergency treatment11PubMed Central. Aortic Dissection Masquerading as Musculoskeletal Chest and Back Pain
  • Chest pressure with exertion: pain that comes on during physical activity and eases with rest points toward a cardiac cause
  • Shortness of breath or lightheadedness: these suggest the heart or lungs may be involved
  • Vomiting blood or black stools: signs of a bleeding ulcer, which requires prompt treatment
  • Unexplained weight loss: when combined with persistent upper GI symptoms, this warrants investigation for more serious pathology

Aortic dissection is worth highlighting because it can initially present as back pain or chest pain that mimics musculoskeletal or even gastrointestinal complaints. The clinical examination alone is not sensitive enough to rule it out when the presentation is ambiguous.12JAMA. Does This Patient Have an Acute Thoracic Aortic Dissection? If your pain is sudden, severe, and feels fundamentally different from anything you have experienced before, get to an emergency room.

Practical Steps If You Suspect Gastritis Is Behind Your Pain

If you have been experiencing chest or back pain that seems tied to meals, responds at least partially to antacids, and is not triggered by exertion, a gastric source is a reasonable suspicion. A structured approach makes the most of your time and your doctor’s.

Start by keeping a food and symptom diary for a week or two. Note what you ate, when pain appeared, where it was located, and what made it better or worse. This kind of record is far more useful in a medical appointment than a vague report of “chest and back pain sometimes.” If your pain has the burning, meal-related, short-duration profile associated with GI disease, your doctor may suggest a trial of acid suppression as both treatment and diagnostic test. A clear improvement after two to four weeks strongly suggests an acid-related problem.

If acid suppression does not help, or if symptoms are severe or persistent, upper endoscopy becomes the key investigation. It can identify erosive gastritis, ulcers, reflux damage, and other structural causes that standard testing misses. Testing for H. pylori should be part of this workup, since eradication of the bacterium resolves symptoms in many patients and may reduce recurrent chest pain episodes.

For people whose endoscopy comes back normal but symptoms persist, the conversation shifts toward functional dyspepsia and visceral hypersensitivity. This is not a dead end; it simply means the pain is driven more by nerve sensitivity than by visible tissue damage, and the treatment strategy pivots accordingly toward neuromodulators, dietary adjustments, and sometimes cognitive behavioral approaches that retrain the gut-brain connection.

Posture, Anatomy, and Why Some People Are More Prone

Anatomical variation plays an underappreciated role in who experiences referred pain from gastritis. The stomach’s position varies from person to person. In some people it hangs lower and more centrally; in others it sits high and tight against the diaphragm. A hiatal hernia, where the upper part of the stomach slides upward through the diaphragm into the chest cavity, places stomach tissue in direct contact with structures that normally never touch it. This proximity can amplify referred pain to the chest and upper back, even when the degree of gastritis itself is mild.

Body habitus matters too. Excess abdominal fat increases intra-abdominal pressure, which pushes the stomach upward against the diaphragm and can worsen both direct gastric discomfort and diaphragmatic irritation. People who spend long hours seated, especially leaning forward over a desk, compress the upper abdomen in ways that exacerbate gastric symptoms and can make referred back pain worse. Simply standing, walking after meals, and avoiding tight waistbands reduces the mechanical load on the stomach and can meaningfully reduce symptom frequency in people whose gastritis-related pain has a postural component.

The interplay between the stomach’s mechanical environment and its sensory signaling is real and measurable. The gastrointestinal tract relies on mechanosensing cells distributed across its tissue layers to monitor distension and pressure.9PubMed Central. Gut feelings: mechanosensing in the gastrointestinal tract Anything that increases mechanical stress on the stomach wall, whether that is a large meal, a tight belt, or a hiatal hernia, amplifies the signals these sensors send into the spinal cord, raising the likelihood that the brain perceives the signal as chest or back pain rather than just stomach discomfort.