A deficiency judgment is where the owner of a mortgage or deed of trust is awarded a judgment against the borrower in the amount of:
the amount of money owed in the mortgage or deed of trust
minus
the amount of money the property sold for at foreclosure sale
If the above amount is a positive number, some states allow the lender to get a judgment for that amount.