Psilocybin: Chemistry and Biosynthesis

The big idea
Psilocybin is a naturally occurring tryptamine found in certain fungi. species-related identification, chemistry and the history of traditional use should be kept separate from claims about dose, safety or medical outcomes.
A closer look
Psilocybin (4-phosphoryloxy-N,N-dimethyltryptamine) is a naturally occurring tryptamine alkaloid made by Psilocybe and several other genera of fungi. In the living organism, it exists primarily as psilocybin (the phosphorylated form) — a compound the body converts into an active substance that is rapidly converted to psilocin (4-hydroxy-DMT) by intestinal and hepatic phosphatase enzymes after ingestion.
Psilocin is the chemically active compound that acts as a serotonin (5-HT2A) receptor agonist in the central nervous system. The biological production pathway in the fungus involves four enzymes — PsiD, PsiK, PsiM, and PsiH — encoded by the psilocybin gene cluster (psilocybin biosynthetic gene cluster, PBGC). Tryptophan is the primary biosynthetic starting material.
Psilocybin accumulates primarily in the reproductive tissue (mushrooms) and is particularly concentrated in the cap and veil area.
The indigo-blue staining that occurs when psilocybe tissue is cut, bruised, or damaged is caused by the oxidation of psilocin to psilocin radicals and blue-coloured quinoid compounds — a process catalysed by laccases and other oxidative enzymes in the tissue. The intensity of bluing is not a reliable indicator of potency, as it reflects the rate of psilocin oxidation rather than the absolute psilocin content.
In nature, Psilocybe mycelium grows through organic matter beneath the soil surface or within deep growing material, where CO₂ levels (produced by microbial decomposition) are high — typically 2,000–20,000 ppm vs atmospheric 420 ppm. The fungus uses CO₂ concentration as an environmental sensor: high CO₂ = underground, continue colonising; low CO₂ = near the surface, time to fruit and disperse spores.
This is why fresh air exchange (fresh air exchange) — actively reducing CO₂ in the fruiting environment — is so critical to pin the start. Conversely, maintaining higher CO₂ during growth through the material suppresses premature fruiting and allows full mycelium mass to develop before reproductive signalling begins.







