Many aphid species exhibit both cyclical parthenogenesis (CP) and the obligate parthenogenesis (OP) life history, which are genetically determined. In CP aphid lineages, the parthenogenetic individuals can switch from asexual to sexual reproduction quickly in response to environmental factors such as changes in photoperiod and temperature. However, the OP aphid lineages do not undergo sexual reproduction under any conditions. So far, mechanisms underlying the reproduction switch in CP aphids have not been fully elucidated. Rhopalosiphum padi, a serious worldwide insect pest of wheat, has both CP and OP lineages. Uridine diphosphate-glycosyltransferases (UGTs) are enzymes that participate in the metabolic detoxification of xenobiotics. Here, we identified 43 RpUGT genes from R. padi genome and transcriptome sequences, and found that: (1) the UGT content of the CP lineage was significantly higher than that in the OP lineage at the key time points when CP lineage mainly produce virginoparae, gynoparae, and males under inducing condition, while there were no significant difference under normal conditions; (2) RpUGT344J7 gene was highly expressed during the time points when CP lineages produce gynopara and males; (3) the critical time points for CP lineages to produce virginoparaee, gynoparae, and males were affected when the CP lineages were injected with dsRpUGT344J7; (4) the knockdown of RpUGT344J7 caused a significant reduction in the total number of virginoparae, gynoparae, and males in the offspring under inducing condition. The findings contribute to our understanding of the molecular mechanisms underlying the quick shift from asexual to sexual reproduction in aphid species.