We model the design of labor market institutions in an economy characterized by moral hazard and irreversible investment. In this setting the institutional design affects the bargaining power of labor. At the optimum, the allocation of bargaining power balances the aforementioned frictions. We...