Recourse, Non-Recourse, and What a Refinance Silently Costs You
Find out whether your mortgage is recourse before you refinance it, and never take cash out without pricing what the cash costs you legally: in California and a handful of peer states, the dollars you add on a refinance sit outside the anti-deficiency shield that protects the dollars you originally borrowed, and nobody at the closing table will mention it.
The distinction decides what happens if the house is worth less than the debt. On a recourse loan the lender forecloses, sells, and sues you personally for the shortfall — the deficiency. On a non-recourse loan the collateral is the lender’s only remedy: hand back the keys and the debt is extinguished. That is not a minor legal detail. It is the difference between a bad decade and bankruptcy, and it is the single most valuable term in the loan.
California grants it by statute for exactly one category. Code of Civil Procedure §580b bars a deficiency judgment on purchase-money debt — a loan given to a lender to secure repayment of money used to pay all or part of the purchase price of a dwelling for not more than four families, occupied entirely or in part by the purchaser. Separately, §580d bars a deficiency after any non-judicial (trustee’s sale) foreclosure, which is how virtually all California foreclosures run. The practical result is that the loan you used to buy your house is, in California, effectively non-recourse.
Refinance it and the shield now follows the loan, which is the opposite of what most people were taught. §580b(b), which applies to credit transactions executed on or after January 1, 2013, extends purchase-money treatment to a loan used to refinance a purchase-money loan and to every subsequent refinance of it — except to the extent the lender advances new principal that is not applied to the old obligation or to the fees and costs of the transaction. That exception is the part that matters. Cash-out proceeds are a new advance and carry no purchase-money protection, so a cash-out refinance splits your loan into a protected legacy balance and a fully recourse increment; any HELOC you draw against the house sits outside the protection entirely, and a junior lienholder wiped out at a senior’s trustee sale becomes a sold-out junior free to sue you on the note. Two statutory qualifications apply: a refinance executed before 2013 never picked up §580b(b), so the older rule — refinance and the protection is gone — still governs it, and even where §580b does not reach you, §580d protects you whenever the lender forecloses non-judicially, which is a procedural shield the lender chooses whether to give you, not a statutory one you own. Rules differ sharply by state — roughly a dozen have some anti-deficiency statute, most do not — so establish yours in writing instead of assuming California’s.
One tax consequence follows from the same fork. If a recourse debt is forgiven or a deficiency written off, the discharged amount is cancellation of debt income, ordinary and taxable under IRC §108, “Income from discharge of indebtedness”, reported to you on Form 1099-C. IRC §108(a)(1) excludes it in bankruptcy and to the extent you are insolvent immediately before the discharge. The separate exclusion for qualified principal residence indebtedness, IRC §108(a)(1)(E) as defined and limited by IRC §108(h), is a provision Congress has repeatedly let lapse and revive — and it has lapsed again: it reaches only discharges occurring before January 1, 2026, or made under an arrangement entered into and evidenced in writing before that date. Do not plan around it returning; confirm its status for the year in question. Non-recourse debt discharged through foreclosure produces no COD income at all: the full balance is treated as the amount realized on a sale, which converts the problem into capital gain and, on a principal residence, potentially into IRC §121 territory. Same house, same loss, entirely different tax bill — decided years earlier by which box the loan sat in.