Deed in Lieu of Foreclosure: What Handing Back the Keys Does to Your Taxes

A deed in lieu avoids a court case. It does not avoid the tax return. Here is how the IRS treats the transfer and what to negotiate before you sign.

By Darrin T. MishUpdated October 20266 min read

A deed in lieu of foreclosure is the quiet way out. Instead of a lawsuit, a judgment, and a courthouse auction, you sign a deed transferring the property to your lender, and the lender accepts it in satisfaction of all or part of the loan. In Florida, where foreclosures go through the courts and can take a long time, both sides sometimes prefer it.

For tax purposes, it is a sale. A sale has consequences. Those consequences depend on the loan type, the property type, and the language of the agreement you sign. Read all three before you hand over the keys.

A deed in lieu is a disposition

Treas. Reg. 1.1001-2(a)(4)(iii) says a disposition of property includes a transfer of the property in satisfaction of liabilities to which it is subject. That is exactly what a deed in lieu is. You compute an amount realized, compare it to your adjusted basis, and report a gain or loss. Then, separately, you deal with any canceled debt.

Your lender will generally report the transfer to the IRS on Form 1099-A, or on Form 1099-C if it also cancels debt in the same year. The reporting rules are covered in the Form 1099-A and 1099-C guide.

Nonrecourse loan: one calculation

If the loan is nonrecourse, the full outstanding balance is your amount realized, regardless of what the property is worth. That is the rule in Treas. Reg. 1.1001-2(b). There is no separate canceled debt income. Any shortfall between value and debt is folded into the gain or loss calculation.

For a rental property with substantial depreciation, that can produce a taxable gain even though you walked away with nothing. Depreciation lowered your basis; the debt relief is measured against that lower basis.

Recourse loan: two calculations

If you were personally liable, Treas. Reg. 1.1001-2(a)(2) splits the transaction. The amount realized on the transfer is generally the property's fair market value. The difference between the debt the lender cancels and that value is income from discharge of indebtedness, unless an exclusion applies.

That second piece is where the agreement language matters. In a deed in lieu, the lender may:

  • Accept the deed in full satisfaction and waive any deficiency. The excess debt is canceled now.
  • Accept the deed and reserve the deficiency, keeping the right to sue you for the rest. Nothing beyond the property value is canceled yet.
  • Accept the deed and agree to a reduced cash payment or a note for part of the deficiency. The rest is canceled when the agreement says so.

Most borrowers want the first option, and for good reason. A reserved deficiency is a lawsuit waiting to happen. Just understand that the waiver is also the event that creates canceled debt income for a recourse loan. Get the waiver in writing, and know its date. The full recourse and nonrecourse mechanics are in the recourse and nonrecourse guide.

Personal residence versus rental

Your home

If the property was your principal residence, the gain side may be covered by IRC 121, which can exclude up to $250,000 of gain, or $500,000 for qualifying joint filers, if you meet the ownership and use tests. See the Section 121 guide. A loss on a personal residence is not deductible, which surprises people who lost real money on the house.

The canceled debt side is a separate question. For discharges after 2025, the qualified principal residence indebtedness exclusion in IRC 108(a)(1)(E) applies only if the discharge is under an arrangement entered into and evidenced in writing before January 1, 2026. Otherwise, insolvency or bankruptcy are the usual exclusions.

A rental or investment property

A loss on a rental or investment property may be deductible. Gain may be partly taxed as unrecaptured section 1250 gain because of depreciation. Canceled debt on business real property may qualify for the elective exclusion for qualified real property business indebtedness under IRC 108(a)(1)(D), discussed in the QRPBI guide, subject to the basis reduction that comes with it.

What to negotiate before you sign

  1. A written deficiency waiver, or a clear written statement of what remains owed.
  2. The value the lender will use. For a recourse loan, the fair market value sets the split between sale proceeds and canceled debt. Ask how it will be reported and provide your own appraisal if the lender's number looks low.
  3. Cash for keys or relocation assistance, and how it will be reported. Money paid to you in the transaction is part of the deal economics.
  4. Junior liens. Lenders generally refuse a deed in lieu if junior liens remain on title. Second mortgages, association liens, and judgments must be resolved first.

The federal tax lien problem

If the IRS has filed a Notice of Federal Tax Lien against you, the lender will not take a deed subject to it. A deed in lieu does not wipe out a federal tax lien the way a properly joined foreclosure can. You will need a certificate of discharge under IRC 6325(b). When the property is underwater, a no-value discharge under IRC 6325(b)(2)(B) is the usual tool, and Publication 783 says it requires no payment. Plan for the at least 45 days of lead time Publication 783 requests. The process is the same one used in short sales, explained in the no-value discharge guide.

Measuring insolvency on the right day

If you will rely on the insolvency exclusion, IRC 108(d)(3) measures your assets and liabilities immediately before the discharge. In a deed in lieu with a waiver, that is usually the day the agreement takes effect. Build the balance sheet for that date, including the mortgage you are about to hand back. The insolvency guide walks through it.

The deed in lieu ends the foreclosure. Make sure the agreement also ends the tax question, or at least tells you exactly what it is.

Property on the line? Get the plan right first.

Closings, refinances, audits, and exchanges all run on deadlines. Talk with a tax attorney before the clock decides for you.

Call (813) 229-7100

Frequently asked questions

Is a deed in lieu taxed differently from a foreclosure?

The same rules apply. Treas. Reg. 1.1001-2 treats a transfer of property in satisfaction of a liability as a disposition, whether it happens through a court sale or a deed. The differences come from the deal terms, especially whether the lender waives the deficiency.

Should I insist on a deficiency waiver?

From a collection standpoint, a written waiver ends your exposure to the lender. From a tax standpoint, it can create canceled debt income in that year if the loan was recourse. Know both effects before you sign, and measure your insolvency as of the waiver date.

Can I exclude gain on a deed in lieu of my home?

If you meet the IRC 121 ownership and use tests, gain on the disposition of your principal residence may be excluded up to $250,000, or $500,000 for qualifying joint filers. A loss on a personal residence is not deductible.

Can I give a deed in lieu if the IRS has a lien on the property?

The lender will not accept a deed that leaves a federal tax lien on title. You or the lender will need a certificate of discharge under IRC 6325(b), usually under 6325(b)(2)(B) when there is no equity.

What date controls the tax year for a deed in lieu?

The disposition generally occurs when the deed is delivered and accepted, which is usually the date shown on the Form 1099-A. Canceled debt income on a recourse loan arises when the debt is actually discharged, which may be the same day if the agreement waives the deficiency, or later if the lender settles it afterward. Keep the signed agreement, the recorded deed, and any later settlement letter together.

This article is general information about federal tax law as of October 2026, not legal advice for your situation. Reading it does not create an attorney-client relationship.