B12 needs a helper from the stomach, intrinsic factor, to be absorbed. In pernicious anaemia, the immune system destroys that helper.
Pernicious anaemia is an autoimmune attack on the stomach lining that causes vitamin B12 deficiency. Anti-intrinsic factor antibodies block B12 binding; anti-parietal cell antibodies are found in 90% but are less specific. B12 deficiency causes megaloblastic anaemia, with hypersegmented neutrophils, and nerve damage such as subacute combined degeneration in the spinal cord. It is commoner in women and in people with other autoimmune diseases. Treatment is intramuscular B12: 3 injections a week for the first 2 weeks, then one every 3 months. It also raises the risk of gastric cancer.