The invention discloses a rhizoma gastrodiae glucosyltransferase gene. The nucleotide sequence of the rhizoma gastrodiae glucosyltransferase gene is shown as SEQID NO:1, and an amino acid sequence asshown in SEQID NO:2 is coded. A glucosyltransferase gene sequence is screened out according to a CDS sequence provided by a rhizoma gastrodiae transcriptome, a nest type PCR primer is designed, and through amplification and splicing, an overall length sequence of the glucosyltransferase gene is obtained; a prokaryotic expression vector pGEX4T-UGT is constructed, proteins are obtained through expression and purification, a eukaryotic expression vector is constructed, subcellular localization is performed on expression of a UGT gene, glucosyltransferase is transferred into monokaryon honey mushroom mycelia by an agrobacterium tumefaciens infection method for the constructed eukaryotic expression vector pH2GW7.0 35S-UGT, transgene honey mushrooms are obtained, biosynthetic gastrodin is used,the rhizoma gastrodiae is artificially cultured by the transgene honey mushrooms, the content of gastrodin in the rhizoma gastrodiae is increased, and besides, the gastrodin can also be produced through culturing genetic engineering honey mushrooms.