In a model with ex-ante homogenous households, earnings risk and a general earnings function, we derive the optimal linear labor tax rate and optimal linear education subsidies. The optimal income tax trades off social insurance against incentives to work and to invest in human capital. Education subsidies are not used for social insurance, but are only targeted at off-setting the distortions of the labor tax and internalizing a fiscal externality. Both optimal education subsidies and tax rates increase if labor and education are more complementary, since education subsidies indirectly lower labor tax distortions by stimulating labor supply. Optimal education subsidies (taxes) also correct non-tax distortions arising from missing insurance markets. Education subsidies internalize a positive (negative) fiscal externality if there is underinvestment (overinvestment) in education due to risk. Education policy unambiguously allows for more social insurance if education is a risky activity. However, if education hedges against labor market risk, optimal tax rates could be lower than without education subsidies.