Only loans by shareholders to S-Corporations can increase their basis. Owners of S-Corporations can deduct losses only up to the amount of their investment in the company, including loans they make to the corporation. The debt must bona fide debt of the S corporation owed directly to the shareholder. Guarantors of loans to an S-Corporation do not get this break.