Free guide
How do a short sale, foreclosure, and deed in lieu compare on taxes?
For federal income tax, the IRS treats all three much like a sale, which can create a gain, and canceled debt can be income in each one, depending on your loan. Gain and canceled-debt income are two different tax issues. The biggest differences are California's 3 and one third percent withholding, which applies to short sales but not to foreclosures or deeds in lieu, and how much of the leftover debt you could still owe. Use the chart below to compare, then check your plan with a tax professional.
By Guillermo Serafin, broker and owner of Serve First Realty. Updated October 2026.
What do the three options look like side by side?
| Question | Short sale | Foreclosure | Deed in lieu |
|---|---|---|---|
| How the IRS treats it | A sale | Like a sale | An exchange of the property to pay off debt, treated much like a sale |
| Value the IRS generally uses | The sale price | The gross bid price at the foreclosure sale | The appraised value |
| Can forgiven debt be income? | Yes, if the lender forgives debt you were personally liable for | Yes, on a recourse loan. Generally no on a nonrecourse loan. | Yes, if the lender forgives debt you were personally liable for |
| Forms you may get | Form 1099-C, if 600 dollars or more is forgiven | Form 1099-A, Form 1099-C, or both | Form 1099-A, Form 1099-C, or both |
| California 3 and one third percent withholding | Often required, unless a Form 593 exemption applies | Exempt | Exempt |
| Could you still owe the lender? | Section 580e protects qualifying short sales of one to four units that are completed under the lender's written consent. Approval alone does not erase the debt, and exceptions apply. Other lenders are separate. | Section 580d generally bars a deficiency on the loan foreclosed by trustee sale. A court foreclosure can lead to one. Other loans on the home, like a second, are not automatically wiped out. | Depends on the written agreement. Get it in writing. |
What is the same in all three?
- Gain or loss. You compare what you are treated as getting with your adjusted basis. A loss on your own home is not deductible.
- Home sale exclusion. A gain on your main home may be left out, up to 250,000 dollars, or 500,000 dollars for a married couple filing together, if you meet the rules in IRS Publication 523.
- Forgiven debt. The federal break for qualifying main home debt generally covers debt canceled before January 1, 2026, or canceled under an arrangement made and put in writing before that date. H.R. 917 would extend it, but it had not passed as of October 2026. California generally does not give the same break for debt canceled in 2026. Being protected from owing the lender does not mean you owe no taxes.
- Exceptions. Insolvency and bankruptcy may still let you leave out forgiven debt on both your federal and California returns. See our insolvency worksheet walkthrough.
- Loan type. Whether you were personally liable changes the math. See recourse vs. nonrecourse loans.
What is different about a short sale?
You stay in control of the sale, and you can get the lender's terms in writing before you close. But California often withholds 3 and one third percent of the price unless you qualify for an exemption on Form 593, such as the main home exemption or a calculated loss. See the short sale withholding surprise.
What is different about a foreclosure?
There is no California withholding. With a nonrecourse loan, a foreclosure generally does not create canceled debt income, though it may create a gain. Most California foreclosures are trustee sales, which usually bar a deficiency on that loan. Other debts secured by the home are not automatically wiped out. Loans used to buy the home, and some refinances, have extra protection. A court foreclosure can lead to a deficiency judgment. See will I owe money after foreclosure?
What is different about a deed in lieu?
You sign the home over to the lender instead of going through a sale. There is no California withholding. The IRS says it is not an abandonment. It is treated as trading the property to satisfy the debt. Ask the lender to state in writing whether it forgives the rest of the debt.
What should I ask before I choose?
- Will the lender forgive the whole remaining balance, in writing?
- Do I have a second loan, and what will that lender do?
- Was my loan recourse or nonrecourse?
- Was this my main home, and for how long did I live there?
- Was I insolvent, or am I thinking about bankruptcy?
- Will California withhold tax at closing, and do I qualify for an exemption?
- Who will help me with my tax return? Free help may be available through the IRS VITA program at 800-906-9887.
Compare more than taxes in foreclosure alternatives compared.
General information, not tax or legal advice. We are not tax professionals. Sources: IRS Publication 4681 (2025), IRS Publication 5550 (August 2021), IRS Publication 523 (2025), IRS Form 1099-C (Rev. 4-2025), H.R. 917 (119th Congress), California Franchise Tax Board Publication 1016 (Rev. 02-2026), FTB Mortgage Forgiveness Debt Relief page (updated 12/17/2025), and California Code of Civil Procedure sections 580b, 580d, 580e, and 726.
Related guides
- Will I Owe Taxes After a Foreclosure or Short Sale? The 2026 Guide
How forgiven mortgage debt may be taxed in 2026.
- California vs. the IRS: Why California May Tax Your Forgiven Mortgage Debt
Why California may tax forgiven mortgage debt when the IRS does not.
- Got a 1099-C or 1099-A in the Mail? What to Do Next
What Forms 1099-A and 1099-C mean for your taxes.
Email me a copy of this guide
Trying to pick the right exit?
A free call can help you compare a short sale, a deed in lieu, and your other choices before a sale date decides for you.