You can get vitamin B12 deficiency anemia if you don't get enough vitamin B12 in your diet from foods like milk, eggs, and meat. You're more likely to be low in this vitamin if you're older, or you eat a vegetarian diet. It can also happen if your body can't absorb enough of it from the foods you eat.