This article aims to integrate temptation preferences into the theory of optimal taxation with heterogenous agents and asymmetric information. Consumers are tempted to over-consume a commodity which may lead to an over-supply of labor. Resisting this temptation implies a utility cost and any policy that reduces this cost is welfare improving. We uncover novel channels for government intervention and the interaction between the welfare improving and redistributive roles of public policy. We also identify a commitment mechanism that works through the endogenous labor choice and affects the design and effectiveness of the optimal tax policy.