The glucosylation of pollutant and pesticide metabolites in plants controls their bioactivity and the formation of subsequent chemical residues. The model plant Arabidopsis thaliana contains >100 glycosyltransferases (GTs) dedicated to small-molecule conjugation and, whereas 44 of these enzymes catalyze the O-glucosylation of chlorinated phenols, only one, UGT72B1, shows appreciable Nglucosylating activity toward chloroanilines. UGT72B1 is a bifunctional O-glucosyltransferase (OGT) and N-glucosyltransferase (NGT). To investigate this unique dual activity, the structure of the protein was solved, at resolutions up to 1.45 Å, in various forms including the Michaelis complex with intact donor analog and trichlorophenol acceptor. The catalytic mechanism and basis for O/N specificity was probed by mutagenesis and domain shuffling with an orthologous enzyme from Brassica napus (BnUGT), which possesses only OGT activity. Mutation of BnUGT at just two positions (D312N and F315Y) installed high levels of NGT activity. Molecular modeling revealed the connectivity of these residues to H19 on UGT72B1, with its mutagenesis exclusively defining NGT activity in the Arabidopsis enzyme. These results shed light on the conjugation of nonnatural substrates by plant GTs, highlighting the catalytic plasticity of this enzyme class and the ability to engineer unusual and desirable transfer to nitrogen-based acceptors.enzymology ͉ glycosyltransferase ͉ xenobiotic ͉ glycosides ͉ domain-swapping P lants are constantly exposed to synthetic compounds, such as pollutants and crop protection agents, and are able to transform these xenobiotics by using a four-phase detoxification system that has immediate parallels with drug metabolism in animals (Fig. 1A). Absorbed xenobiotics are first metabolically activated by ''phase 1'' enzymes, which then facilitates their subsequent bioconjugation with polar natural products (amino acids, sugars, peptides) in phase 2 metabolism. In crops and weeds, the most commonly observed phase 2 reaction is glycosylation (1), a reaction catalyzed by family GT1 glycosyltransferases (2), which are more normally engaged in secondary metabolism (3). A diverse range of xenobiotics are known to undergo conjugation as O-, S-, and N-acceptors, with UDP-glucose (UDP-glc) being the most commonly observed sugar donor (1). Once synthesized, conjugates accumulate transiently in the cytosol before being transported (phase 3) to either the vacuole or apoplast (Fig. 1 A).Despite their central importance in the metabolism of herbicides, pesticides, and organic pollutants, the identity of the enzymes catalyzing the glycosylation of xenobiotics has only recently been determined through studying their activity in the model plant Arabidopsis thaliana (4,5). Arabidopsis plants rapidly metabolize persistent pollutants such as 2,4,5-trichlorophenol (TCP) and 3,4-dichloroaniline (DCA) by O-and N-glucosylation, respectively (4-7) (Fig. 1B). Several UDP-glc-dependent glycosyltransferases (UGTs) in Arabidopsis have been shown to have O-gluco...