Variation in life span is the consequence of sex- and age-dependent genetic effects and early access to nutrients.