Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Tax Tools / Note default and repossession
Seller financing tax: default

When the Buyer Stops Paying: Repossession and Your Installment Sale Tax

deferral
Short answerIf the buyer defaults and you take back real estate that secured the note, Section 1038 applies: no loss, and taxable gain equals the principal you collected minus the gain you already reported, capped at your original profit minus that reported gain and your repossession costs. You get the property back at about your old basis, ready to sell again.

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:

  1. the money and value of other property you received on the sale before the repossession (down payment and principal; interest is excluded), exceeds
  2. 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.

StepAmount
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?
You follow the default terms in the note: notice, a cure period, then acceleration. If the buyer cannot cure, you foreclose or accept a deed in lieu. For real estate, Section 1038 then limits your taxable gain to the principal you collected minus the gain you already reported, capped by your original profit, and gives you back roughly your old basis plus repossession costs.
Is owner financing safe?
It can be well protected. A 20% or larger down payment, a first-position recorded deed of trust, a personal guarantee from the buyer's owners, escrow for taxes and property coverage, and clear acceleration and default terms make default less likely and recovery practical. The remaining exposure is the buyer's credit and the property's condition.
Who pays property taxes on an owner-financed home?
The buyer, as owner, under nearly every deed of trust or land contract. The seller should require an escrow impound account or annual proof of payment, because unpaid property taxes become a lien ahead of the seller's deed of trust.
Do I get a loss deduction if I foreclose on my buyer?
Not for real estate covered by Section 1038. No loss is allowed and the note is not treated as a bad debt. Instead, your basis in the property you take back reflects your basis in the unpaid note, the repossession gain and your costs, so the economics come through when you resell.
Is the gain on repossession capital gain or ordinary income?
It keeps the character of the original sale when you used the installment method, so land held for investment produces capital gain. If you did not use the installment method for the original sale, Publication 537 treats the repossession gain as ordinary income.
What if I already wrote off part of the note as a bad debt?
Section 1038(d) treats that written-off amount as received when you take the property back, and adds it to your basis in the note, so the earlier deduction is recaptured.
Does Section 1038 apply if I repossess equipment from a business I sold?
No. Section 1038 covers only real property. For equipment and other personal property, gain or loss is the fair market value of what you take back minus your basis in the note and your repossession costs, per IRS Publication 537.
How Hans helps: the $5,000 Big Sale Tax Analysis models this path side by side with every other option for your sale and ends with a written recommendation. See the analysis.
Next step

Know 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.

Book a callCall Hans