What happens when a buyer stops paying
A buyer who misses payments usually leads to one of five outcomes: the buyer cures, you modify the note, the buyer sells and pays you off, you sell the note, or you take the property back. Each has its own tax result. Selling, gifting or canceling the note is a disposition under Section 453B. Taking the property back is a repossession, and for real estate that secured the note, Section 1038 controls the tax. It is mandatory, not an election. These rules sit on top of your ordinary installment sale tax and seller financing taxes reporting.
Section 1038 applies whether you foreclose or the buyer gives you a deed in lieu, and whether or not title ever passed to the buyer, so a land contract counts. Treas. Reg. 1.1038-1 adds three conditions: you take the property back to protect your security rights, the note you cancel arose from the original sale, and you pay the buyer nothing extra unless the original contract provided for it or the buyer has defaulted or default is imminent. Miss one and the personal property rules below apply instead.
The Section 1038 formula
Section 1038 treats a repossession as largely undoing the sale. No loss is allowed, and the note is not treated as worthless. Gain is recognized only to the extent that:
- the money and value of other property you received on the sale before the repossession (down payment and principal; interest is excluded), exceeds
- the gain you already reported on the sale.
That amount is then limited (Section 1038(b)(2)) to the original sale price, net of selling costs, minus your adjusted basis, reduced by the gain already reported and by your repossession costs: money or property you pay to get the property back, such as court costs, legal fees, recording and lien clearance. The gain keeps the character of the original sale, so land held for investment produces capital gain. You report it on the same form you used for the sale (Form 6252, and Form 4797 for business property).
The basis of the property you take back (Section 1038(c)) is your basis in the unpaid note, which is the unpaid balance times one minus your gross profit percentage, plus the repossession gain, plus repossession costs. Your holding period includes the time you owned the property before the sale, but not the time the buyer had it (Treas. Reg. 1.1038-1(g)(3)).
Worked example: default after two payments
Assumptions (engine run): land held for investment sold in 2026 for $2,000,000, adjusted basis $500,000, gain $1,500,000, gross profit percentage 75%, selling costs ignored. $400,000 down and a $1,600,000 note at 6% over 10 years with level annual payments of $217,389. The buyer pays in 2027 and 2028, then defaults; you foreclose in 2029 and spend $40,000 on legal and recording costs. Married filing jointly with $120,000 of other ordinary income. Tax is the extra tax from the installmentsalecalculator engine, 2026 federal tables held flat, no other income from the note in 2029.
| Step | Amount |
|---|---|
| Principal received before default (down payment plus 2027 and 2028 principal) | $650,061 |
| Gain already reported on it (75%) | $487,546 |
| Section 1038(b)(1) gain: received minus reported | $162,515 |
| Limit: $1,500,000 profit minus $487,546 reported minus $40,000 costs | $972,454 |
| Gain recognized on repossession (lower of the two) | $162,515 |
| Basis in the unpaid note: $1,349,939 x 25% | $337,485 |
| Basis of the land you take back ($337,485 + $162,515 + $40,000) | $540,000 |
| 2029 federal tax on the repossession gain (income tax $22,712 plus NIIT $1,236) | $23,948 |
| Add California tax if a California resident | $14,505 |
Notice the result. Across 2026 to 2029 you report $650,061 of gain, exactly the principal you kept, and you take the land back at $540,000: your original $500,000 basis plus the $40,000 you spent. If you resell for $1,500,000, the resale gain is $960,000, long-term because your old holding period carries over. To model your own note and default year, run your numbers.
A former home: Section 1038(e)
If you excluded gain on the original sale under Section 121 and you resell the home within one year of taking it back, Section 1038(e) and Treas. Reg. 1.1038-2 switch off the normal formula. The repossession and resale are treated as one sale, and the Section 121 exclusion is applied to the combined result. If you keep the home longer than a year, the regular Section 1038 rules apply.
Personal property and business assets
Section 1038 covers only real property. When you sold a business and take back equipment, inventory or other assets under a UCC security interest, IRS Publication 537 applies a different rule: gain or loss equals the fair market value of what you take back, minus your basis in the note and your repossession costs. With the installment method, the note's basis is the unpaid balance times one minus the gross profit percentage, and the gain or loss has the character of the original sale. Your basis in the repossessed items is their fair market value. Note that the old Treas. Reg. 1.453-1(d) is now reserved; the current authority is Section 453B, Treas. Reg. 1.453-9 and the Publication 537 worksheet. Real property repossessions that fail the Section 1038 conditions also use this method.
Bad debt, selling the note, and foreclosure vs deed in lieu
- Bad debt (Section 166): no bad debt deduction arises from a Section 1038 repossession. If you do not take the property back and the note becomes uncollectible, the deduction is limited to your basis in the note. A nonbusiness bad debt is a short-term capital loss and only when totally worthless; a business bad debt is ordinary and can be partial.
- Foreclosure sale to a third party: if someone else buys at the auction and you are paid off in cash, you did not reacquire the property, so Section 1038 does not apply. The payoff is a satisfaction of the note at other than face value under Section 453B. If you credit-bid the note and win, Section 1038 applies.
- Selling or pledging the note: selling it at a discount triggers the deferred gain under Section 453B, and borrowing against it can be treated as a payment under the Section 453A pledge rule. Canceling a note owed by family is a disposition at not less than face value; see related-party installment sales.
- Foreclosure vs deed in lieu: the tax is the same under Section 1038. The practical difference is liens. Foreclosure generally wipes out liens recorded after your deed of trust; a deed in lieu takes the property subject to them. A deed in lieu is faster and cheaper, so order a title report first. Cash for keys paid after default is a repossession cost, not a disqualifier.
How sellers protect the note
- Down payment: 20% or more gives the buyer real equity to lose and you a cushion if values fall.
- First-position security: a recorded deed of trust or mortgage on real estate, and a UCC-1 filing on business assets. Second position behind a bank loan is much weaker.
- Personal guarantee: from the buyer's owners when the buyer is an entity.
- Escrow and impounds: monthly deposits for property taxes and property coverage, or proof of payment each year, so a tax lien never jumps ahead of you.
- Note terms: interest at or above the applicable federal rate, acceleration on default, due-on-sale, a short cure period, late fees, financial reporting covenants, and a requirement that the buyer keep the property covered with you named as lender loss payee.
- Underwriting: a credit report, tax returns and a business plan before you agree to carry paper.
How Hans helps
The $5,000 Big Sale Tax Analysis models the default case, including repossession gain, the basis you take back and a resale, so you can see the worst case of carrying a note next to a cash sale and the other deferral paths. Get the full Big Sale Tax Analysis.
What to know
Seller financing defers tax only while the buyer pays. A default costs time, legal fees and often a property in worse shape, and in a repossession you are taxed on the principal you kept. Section 1038 keeps that bearable by blocking a loss but restoring your basis. Notes secured by personal property, second-position notes and unsecured notes leave you with weaker remedies and less favorable tax rules.
Get the full Big Sale Tax Analysis
Frequently asked questions
What if the buyer defaults on a seller-financed sale?
Is owner financing safe?
Who pays property taxes on an owner-financed home?
Do I get a loss deduction if I foreclose on my buyer?
Is the gain on repossession capital gain or ordinary income?
What if I already wrote off part of the note as a bad debt?
Does Section 1038 apply if I repossess equipment from a business I sold?
Sources
- IRC 1038, reacquisitions of real property (Cornell LII)
- Treas. Reg. 1.1038-1, reacquisitions in satisfaction of indebtedness (eCFR)
- Treas. Reg. 1.1038-2, reacquisition and resale of a principal residence (eCFR)
- IRS Publication 537, Installment Sales (repossession)
- IRC 453B, disposition of installment obligations (Cornell LII)
- Treas. Reg. 1.453-9, gain or loss on disposition of installment obligations (eCFR)
- IRC 166, bad debts (Cornell LII)
- Treas. Reg. 1.166-1, bad debts (eCFR)
- IRS Publication 550, nonbusiness bad debts
- IRC 121, exclusion of gain on a principal residence (Cornell LII)
- About Form 6252, Installment Sale Income (IRS)
Last reviewed October 3, 2026. Education only, not legal or tax advice.
Keep comparing
Section 453A pledge rule
Borrowing against your installment note can trigger the deferred tax early; here is exactly when, how much, and who is exempt.
ReadRelated-party installment sale
You can carry a note for your child or your own company, but three rules can pull the deferred gain into the current year.
ReadSeller financing
Carry the buyer's note, collect interest, and pay the tax as the principal comes in, with the right collateral and terms behind it.
ReadInstallment sale (Section 453)
Report the gain as the buyer pays you instead of all in the year of sale, under rules that have been in the tax code for decades.
ReadInstallment Sale vs Cash Sale: The After-Tax Math
A cash sale puts all the gain in one tax year, often in the top brackets plus the 3.8% net investment income tax. An installment sale taxes
ReadWrap-around mortgage
Keeping your old loan in place under a bigger seller-financed note can cut year-one gain, if the lender and the paperwork cooperate.
ReadKnow your number before you sign.
The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.
Prefer email? Request the analysis by email.