The structure of Psilocybin, the psychotropic active principle of the Mexican mushroomPsilocybe mexicana Heim, has been elucidated. Psilocybin is the phosphoric acid ester of 4-hydroxy-dimethyltryptamine. This structure was confirmed by total synthesis.