Stomach and digestion
Autoimmune gastritis: symptoms, B12 deficiency and treatment
Autoimmune gastritis is stomach inflammation caused by the immune system attacking the stomach lining. It can bring gastritis symptoms such as tummy pain, indigestion and bloating, but its main consequence is that the body cannot absorb vitamin B12, leading to pernicious anaemia, tiredness and nerve symptoms. Treatment is vitamin B12, usually by injection.
Last checked: 2026-10-18
Key facts
At a glance.
-
What are the symptoms?
The NHS lists gastritis symptoms of tummy pain, indigestion, feeling full and bloated, nausea, vomiting and not feeling as hungry as usual. If B12 deficiency develops, symptoms include extreme tiredness, a sore red tongue, pins and needles and problems with memory.
-
What is it?
The NHS says gastritis can be caused by a problem with the immune system where it attacks the lining of the stomach. That immune-driven form is what is usually called autoimmune gastritis.
-
How is it treated?
The NHS says B12 deficiency anaemia is usually treated with injections of hydroxocobalamin, given every other day at first. When it is not caused by diet, as with pernicious anaemia, injections every 2 to 3 months are needed for life.
-
Why does B12 run low?
The NHS explains that B12 combines with intrinsic factor in the stomach to be absorbed. When the immune system attacks the cells that make intrinsic factor, B12 cannot be absorbed even if the diet contains plenty.
-
How long can symptoms take to show?
The NHS says the body holds B12 stores that can last around 2 to 5 years without being replenished, so deficiency can build slowly and be found late.
-
When is it urgent?
The NHS says call 999 or go to A&E if you are vomiting bright red blood or your vomit looks like ground coffee, your poo is black, sticky and extremely smelly, or you have severe tummy or chest pain that started suddenly.
What are the symptoms of autoimmune gastritis?
Autoimmune gastritis can produce two overlapping sets of symptoms: those of gastritis in the stomach, and those of vitamin B12 deficiency, which may be the first problems a person notices. The NHS says the symptoms of B12 deficiency anaemia usually develop gradually and can worsen if the condition goes untreated.
Many of the nerve-related symptoms can occur without anaemia. The sections below describe the nervous system effects and the stomach warning signs in more detail.
| Where | Symptoms listed by the NHS |
|---|---|
| Stomach (gastritis) | Tummy pain, indigestion, feeling full and bloated, nausea, vomiting, not feeling as hungry as usual |
| General (B12 deficiency anaemia) | Extreme tiredness, weakness and lack of energy; shortness of breath, palpitations and headaches; a sore, red tongue, sometimes with mouth ulcers; indigestion, loss of appetite and diarrhoea; problems with vision |
| Nerves and mind (B12 deficiency) | Numbness and pins and needles, muscle weakness, problems with balance and coordination, incontinence, problems with memory, understanding and judgement, depression, anxiety or confusion |
What is autoimmune gastritis?
Gastritis means that the lining of the stomach is irritated or inflamed. The NHS lists several causes: infection with Helicobacter pylori bacteria, anti-inflammatory painkillers and aspirin, drinking too much alcohol, being very stressed and unwell, and having stomach surgery such as gastric bypass. It adds that gastritis can also be caused by a problem with the immune system, where it attacks the lining of the stomach. That immune-driven form is what is usually called autoimmune gastritis.
An autoimmune condition means the immune system, which normally defends against infection, mistakenly attacks the body’s own healthy cells. In autoimmune gastritis the target is the stomach lining, including the cells that make intrinsic factor, a protein needed to absorb vitamin B12. The NHS pages used for this guide describe this process under the name pernicious anaemia and do not use the term autoimmune gastritis, so the two are closely related rather than interchangeable. Pernicious anaemia is the anaemia and deficiency that follows when B12 cannot be absorbed.
How is autoimmune gastritis and B12 deficiency treated?
The NHS says B12 deficiency anaemia is usually treated with injections of hydroxocobalamin, given every other day at first by a GP or nurse. What happens next depends on the cause.
| Situation | Usual treatment |
|---|---|
| Caused by diet | Daily B12 tablets between meals, or an injection twice a year; people who cannot get enough through diet, such as some vegans, may need tablets for life |
| Not caused by diet, as with pernicious anaemia | An injection of hydroxocobalamin every 2 to 3 months for the rest of your life |
| Neurological symptoms present | Referral to a haematologist and injections that may be needed every 2 months |
What causes autoimmune gastritis, and how does it lead to B12 deficiency?
The NHS explains that vitamin B12 combines with intrinsic factor in the stomach, and this mix is then absorbed in part of the gut called the distal ileum. When the immune system attacks the cells that produce intrinsic factor, the body cannot absorb B12, even if the diet contains plenty of it.
The body holds stores of vitamin B12 that the NHS says can last around 2 to 5 years without being replenished, so problems can take a long time to appear. That is one reason the condition is often found late, after years of slowly building deficiency.
The NHS says the exact cause of pernicious anaemia is unknown, but it is more common in women around 60 years of age, in people with a family history of the condition, and in those with another autoimmune condition such as Addison’s disease or vitiligo.
Nervous system symptoms of B12 deficiency
Vitamin B12 deficiency can also affect the brain and nervous system, and the NHS notes that some of these symptoms can occur without anaemia. They include numbness and pins and needles, muscle weakness, problems with balance and coordination, incontinence, and psychological problems ranging from mild depression or anxiety to confusion and dementia.
The NHS stresses that although many symptoms improve with treatment, some can be irreversible, and the longer the condition goes untreated the higher the chance of permanent damage. Complications it lists include problems with the nervous system, temporary infertility, heart conditions and pregnancy complications, and adults with severe anaemia are at risk of heart failure.
Stomach symptoms and when to get urgent help
The NHS says symptoms of gastritis include tummy pain, indigestion, feeling full and bloated, nausea, vomiting and not feeling as hungry as usual. Most are not serious, but the NHS advises seeing a GP if tummy pain or indigestion lasts longer than 1 week, or if it is getting worse or keeps coming back.
It advises asking for an urgent GP appointment or calling NHS 111 if you also have loss of appetite, feel full after a very small meal, have lost weight without trying, feel a lump in your tummy, find swallowing painful or difficult, or keep being sick. Call 999 or go to A&E if you are vomiting bright red blood or your vomit looks like ground coffee, your poo is black, sticky and extremely smelly, or you have severe tummy or chest pain that started suddenly.
How is autoimmune gastritis investigated in the UK?
The NHS says B12 and folate deficiency can often be diagnosed from your symptoms and a blood test. For gastritis, a GP may arrange a breath test for H. pylori, a test on a poo sample, or a blood test, to find the cause. If gastritis is not getting better or causes severe symptoms, a GP might refer you to a specialist stomach doctor (gastroenterologist), who may arrange a gastroscopy to look inside the stomach.
A normal blood B12 level does not always settle the question. The NHS describes a functional form of B12 deficiency in which problems occur despite apparently normal blood levels because of a problem with transport proteins, so persistent symptoms deserve a conversation with your GP even if a first result is reassuring.
Monitoring and living with autoimmune gastritis
The NHS says a blood test is often carried out around 7 to 10 days after starting treatment to check haemoglobin and the number of immature red blood cells, and another after about 8 weeks to confirm treatment has been successful. Most people who have had B12 deficiency will not need further monitoring unless their symptoms return or treatment is ineffective.
If gastritis is part of the picture, the NHS says treatment depends on the cause and can include medicines to control stomach acid such as antacids, proton pump inhibitors or alginates, and reviewing anti-inflammatory painkillers and alcohol. It also notes that untreated gastritis can get worse and cause a stomach ulcer. The sources used for this guide do not describe longer-term stomach surveillance, so ask your gastroenterologist whether any follow-up scopes apply to you.
Folic acid is sometimes also needed, but the NHS says your GP will check B12 levels first because folic acid can improve symptoms so much that it masks an underlying B12 deficiency.
NHS and private pathways
Testing, B12 injections and specialist referral are available through the NHS, normally via your GP surgery, where a nurse often gives the injections. Some people choose a private gastroenterologist for a faster appointment or gastroscopy. The investigations are the same, so the main differences are waiting time and choice of clinician. Whichever route you use, make sure your GP knows about any private results and who is responsible for your regular injections.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What is autoimmune gastritis?
It is gastritis, inflammation of the stomach lining, caused by the immune system attacking the lining. The NHS says gastritis can be caused by a problem with the immune system. The target includes the cells that make intrinsic factor, a protein needed to absorb vitamin B12, which is why it is linked to pernicious anaemia.
-
What are the symptoms of autoimmune gastritis?
The NHS lists tummy pain, indigestion, feeling full and bloated, nausea, vomiting and reduced appetite for gastritis. If B12 deficiency develops, symptoms include extreme tiredness, breathlessness, palpitations, a sore red tongue, pins and needles, balance problems and memory difficulties. They usually develop gradually.
-
Is autoimmune gastritis the same as pernicious anaemia?
They are closely linked but not identical. The NHS describes pernicious anaemia as an autoimmune condition affecting the stomach in which the immune system attacks cells that allow B12 absorption, the most common cause of B12 deficiency in the UK. Autoimmune gastritis is the stomach inflammation behind it.
-
What causes autoimmune gastritis?
The NHS says the exact cause of pernicious anaemia is unknown. It is more common in women around 60 years of age, in people with a family history, and in those with another autoimmune condition such as Addison’s disease or vitiligo. Gastritis in general has other causes, such as H. pylori infection, anti-inflammatory painkillers and alcohol.
-
How is autoimmune gastritis treated?
The NHS says B12 deficiency anaemia is usually treated with hydroxocobalamin injections, given every other day at first by a GP or nurse. If the cause is not diet, as in pernicious anaemia, an injection every 2 to 3 months is needed for the rest of your life. Gastritis symptoms may be treated with acid-reducing medicines.
-
Do I need B12 injections for life?
If the cause is pernicious anaemia, yes. The NHS says a vitamin B12 injection every 2 to 3 months for the rest of your life is the usual treatment when the deficiency is not caused by diet. If neurological symptoms are present, it says you are referred to a haematologist and may need injections more often.
-
How is B12 deficiency diagnosed?
The NHS says B12 and folate deficiency can often be diagnosed from your symptoms and a blood test. A normal blood B12 level does not always settle the question, because the NHS describes a functional form of deficiency with apparently normal blood levels. Persistent symptoms deserve a conversation with your GP.
-
Can I treat it with diet alone?
Not if absorption is the problem. The NHS explains that in pernicious anaemia the body cannot absorb B12 even when the diet contains plenty of it, so injections are needed. Diet advice applies when deficiency is caused by a lack of B12 in the diet, for which the NHS suggests daily tablets or an injection twice a year.
-
Can the damage be reversed?
Many symptoms improve with treatment, but the NHS says some can be irreversible, and the longer the condition goes untreated the higher the chance of permanent damage, including to the nervous system. That is why early diagnosis and regular treatment matter.
-
Can gastritis lead to a stomach ulcer?
The NHS says untreated gastritis can get worse and cause a stomach ulcer. It advises seeing a GP if tummy pain or indigestion lasts longer than a week, is getting worse or keeps coming back, and asking for an urgent appointment or calling NHS 111 for loss of appetite, weight loss or difficulty swallowing.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-18, next review 2027-10-18.
-
NHS: Gastritis, https://www.nhs.uk/conditions/gastritis/, retrieved October 2026
-
NHS: Vitamin B12 or folate deficiency anaemia, https://www.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/, retrieved October 2026
-
NHS: Vitamin B12 or folate deficiency anaemia - Causes, https://www.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/causes/, retrieved October 2026
-
NHS: Vitamin B12 or folate deficiency anaemia - Symptoms, https://www.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/symptoms/, retrieved October 2026
-
NHS: Vitamin B12 or folate deficiency anaemia - Treatment, https://www.nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/treatment/, retrieved October 2026
Related guides
Keep reading.
-
Pernicious anaemia
The condition behind B12 malabsorption.
Read guide -
Pernicious anaemia patient guide
A practical guide for patients.
Read guide -
Gastritis
Stomach lining inflammation from all causes.
Read guide -
Vitamin B12 deficiency
Causes and treatment of low B12.
Read guide -
B12 injections guide
What to expect from injections.
Read guide -
Helicobacter pylori
A bacterial cause of gastritis.
Read guide -
Anaemia
The wider picture of anaemia.
Read guide -
Addison disease
Another autoimmune condition.
Read guide