Gastritis happens when the lining of the stomach becomes inflamed after it's been damaged. It's a common condition with a wide range of causes. For most people, gastritis isn't serious and improves quickly if treated – but if not, it can last for years.

Symptoms of gastritis

Many people with gastritis caused by a bacterial infection don't have any symptoms. In other cases, gastritis can cause:

  • indigestion
  • gnawing or burning stomach pain
  • nausea and vomiting
  • feeling full after eating

If the stomach lining has been worn away (erosive gastritis) and exposed to stomach acid, symptoms may include pain, bleeding or a stomach ulcer.

The symptoms of gastritis may come on suddenly and severely (acute gastritis) or last a long time (chronic gastritis).

When to see your GP

If you have indigestion and stomach pain, you can try treating this yourself with changes to your diet and lifestyle, or with a number of different over-the-counter medications, such as antacids.

See your GP if:

  • you have indigestion symptoms lasting a week or longer, or it's causing you severe pain or discomfort
  • you think it's brought on by medication you've been prescribed
  • you're vomiting blood or have blood in your stools (poo) (the blood in your stools may appear black and sticky, like tar - after being digested in your gut)
  • you’re 55 years of age or older and have weight loss

Stomach ache and abdominal pain aren't always a sign of gastritis – the pain could be caused by a wide range of other things, from trapped wind to irritable bowel syndrome (IBS).

Diagnosing gastritis

Your GP will assess you and decided whether investigation or treatment is necessary. They may recommend one or more of the following tests:

  • a stool test – to check for infection or bleeding from the stomach
  • a breath test for Helicobacter pylori (H. pylori) infection – this involves drinking a glass of clear, tasteless liquid that contains radioactive carbon and blowing into a bag
  • an endoscopy – a flexible tube (endoscope) is passed down your throat and into your oesophagus and stomach to look for signs of inflammation
  • a barium swallow – you're given some barium solution, which shows up clearly on X-rays as it passes through your digestive system

Possible causes of gastritis

Gastritis is usually caused by one of the following:

  • a H. pylori bacterial infection – see below
  • excessive use of cocaine or alcohol
  • regularly taking aspirin, ibuprofen or other painkillers classed as non-steroidal anti-inflammatory drugs (NSAIDs) 
  • a stressful event – such as a bad injury or critical illness, or major surgery
  • less commonly, an autoimmune reaction – when the immune system mistakenly attacks the body's own cells and tissues (in this case, the stomach lining)

H. pylori gastritis

Many people become infected with H. pylori bacteria and don't realise it. These stomach infections are common and don't usually cause symptoms.

A H. pylori infection can sometimes cause recurring bouts of indigestion. This is because the bacteria can cause inflammation of the stomach lining.

This sort of gastritis is more common in older age groups.   It is usually the cause of chronic (persistent) non-erosive cases.

An H. pylori stomach infection is usually lifelong, unless it's treated. Read more about treating an H. pylori infection.

Treating gastritis

Treatment aims to reduce the amount of acid in the stomach to relieve symptoms, allowing the stomach lining to heal and to tackle any underlying cause.

You may be able to treat gastritis yourself, depending on the cause.

There are a number of over-the-counter medicines that can help neutralise the acid in your stomach. This can provide rapid pain relief. Ask your pharmacist for information about treatments. If these do not help, see your GP.

Things you can do to help yourself

If you think the cause of your gastritis is repeated use of NSAID painkillers (see above), try switching to a different painkiller that isn't in the NSAID class, such as paracetamol. You may want to talk to your GP about this.

Also consider:

Possible complications of gastritis

Chronic gastritis increases your risk of developing:

  • a stomach ulcer
  • polyps (small growths) in your stomach
  • tumours in your stomach, which may or may not be cancerous

The information on this page has been adapted from original content from the NHS website.

For further information see terms and conditions.

This page was published December 2017

This page is due for review November 2019

Health conditions A to Z

Search by health condition or symptoms

Or find conditions beginning with …

Share this page


Your comments are anonymous and can’t be responded to - if you would like a reply, use the feedback form.

Your comments
Plain text only, 750 characters maximum. Don't include personal or financial information.