This paper analyzes optimum income taxation in a model with endogenous job destruction that gives rise to unemployment. It is shown that optimal tax schemes comprise both payroll and layoff taxes when the state provides public unemployment insurance and aims at redistributing income. The optimal layoff tax is equal to the social cost of job destruction, which amounts to the sum of unemployment benefits (that the state pays to unemployed workers) and payroll taxes (that the state does not get when workers are unemployed).