Many theories study how firms’ cost of funding depends on reorganization and liquidation in bankruptcy. However empirical evidence on this subject is scarce due to the difficulty in interpreting reforms that change different legal instruments at the same time. We take advantage of the timing of the 2005-2006 Italian bankruptcy law and combine it with a unique loan-level dataset. We find that the introduction of a reorganization procedure increased the interest rates on bank loans; the reform that made the liquidation procedure faster reduced firms’ loan costs; and the presence of gains from creditor coordination reduced the cost of funding.