§1031 like-kind exchanges — when you can wait to pay tax on the built-in profit
Sometimes a business or investor trades one piece of real estate for another instead of selling for cash. Under IRC §1031, if the deal qualifies, you can often defer tax on the built-in profit — you wait to pay until you later cash out. That parked profit is the deferred gain.
If you also walk away with something that is not like-kind real estate — cash, other property, or leftover debt relief — that extra piece is called boot. Boot can force you to recognize (report this year) some of the profit, usually the lesser of your full economic profit or the boot you took.
Use the builder below to see how the numbers split. Teaching sketch aligned with Pub 544 themes and Form 8824 Part III — not a live IRS calculator.
Defaults echo the Taylor/Finley apartment example in the 2025 Form 8824 instructions (Taylor’s side) so you can sanity-check the math.
Teaching approximation of Part III lines 15–25. Recapture (§1245 / §1250 on lines 21–22) is not modeled.
Substituted basis is your tax stake in the new property. It is usually not what the building is worth. The deferred gain is parked in a lower basis so the tax waits until you later sell for cash — the Code is deferring tax, not erasing it.
Why two walks? §1031(d) is the statute’s own recipe in words: start with the adjusted basis of what you gave up, subtract money you received (cash and debt relief), add gain you recognized (and subtract any recognized loss), then add money you paid (cash and debt you assumed). Form 8824 Part III is the IRS worksheet for the same idea — it nets the mortgages on the way to line 25.
They are not competing answers. When you treat liabilities as “money,” both routes should land on the same number. We show the Code formula and the form lines so exam questions that quote §1031(d) and questions that walk Form 8824 feel like the same story.
Exam questions usually net mortgages the Form 8824 way: only net debt relief counts as boot; net debt you take on counts as money paid into basis.
| What happened with the debt | Amount |
|---|---|
| Mortgage the other party takes over (your old debt) | — |
| Mortgage you take on (new debt) | — |
| Cash you put in + other property you throw in | — |
| Leftover debt relief that counts like cash received (boot piece, if any) | — |
| Extra you put in after netting (into basis) | — |
If they take on more of your mortgage than you take on theirs (after cash and other property you put in), that leftover debt relief counts like cash you received — boot.
After the TCJA, §1031 is generally limited to real property held for business or investment — not your personal home, not inventory you flip, and usually not equipment or securities. Improved for unimproved U.S. real estate can still be like-kind.
If you do not swap same-day, you are in a deferred exchange. Two clocks run from the day you transfer the property you give up: you must identify the replacement in writing within 45 days, and you must receive it by the earlier of 180 days or your return due date (including extensions). Cite: Pub 544 · Form 8824 lines 5–6 · Reg. §1.1031(k)-1.
§1035 lets certain exchanges of life insurance, endowment, and annuity contracts happen without current gain or loss. It is about insurance and annuity product swaps — not land or buildings.
Keep the labels straight on the exam: §1031 = like-kind real property; §1035 = insurance / endowment / annuity contracts.
Teaching tool only — not an IRS calculator or tax software. Interactive math is a simplified Form 8824 / IRC §1031(d) teaching model (Pub 544 themes). It does not model depreciation recapture (Form 8824 lines 21–22), §121 home exclusion overlays, related-party two-year lookbacks, multi-asset grouping, qualified intermediaries / QEAA mechanics, foreign real property, or incidental personal property (15% QI rule). “Real property” also has a regulatory definition this sketch does not litigate. Verify against current Form 8824 instructions and Pub 544 before advising a client.