Gastritis

Also called stomach inflammation, stomach lining inflammation.

Dr Chad OkayFounder, Suna Health

4 min read. Updated .

Gastritis is inflammation of the stomach lining. It can be acute (sudden, often from infection or a heavy dose of a non-steroidal anti-inflammatory painkiller, an NSAID) or chronic (longer-term, often from H. pylori or autoimmune disease). Symptoms include upper abdominal pain, nausea, fullness after small meals, and indigestion. Most cases are diagnosed and treated based on symptoms; severe or persistent cases need endoscopy.

What's actually inflamed

The stomach lining has several layers, including a mucus layer that protects against the acid the stomach itself produces. When that protective layer is damaged or the immune system targets the lining, inflammation results. Mild gastritis causes discomfort. Severe gastritis can cause erosions or progress to ulcers.

Common causes

  • H. pylori infection (most common cause of chronic gastritis worldwide).
  • NSAIDs (ibuprofen, naproxen, aspirin), especially regular use.
  • Heavy alcohol use.
  • Bile reflux (in post-cholecystectomy or post-gastric surgery).
  • Autoimmune gastritis (immune system attacks parietal cells; causes B12 deficiency).
  • Severe physiological stress (in people who are critically ill, in intensive care).
  • Less common: viral infections, eosinophilic gastritis, granulomatous gastritis.

Symptoms

  • Burning or gnawing pain in the upper abdomen.
  • Nausea, especially in the morning or on empty stomach.
  • Loss of appetite or fullness after small meals.
  • Bloating and burping.
  • Bad breath, which tracks with H. pylori infection more than with gastritis in general.
  • Black or tarry stools, or vomiting blood. Both mean bleeding, and both are covered in the section below on when to get seen. Neither is something to watch and wait on.
  • B12 deficiency in autoimmune gastritis (fatigue, tingling, mood changes).

How it's diagnosed

  1. Symptoms + history (NSAID use, alcohol, stress).
  2. H. pylori test: a breath test or a stool antigen test.
  3. Blood test for B12 and parietal cell antibodies if autoimmune suspected.
  4. Endoscopy with biopsy is the gold standard but reserved for persistent cases or warning signs.

One thing catches people out here. Acid-suppressing medication and antibiotics both knock the bacteria back far enough to produce a false negative. NICE says to leave two weeks after stopping a proton pump inhibitor, and four weeks after finishing antibiotics, before a breath test or stool antigen test. So if you have been taking omeprazole for the symptoms and get tested a few days later, a negative result does not reliably rule the infection out. Tell whoever arranges the test what you have been taking.

Treatment

  • H. pylori positive: eradication treatment, which combines an acid-suppressing drug with two antibiotics. Course length differs between UK and international guidance, and the antibiotic choice depends on what you have taken before and on local resistance patterns, so this is prescribed and dosed for you rather than chosen off a page. It is worth asking for a re-test afterwards to confirm it worked.
  • NSAID-related: stopping the NSAID is the treatment. If it is something you buy for aches and pains, that is straightforward, and paracetamol or an anti-inflammatory gel rubbed into the joint are usually reasonable alternatives. If it was prescribed, and this matters most for low-dose aspirin taken to protect the heart after a stroke or heart attack, do not stop it on your own. There are ways to protect the stomach while keeping the aspirin, and stopping it unsupervised carries its own risk.
  • Alcohol-induced: cut down or stop.
  • Symptomatic without H. pylori: a course of acid suppression, then stepping down to the lowest dose that controls symptoms rather than staying on it indefinitely.
  • Autoimmune: B12 replacement, usually by injection. Where the stomach lining has thinned extensively, British Society of Gastroenterology guidance recommends periodic endoscopic surveillance, because the long-term risk of stomach cancer is raised.
  • Diet: avoid spicy, fatty, and very acidic foods during flares. No specific 'gastritis diet' is established by high-quality trials; advice focuses on limiting irritants you personally react to.

When it needs more than tablets

Most gastritis-like discomfort is exactly that. Vomiting blood or black tarry stools is bleeding until proven otherwise and an emergency: 999 in the UK, 911 in the US. Food sticking or hurting on the way down, persistent vomiting, or weight going down on its own alongside upper-tummy discomfort deserve a prompt doctor's appointment rather than another course of tablets, and discomfort that keeps returning after treatment is worth a conversation in its own right.

Common questions

Is gastritis the same as an ulcer?
Related but different. Gastritis is inflammation of the lining. An ulcer is a deeper hole through the lining. Untreated gastritis can progress to ulcer. Both share many causes (H. pylori, NSAIDs, alcohol).
Will it come back?
Often, if the underlying cause persists. H. pylori-related gastritis usually resolves with successful eradication. NSAID-related comes back if you restart. Autoimmune gastritis is chronic by nature.
Can stress cause gastritis?
Severe physical stress (critical illness, major surgery) can cause acute gastritis. Everyday emotional stress doesn't directly cause gastritis but worsens symptoms in someone who already has it.
Should I avoid coffee with gastritis?
During flares, yes. Coffee increases stomach acid production. Many people manage chronic gastritis fine with morning coffee but find afternoon coffee triggers symptoms. Adjust to your pattern.

Sources

Written by Dr Chad Okay. Contributor: Dr Parisah Hussain, MBChB, BSc (Hons), DRCOG, MRCGP. Last updated 17 September 2026. From Digests.

Digests explains how the body works in general, everyday terms. It is not medical advice. It is not a substitute for someone who can examine you and knows your history, and we do not tell you what dose of any medicine to take.

Where we describe how something is checked or looked after, we follow UK guidance from NICE and the NHS. If you are reading this outside the UK, the same concerns are worth taking to your own doctor, though the tests and routes where you live may differ.

Suna Health is building a wearable wellness device for gut health, and you will see it advertised alongside these pages. That commercial interest does not decide what the content says.

If you think we have got something wrong, tell us at digests@suna.health. It goes to the editor. Full terms, including our liability position, are at suna.health/terms.