Where Does Vitamin B Come From? Food, Microbes & More

B vitamins come from a wide range of foods, including meat, eggs, leafy greens, legumes, and whole grains. But the story is more interesting than a simple grocery list. Some B vitamins are made exclusively by bacteria, your own gut microbes produce a surprising share of your daily needs, and the synthetic versions added to fortified foods are absorbed differently than the natural forms. Here’s where each one actually originates and how it gets into your body.

The Eight B Vitamins and Their Food Sources

There isn’t one “vitamin B.” The B complex is a group of eight distinct vitamins, each with different food sources. Some are everywhere in the food supply, while others are concentrated in just a few categories.

B1 (thiamine) is found in most foods but is especially rich in whole grains, pork, fish, and yeast. Because milling strips it from grains, processed breads and cereals are routinely fortified with it.

B2 (riboflavin) shows up in eggs, dairy, green vegetables, meat, mushrooms, and almonds. Like thiamine, it’s added back into rice, corn, and flour, which makes deficiency uncommon in the U.S.

B3 (niacin) is found in both animal and plant foods: soy, nuts, seeds, legumes, and grains. Many breads and cereals are fortified with it as well.

B5 (pantothenic acid) exists in small amounts in nearly every food you eat. Richer sources include mushrooms, eggs, fish, avocados, chicken, beef, sunflower seeds, sweet potatoes, and lentils.

B6 (pyridoxine) comes primarily from beef, poultry, starchy vegetables like potatoes, and non-citrus fruits such as bananas.

B7 (biotin) is concentrated in organ meats, eggs, fish, seeds, soybeans, and nuts.

B9 (folate) is highest in dark green leafy vegetables, beans, nuts, dairy, and Brussels sprouts.

B12 (cobalamin) is the outlier. It occurs naturally only in animal products: meat, fish, eggs, and dairy. If you eat a fully plant-based diet, you won’t get B12 unless your food is fortified or you take a supplement.

B12 Is Made Entirely by Microbes

No plant or animal actually manufactures vitamin B12. The vitamin is produced exclusively by certain bacteria and archaea through a complex biosynthesis process. Animals accumulate B12 by hosting these microbes in their digestive tracts or by eating other organisms that do. When you eat a steak or a piece of salmon, the B12 in that tissue was originally made by bacteria somewhere along the food chain.

This is why B12 is absent from unfortified plant foods. Plants don’t harbor the microbial machinery needed to build the molecule. Fermented plant foods like tempeh or certain types of seaweed sometimes contain trace amounts, but these are generally unreliable sources and may include inactive B12 analogs that your body can’t use.

Your Gut Bacteria Produce B Vitamins Too

The trillions of bacteria living in your intestines synthesize most of the B vitamins on their own, including thiamine, riboflavin, niacin, pantothenic acid, pyridoxine, biotin, folate, and cobalamin. Recent estimates suggest that the gut microbiota may supply over a quarter of the dietary reference intake for at least four B vitamins (B2, B6, B9, and B12), with some models placing the contribution as high as 86% depending on the vitamin and the individual.

There’s a catch, though. Most of this bacterial production happens in the large intestine, where absorption of many nutrients is limited. So while gut-derived B vitamins do influence intestinal health and immune function, their contribution to your overall blood levels is considered minor compared to what you get from food. You can’t rely on your microbiome alone to meet your needs.

How Fortified and Synthetic B Vitamins Differ

Walk through any grocery store and you’ll see “fortified with B vitamins” on cereal boxes, flour bags, bread packaging, and milk alternatives. These added vitamins are manufactured, and in some cases they’re absorbed better than the natural versions found in whole foods.

Folate is the clearest example. The natural form in leafy greens and beans is chemically reduced and attached to multiple glutamate molecules. Your body has to break it free from the food’s cellular structure, survive the digestive tract without degrading, and then clip off the extra glutamates before absorbing it. The synthetic version, folic acid, skips all of those steps. It’s already in the oxidized, single-glutamate form, so it enters your bloodstream more efficiently. This is why mandatory folic acid fortification of wheat flour, now in place in over 50 countries, has been so effective at preventing neural tube defects in newborns.

For B12, the most common synthetic form is cyanocobalamin, produced by reacting natural cobalamin with cyanide to create a stable molecule suitable for shelf-stable foods and supplements. Studies on fortified flour show it retains about 50% of its bioavailability after fermentation and baking, which is still enough to meaningfully boost intake. Fortified breakfast cereals are one of the most reliable B12 sources for people over 50, who often have trouble absorbing the vitamin from whole foods.

Plant vs. Animal Sources: Absorption Isn’t Equal

Even when a plant food contains a solid amount of a B vitamin on paper, your body may not absorb all of it. Vitamin B6 illustrates this well. From animal products, B6 bioavailability can reach 100%. From plant foods, it’s consistently lower. The main reason is a compound called pyridoxine glucoside, found in many fruits, vegetables, and especially cruciferous vegetables like broccoli, cauliflower, and cabbage. This glucoside form reduces B6 absorption by 75 to 80%. The higher the percentage of B6 that exists as the glucoside in a given food, the less your body can use.

Fiber content and food processing also affect how much B6 you extract from plant sources. This doesn’t mean plant-based diets can’t provide adequate B6, but it does mean you may need to eat more of it than the raw numbers suggest.

How B12 Gets From Food Into Your Blood

B12 has the most elaborate absorption process of any B vitamin, which is why deficiency is common even in people who eat animal products. The journey involves multiple steps and multiple organs.

First, stomach acid and the enzyme pepsin separate B12 from the proteins in food. The freed B12 immediately binds to a protective protein called haptocorrin, which is secreted in saliva and the stomach lining. Haptocorrin shields B12 from the harsh acidic environment. When this complex moves into the small intestine, pancreatic enzymes break haptocorrin apart, releasing B12 again. At that point, B12 binds to intrinsic factor, a specialized protein made by cells in the stomach lining. Only the intrinsic factor-B12 complex can lock onto receptors in the final section of the small intestine (the ileum), where the vitamin is finally absorbed into the bloodstream.

If any step in this chain fails, B12 absorption drops sharply. People with low stomach acid, a common issue after age 50, can’t free B12 from food proteins efficiently. People who lack intrinsic factor, whether from autoimmune conditions or stomach surgery, can’t absorb it at all without medical intervention. This is why the synthetic B12 in fortified foods and supplements, which doesn’t need stomach acid to be released from a food matrix, is specifically recommended for older adults.

Nutritional Yeast: A Concentrated Source

Nutritional yeast has become a popular B vitamin source, especially among people following plant-based diets. Yeast extract naturally contains high levels of several B vitamins. Per 100 grams, niacin (B3) content ranges from 68 to nearly 600 milligrams, biotin (B7) from 99 to 139 milligrams, and pyridoxine (B6) from 3 to 55 milligrams. The B12 content in plain yeast extract is minimal (0.1 to 0.3 milligrams per 100 grams), but most commercial nutritional yeast products are fortified with additional B12 to make them a practical source for vegans.

Two tablespoons of a typical fortified nutritional yeast provide several times the daily need for most B vitamins, making it one of the most nutrient-dense options available for people who avoid animal products.