How Is Cyanocobalamin (Vitamin B12) Made?

Cyanocobalamin, the form of vitamin B12 found in most supplements and fortified foods, is made by bacterial fermentation rather than chemical synthesis. Specific strains of bacteria are grown in large industrial fermenters, where they build the vitamin from scratch using their own biosynthetic machinery. After the bacteria produce cobalamin, the harvested material is treated with cyanide to convert it into the stable cyanocobalamin form. The process is one of the more remarkable feats in industrial biotechnology, because the B12 molecule is so structurally complex that no factory on Earth can efficiently assemble it from simple chemicals.

Why Chemical Synthesis Is Not an Option

Vitamin B12 is one of the largest and most intricate small molecules found in nature. Its core is a corrin ring, a flat structure built from four interlocking smaller rings arranged around a central cobalt atom, with an elaborate network of side chains and a nucleotide tail hanging off one end. The total chemical synthesis of B12 was famously achieved in the laboratory in the 1970s by Robert Burns Woodward and Albert Eschenmoser, but the process required roughly 70 chemical steps and years of work by dozens of skilled chemists. It stands as a landmark in organic chemistry, not as a blueprint for making pills.

Because of this staggering complexity, all commercial vitamin B12 is produced by fermentation. No shortcut through conventional chemistry has emerged in the half-century since Woodward’s synthesis, and none is expected anytime soon. The molecule’s architecture, with its multiple stereocenters and sensitive functional groups, makes it far cheaper and more practical to let microorganisms do the heavy lifting.

The Bacteria That Build B12

Two families of bacteria have dominated industrial B12 production for decades. One is Pseudomonas denitrificans (and closely related strains), a soil bacterium that naturally produces vitamin B12 using an oxygen-dependent pathway. The other is Propionibacterium freudenreichii (sometimes listed under its older name P. shermanii), a bacterium familiar from Swiss cheese production, which builds B12 through an oxygen-free route.1PubMed Central. Fermentative production of vitamin B(12) by Propionibacterium shermanii and Pseudomonas denitrificans and its promising health benefits: A review Both organisms have been selectively improved over many generations through classical strain development, mutagenesis, and screening, pushing their B12 output far beyond what their wild ancestors could manage.

Pseudomonas denitrificans is equipped with the full set of enzymes and metabolic pathways needed to produce B12 naturally, which made it attractive to industrial producers early on.1PubMed Central. Fermentative production of vitamin B(12) by Propionibacterium shermanii and Pseudomonas denitrificans and its promising health benefits: A review Propionibacterium strains, meanwhile, have the advantage of a long safety history in food production. Finding better producer strains and optimizing the conditions under which they grow has been the central preoccupation of industrial B12 manufacturers for decades.2PubMed Central. Bioprocess Strategies for Vitamin B(12) Production by Microbial Fermentation and Its Market Applications

How Bacteria Assemble the Molecule

The biosynthesis of B12 inside a bacterial cell involves around 30 enzyme-catalyzed steps, making it one of the longest and most elaborate metabolic pathways known. The starting material is a molecule called uroporphyrinogen III, the same precursor that gives rise to heme (the oxygen-carrying pigment in your red blood cells). From this common starting point, the pathway branches off in a direction unique to B12, gradually constructing the corrin ring one modification at a time.3PubMed Central. Cobalamin (vitamin B12) biosynthesis: functional characterization of the Bacillus megaterium cbi genes required to convert uroporphyrinogen III into cobyrinic acid a,c-diamide

Nature has evolved two distinct routes for building the corrin ring. The aerobic pathway, used by organisms like Pseudomonas denitrificans, requires oxygen at certain steps. The anaerobic pathway, used by organisms like Propionibacterium and various archaea, works without oxygen and inserts the central cobalt atom at an earlier stage.4PubMed Central. Elucidation of the anaerobic pathway for the corrin component of cobalamin (vitamin B12) The anaerobic route remained poorly understood for a long time because many of its intermediate molecules are chemically unstable and difficult to isolate in the lab.4PubMed Central. Elucidation of the anaerobic pathway for the corrin component of cobalamin (vitamin B12)

A critical moment in both routes is the insertion of cobalt into the growing ring structure. Cobalt is the metal at the heart of every B12 molecule, and the way cells acquire it, shuttle it to the right enzymes, and lock it into the corrin ring is tightly controlled. The pairing of cobalt specifically with the corrin ring, rather than some other metal, reflects deep evolutionary constraints on B12 chemistry.5PubMed Central. The requirement for cobalt in vitamin B12: A paradigm for protein metalation After cobalt insertion, additional enzymes attach the lower nucleotide loop and decorate the ring with methyl groups and amide side chains, eventually producing the complete cobalamin molecule.

From Fermentation Broth to Cyanocobalamin

When bacteria produce B12 inside their cells, they do not actually make cyanocobalamin. The natural coenzyme forms are adenosylcobalamin and methylcobalamin, which are the versions the bacteria (and your own cells) use for biochemical reactions. Cyanocobalamin is an artificial but very stable form created during processing. The “cyano” in the name refers to a cyanide group bound to the cobalt atom at the center of the molecule.

After fermentation is complete, the bacterial cells are harvested and broken open to release their contents. The cobalamins inside exist as a mixture of forms. To convert them all into a single, uniform product, manufacturers expose the extract to cyanide, typically as potassium cyanide, in a process called cyanidation. This displaces whatever group is bound to the cobalt and replaces it with cyanide, yielding cyanocobalamin.6PubMed Central. Challenges in the determination of total vitamin B12 by cyanidation conversion: insights from stable isotope dilution assays The same cyanidation reaction is used in analytical chemistry when researchers want to measure total B12 content in a food or supplement sample, because it collapses the mixture of cobalamin forms into one measurable compound.

Cyanocobalamin is favored for supplements and food fortification because of its exceptional stability. It holds up well in storage, tolerates light and heat better than the coenzyme forms, and is inexpensive to purify. Once you swallow it, your body strips off the cyanide group (which is released in a vanishingly small, harmless amount) and converts the molecule into the active methylcobalamin and adenosylcobalamin forms it actually needs.

The Industrial Fermentation Process in Practice

In a modern production facility, the chosen bacterial strain is grown in steel fermenters that can hold thousands of liters of growth medium. The medium is a carefully optimized broth containing sugar (often from beet molasses or corn syrup), nitrogen sources, mineral salts, and trace amounts of cobalt. Cobalt is essential because it ends up physically incorporated into each B12 molecule, so the bacteria need a steady supply of it.

Fermentation conditions are tightly controlled. Temperature, pH, dissolved oxygen, and nutrient feeding rates all affect how much B12 the bacteria produce. For Pseudomonas denitrificans, which uses the aerobic pathway, adequate oxygen supply matters. For Propionibacterium strains, fermentation often involves a two-phase approach: an initial aerobic growth phase to build up cell mass, followed by an anaerobic phase where B12 synthesis ramps up. Optimizing these bioprocesses has been the main lever industrial producers have pulled to increase yields and improve sustainability.2PubMed Central. Bioprocess Strategies for Vitamin B(12) Production by Microbial Fermentation and Its Market Applications

After fermentation and cyanidation, the crude cyanocobalamin is purified through a series of extraction and chromatography steps, then crystallized into the deep red powder recognizable to anyone who has seen B12 in bulk form. Quality testing checks for purity, potency, and the absence of contaminants. In the case of B12 produced by certain Gram-negative bacteria, one concern is endotoxin contamination, which can pose an inhalation risk for workers handling the raw additive.7PubMed Central. Safety and efficacy of vitamin B 12 in the form of cyanocobalamin produced by Ensifer spp. as a feed additive for all animal species based on a dossier submitted by VITAC EEIG

Engineering New Producers With Modern Genetics

While Pseudomonas and Propionibacterium remain the industrial workhorses, researchers have spent years trying to add Escherichia coli to the roster. E. coli does not naturally make B12, but it is the most genetically well-characterized bacterium on the planet, grows quickly, and is easy to manipulate. The challenge is that you have to transplant the entire biosynthetic pathway, dozens of genes, into an organism that never evolved to use them.

In a landmark demonstration, researchers engineered an E. coli strain capable of producing B12 from scratch via an aerobic pathway stitched together from genes borrowed from other organisms. Through metabolic engineering and optimization of growth conditions, they increased the B12 yield of this strain by roughly 250-fold.8PubMed Central. Metabolic engineering of Escherichia coli for de novo biosynthesis of vitamin B 12 This work showed that the several dozen proteins of a complex biosynthetic pathway can be transferred between organisms, a proof of concept for future industrial production.

More recent efforts have pushed E. coli yields further. One group integrated the B12 pathway genes directly into the E. coli chromosome and then applied combinatorial promoter optimization to fine-tune how strongly each gene was expressed.9Synthetic and Systems Biotechnology. Multivariate modular metabolic engineering and medium optimization for vitamin B12 production by Escherichia coli Another team took a different approach, engineering the bacterium’s cofactor supply by introducing a hemoglobin gene from another species to improve oxygen delivery inside the cell, and swapping out part of the central sugar-burning pathway for an alternative route that generates more of the energy currency the B12 pathway consumes. After optimizing the growth medium, this strain reached about 21 milligrams per liter in a small fermenter, a level that begins to look commercially interesting.10Journal of Agricultural and Food Chemistry. Enhancing Vitamin B12 Production in Engineered Escherichia coli through Cofactor Engineering and Fermentation Media Optimization

These engineered strains are not yet displacing the traditional producers in factories, but the gap is narrowing. The appeal of E. coli is its speed and the depth of genetic tools available, which could eventually allow producers to tweak B12 output with a precision that is harder to achieve in less-studied organisms.

B12 Production in Nature, Outside the Factory

Vitamin B12 biosynthesis is confined to certain bacteria and archaea. No plant, animal, or fungus can make it. This means that every molecule of B12 in your body ultimately traces back to a microbe. In nature, one of the most productive settings for B12 synthesis is the rumen of cattle, sheep, and other ruminant animals. The microorganisms living in a cow’s gut manufacture B12 as long as the animal’s diet supplies enough cobalt. Only about 3 to 15 percent of the cobalt a ruminant eats is actually converted to B12, with the efficiency depending on the mix of forages and grains in the diet and the composition of the microbial community.11PubMed Central. Cobalt and Vitamin B12 in Dairy Cattle Nutrition: Requirements, Functions, and Interactions This is why cobalt supplementation is a routine part of livestock nutrition, and it is the reason meat, dairy, and eggs are dietary sources of B12 for humans.12PubMed Central. Relationship between Vitamin B12 and Cobalt Metabolism in Domestic Ruminant: An Update

Some algae also contain B12, but the picture is complicated. Green and purple lavers (types of edible seaweed) and chlorella tablets contain genuine vitamin B12, and feeding purple laver to B12-deficient rats improved their B12 status. Spirulina, on the other hand, contains predominantly pseudovitamin B12, an inactive look-alike molecule that cannot fulfill B12’s role in human metabolism.13PubMed. Characterization and bioavailability of vitamin B12-compounds from edible algae This distinction matters for vegetarians and vegans who might rely on algal products, since spirulina-based supplements would not address a B12 deficiency despite what the label might seem to imply.

A Brief History of Discovery

The story of how B12 was identified helps explain why its production method is so unusual compared with other vitamins. In the 1920s, researchers found that feeding large amounts of raw liver to patients with pernicious anemia could keep them alive, but nobody knew which substance in the liver was responsible. It took until 1948 for two independent research groups to isolate the pure vitamin as red crystals. The molecule’s three-dimensional structure was then painstakingly solved by Dorothy Hodgkin using X-ray crystallography, work that contributed to her Nobel Prize in 1964.14PubMed. The discovery of vitamin B(12)

When Hodgkin revealed the structure, chemists were struck by its complexity. B12 was far larger and more architecturally intricate than vitamins like C or the other B vitamins. That complexity is the direct reason the vitamin industry turned to fermentation rather than attempting factory synthesis. Every tablet of cyanocobalamin you buy is the product of living bacteria, grown in vats, doing chemistry that human engineers still cannot replicate at any reasonable cost.

Pseudovitamin B12 and Inactive Analogs

Not everything that looks like B12 on a chemical assay is actually B12. Many bacteria produce corrinoid molecules that share B12’s general architecture but differ in the fine details of the lower nucleotide base or the side chains. These analogs, sometimes called pseudovitamin B12, can interfere with B12 assays, making a food appear to contain the vitamin when it actually contains an inactive impostor. Spirulina is the most well-known example, but other fermented foods and some bacterial supplements can also contain substantial proportions of these inactive forms.13PubMed. Characterization and bioavailability of vitamin B12-compounds from edible algae

Industrial B12 production avoids this problem because the bacterial strains used have been selected specifically for their ability to produce genuine cobalamin rather than analogs. The cyanidation and purification steps further ensure that the final product is pure cyanocobalamin, with inactive corrinoids removed. When you see cyanocobalamin listed on a supplement label, you can be confident it is the real molecule, not a pseudovitamin, because the manufacturing process is designed to exclude exactly those impurities.

Why the “Cyano” Form Specifically

People sometimes wonder why manufacturers bother converting naturally produced cobalamins into cyanocobalamin rather than selling the methylcobalamin or adenosylcobalamin that the body actually uses. The answer is practical: the coenzyme forms are sensitive to light and degrade relatively quickly, which makes them poor candidates for fortifying flour, breakfast cereal, or energy drinks that sit on shelves for months. Cyanocobalamin, by contrast, is rock-solid in storage. The cyanide group bound to the cobalt acts almost like a protective cap, preventing the reactive cobalt center from being degraded by light or oxygen.

Your body handles the conversion effortlessly. After absorption, enzymes strip off the cyanide (releasing it in amounts far too small to cause any harm) and attach either a methyl group or an adenosyl group, regenerating the active forms. Supplement brands that market methylcobalamin or adenosylcobalamin as “superior” are selling a real distinction in chemistry, but the clinical significance for most people is minimal. The vast majority of B12 deficiency treatment worldwide relies on cyanocobalamin, and it works.

Interestingly, the enzyme activity that removes the cyanide group from cyanocobalamin has been studied not just in humans but in microorganisms like Euglena gracilis, a single-celled organism where a specific reductase enzyme carries out the decyanation step using cofactors that are common across much of biology.15PubMed. Occurrence and characterization of cyanocobalamin reductase (NADPH; CN-eliminating) involved in decyanation of cyanocobalamin in Euglena gracilis The widespread presence of this enzyme suggests that organisms have long encountered cyanide-bound cobalamin in the environment and evolved the means to deal with it, which may explain why humans handle cyanocobalamin so easily.