The plant-pathogenic fungus Sclerotinia sclerotiorum can detoxify cruciferous phytoalexins such as brassinin via glucosylation. Here we describe a multifaceted approach including genome mining, transcriptional induction, phytoalexin quantification, protein expression and enzyme purification that led to identification of a S. sclerotiorum glucosyltransferase that detoxifies brassinin. Transcription of this gene, denoted as brassinin glucosyltransferase 1 (SsBGT1), was induced significantly in response to the cruciferous phytoalexins camalexin, cyclobrassinin, brassilexin, brassinin and 3-phenylindole, a camalexin analogue. This gene was also up-regulated during infection of Brassica napus leaves. Levels of brassinin decreased significantly between 48 and 72h post-inoculation, with a concomitant increase in levels of 1-beta-d-glucopyranosylbrassinin, the product of the reaction catalysed by SsBGT1. These findings strongly implicate the involvement of this gene during infection of B. napus. This gene was cloned and expressed in Saccharomyces cerevisiae. The purified recombinant enzyme was able to glucosylate brassinin and two other phytoalexins, albeit much less effectively. This is the first report of a fungal gene involved in detoxification of plant defence molecules via glucosylation.