<i>Caenorhabditis elegans</i> is a useful model organism to study the xenobiotic detoxification pathways of various natural and synthetic toxins, but the mechanisms of phase II detoxification are understudied. 1-Hydroxyphenazine (1-HP), a toxin produced by the bacterium <i>Pseudomonas aeruginosa</i>, kills <i>C. elegans</i>. We previously showed that <i>C. elegans</i> detoxifies 1-HP by adding one, two, or three glucose molecules in N2 worms. Our current study evaluates the roles that some UDP-glycosyltransferase (<i>ugt</i>) genes play in 1-HP detoxification. We show that <i>
ugt-23</i> and <i>
ugt-49</i> knockout mutants are more sensitive to 1-HP than reference strains N2 or PD1074. Our data also show that <i>
ugt-23</i> knockout mutants produce reduced amounts of the trisaccharide sugars, while the <i>
ugt-49</i> knockout mutants produce reduced amounts of all 1-HP derivatives except for the glucopyranosyl product compared to the reference strains. We characterized the structure of the trisaccharide sugar phenazines made by <i>C. elegans</i> and showed that one of the sugar modifications contains an <i>N</i>-acetylglucosamine (GlcNAc) in place of glucose. This implies broad specificity regarding UGT function and the role of genes other than <i>
ogt-1</i> in adding GlcNAc, at least in small-molecule detoxification.