Little fungi pack a punch: ‘Magic mushrooms’ of the Psilocybe species produce psychoactive compounds that alter perception when ingested. Recently, the effects on the neuronal system caused by their ingredient psilocybin have attracted the interest of pharmacologists. Scientists have now identified four of the enzymes responsible for the biosynthesis of psilocybin. Researchers describe the biosynthetic pathway and introduce a synthetic route that could form the basis of biotechnological production.