Cows get vitamin B12 from bacteria living inside their stomachs. Despite eating only grass and other plants, which contain virtually no B12, cows host microorganisms in their gut that manufacture the vitamin from scratch. The B12 is then absorbed in the intestine, stored in the cow’s liver and muscles, and secreted into milk. This is why beef and dairy are rich B12 sources for humans, even though the cow’s own diet has none.
How Rumen Bacteria Produce B12
A cow’s stomach has four chambers, and the largest, called the rumen, functions like a massive fermentation vat. It holds billions of bacteria, protozoa, and fungi that break down the tough plant fibers a cow eats. Some of these bacteria synthesize vitamin B12 as a byproduct of their own metabolism.
Interestingly, researchers have found that B12 levels in the rumen depend less on having abundant B12-producing bacteria and more on the absence of bacteria that consume large amounts of B12. Certain microbial groups use up B12 for their own growth, which lowers the overall supply available to the cow. When these heavy consumers are less abundant, more B12 remains in the rumen for the cow to absorb. The balance of the entire microbial community, not just a few producer species, determines how much B12 the cow ultimately gets.
Cobalt: The Essential Raw Ingredient
Vitamin B12 contains cobalt at its molecular core, and rumen bacteria cannot build the vitamin without it. Cobalt is a trace mineral found naturally in soil, and it enters the cow’s diet through the plants growing in that soil. If the soil is low in cobalt, the grass will be low in cobalt, and the rumen bacteria won’t have what they need to produce adequate B12.
The amount of cobalt required is tiny but critical. Current guidelines recommend 0.2 mg of cobalt per kilogram of dry feed. The rumen microbes themselves need only about 0.07 to 0.11 mg per kilogram of feed to function optimally, but the higher recommendation accounts for losses during digestion and ensures enough B12 reaches the bloodstream. For a lactating dairy cow, this translates to roughly 2.4 mg of cobalt per day, while a dry (non-lactating) cow needs about 1.2 mg per day.
From the Rumen to the Bloodstream
Once rumen bacteria synthesize B12, the vitamin travels through the rest of the digestive tract and gets absorbed in the small intestine. From there it enters the bloodstream and is distributed throughout the body. The liver stores the largest reserve, but B12 also accumulates in muscle tissue and passes into milk during lactation.
This is a key difference between ruminants like cows and non-ruminant animals. In humans and pigs, gut bacteria also produce some B12, but they do it in the large intestine, which is past the point where the vitamin can be efficiently absorbed. Cows have the advantage of producing B12 upstream in the rumen, well before the absorption site in the small intestine.
What B12 Does for the Cow
Vitamin B12 plays a central role in how cows convert food into energy. When rumen bacteria ferment plant fiber, one of the major end products is a compound called propionate, which the cow’s liver converts into glucose for energy. B12 is a required cofactor in that conversion process. Without enough of it, cows can’t efficiently use the energy locked in the grass they eat.
B12 also supports protein metabolism and red blood cell production. In dairy cows specifically, adequate B12 levels are linked to better milk production, because the energy pathways that depend on B12 directly fuel milk synthesis.
Why Some Cows Become Deficient
Since the entire B12 supply depends on cobalt in the soil, cows grazing on cobalt-poor land are vulnerable to deficiency. Sandy soils, heavily leached soils, and certain volcanic soils tend to be low in cobalt. Regions with these soil types have historically struggled with a wasting disease in cattle that was eventually traced back to cobalt (and therefore B12) deficiency.
Signs of deficiency include poor appetite, weight loss, rough coat, and reduced milk production. Because the problem starts at the microbial level, it can take weeks or months to develop as the cow’s liver stores of B12 gradually deplete.
Modern farmers address this through mineral supplements mixed into feed, salt licks containing trace minerals, or slow-release cobalt boluses that sit in the rumen and dissolve over months. Recommended supplementation ranges from 0.11 to 0.35 mg of cobalt per kilogram of feed dry matter. There is a wide safety margin: toxicity doesn’t occur until levels reach 30 mg per kilogram, which is roughly 150 times the recommended dose.
Why This Matters for Human Nutrition
The fact that cows manufacture their own B12 through gut bacteria explains why animal products are the primary dietary source of B12 for humans. The vitamin accumulates in the cow’s tissues and milk over the animal’s lifetime, concentrating it in the foods we eat. A serving of beef liver contains more B12 than almost any other food precisely because the liver is where the cow stores its supply.
It also explains a common point of confusion: B12 is not “made by animals.” It is made by microorganisms. Cows are simply a vessel where bacterial production, absorption, and storage happen efficiently enough to pass meaningful amounts up the food chain. The same bacterial synthesis occurs in soil and water, which is likely how wild herbivores and even some omnivores historically obtained trace amounts without supplementation.

