This paper applies the analytical tools of optimal taxation theory to the design of the optimal subsidy on preventive behaviours, in an economy where longevity varies across agents, and depends on preventive expenditures and on longevity genes. Public intervention can be here justified on three grounds: corrections for misperceptions of the survival process and for externalities related to individual preventive behaviour, and redistribution across both earnings and genetic dimensions. The optimal subsidy on preventive expenditures is shown to depend on the combined impacts of misperception, externalities and self-selection. It is generally optimal to subsidize preventive efforts to an extent depending on the degree of individual myopia, on ...