Pernicious anemia is caused by a lack of intrinsic factor, which is needed for vitamin B12 absorption. It results from an autoimmune reaction where antibodies are produced against intrinsic factor and stomach parietal cells. It is characterized by megaloblastic anemia and can cause neurological damage if left untreated. The primary treatment is lifelong vitamin B12 injections or high dose oral supplements to replace the deficiency.