We investigate the causal effect of education on health and the part of it that is attributable to health behaviors by distinguishing between short-run and long-run mediating effects: whereas, in the former, only behaviors in the immediate past are taken into account, in the latter, we consider the entire history of behaviors. We use two identification strategies: instrumental variables based on compulsory schooling reforms and a combined aggregation, differencing, and selection on an observables technique to address the endogeneity of both education and behaviors in the health production function. Using panel data for European countries, we find that education has a protective effect for European men and women aged 50+. We find that the m...