Psilocybin is a naturally occurring psychedelic prodrug compound produced by more than 200 species of fungi. The most potent are members of genus Psilocybe. Psilocybin is itself biologically inactive but is quickly converted by the body to psilocin, which has mind-altering effects similar, in some aspects, to those of lysergic acid diethylamide (LSD), mescaline, and dimethyltryptamine (DMT). In general, the effects include euphoria, visual and mental hallucinations, changes in perception, distorted sense of time, and perceived spiritual experiences. It can also cause adverse reactions such as nausea and panic attacks.

In 1958, the Swiss chemist Albert Hofmann isolated psilocybin and psilocin from the mushroom Psilocybe mexicana. Hofmann’s employer Sandoz marketed and sold pure psilocybin to physicians and clinicians worldwide for use in psychedelic therapy.

The intensity and duration of the effects of psilocybin are variable, depending on species or cultivar of mushrooms, dosage, individual physiology, and set and setting, as was shown in experiments led by Timothy Leary at Harvard University in the early 1960s. Once ingested, psilocybin is rapidly metabolized to psilocin, which then acts on serotonin receptors in the brain. The mind-altering effects of psilocybin typically last from two to six hours, although to individuals under the influence of psilocybin, the effects may seem to last much longer, since the drug can distort the perception of time.

Possession of psilocybin-containing mushrooms has been outlawed in most countries, and psilocybin has been classified as a Schedule I controlled substance under the 1971 United Nations Convention on Psychotropic Substances.