This invention relates to the large-scale production of psilocybin for use in medicine. More particularly, it relates to a method of obtaining high purity crystalline psilocybin, particularly, in the form of Polymorph A. It further relates to a method for the manufacture of psilocybin and intermediates in the production thereof and formulations containing psilocybin.