TL;DR
California's anti-deficiency laws limit when a lender can pursue a borrower personally for the shortfall left after a foreclosure sale, and they are among the most heavily tested finance topics on the exam. Two Code of Civil Procedure sections do the work. Section 580b bars any deficiency on a purchase-money loan: a loan used to buy an owner-occupied dwelling of not more than four units, a seller-carried (vendor) note for the balance of the purchase price, or a refinance of such a loan with no new principal. These loans are non-recourse from the moment they are made, and the protection cannot be waived in advance. Section 580d bars a deficiency after a nonjudicial foreclosure — a trustee's sale under the power of sale in a deed of trust — on any note, purchase-money or not. The practical result most candidates need to remember is the difference between the two foreclosure routes: a lender who forecloses nonjudicially through a trustee's sale gives up the right to a deficiency judgment under section 580d, while a lender who chooses judicial foreclosure may pursue a deficiency, but only subject to the fair-value limit and the borrower's right of redemption. Because most California loans are secured by deeds of trust and foreclosed nonjudicially, deficiency judgments are rare in practice.
Studying for the California real estate exam? See exactly where you'd lose points — free 20-question diagnostic, no account needed.
Start free diagnostic →What a deficiency judgment is
A deficiency is the gap between what a borrower owes and what the property brings at a foreclosure sale. If the loan balance is larger than the sale price, the unpaid difference is the deficiency, and a deficiency judgment is a court order making the borrower personally liable for it. Without limits, a lender could sell the collateral, then chase the borrower's wages, bank accounts, or other property for the shortfall. California enacted its anti-deficiency statutes during the Great Depression to stop exactly that outcome for certain borrowers, and the courts construe them liberally in the borrower's favor. The two central provisions live in the Code of Civil Procedure at sections 580b and 580d, and each blocks a deficiency in a different situation.
Understanding these rules means understanding how the loan was made and how the lender forecloses. The type of loan controls whether section 580b applies; the method of foreclosure controls whether section 580d applies. Because the lender usually chooses the foreclosure method, the borrower often has no say in whether a deficiency is even possible. This topic sits directly alongside the mechanics of the trustee's sale itself, covered in our guide to nonjudicial foreclosure and the trustee's sale.
Section 580b: the purchase-money bar
Section 580b provides that no deficiency shall be owed or collected, and no deficiency judgment shall lie, on a purchase-money obligation. The statute describes three situations: after a sale of real property for the buyer's failure to complete the contract of sale; under a deed of trust or mortgage given to the vendor to secure the balance of the purchase price; and under a deed of trust or mortgage on a dwelling for not more than four families given to a lender to secure a loan that was used to pay all or part of the purchase price, occupied entirely or in part by the purchaser. That third category is what the statute labels a purchase-money loan. The effect is that a genuine purchase-money loan is non-recourse: the lender's only remedy is the property, and no personal judgment can follow, no matter how the lender forecloses.
Two features make section 580b powerful. First, the protection cannot be waived by the borrower at the time the loan is made, and California courts have refused to enforce later waivers extracted as a condition of a loan modification, short sale, or forbearance. Second, junior loans taken out at the same time and used to buy the property can share the protection. The policy is to put the risk of over-valuing the collateral on the lender, who is best positioned to appraise it, and to keep a defaulting buyer from being crushed by personal liability when values fall in a downturn. A lender can still sue for fraud in inducing the loan, or for bad-faith waste that damages the property, but not for an ordinary deficiency. Seller-carried financing is squarely within this bar, which is why it interacts with the disclosure rules covered in our guide to seller financing under the SAFE Act and Dodd-Frank.
Section 580d: the nonjudicial foreclosure bar
Section 580d addresses the method of foreclosure rather than the type of loan. It provides that no deficiency shall be owed, collected, or rendered on a note secured by a deed of trust or mortgage where the property has been sold by the trustee or mortgagee under a power of sale — that is, through a nonjudicial foreclosure or trustee's sale. This bar applies to any such loan, including loans that are not purchase-money. The trade-off is central to the exam: a lender holding a non-purchase-money loan (for example, a refinance or a hard-money loan) still has a choice of remedies. If the lender forecloses nonjudicially, it forfeits any deficiency under section 580d but gets a faster, cheaper sale with no court involvement. If the lender instead forecloses judicially, it preserves the right to seek a deficiency, but the process is slower, the deficiency is capped at the difference between the debt and the property's fair value rather than the low sale price, and the borrower gets a statutory right of redemption after the sale.
Because nonjudicial foreclosure is faster and does not risk a redemption period, the vast majority of California lenders choose it, and by doing so give up any deficiency. That is why, in practice, deficiency judgments are uncommon in California even on loans that section 580b does not protect. The choice of foreclosure method is really a choice between speed and the theoretical right to a deficiency, and most lenders pick speed. The financing disclosures a borrower receives when the loan is arranged connect to our guide to the mortgage loan disclosure statement.
Frequently Asked Questions
- What is a purchase-money loan under section 580b?
- A purchase-money obligation includes a seller-carried vendor note securing the unpaid balance of the purchase price, and a lender loan used to pay all or part of the purchase price of an owner-occupied dwelling of four or fewer units. Section 580b also protects a refinance of a protected purchase-money loan, except to the extent new principal is advanced. Under Code of Civil Procedure section 580b, no deficiency can be owed or collected on these loans. They are non-recourse from origination, so the lender's only recourse is the property itself, regardless of how the foreclosure is conducted.
- Can a lender get a deficiency after a trustee's sale?
- No. Under section 580d, once a lender forecloses nonjudicially through a trustee's sale under the power of sale in a deed of trust, it cannot obtain a deficiency judgment on that note, even if the loan was not purchase-money. This is the trade-off for the speed and low cost of the nonjudicial process. A lender wanting to preserve a possible deficiency must instead foreclose judicially through the courts.
- What is the difference between sections 580b and 580d?
- Section 580b turns on the type of loan: purchase-money loans are protected no matter how they are foreclosed. Section 580d turns on the method of foreclosure: any loan foreclosed by nonjudicial trustee's sale loses the deficiency, purchase-money or not. A purchase-money loan is protected by 580b under either method; a non-purchase-money loan is protected only if the lender chooses the nonjudicial route, which triggers 580d.
- Can a borrower waive anti-deficiency protection?
- Not in advance. The protection of section 580b cannot be waived at the time the loan is made, and California courts have declined to enforce waivers a lender tries to extract later as a condition of a loan modification, short sale, or deed in lieu. This anti-waiver rule is a core reason the purchase-money bar is so strong. A lender may still pursue a borrower for fraud in obtaining the loan or for bad-faith waste, which are separate from an ordinary deficiency.
- Does judicial foreclosure allow a deficiency?
- It can, but with limits. A lender that forecloses judicially rather than by trustee's sale may seek a deficiency judgment on a non-purchase-money loan, but the amount is capped by the fair-value rule — the deficiency is the debt minus the property's fair market value, not minus the sale price — and the borrower receives a statutory right of redemption to buy the property back after the sale. These limits, plus the slower court process, are why most lenders choose the nonjudicial route and forgo the deficiency.
- Why are deficiency judgments rare in California?
- Because most California home loans are secured by deeds of trust and foreclosed nonjudicially through trustee's sales, and section 580d bars a deficiency after any nonjudicial sale. Combined with section 580b's complete bar on purchase-money loans, the two statutes eliminate deficiency liability in the large majority of residential foreclosures. A lender would have to hold a non-purchase-money loan and deliberately choose the slower, costlier judicial route to preserve any deficiency, which few do.
Bottom Line
California's two anti-deficiency statutes protect borrowers in different ways. Code of Civil Procedure section 580b bars any deficiency on a purchase-money loan — a loan to buy an owner-occupied dwelling of four or fewer units, a seller-carried vendor note, or a no-new-principal refinance of such a loan — and that protection is non-recourse and cannot be waived in advance. Section 580d bars a deficiency after a nonjudicial foreclosure, meaning a lender who forecloses by trustee's sale gives up any deficiency on that note, purchase-money or not. A lender wanting to preserve a deficiency on a non-purchase-money loan must foreclose judicially, accepting the fair-value cap, the borrower's redemption right, and a slower process. Because deeds of trust and nonjudicial foreclosure dominate California practice, deficiency judgments are uncommon. For related topics, see our guides to nonjudicial foreclosure, seller financing, and the mortgage loan disclosure statement.
Source: California Code of Civil Procedure §§ 580b and 580d (anti-deficiency). CCP § 580b (leginfo) · CCP § 580d (Justia, 2025) · CCP § 580b (FindLaw)
Ready to start preparing?
Take a free 20-question diagnostic. No account required.
Start free diagnostic →