Autoimmune gastritis is a chronic inflammatory disease of the stomach lining that occurs when the immune system mistakenly attacks the cells in the stomach lining. This can lead to a gradual loss of the stomach’s ability to produce acid and digestive enzymes, which can cause malabsorption of certain nutrients, particularly vitamin B12. Learn about root causes and solutions in this quickie.