We analyze incentive-efficient government bailouts within a canonical model of intra-firm moral hazard. Bailouts exacerbate the moral hazard of firms and managers in two ways. First, they make them less averse to failing. Second, the taxes to fund bailouts dampen their incentives. Nevertheless, if third-party externalities from keeping the firm alive are strong, bailouts can improve welfare. Our model suggests that governments should use bailouts sparingly, where social externalities are large and subsidies small; eliminate incumbent owners and managers to improve a priori incentives; and finance bailouts through redistributive taxes on productive firms instead of forcing recipients to repay in the future.