The biggest blockers of vitamin B12 absorption aren't foods — they're conditions and medications that interfere with stomach acid or with intrinsic factor, the stomach protein B12 must bind to before it can be absorbed in the last part of the small intestine. Common culprits include long-term acid-reducing drugs, metformin, autoimmune (pernicious) anemia, stomach or bowel surgery, and heavy alcohol use.
Why B12 absorption is unusually fragile
B12 takes a long route through the body. Stomach acid and the enzyme pepsin first release it from the protein it's bound to in food; it then attaches to intrinsic factor made by stomach cells, and the pair is absorbed in the ileum (the final section of the small intestine). Anything that breaks one of those steps reduces absorption, even if your diet is rich in B12.
Foods high in B12, per USDA data:
| Food (USDA, per 100 g) | Vitamin B12 |
|---|---|
| Salmon, Atlantic, farmed, raw | 3.2 µg |
| Egg, whole, raw | 0.89 µg |
| Greek yogurt, plain, lowfat | 0.52 µg |
| Milk, whole, 3.25% with added vitamin D | 0.45 µg |
A 3 oz (85 g) portion of that salmon supplies about 2.7 µg — more than the 2.4 µg adult daily target — but only if the absorption machinery works.
The main things that block it
- Low stomach acid. Proton pump inhibitors (omeprazole and similar) and H2 blockers (famotidine) used for a year or more are consistently linked to lower B12 levels, because acid is needed to free B12 from food. Evidence here is solid but the effect builds slowly over years.
- Atrophic gastritis and H. pylori infection. Both thin or damage acid-producing stomach cells. This is one of the most common causes in older adults, affecting an estimated 10–30% of people over 60 to some degree.
- Pernicious anemia. An autoimmune attack on intrinsic factor or the cells that make it. Oral food B12 is then poorly absorbed regardless of intake; treatment is usually injections or very high-dose oral B12.
- Metformin. Used for type 2 diabetes, it interferes with calcium-dependent uptake in the ileum. Studies suggest roughly 10–30% of long-term users show reduced B12 levels; the link is well established, and periodic testing is often recommended.
- Gut surgery and disease. Gastric bypass, stomach removal, Crohn's disease affecting the ileum, celiac disease, and ileal resection all cut absorption substantially.
- Alcohol use disorder. Damages the stomach lining and gut absorption, and often pairs with low intake.
- Nitrous oxide. Recreational "laughing gas" use (and repeated medical exposure) chemically inactivates B12 in the body rather than blocking uptake — it can cause nerve damage fast.
- Bacterial overgrowth or fish tapeworm. Microbes consume B12 before you can absorb it; uncommon but treatable.
What this means practically
Everyday foods and drinks — coffee, tea, fiber, calcium supplements — don't meaningfully block B12. One nuance worth knowing: high folic acid intake doesn't block absorption but can mask the blood signs of B12 deficiency, delaying diagnosis.
If you take a PPI or metformin long-term, are over 60, follow a vegan diet, or have had bowel surgery, ask your doctor about a B12 blood test. When absorption is impaired, supplements still work, because about 1% of a high oral dose crosses the gut passively — but dosing and whether you need injections should be decided with a doctor, pharmacist, or registered dietitian, especially during pregnancy or alongside other medications.