Because insects are ectotherms, their physiology, behaviour and fitness are influenced by the ambient temperature. Any changes in environmental temperatures may impact the fitness and life history traits of insects and, thus, affect population dynamics. Here, we experimentally tested the impact of heat shock on the fitness and life history traits of adults of the aphid parasitoid Aphidius avenae and on the later repercussions for their progeny. Our results show that short exposure (1 h) to an elevated temperature (36 degrees C), which is frequently experienced by parasitoids during the summer, resulted in high mortality rates in a parasitoid population and strongly affected the fitness of survivors by drastically reducing reproductive output and triggering a sex-dependent effect on lifespan. Heat stress resulted in greater longevity in surviving females and in shorter longevity in surviving males in comparison with untreated individuals. Viability and the developmental rates of progeny were also affected in a sex-dependent manner. These results underline the ecological importance of the thermal stress response of parasitoid species, not only for survival, but also for maintaining reproductive activities.