We consider an overlapping generations model with uncertain lifetime and endogenous growth. Individuals have to choose the length of time devoted to schooling before starting to work. We show that it depends positively on life expectancy but that the positive effect of a longer life on growth could be offset by a decrease in the participation rate. Dynamics are characterized by a delay differential equation and human capital converges with oscillations to a balanced growth path.