Various aspects of socioeconomic conditions in the neighbourhood have in recent years been found to have an influence on morbidity and mortality even after individual characteristics are taken into account.1 Increasing evidence suggests that to measure fully the impact social conditions may have on mortality risk, the whole life course must be taken into account as mortality risk increases cumulatively over the life course.2 Few studies have combined ecological and life course factors to see if contextual effects may be explained by social conditions earlier in life at the individual level.3,4 Most studies of neighbourhood effects have had a cross sectional design or with short follow up. Effects seen could be a consequence of the fact that people in these areas may have different earlier life experiences that have not been fully taken into account. In this study we examine whether the contextual effect of educational level aggregated to the neighbourhood on mortality risk could be explained by earlier life deprivation