Cyanide forms through a surprisingly wide range of pathways, from the enzymatic machinery inside a cassava root to the platinum-catalyzed fusion of methane and ammonia at over 1,000 °C in a chemical plant. In nature, more than 3,000 plant species manufacture cyanide-releasing compounds as a defense against herbivores, and certain bacteria, insects, and millipedes produce it too. Industrially, the vast majority of hydrogen cyanide (HCN) is synthesized by reacting methane with ammonia over precious-metal catalysts, a process refined in the early twentieth century and still operating at enormous scale today. The chemistry behind cyanide production is diverse enough to stretch from the origins of life itself to the smoke filling a burning building.
How Plants Manufacture Cyanide
Plants are by far the most prolific biological producers of cyanide on Earth. They do not store free cyanide in their tissues, though. Instead, they build molecules called cyanogenic glycosides, which are stable sugar-linked compounds derived from common amino acids. These molecules sit harmlessly inside plant cells until something disrupts the tissue, at which point enzymes chop off the sugar portion and the remaining fragment spontaneously breaks apart, releasing hydrogen cyanide gas. This two-step “bomb” design lets the plant carry a chemical weapon without poisoning itself.1PubMed. Cyanogenic glycosides: synthesis, physiology, and phenotypic plasticity
The biosynthetic pathway that builds these glycosides is remarkably compact. A plant starts with an amino acid and runs it through just two multifunctional enzymes anchored in the cell’s internal membranes. These enzymes convert the amino acid through several intermediate steps into an unstable compound called a cyanohydrin, which a third enzyme then stabilizes by attaching a sugar group. Researchers have found that these enzymes cluster together physically, forming a kind of molecular assembly line that hands intermediates from one active site directly to the next, preventing toxic leakage inside the cell.2Annual Plant Reviews online. Biosynthesis of Cyanogenic Glycosides, Glucosinolates and Non‐Protein Amino Acids
When a caterpillar chews through a leaf or a root is crushed, the compartments separating the stored glycosides from the activating enzymes rupture. The enzymes strip the sugar, and the exposed cyanohydrin falls apart into cyanide and a carbonyl compound. Both the cyanohydrin itself and the released cyanide are toxic, giving the plant a layered defense.3PubMed Central. Plant Cyanogenic-Derived Metabolites and Herbivore Counter-Defences The system is elegant in its simplicity: the weapon is inert until it is needed, and the trigger is mechanical damage from whatever is trying to eat the plant.
Cyanide in Foods You Might Actually Eat
The plants most relevant to human health are the ones on your plate. Cassava, lima beans, sorghum, flax seeds, and stone-fruit pits (cherries, peaches, apricots) all contain cyanogenic glycosides. Bitter almonds are a well-studied example. They contain a glycoside called amygdalin, which can be broken down by an enzyme called β-glucosidase to release hydrogen cyanide. High-temperature processing degrades a related compound, prunasin, producing volatile benzaldehyde and HCN that evaporate off during cooking, which is the molecular basis for the centuries-old practice of heat-treating bitter almonds before eating them.4PubMed Central. Unraveling the Impacts of Preprocessing on the Metabolite Profile of Bitter Almond Using UPLC-MS/MS and GC-MS Analysis
Sweet almonds, the kind most people buy at the grocery store, are a different story. A study measuring total cyanide in California sweet almond varieties found that kernel levels averaged under 20 milligrams per kilogram, and the hulls contained less than 3 milligrams per kilogram. At those concentrations, the hulls could potentially be used in human food without any additional processing to reduce cyanide levels.5PubMed Central. Novel UHPLC-(+ESI)MS/MS Method for Determining Amygdalin, Prunasin and Total Cyanide in Almond Kernels and Hulls (Prunus dulcis) The practical lesson is that traditional food preparation methods, including soaking, boiling, fermenting, and roasting, evolved precisely to neutralize cyanide in plant foods, and they work well. Cassava, the most important cyanogenic crop globally because hundreds of millions of people depend on it as a staple, requires thorough processing for the same reason. Improperly prepared cassava has caused outbreaks of cyanide poisoning in regions where drought or conflict disrupts traditional preparation.
Bacteria, Insects, and Millipedes That Produce Cyanide
Plants are not the only organisms with cyanide chemistry. The soil bacterium Pseudomonas aeruginosa synthesizes hydrogen cyanide from the amino acid glycine. When researchers fed radioactively labeled glycine to the bacteria, cyanide and bicarbonate were the only labeled products detected outside the cells, showing that glycine is converted quite directly into HCN. The amino acids threonine and serine also serve as precursors, while others like methionine and phenylalanine do not.6PubMed Central. Glycine metabolism by Pseudomonas aeruginosa: hydrogen cyanide biosynthesis Bacterial cyanide production is thought to play a role in microbial competition, essentially poisoning neighboring organisms to secure resources.
Among animals, millipedes in the large order Polydesmida are the standout cyanide producers. Their defensive glands store a compound called mandelonitrile in a reservoir. When threatened, the millipede mixes the stored mandelonitrile with an enzyme called hydroxynitrile lyase, and the reaction produces benzaldehyde and hydrogen cyanide, which are expelled through specialized pores along the body.7PubMed Central. Discovery and Structural Analysis to Improve the Enantioselectivity of Hydroxynitrile Lyase from Parafontaria laminata Millipedes for (R)-2-Chloromandelonitrile Synthesis The gas can be lethal to other arthropods and even small vertebrates in an enclosed space.8Biochemical Systematics and Ecology. The chemical defenses of millipedes (diplopoda): Biochemistry, physiology and ecology
Certain moths take a different approach. The six-spotted burnet moth carries two cyanogenic glycosides, linamarin and lotaustralin, throughout every life stage, from caterpillar to adult. These compounds double as deterrents against predators: a bird that bites into a burnet moth gets a dose of cyanide released by the moth’s own β-glucosidase enzymes.9PubMed. Transcriptional regulation of de novo biosynthesis of cyanogenic glucosides throughout the life-cycle of the burnet moth Zygaena filipendulae (Lepidoptera) What makes burnet moths especially interesting is that they synthesize these compounds themselves rather than simply sequestering them from their food plants, an ability that is rare among animals.
Industrial Production Through the Andrussow Process
The overwhelming majority of the world’s hydrogen cyanide is produced in chemical plants, not harvested from biology. Global production runs into the millions of metric tons annually, and the dominant method is the Andrussow process, developed in the 1930s. The chemistry is conceptually straightforward: methane, ammonia, and oxygen are mixed and passed over a platinum-rhodium gauze catalyst at roughly 1,000 °C. In the fraction of a second the gases spend on the catalyst surface, methane and ammonia couple together to form HCN, with water as a byproduct.
The catalyst is critical. Researchers have studied the reaction pathways over fresh, activated, and spent platinum-rhodium gauzes using techniques with sub-millisecond time resolution, revealing that the selectivity toward HCN depends heavily on the state of the catalyst surface.10Applied Catalysis A: General. Mechanistic aspects of the Andrussow process over Pt–Rh gauzes. Pathways of formation and consumption of HCN Platinum and rhodium play somewhat different roles in the coupling of methane and ammonia, and understanding what governs selectivity on each metal has been a focus of catalysis research for decades.11Catalysis Science & Technology. Mechanistic analysis of oxygen-assisted coupling of methane and ammonia to hydrogen cyanide over polycrystalline Pt and Rh In commercial settings, the gauze is woven from fine wires of the alloy and stacked in layers. As it ages and restructures, the surface roughens and eventually loses activity, requiring replacement. Given that the catalyst is made of precious metals, these spent gauzes are recycled for their platinum and rhodium content.
A large fraction of industrially produced HCN never reaches a consumer as “cyanide” in any recognizable sense. It is an intermediate chemical, consumed immediately in downstream reactions to make products like adiponitrile (a precursor to nylon), methyl methacrylate (the building block for acrylic glass), and sodium cyanide for gold and silver mining. If you have ever worn nylon clothing or looked through a clear plastic barrier, you have used a product whose chemical ancestry runs through hydrogen cyanide.
The BMA Process and Other Industrial Routes
The Andrussow process uses oxygen, which means part of the methane and ammonia burns to provide the heat needed for the reaction. An alternative, the Blausäure aus Methan und Ammoniak (BMA) process, skips the oxygen entirely. A mixture of methane and ammonia is fed through ceramic tubes coated internally with a platinum-based catalyst, and the tubes are heated externally to roughly 1,200–1,300 °C by burning natural gas around them. Because no oxygen is present inside the tubes, the reaction is highly endothermic, meaning it absorbs heat rather than generating it, and most of the conversion happens in a short section of the tube where mass transfer limits the rate.12ScienceDirect. HCN synthesis from methane and ammonia over platinum
The BMA process produces a purer HCN stream because there is no water vapor or nitrogen from the air diluting the product. That purity makes it attractive for applications requiring clean feedstock. However, the external heating requirement makes the process energy-intensive, and the extreme temperatures are hard on the ceramic tubes, so the Andrussow process remains more widely used on sheer volume terms.
Beyond these two main routes, hydrogen cyanide also shows up as a byproduct. The Sohio process for making acrylonitrile (a precursor to acrylic fibers and ABS plastic) produces HCN as a significant side product when propylene and ammonia react over a catalyst. Rather than being wasted, this byproduct HCN is captured and sold, contributing meaningfully to the overall supply.
Cyanide from Fires
One source of cyanide that catches most people off guard is ordinary house fires. Hydrogen cyanide forms whenever nitrogen-containing materials burn, and modern homes are full of such materials: nylon carpets, polyurethane foam in furniture cushions, wool, synthetic rubber, and melamine-based laminates. Testing on these common household materials has confirmed that all of them produce HCN during combustion, particularly during smoldering (non-flaming) combustion and in conditions with restricted oxygen supply. HCN is roughly 35 times more toxic than carbon monoxide.13ScienceDirect. Modelling of hydrogen cyanide formation in room fires
This is a practical concern for firefighters and fire investigators, not just a laboratory curiosity. In a poorly ventilated room fire, HCN concentrations can rise to incapacitating levels quickly. Carbon monoxide gets most of the attention in public discussions of smoke inhalation, but cyanide poisoning is increasingly recognized as a contributor to fire deaths and to the neurological damage suffered by survivors. Some emergency medical protocols now include cyanide antidotes (such as hydroxocobalamin) for smoke inhalation victims, a shift driven partly by the recognition that modern furnishings produce more HCN than older, predominantly natural-fiber environments did.
Cyanide at the Origins of Life
Hydrogen cyanide has a claim to being one of the most important molecules in the history of the universe, or at least in the history of life. HCN has been detected in interstellar clouds, comets, and the atmospheres of moons and exoplanets. Its tendency to react with itself under relatively mild conditions makes it a plausible starting material for building the complex molecules needed for biology. Simulations of base-catalyzed self-reactions in liquid HCN have shown that it can form compounds like diaminomaleonitrile and polyimine, both proposed as key intermediates for driving further chemical complexity. These reactions proceed at similar rates, which helps explain how a simple one-carbon molecule could diversify rapidly into a wider chemical toolkit.14PubMed Central. Crossroads at the Origin of Prebiotic Chemical Complexity: Hydrogen Cyanide Product Diversification
The chain from HCN to the building blocks of life is not just theoretical handwaving. HCN oligomers, meaning small chains of HCN molecules linked together, can form adenine, one of the four bases in DNA and RNA. The first step in this oligomerization, the formation of a dimer called cyanomethanimine, has been directly observed in star-forming regions of space.15PubMed. Theoretical investigation of proton collisions on prebiotic candidates: hydrogen cyanide polymers On early Earth, HCN could also have formed through reactions between carbon monoxide and ammonia, with formamide as an intermediate that dehydrates to yield HCN.16PubMed Central. High Energy Radical Chemistry Formation of HCN-rich Atmospheres on early Earth The idea that one of the most acutely toxic molecules known may have been essential for getting life started in the first place is one of chemistry’s more poetic ironies.
Cleaning Up Cyanide With Biology
Given the enormous quantities of cyanide used in gold mining and other industrial processes, cyanide contamination of water and soil is a serious environmental problem. Mining operations use sodium cyanide solutions to dissolve gold from ore, and the waste tailings can contain dangerous cyanide levels. Chemical treatments exist, including oxidation with chlorine or hydrogen peroxide, but biological approaches are gaining ground.
Certain microorganisms, called cyanotrophs, can use cyanide as a source of nitrogen or carbon. Their enzymatic systems, including cyanide hydratase, nitrilase, and rhodanese, transform cyanide into much less toxic compounds like ammonia and carbon dioxide.17Water Research X. An overview of biological cyanide elimination from tailing wastewater as a promising tool for sustainable utilization In effect, these microbes eat cyanide. Researchers are now working to improve these biological tools by characterizing the three-dimensional structures of the enzymes involved. Recent cryo-electron microscopy work has resolved the structures of a cyanide dihydratase from a bacterium and a cyanide hydratase from a fungus at near-atomic resolution, providing a detailed blueprint that could guide engineering of enzymes with greater efficiency or tolerance for the harsh conditions found in mining wastewater.18PubMed. The single-particle cryo-EM structures of a bacterial cyanide dihydratase and a fungal cyanide hydratase
The appeal of bioremediation is that it can operate at ambient temperatures and pressures, does not require expensive chemical reagents, and produces relatively benign end products. It is not yet fast enough or robust enough to replace chemical treatment everywhere, but as enzyme engineering advances, biological cyanide cleanup is becoming a more realistic option for mining operations looking to reduce their environmental footprint.
Cyanide as a Building Block in Pharmaceutical Chemistry
For synthetic chemists, the cyanide group (a carbon atom triple-bonded to a nitrogen) is not just a poison. It is a versatile functional group that shows up in drug molecules, agricultural chemicals, and specialty materials. Introducing a cyano group into an organic molecule, a reaction known as cyanation, is a standard step in many synthetic sequences because the cyano group can later be transformed into amines, carboxylic acids, and other functional groups that are common in pharmaceuticals.
Traditional cyanation methods often relied on metal cyanide salts, which are highly toxic and create hazardous waste. Newer approaches aim to deliver the CN unit from safer sources. One recent example is a nickel-catalyzed reaction that uses tert-butyl isonitrile, a much less hazardous compound, as the cyanide source. This method can convert a range of starting materials into alkenyl nitriles, including substrates derived from natural products and pharmaceuticals, while tolerating a variety of other functional groups on the molecule.19Advanced Synthesis & Catalysis. Nickel‐Catalyzed Cyanation of Vinyl Triflates with Isonitrile as a Nucleophilic CN Source The trend in the field is toward making cyanide chemistry safer at the bench while preserving its synthetic usefulness, a recognition that the CN group’s toxicity in a biological context does not diminish its value as a chemical building block.
Several blockbuster drugs contain a nitrile group in their final structure, meaning cyanide chemistry was likely part of their manufacturing process at some stage. The irony is not lost on medicinal chemists: a fragment of one of nature’s most feared poisons can end up being what makes a life-saving drug work.