Collusion sustainability depends on firms' aptitude to impose sufficiently severe punishments in case of deviation from the collusive rule. We extend results from the literature on optimal collusion by investigating the role of limited liability. We examine all situations in which either structural conditions (demand and technology), financial considerations (a profitability target), or institutional circumstances (a regulation) set a lower bound, possibly negative, to firms' profits. For a large class of repeated games with discounting, we show that, absent participation and limited liability constraints, there exists a unique optimal penal code. It commands a severe single-period punishment immediately after a firm deviates from the collu...