The psychotropic effectso fPsilocybe "magic" mushroomsa re caused by the l-tryptophan-derived alkaloid psilocybin.D espite their significance,t he secondary metabolome of these fungi is poorly understood in general. Our analysis of four Psilocybe speciesi dentified harmane, harmine, and ar ange of other l-tryptophan-derived b-carbolines as their natural products,w hichw as confirmed by 1D and 2D NMR spectroscopy.S table-isotope labeling with 13 C 11 -l-tryptophan verifiedt he b-carbolines as biosynthetic products of these fungi. In addition, MALDI-MS imaging showedt hat b-carbolines accumulate toward the hyphal apices.A sp otent inhibitors of monoamine oxidases, b-carbolines are neuroactive compounds and interfere with psilocybin degradation. Therefore, our findings represent an unprecedented scenario of natural product pathways that diverge from the same buildingb lock and produce dissimilar compounds, yet contribute directlyo ri ndirectly to the same pharmacological effects.