Lack of IF
Your body also needs a type of protein called intrinsic factor (IF) to absorb vitamin B-12. IF is a protein produced by cells in the stomach. After you consume vitamin B-12, it travels to your stomach where it binds with IF. The two are then absorbed in the last part of your small intestine.
In most cases of pernicious anemia, the body’s immune system attacks and destroys the cells that produce IF in the stomach. If these cells are destroyed, the body can’t make IF and can’t absorb vitamin B-12