California’s anti-deficiency statutes often surprise lenders. The rules look straightforward until a loan defaults. Then questions arise:
Can the lender pursue the borrower?
Does the foreclosure method matter?
What about the guarantor?
Answers depend on several interlocking statutes and a body of case law lenders ignore at their peril. This article outlines the framework and explains where guaranties remain a viable recovery path.
The Purpose of California’s Anti-Deficiency Laws
California adopted anti-deficiency statutes during the Great Depression to protect borrowers from personal liability after losing real property securing a loan. The idea was simple: if the lender holds real estate as collateral, the lender should not automatically pursue the borrower for any shortfall after foreclosure.
Several statutes implement this policy:
- Code of Civil Procedure §580b
- Code of Civil Procedure §580d
- Code of Civil Procedure §726 (the “one-action rule”)
Each statute operates differently. Understanding those distinctions matters.
The One-Action Rule: CCP §726
Section 726 requires a secured lender to pursue the collateral first before seeking a personal judgment against the borrower.
In practice, the statute creates two related rules:
- The one-action rule – A lender gets one lawsuit to enforce the debt.
- The security-first rule – The lender must exhaust the real property collateral before pursuing the borrower personally.
If a lender sues on the note without foreclosing on the collateral, the borrower may assert Section 726 as a defense. Worse, the lender risks losing the lien entirely. So, if you sue your borrower seeking a judgment for the balance owed on your Note, you likely cannot later seek to foreclose and recover the property.
For this reason, lenders usually foreclose first.
Judicial vs. Nonjudicial Foreclosure
The foreclosure method drives the deficiency analysis.
Judicial Foreclosure
Judicial foreclosure occurs through a court proceeding. If the lender chooses this route, the lender may seek a deficiency judgment, subject to certain statutory limitations.
However, the deficiency equals the difference between:
- The unpaid debt, and
- The fair value of the property (not simply the foreclosure sale price).
Courts determine fair value in a post-sale hearing.
Nonjudicial Foreclosure (Trustee’s Sale)
Most California foreclosures occur through trustee’s sale under a deed of trust.
Here the rule becomes blunt.
Under CCP §580d, once the lender completes a nonjudicial foreclosure, no deficiency judgment may be obtained against the borrower.
The sale extinguishes the debt.
For lenders seeking speed and certainty, trustee’s sale remains attractive. The trade-off: no recovery against the borrower.
Purchase Money Loans – CCP §580b
Section 580b creates another major limitation.
A lender cannot obtain a deficiency judgment on a purchase-money loan secured by:
- A dwelling of four units or fewer,
- Occupied by the borrower.
The rule applies even if the lender forecloses judicially.
The policy is simple: if a lender funds the purchase of residential property, the lender bears the risk of inadequate collateral.
This statute frequently surprises lenders when applied to seller-financed transactions or refinance structures that inadvertently retain purchase-money character.
Where Guaranties Enter the Picture
Given these borrower protections, lenders often rely on guaranties. Remember, a borrower is very different from a guarantor. Anti-deficiency rules protect the borrower. They do not affect the guarantor.
At first glance, guaranties appear to provide a straightforward workaround. If the borrower cannot be pursued, sue the guarantor.
California law, however, complicates this analysis.
Courts recognize two competing principles:
- Guaranties remain enforceable obligations.
- Lenders cannot use guaranties to circumvent anti-deficiency protections.
This tension has produced decades of litigation.
The “Sham Guaranty” Doctrine
California courts scrutinize guaranties to determine whether the guarantor truly stands separate from the borrower.
If the guarantor essentially is the borrower, courts may treat the guaranty as a “sham guaranty.”
Common examples include:
- A borrower who signs both as borrower and guarantor
- An entity borrower whose principal signs a guaranty but functions as the true borrower. If the borrower is a Single Purpose Entity, and the guarantor owns the SPE, beware of this doctrine.
- Situations where the guarantor receives the loan proceeds directly
In those circumstances, courts may extend anti-deficiency protection to the guarantor.
Result: the guaranty becomes unenforceable.
Legitimate Guaranties
A properly structured guaranty still provides lenders with meaningful protection.
Courts typically enforce guaranties when the guarantor represents a separate credit source distinct from the borrower.
Examples include:
- A parent company guaranteeing a subsidiary loan
- A financially independent investor guaranteeing a project loan
- A sponsor guaranteeing completion or repayment
In those circumstances, anti-deficiency statutes protecting the borrower do not automatically shield the guarantor.
Guarantor Waivers
California law allows guarantors to waive several borrower defenses.
Most commercial guaranties contain waivers referencing:
- Civil Code §2856
- CCP §726
- Various suretyship defenses
These waivers typically allow lenders to:
- Sue the guarantor without first foreclosing
- Recover deficiencies otherwise unavailable against the borrower
However, waivers cannot override all statutory protections. Courts may still apply the sham-guaranty doctrine if the structure appears designed solely to evade anti-deficiency laws.
Practical Considerations for Lenders
Several practical points emerge.
1. Foreclosure Method Matters
A trustee’s sale eliminates borrower liability. If a lender intends to pursue a deficiency from the borrower, judicial foreclosure becomes necessary.
2. Evaluate Guarantor Structure Early
A guaranty signed by the borrower’s alter ego may not survive scrutiny. Lenders should confirm the guarantor represents a legitimate independent obligor.
3. Draft Guaranties Carefully
Well-drafted guaranties include:
- Explicit statutory waivers
- Broad repayment obligations
- Independent liability language
Precision here often determines whether recovery succeeds.
4. Understand the Collateral Value
Where collateral value appears uncertain, lenders must consider whether a trustee’s sale inadvertently forfeits potential recovery.
The Bottom Line
California’s anti-deficiency statutes significantly limit recovery against borrowers following foreclosure. The framework reflects a policy decision: lenders must look first to their collateral.
Guaranties remain an important tool for shifting risk. Yet courts remain vigilant against structures designed to evade borrower protections.
For lenders, the lesson remains simple:
Understand the foreclosure strategy before default occurs. Structure guaranties carefully. And confirm the guarantor represents a real credit source rather than a legal fiction.
When those steps occur early, the lender’s recovery options remain intact when the inevitable default arrives.



