We argue that when bankruptcy code is creditor-friendly, excessive liquidations cause levered firms to shun innovation, whereas by promoting continuation upon failure, a debtor-friendly code induces greater innovation. We provide empirical support for this claim by employing patents as a proxy...