Sexual reproduction increases genetic diversity but it is also associated with costs such as exposure to parasites or reduced life span. Black soldier flies, Hermetia illucens, are a suitable model to investigate the trade-offs between reproduction and longevity as they largely rely on their larv…