A Section 1038 repossession of real property is what happens, for tax purposes, when you sold real estate with seller financing, the buyer defaulted, and you took the property back to satisfy the debt. Internal Revenue Code Section 1038 controls the tax result, and its central feature is protective: your recognized gain is capped at the cash you actually pocketed before the default, not the property’s fair market value at repossession. The rules are mandatory when the conditions are met, and they apply whether or not you originally reported the sale on the installment method.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
When Section 1038 Applies
Three conditions have to line up. The original sale of real property must have created a debt owed to you that was secured by that same property, the classic carryback note secured by a mortgage or deed of trust. You must reacquire the property to satisfy that debt, whether by voluntary reconveyance, foreclosure, or any other method. And the reacquisition must be to protect your security interest.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
One further limit sits on top of those conditions. You generally cannot pay the buyer additional money to get the property back, unless the original contract already provided for that payment, or the buyer has defaulted or default is imminent.2Internal Revenue Service. Publication 537 – Installment Sales
How to Calculate the Recognized Gain
Section 1038 uses two formulas. Your taxable gain is the lesser of the two.
The first formula is the cash-in-hand measure. Add up the cash and fair market value of other property (not counting the buyer’s remaining note) that you received before the reacquisition, then subtract the gain you already reported as income on prior returns. If you used the installment method, the gain already reported is the cumulative taxable portion of the payments you included in income across the years the note was outstanding.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
The second formula is a statutory ceiling. Start with the total gain you realized on the original sale (sale price minus your adjusted basis at that time). Subtract two amounts: the gain you already reported, and your reacquisition costs. Reacquisition costs include legal fees, court costs, and any other expenses you paid to get the property back.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
Whichever formula produces the smaller number is your recognized gain on the repossession.
Worked Example
Say you sold property with an adjusted basis of $150,000 for $250,000. Your total realized gain is $100,000, and your gross profit ratio is 40 percent ($100,000 ÷ $250,000). Over time you received $70,000 in payments, and 40 percent of that ($28,000) was reported as installment sale gain. The buyer defaults, and you spend $5,000 on legal fees and court costs to reacquire.
Formula one: $70,000 in payments minus $28,000 of gain already reported equals $42,000.
Formula two: $100,000 total gain minus $28,000 already reported minus $5,000 of reacquisition costs equals $67,000.
Because $42,000 is less than $67,000, you recognize $42,000 on the reacquisition. Publication 537 provides Worksheet D to run through the same comparison line by line.2Internal Revenue Service. Publication 537 – Installment Sales
Your New Basis in the Reacquired Property
After the repossession you need a fresh basis in the property for future depreciation and for gain or loss on any later sale. The basis is the sum of three pieces: the adjusted basis of the buyer’s debt to you as of the reacquisition date, the gain you recognized on the reacquisition, and your reacquisition costs.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
If you used the installment method, the adjusted basis of the remaining debt is the unpaid balance minus the unrealized profit still embedded in it. Multiply the unpaid balance by the gross profit percentage, then subtract that product from the unpaid balance.2Internal Revenue Service. Publication 537 – Installment Sales
Continuing the example: the unpaid balance at default is $180,000 ($250,000 − $70,000). The unrealized profit is $72,000 ($180,000 × 40 percent). The adjusted basis of the debt is $108,000 ($180,000 − $72,000). Your new basis in the property is $108,000 + $42,000 recognized gain + $5,000 reacquisition costs = $155,000. That is $5,000 above your original $150,000 basis, which is the reacquisition costs capitalized into the property. Publication 537’s Worksheet E follows this same path.2Internal Revenue Service. Publication 537 – Installment Sales
Character of the Gain
Section 1038 limits how much gain you recognize, not what kind of gain it is. If you used the installment method, the character of the gain on reacquisition follows the same rules that applied to each installment payment: typically capital gain for investment or personal-use property, with potential ordinary income for depreciation recapture under Section 1250.3eCFR. 26 CFR 1.1038-1 – Reacquisitions of Real Property in Satisfaction of Indebtedness
If the original sale was a deferred-payment sale that was not reported on the installment method, and title had transferred to the buyer, and the buyer voluntarily reconveyed the property, the recognized gain is ordinary income.3eCFR. 26 CFR 1.1038-1 – Reacquisitions of Real Property in Satisfaction of Indebtedness
The Remaining Note and Any Bad Debt You Wrote Off
Any installment obligation secured by the property is treated as fully satisfied when you reacquire. You do not separately report gain or loss on the note itself; that piece is folded into the Section 1038 numbers.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
If secured debt remains outstanding after a partial reacquisition, its basis drops to zero, and the statute expressly says no debt becomes worthless or partially worthless as a result of a Section 1038 reacquisition. So no bad debt deduction on what the buyer still owes.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
Bad debt deductions you already claimed in an earlier year get clawed back. Under Section 1038(d), you are treated as receiving, on reacquisition, an amount equal to whatever portion of the debt you previously wrote off, and the adjusted basis of the debt is increased by that same amount before it flows into the basis calculation for the reacquired property. The tax benefit you took in the earlier year comes back as income now.1Office of the Law Revision Counsel. 26 US Code 1038 – Certain Reacquisitions of Real Property
Principal Residence: The One-Year Rule
Section 1038(e) carves out a separate path when the original sale qualified for the Section 121 exclusion (up to $250,000 single, $500,000 joint). If you reacquire that home and resell it within one year of the reacquisition date, the ordinary Section 1038 gain, basis, and bad-debt-recapture mechanics do not apply. The reacquisition is disregarded, and the original sale plus the resale are treated as a single transaction for testing the Section 121 exclusion.4Office of the Law Revision Counsel. 26 USC 1038 – Certain Reacquisitions of Real Property5eCFR. 26 CFR 1.1038-2 – Reacquisition and Resale of Property Used as a Principal Residence
Miss the one-year window and you are back to the standard Section 1038 calculation for the reacquisition, with the later sale treated as its own event.
Where to Report It
Use the form you used for the original sale. If you reported the sale on Form 6252 as an installment sale, compute the repossession gain and the new basis in Part III of that form or in Publication 537’s worksheets. If the original sale was on Form 4797, report the repossession gain there.2Internal Revenue Service. Publication 537 – Installment Sales
Publication 537’s Worksheet D handles the two-formula gain comparison, and Worksheet E handles the new basis. The recognized gain from D feeds into the basis calculation on E, so running both gives you numbers that reconcile.2Internal Revenue Service. Publication 537 – Installment Sales