Parasitoids have been extensively found to manipulate nutrient amounts of their hosts to benefit their own development and survival, but the underlying mechanisms are largely unknown. Leptopilina boulardi (Hymenoptera: Figitidae) is a larval-pupal endoparasitoid wasp of Drosophila melanogaster whose survival relies on the nutrients provided by its Drosophila host. Here, we used RNA-seq to compare the gene expression levels of the host midgut at 24 h and 48 h post L. boulardi parasitization. We obtained 95 and 191 differentially expressed genes (DEGs) in the parasitized host midgut at 24 h and 48 h post L. boulardi parasitization, respectively. A KEGG analysis revealed that several metabolic pathways were significantly enriched in the upregulated DEGs, and these pathways included “starch and sucrose metabolism” and “galactose metabolism”. A functional annotation analysis showed that four classes of genes involved in carbohydrate digestion process had increased expression levels in the midgut post L.boulardi parasitization than nonparasitized groups: glucosidase, mannosidase, chitinase and amylase. Genes involved in protein digestion process were also found among the DEGs, and most of these genes, which belonged to the metallopeptidase and serine-type endopeptidase families, were found at higher expression levels in the parasitized host midgut comparing with nonparasitized hosts. Moreover, some immune genes, particularly those involved in the Toll and Imd pathways, also exhibited high expression levels after L.boulardi parasitization. Our study provides large-scale transcriptome data and identifies sets of DEGs between parasitized and nonparasitized host midgut tissues at 24 h and 48 h post L. boulardi parasitization. These resources help improve our understanding of how parasitoid infection affects the nutrient components in the hosts.