Trading real estate without cashing out

§1031 like-kind exchanges — when you can wait to pay tax on the built-in profit

In plain English

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.

How to walk through it: Check whether the deal qualifies, then plug in the properties and any cash or mortgages and watch realized, recognized, deferred, and new basis update.

Try a deal

Defaults echo the Taylor/Finley apartment example in the 2025 Form 8824 instructions (Taylor’s side) so you can sanity-check the math.

What you give up
What you receive (like-kind)
Cash and other extras (boot pieces)

What happens with these numbers

In plain English
Gain you report this year
—
Full economic profit
—
Realized gain (loss)
Boot — not like-kind
—
Cash, other property, or net debt relief
Taxed this year
—
Lesser of profit or boot
Parked for later
—
Deferred gain (loss)
Tax stake in new property
—
Substituted basis
Realized Recognized (taxed now) Deferred
Key totals
If you want the Form 8824 line numbers

Teaching approximation of Part III lines 15–25. Recapture (§1245 / §1250 on lines 21–22) is not modeled.

    Substitute basis — what it is (§1031(d))

    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.

      How the mortgages net

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

      Does this deal qualify?

      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.

      Usually in
      • Real property held for a trade or business
      • Real property held for investment (rental land, commercial building)
      • U.S. real property for other U.S. real property
      Usually out
      • Personal-use property (main home used only as a residence)
      • Property held primarily for sale (dealer / inventory)
      • Stocks, bonds, partnership interests, most securities
      • Most personal property (equipment-for-equipment is generally not §1031 anymore)

      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.

      Common exam trap: Mixing the clocks — identification is 45 days; receipt is the earlier of 180 days or the return due date with extensions. Missing either can blow the deferral. Also: only net mortgage relief is boot (not the gross old mortgage), realized is not the same as recognized, and deferred gain lowers your basis in the new property so the tax is waiting, not erased.

      Not the same thing: §1035

      Insurance swaps, not real estate

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

      ← All study tools Asset dispositions Diagnostic home

      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.