Adult parasitic wasps take sugars to meet their energy needs and display different lifespans and fertility in response to different sugar sources. Pteromalus puparum is an endoparasitoid with a wide range of hosts, including many lepidopteran pests. As a potential natural enemy resource, the availability of sugar sources has profound effects for wasp applications and host populations dynamics. We assessed the effect of feeding sucrose and honey on the lifespan of P. puparum in the range 0-40% (w/v). The results indicated a statistically significant positive effect of sucrose and honey solutions on the lifespan of P. puparum female adults. Correlation analyses confirmed a strong positive correlation between high concentrations of sugar and extended lifespan. The optimum concentration of sucrose solution for wasps was 20%, while 10% for honey. Then, we examined the expression patterns of 15 lifespan-related genes. The results showed that the relative expression levels of 14 genes were significantly correlated with the mean lifespan of sucrose-fed wasps, and six genes correlated with the mean lifespan of honey-fed wasps. In addition, the models for lifespan prediction were constructed. We elaborated the quantitative effects of two sugar sources (sucrose and honey) on P. puparum lifespan, investigated the expression patterns of lifespan-related genes when fed different sugar sources, and developed round lifespan prediction models accordingly. This study provides a novel tool for studying the longevity regulating mechanisms of parasitic wasps, and may be instructive for mass-production of parasitoids as biological control agents. © 2020 Society of Chemical Industry.