Gastritis refers to inflammation of the stomach lining that develops when something damages the protective mucus layer and allows digestive acid to reach the tissue underneath. The most common cause worldwide is Helicobacter pylori infection, followed by everyday medications like ibuprofen and aspirin, heavy alcohol use, autoimmune reactions, bile backing up into the stomach, and severe physiologic stress.
You’ll gain insight into how the stomach’s mucosal barrier breaks down, from H. pylori infection to NSAID use, alcohol, autoimmune triggers, bile reflux, and stress-related damage.
The Stomach Lining and Why Inflammation Develops in the First Place
Your stomach holds hydrochloric acid strong enough to dissolve metal, and the only thing standing between that acid and the rest of your abdominal cavity is a thin layer of tissue called the mucosa. That lining secretes thick mucus, releases bicarbonate to neutralize acid on contact, and maintains steady blood flow so damaged cells can repair themselves quickly.
Three pieces of chemistry keep the barrier intact. Prostaglandins, especially those produced by COX-1 enzymes, signal the mucosa to keep secreting mucus and bicarbonate. Mucosal blood flow delivers oxygen and nutrients to surface cells and carries away any acid that does sneak through. Surface cell turnover replaces the top row of stomach lining every few days, outpacing most minor injuries before they become real damage.
What actually happens when the barrier fails
When the mucus layer thins or prostaglandin production drops, acid reaches the deeper epithelial cells. Those cells release chemical distress signals, and the immune system responds with inflammation: swelling, redness, and pain. That inflammatory response is what doctors call gastritis, a tissue diagnosis describing the result rather than a single disease with a single cause. Knowing this matters because treatment, timeline, and danger level all depend on which upstream trigger broke the barrier in the first place.
That single cause is most often H. pylori, a bacterium quietly colonizing roughly half the world’s stomachs.
H. pylori Infection, the Single Largest Driver of Chronic Gastritis
Helicobacter pylori is a spiral-shaped bacterium that colonizes the stomach mucus layer in roughly half the world’s population. It survives in acid by producing an enzyme called urease, which converts urea into ammonia and creates a small alkaline cloud around the bacterium. That chemical trick lets H. pylori burrow into the mucus and cling there for decades if left alone.
The infection does not attack the stomach through acid. It triggers chronic gastritis by provoking a slow, persistent immune response. White blood cells flood the mucosa, inflammatory chemicals build up, and over years the constant low-grade battle between the immune system and the bacterium erodes the lining. Most carriers never develop symptoms, so screening depends on exposure history rather than how the stomach feels day to day.
Why untreated H. pylori matters
Chronic gastritis from H. pylori can quietly progress through stages that include atrophic changes (where stomach cells are replaced by intestinal-type cells), peptic ulcers, and, in a small percentage of long-term carriers, gastric cancer. That risk profile is why the World Health Organization has classified H. pylori as a Group 1 carcinogen. Eradication requires combination antibiotic therapy paired with a proton pump inhibitor to reduce acid while the antibiotics work; dietary changes alone do not clear the bacterium.
Testing is recommended for anyone with active ulcer disease, persistent dyspepsia, or a family history of gastric cancer, guidance that aligns with recommendations from the National Institute of Diabetes and Digestive and Kidney Diseases.
NSAIDs, Alcohol, and the Daily Habits That Erode the Mucosal Shield
Aspirin, ibuprofen, and naproxen relieve pain by blocking COX enzymes, which cuts prostaglandin production throughout the body. That same drop in prostaglandins hits the stomach lining, where it shuts down mucus secretion, reduces bicarbonate release, and lowers mucosal blood flow. Within days of regular use, the protective chemistry thins enough for acid to reach the tissue underneath and trigger inflammation.
The habits that compound the damage
Several common patterns make NSAID-related gastritis worse, each one shifting the same barrier failure mechanism in the same direction:
Yet chemical injury is not limited to what you swallow; bile reflux and autoimmunity can attack the lining from directions most patients never consider.
- NSAIDs plus corticosteroids. Combining pain relievers with steroids such as prednisone multiplies ulcer and gastritis risk two to threefold compared with NSAIDs alone.
- Heavy alcohol intake. Alcohol directly damages surface mucosal cells on contact and stimulates excess gastric acid secretion at the same time, doubling the injury.
- Smoking. Nicotine constricts blood vessels in the stomach lining, slows healing, and raises inflammation rates in chronic smokers.
- Taking NSAIDs on an empty stomach. Without food buffering the acid, the medication lands directly on an unprotected mucosa.
- Using multiple NSAIDs at once. Combining ibuprofen with aspirin, for example, stacks the prostaglandin-blocking effects and worsens mucosal injury.
Spicy foods and acidic drinks like coffee or orange juice do not cause gastritis, but they reliably worsen symptoms once the lining is already inflamed. If your stomach burns after a cup of coffee, the coffee did not start the problem; it is amplifying an existing one.
Autoimmune and Bile Reflux Causes Most Articles Overlook
Autoimmune gastritis develops when your immune system mistakes the stomach’s parietal cells (the cells that produce stomach acid and intrinsic factor) for a threat and attacks them. Parietal cells make intrinsic factor, a protein the small intestine needs to absorb vitamin B12. As those cells are destroyed, B12 absorption collapses, and a slow-developing anemia called pernicious anemia eventually follows.
This form often shows up in people who already carry another autoimmune condition, particularly Hashimoto thyroiditis or type 1 diabetes, because the underlying tendency to attack the body’s own tissues is shared.
Bile reflux: the non-acid cause
Bile reflux gastritis comes from a different direction entirely. After gallbladder surgery or when the pyloric valve between the stomach and small intestine stops working properly, intestinal bile flows backward into the stomach. Bile is alkaline, but the stomach is not built to handle it. The chemical irritation produces inflammation that looks and feels like acid-driven gastritis but does not respond to acid-blocking strategies in the same way.
This form is often misdiagnosed as standard acid gastritis because the symptom profile overlaps, yet the underlying mechanism is chemical injury from bile, not from hydrochloric acid. Both autoimmune and bile reflux causes require physician-led management because lifestyle changes alone rarely reverse either one.
Acute Stress, Chronic Stress, and the Erosive Forms of Gastritis
Severe burns, major trauma, sepsis, or intensive care stays can spark acute erosive gastritis within hours through physiologic stress pathways. Blood flow is diverted away from the stomach lining to protect the brain and heart, mucosal cells lose their oxygen supply, and the protective barrier breaks down almost immediately. Critically ill patients can develop bleeding ulcers within a day or two of the triggering event, which is why intensive care protocols often include acid-suppressive medication as a preventive measure.
Psychological stress is a weaker trigger
Psychological stress alone rarely ignites gastritis, though it often intensifies symptoms that are already present. Chronic anxiety can raise stomach acid output, alter gut motility, and lower pain thresholds, which can make an already-inflamed lining feel worse. The distinction matters because prognosis, urgency, and treatment setting differ sharply: acute erosive gastritis in a critically ill patient is a medical emergency, while stress-amplified chronic gastritis in an otherwise healthy person is managed on a much slower timeline.
Sorting out which pattern fits your situation determines whether you wait, adjust habits, or see a clinician this week.
Identifying Your Trigger and Knowing When Medical Evaluation Is Warranted
Matching your personal history against the cause categories above is the clearest next step, and it splits into modifiable and non-modifiable levers. Modifiable triggers (NSAID use, alcohol intake, smoking) can be adjusted this week, often with measurable symptom improvement within days. Non-modifiable causes (H. pylori colonization and autoimmune activity) require testing and prescription therapy to confirm and resolve.
A practical checklist for deciding what to do next
- Persistent symptoms beyond two weeks. Short-term burning or nausea often resolves with dietary change. Anything lasting longer warrants a clinical evaluation.
- Unintended weight loss. Losing weight without trying while having stomach symptoms points to a cause that needs investigation rather than home management.
- Vomiting blood or coffee-ground material. This signals active bleeding in the stomach and requires same-day medical attention.
- Black, tarry stools. Digested blood from the upper GI tract turns stools black and sticky, and this also requires prompt evaluation.
- Signs of anemia. Fatigue, pale skin, shortness of breath, and dizziness with stomach symptoms suggest chronic blood loss or B12 deficiency from autoimmune gastritis.
- Family history of gastric cancer. Anyone with a first-degree relative who had stomach cancer should be tested for H. pylori even without symptoms.
Endoscopy is the definitive diagnostic tool and is typically reserved for red-flag presentations or persistent symptoms despite first-line changes. The American Gastroenterological Association recommends endoscopy for alarm features including bleeding, anemia, weight loss, and vomiting, and for anyone over age 60 with new dyspepsia.
For most people, the path forward is to eliminate one modifiable trigger this week, give the change two weeks to register, and book a clinical evaluation if any red flag appears or symptoms do not improve.
The Bottom Line
Gastritis is a description, not a diagnosis. The inflammation itself is the same tissue response, but the upstream cause determines whether you need antibiotics, a medication review, a stress-related evaluation, or specialized autoimmune testing. Match your history against the cause categories and act on the levers you can control now, while reserving clinical evaluation for anything that signals bleeding, persistent weight loss, or symptoms that will not settle.
FAQ
What is the most common cause of gastritis?
Helicobacter pylori infection is responsible for the majority of chronic gastritis cases worldwide. In regions where H. pylori is less prevalent, NSAID use becomes the leading cause. Both work through different mechanisms but produce the same inflammatory result in the stomach lining.
Can stress or anxiety cause gastritis?
Severe physical stress from burns, trauma, sepsis, or critical illness can trigger acute erosive gastritis within hours. Psychological stress is a weaker and more contested trigger and is more likely to amplify existing inflammation than to cause gastritis on its own.
How do NSAIDs like ibuprofen lead to gastritis?
Ibuprofen, aspirin, and naproxen block COX-1 enzymes, which drops prostaglandin production and strips the mucosa of mucus, bicarbonate, and blood flow. Frequent use damages the protective lining and produces inflammation, especially when combined with alcohol, smoking, or corticosteroids.
Is gastritis caused by H. pylori always symptomatic?
No. Most people who carry H. pylori never develop symptoms, which is why screening depends on exposure history rather than how the stomach feels day to day. When symptoms do appear, they often follow years of silent mucosal erosion.
What is the difference between acute and chronic gastritis?
Acute gastritis develops over hours to days, usually from NSAIDs, heavy alcohol, or physiologic stress, and often resolves once the trigger is removed. Chronic gastritis develops over months to years, most often from H. pylori or autoimmune activity, and can progress to atrophic changes, ulcers, or cancer if untreated.
Can alcohol cause gastritis?
Yes. Heavy alcohol intake directly damages surface mucosal cells on contact and stimulates excess gastric acid secretion at the same time, producing acute erosive gastritis that can bleed within a day of a binge. Chronic heavy drinking sustains the injury and impairs healing.
