A deficiency judgment is an unsecured money judgment against a borrower whose mortgage foreclosure sale did not produce sufficient funds to pay the underlying promissory note, or loan, in full. The availability of a deficiency judgment depends on whether the lender has a recourse or nonrecourse loan, which is largely a matter of state law.