How Can Gastritis Cause Shoulder Pain?

Gastritis causes shoulder pain through a phenomenon called referred pain, in which irritation of the stomach or its surrounding structures sends signals along shared nerve pathways that the brain misinterprets as coming from the shoulder. The key player is the phrenic nerve, which originates from the same spinal cord segments (C3 through C5) that supply sensation to the shoulder and neck. When an inflamed stomach irritates the underside of the diaphragm, the brain can genuinely struggle to tell where the signal is coming from, and the result is pain you feel in your shoulder even though nothing is wrong with the joint itself.

The Phrenic Nerve Connection

The diaphragm sits directly above the stomach, separated by only a thin layer of tissue. When gastritis produces enough inflammation or swelling to press against or irritate the diaphragm’s underside, the phrenic nerve picks up the distress signal. The phrenic nerve runs from spinal cord levels C3 through C5, with C4 as the primary contributor. Those same spinal levels also give rise to the supraclavicular nerve, which supplies sensation to the skin over the neck, upper chest, and shoulder.1PubMed Central. Post-laparoscopic Shoulder Pain Management: A Narrative Review Because these nerves share a spinal origin, pain signals from the diaphragm can be felt in the shoulder region. This is not a vague or imprecise effect; the pain typically maps to a specific area corresponding to the C3 through C5 dermatomes, which cover the neck and the top of the shoulder.2European Respiratory Journal. Referred shoulder pain (C4 dermatome) can adversely impact diaphragm pacing with intramuscular electrodes

Two main theories explain why the brain makes this mistake. One involves convergent neurons in the spinal cord, where sensory fibers from the diaphragm and fibers from the shoulder skin feed into the same relay neurons. The brain has learned over a lifetime that signals from these neurons usually mean “shoulder,” so it defaults to that interpretation. The other theory involves nerve fibers that physically branch and send signals to both locations at once.3Frontiers in Neurology. Referred pain: characteristics, possible mechanisms, and clinical management Either way, the result is the same: stomach trouble registers as shoulder pain.

When Eating Triggers Shoulder Pain

One of the more baffling presentations for patients is shoulder pain that appears after meals. A documented case described exactly this scenario: a person experienced referred shoulder pain that was linked to left-sided diaphragmatic irritation from the stomach expanding after eating.4PubMed Central. Postprandial Referred Shoulder Pain: A Case Report When the stomach fills with food, it naturally distends. In a person with gastritis, the inflamed stomach wall can push more aggressively against the diaphragm. The left shoulder is the more common side affected because the stomach sits primarily on the left side of the abdomen, directly beneath the left hemidiaphragm.

This pattern is worth recognizing because it often leads patients and even some clinicians down the wrong path. Shoulder pain that worsens after meals, especially large meals, does not fit the typical profile of rotator cuff injury, frozen shoulder, or cervical disc problems. If you notice that your shoulder reliably aches 20 to 40 minutes after eating, the digestive system deserves a closer look than the shoulder itself.

Shoulder Pain Without Any Stomach Symptoms

Here is where things get genuinely confusing: gastric problems can produce shoulder pain as the primary or even the sole symptom, with little to no abdominal discomfort. A case report from the Journal of Hospital General Medicine described a patient with a hemorrhagic gastric ulcer who presented with left shoulder pain and dizziness but had no abdominal pain at all.5Journal of Hospital General Medicine. Non-perforated hemorrhagic gastric ulcer presenting with left shoulder pain and orthostatic dizziness, but without abdominal pain The shoulder pain resolved after the patient received a proton pump inhibitor, a standard acid-reducing medication, without any shoulder-specific treatment. That outcome strongly implicates the stomach as the source.

This matters because most people, and many healthcare providers during a quick assessment, associate shoulder pain exclusively with musculoskeletal problems. If imaging of the shoulder comes back clean and physical therapy does not help, the absence of obvious stomach complaints does not rule out gastritis. The referred pain pathway does not require the patient to feel anything in the abdomen.

How H. pylori Infection Changes the Nerve Landscape

Helicobacter pylori, the bacterium responsible for a large share of gastritis cases worldwide, does more than just inflame the stomach lining. Research in animal models has shown that H. pylori infection causes measurable changes in the gastric neural circuitry, changes that are progressive and dependent on the immune system’s response. Some of these neural alterations persist even after the infection has been eradicated.6PubMed. Immune-mediated neural dysfunction in a murine model of chronic Helicobacter pylori infection

More specifically, both early and chronic H. pylori infection have been shown to increase the expression of certain signaling molecules in the stomach and the spinal cord, including substances involved in transmitting pain signals.7PubMed. Role of Helicobacter pylori infection on neuronal expression in the stomach and spinal cord of a murine model These heightened signals may partly explain why some people with chronic gastritis develop referred pain more readily than others. If the nervous system in and around the stomach is already “turned up” by infection, it takes less irritation to trip the phrenic nerve pathway and generate shoulder discomfort. This also means that someone who has been treated for H. pylori but still has lingering shoulder or neck pain might be dealing with residual neural sensitization rather than a new musculoskeletal problem.

The Gut-Brain Axis and Chronic Pain Amplification

Gastritis does not operate in a neural vacuum. The stomach communicates with the brain through a bidirectional highway often called the gut-brain axis, with the vagus nerve serving as a major information cable. In people with chronic stomach inflammation, this communication system can become dysregulated. Research into vagal nerve stimulation has found that normalizing gut-brain signaling shows promise as a way to treat chronic abdominal pain, suggesting that the signaling itself contributes to the problem when it is disrupted.8PubMed Central. Noninvasive vagal nerve stimulation for gastroenterology pain disorders

What this means in practical terms is that long-standing gastritis does not just generate referred pain as a one-off mechanical event. Over time, persistent nociceptive input from an inflamed stomach can sensitize the central nervous system, making it more responsive to all kinds of pain signals in the related nerve territories. Roughly a third of people with persistent non-cancer pain also report recurrent abdominal, pelvic, or chest pain, pointing to meaningful overlap between visceral and musculoskeletal pain systems.9Elsevier / Medical Hypotheses. Visceral pain, mechanisms, and implications in musculoskeletal clinical practice If you have chronic gastritis and also seem to have a stiff or achy shoulder that no one can explain, these two complaints may not be coincidental.

The NSAID Trap

Nonsteroidal anti-inflammatory drugs like ibuprofen and naproxen are among the first things people reach for when their shoulder hurts. This creates a genuinely dangerous feedback loop for someone whose shoulder pain is actually caused by gastritis. NSAIDs are well-established culprits in gastric damage: a study of patients with osteoarthritis who used NSAIDs long-term found that gastroduodenal lesions were the most common side effect, including acute erosive gastritis, gastric ulcers, and duodenal ulcers.10PubMed Central. Superior digestive tract side effects after prolonged treatment with NSAIDs in patients with osteoarthritis

So the sequence can look like this: gastritis irritates the diaphragm, which produces shoulder pain, which the person treats with ibuprofen, which worsens the gastritis, which intensifies the shoulder pain. The person takes more ibuprofen. With each cycle, the stomach lining takes more damage. If you have unexplained shoulder pain and you are reaching for over-the-counter anti-inflammatories regularly without relief, consider whether the medication itself could be part of the problem. Acetaminophen (paracetamol) is gentler on the stomach and a safer choice for pain relief while the gastric component is being investigated.

When Shoulder Pain Is a Medical Emergency

Not all shoulder pain from abdominal sources is benign. Two serious conditions that involve the same referred-pain pathway deserve attention.

The first is a perforated gastric ulcer. When an ulcer erodes all the way through the stomach wall, air and stomach contents leak into the abdominal cavity, causing intense irritation of the diaphragm. A case report described an adolescent girl who developed abdominal and shoulder pain that briefly resolved before returning. Imaging revealed a large pneumoperitoneum, essentially free air in the abdomen, from a perforated ulcer on the front wall of her stomach. She required emergency surgery.11Ovid. Perforated Peptic Ulcer in an Adolescent Girl The key warning here is that the pain temporarily went away for two days before coming back, which could easily lull someone into thinking the episode was over.

The second emergency is a heart attack. Shoulder pain accompanied by nausea or vomiting can overlap with the presentation of acute myocardial infarction. A diagnostic meta-analysis noted that non-specific complaints like back pain, vomiting, and nausea can all be caused by acute coronary events.12British Journal of General Practice. Signs and symptoms in diagnosing acute myocardial infarction and acute coronary syndrome: a diagnostic meta-analysis Because gastritis also produces nausea, the combination of nausea and shoulder pain can make it genuinely difficult to tell the two apart without an electrocardiogram and blood tests. If shoulder pain comes on suddenly, feels crushing or heavy, radiates to the jaw or arm, or is accompanied by shortness of breath, treat it as a cardiac emergency until proven otherwise.

How Treating the Stomach Fixes the Shoulder

One of the most convincing pieces of evidence that gastritis causes referred shoulder pain is what happens when the gastritis gets treated. As mentioned in the hemorrhagic ulcer case, the patient’s shoulder pain resolved entirely with proton pump inhibitor therapy and no shoulder-specific intervention.5Journal of Hospital General Medicine. Non-perforated hemorrhagic gastric ulcer presenting with left shoulder pain and orthostatic dizziness, but without abdominal pain This outcome is the clearest diagnostic signal: if treating the stomach eliminates the shoulder pain, the shoulder pain was coming from the stomach.

Standard treatment for gastritis depends on the cause. If H. pylori is involved, a combination of antibiotics and acid-suppressing medication is the typical approach. If NSAIDs are the culprit, stopping or switching the medication is the first step, sometimes combined with a proton pump inhibitor to help the stomach lining heal. For stress-related or autoimmune gastritis, dietary changes and acid management play central roles. In all of these scenarios, the shoulder pain is a downstream symptom. You do not need physical therapy, cortisone injections, or imaging of the shoulder. You need the stomach inflammation to settle down.

That said, if both gastritis and a genuine shoulder problem coexist, treating the stomach will only resolve the referred component. If a rotator cuff tear or arthritis is also present, that pain will remain after the gastric inflammation clears. The diagnostic shortcut is to notice whether the shoulder pain changes in character, intensity, or timing once gastric treatment begins. The referred component tends to feel diffuse and hard to pinpoint, more of an ache across the top of the shoulder, while structural shoulder problems tend to produce sharper pain with specific movements.

What Laparoscopic Surgery Reveals About the Mechanism

If you have ever spoken to someone who had laparoscopic surgery, especially on abdominal organs, you may have heard them complain about intense shoulder pain for days afterward. This is the same phrenic nerve pathway at work, and studying it in the surgical setting has taught researchers a lot about the mechanism. During laparoscopic procedures, the abdomen is inflated with carbon dioxide gas to create space for the surgeon. This COâ‚‚ creates an acidic environment and physically stretches the diaphragm, directly irritating the phrenic nerve.1PubMed Central. Post-laparoscopic Shoulder Pain Management: A Narrative Review

Post-laparoscopic shoulder pain is so common and well-documented that it has its own abbreviation in the medical literature (PLSP). Its existence confirms the basic anatomy: anything that pushes against or irritates the diaphragm from below will trigger shoulder pain via the C3 through C5 nerve roots. Gastritis does the same thing on a subtler and more chronic scale. The surgical version is dramatic because the diaphragm is forcefully distended by gas pressure, while the gastritis version is more gradual, caused by inflammatory swelling and the mechanical pressure of a distended stomach. But the neural wiring is identical.

Understanding this parallel also explains why gastritis-related shoulder pain tends to be worse in certain positions. Lying flat after a meal allows the stomach to press upward more directly against the diaphragm, which is why some people notice that their shoulder aches more at night or when they recline after eating. Sitting upright lets gravity pull the stomach contents downward and reduces contact with the diaphragm, often easing the referred pain.

Clues That Your Shoulder Pain Might Be Gastric

Since referred pain from the stomach can mimic a musculoskeletal problem, a few patterns can help you and your clinician sort it out:

  • Left side bias: The stomach sits under the left hemidiaphragm, so gastritis-related referred pain more often affects the left shoulder.
  • Meal timing: Pain that worsens after eating, especially large or acidic meals, points toward a gastric source.
  • No movement trigger: Rotator cuff and joint problems hurt when you move the shoulder in specific ways. Referred gastric pain tends to be present regardless of shoulder movement.
  • Associated digestive symptoms: Bloating, nausea, early satiety, or a burning sensation in the upper abdomen, even mild ones, alongside shoulder pain are suggestive.
  • NSAID use: If you have been taking anti-inflammatory drugs regularly and the shoulder pain is not improving or is getting worse, the medication may be creating or worsening gastritis.
  • Response to antacids: If a proton pump inhibitor or even over-the-counter antacids reduce the shoulder pain, that is a strong clue that the stomach is involved.

None of these features alone is diagnostic, but a cluster of them together should prompt a conversation with your doctor about upper endoscopy or at minimum a trial of acid-suppressive therapy. The shoulder itself may not need any investigation at all if the gastric connection is established. For people who have been stuck in a cycle of orthopedic referrals, imaging, and physical therapy with no improvement, stepping back and considering the abdomen as the source can be the breakthrough that finally resolves the pain.