Cystic echinococcosis (CE) is a zoonotic disease caused by Echinococcus granulosus (Eg) infection. Our previous study confirmed that recombinant Eg.P29 (rEg.P29) could protect against echinococcus granulosus secondary infection in sheep and mice. The aim of the study was to investigate the association between immunoprotection of rEg.P29 vaccine and mmu-miR-374b-5p (miR-374b-5p) and study the immunity influence of miR-374b-5p on CD4+ T cells in mice spleen. MiR-374b-5p level was significantly increased after the second-week and the fourth week of vaccination with rEg.P29. Overexpression of miR-374b-5p increased IFN-γ, IL-2, IL-17A mRNA levels and decreased IL-10 mRNA levels in CD4+ T cells. Moreover, the inhibition of miR-374b-5p decreased IFN-γ and IL-17A and increased IL-10 mRNA levels in CD4+ T cells; this was further confirmed by the flow cytometry. The vaccination of rEg.P29 enhanced miR-374b-5p expression that was associated with a higher Th1 and Th17 immune response, a lower IL-10 mRNA production with miR-374b-5p overexpression, a lower Th1 immune response, and a higher IL-10 mRNA levels with miR-374b-5p inhibitions. To sum up, these data suggest that miR-374b-5p may participate in rEg.P29 immunity by regulating Th1 and Th17 differentiation.