Real estate taxes for owners and landlords Lesson 3 of 4
Taxes · Taxes by asset
Like-kind exchanges (section 1031): deadlines, boot and basis
How a 1031 exchange of investment real estate defers tax: what qualifies since 2018, the 45- and 180-day deadlines, the intermediary, boot, Form 8824 and the new basis.
On this page
- What qualifies after 2017
- How a deferred exchange works
- Boot and debt relief: the worked exchange
- Related parties
- Reverse exchanges in brief
- Reporting on Form 8824
- Later: a sale, or a death
- Pitfalls
- What stock investors confuse it with
- How Finabase does it
- Frequently asked questions
- Summary
- Check your understanding
- Exercise
A like-kind exchange lets the owner of investment or business real estate sell one property and buy another without paying tax on the gain at the time. Section 1031 of the Internal Revenue Code says no gain or loss is recognized when real property held for investment or business use is exchanged solely for real property of a like kind. The gain is not forgiven. It moves into the new property through a lower cost basis and waits there until a taxable sale, or until the owner dies.
For exchanges completed after December 31, 2017, the rule covers real property only: no equipment, no vehicles, no art and, as before, no stocks or bonds. What remains is a set of strict mechanics: two deadlines fixed in the statute, an intermediary who must hold the cash, and a taxable part, called boot, that counts mortgage relief as cash. This lesson covers each for tax year 2026, under US federal law, with a full worked exchange, then related parties, reverse exchanges, Form 8824, what happens to the deferred gain later, and why none of it applies to shares. The people and properties are invented; real exchanges turn on contracts and facts that a tax professional and a qualified intermediary decide.
What qualifies after 2017
Section 1031(a)(1) requires that the property given up is real property held for use in a trade or business or for investment, that it is exchanged solely for real property of a like kind, and that the property received is also held for business use or investment. Section 1031(a)(2) excludes real property held primarily for sale, such as a builder's inventory or a flipper's houses.
"Like kind" is broad for real estate. Publication 544 says real properties are like kind whatever their grade or quality: city property for farmland, improved for unimproved, an apartment building for raw land. The one geographic limit is § 1031(h): US and foreign real property are never like kind.
| Qualifies (held for investment or business use) | Does not qualify |
|---|---|
| Rental houses, apartment and office buildings | A home used only as your residence |
| Land, improved or unimproved; farmland | Real estate held primarily for sale |
| A real estate lease of 30 years or more | US real estate for foreign real estate, or the reverse |
| Stock in a cooperative housing corporation | Stock, bonds, notes and other securities, incl. REIT shares |
| Structural components; easements | Partnership interests; equipment, vehicles, art (since 2018) |
The Form 8824 instructions summarize the definition in Treas. Reg. § 1.1031(a)-3: land, buildings and their structural components, and anything state law classifies as real property, except a list of intangibles that never qualify whatever state law says: stock (other than co-op housing stock and certain irrigation company shares), bonds, notes, other securities, partnership interests and trust certificates. A REIT owns buildings, but a REIT share is stock. Personal property that comes with a building, such as furniture, is not like-kind property and is taxed as boot when received, although in a deferred exchange it is disregarded in testing the intermediary agreement if it is worth no more than 15% of the replacement real property.
Three more points catch owners by surprise:
- It is not optional. The statute says no gain or loss is recognized, so a property traded at a loss gives no deduction; its basis carries into the new property.
- Use is tested on both sides. A rental traded for a house the owner moves into fails. Revenue Procedure 2008-16 gives a safe harbor for some dwelling units, such as rented vacation homes, that meet its rental and personal-use conditions.
- A home bought in an exchange keeps a mark. The Schedule D instructions deny the home-sale exclusion on a main home acquired in a like-kind exchange with deferred gain and sold within 5 years of that acquisition.
How a deferred exchange works
Same-day swaps of deeds are rare. Almost every exchange is deferred: the owner sells the old (relinquished) property to a buyer for cash and later receives the new (replacement) property from a different seller. A sale for cash is a sale, not an exchange, so the regulations supply safe harbors, the main one being the qualified intermediary.
The qualified intermediary and constructive receipt
Under Treas. Reg. § 1.1031(k)-1(f), you are in constructive receipt of money as soon as it is credited to your account, set apart for you, or available to draw on, even with notice. Money received by your agent counts as received by you. Actual or constructive receipt of the proceeds before the replacement arrives turns the transaction into a sale, even if the replacement is bought a week later.
A qualified intermediary (QI) breaks that link. Under § 1.1031(k)-1(g)(4), it is a person who is not you or a disqualified person, who signs a written exchange agreement with you and, under it, acquires and transfers both properties, usually by taking assignment of the contracts while the deeds pass directly. The agreement must deny you any right to receive, pledge, borrow or otherwise benefit from the money it holds, except after the 45 days if nothing was identified, after you receive all the identified property, or on a written contingency outside your control.
A disqualified person includes anyone who has acted as your employee, attorney, accountant, investment banker or broker, or real estate agent or broker within the two years before the first transfer (work on earlier exchanges and routine title, escrow or banking services excepted), and relatives and related companies. If a QI fails, the exchange can fail with it; Revenue Procedure 2010-14 gives some relief when the failure comes from bankruptcy or receivership.
Day 45: identifying the replacement
The identification period ends at midnight on the 45th day after the transfer (Reg. § 1.1031(k)-1(b)(2)). By then the replacement must be named in a signed written document delivered to the person obligated to transfer it or to another party to the exchange, such as the QI or a title company, but not a disqualified person. It must be unambiguous: a legal description, street address or distinguishable name. Property received within the 45 days counts as identified. A written revocation before the deadline is valid; an oral one is not. The limits:
- Three-property rule: any three properties, whatever their value.
- 200% rule: any number, if their combined market value is no more than 200% of the value of everything relinquished.
- 95% rule: a list that breaks both limits counts as no identification, unless identified properties worth at least 95% of the whole list are actually acquired.
Selling a $900,000 building, an owner could name three properties of any size, or ten that add up to no more than $1,800,000.
Day 180: receiving it
The exchange period ends at midnight on the earlier of the 180th day or the due date, including extensions, of the return for the year of the transfer (§ 1031(a)(3)), and the property received must be substantially the same as the property identified. The statute makes no allowance for a late seller or lender: property received late is not like kind, and the transaction is a sale.
The return due date bites late in the year. After a sale on November 16, 2026, day 180 is May 15, 2027, but the 2026 return is due April 15, 2027. Without an extension the exchange period ends on April 15; the regulation's own example shows an extension restoring the full 180 days.
Boot and debt relief: the worked exchange
If an exchange is not solely for like-kind property, § 1031(b) taxes the gain up to the money and the value of other property received, called boot. Under § 1031(d), a liability of yours that the other side takes over counts as money received. Publication 544 lets you net it against liabilities you take on with the replacement and cash you pay in, but not below zero. Exchange expenses reduce the amount realized. The recognized gain is the smaller of the realized gain and the boot.
Had they assumed a mortgage of $300,000 or more and left the $50,000 with the QI toward a dearer building, nothing would be taxable now. Trading down in equity or debt creates boot. The regulation adds a timing trap: cash taken from the intermediary during the exchange is boot even if the same amount is paid back at the replacement closing (§ 1.1031(k)-1(j)(3), Example 2).
What the exchange saved in 2026
Assume $150,000 of other taxable income from wages and no net rental income for the year, with the 2026 brackets in Tax brackets for investors: how gains and dividends stack in 2026 and the $32,200 standard deduction:
| 2026 federal tax added | Taxable sale of the old building | The exchange |
|---|---|---|
| Gain taxed this year | $520,000 | $70,000 |
| Income tax on the gain | $93,087 | $15,572 |
| 3.8% NIIT | $17,183.60 | $83.60 |
| Total | $110,270.60 | $15,655.60 |
In the sale, the first $150,000, the part that reflects depreciation, is unrecaptured section 1250 gain, taxed at ordinary rates capped at 25%; the other $370,000 is taxed at 15%, and 20% above $613,700 of taxable income. The Net investment income tax (NIIT): the 3.8% surtax in depth reaches $452,200, the excess of modified AGI of $702,200 over $250,000. In the exchange, the Schedule D worksheet treats the $70,000 as depreciation-related gain (the smaller of the depreciation and the gain), taxed here at 22% and 24%. The exchange cut the year's tax by $94,615, deferred until a taxable sale of the replacement.
Related parties
Under § 1031(f), if you exchange with a related person and either of you disposes of the property received within two years after the last transfer, the deferral is undone as of that later disposition. The Form 8824 instructions list a spouse, child, grandchild, parent, grandparent, brother or sister, and related corporations, partnerships, trusts, estates and tax-exempt organizations. The deferral survives a disposition after either party's death, an involuntary conversion threatened only after the exchange, or a showing that tax avoidance was not a principal purpose. The two years stop running while risk of loss is reduced by a put, another person's option to buy or a short sale. An exchange structured to avoid the rule, such as buying through a QI a property a relative sells for cash, is not a like-kind exchange. Form 8824 is filed for the exchange year and the two years after.
Reverse exchanges in brief
Buying the replacement first does not qualify on its own. Revenue Procedure 2000-37, as modified by Revenue Procedure 2004-51, gives a safe harbor, the qualified exchange accommodation arrangement, which Publication 544 summarizes. An exchange accommodation titleholder (not you or a disqualified person, and subject to federal income tax) takes title to one property; a written agreement follows within 5 business days; the property to be given up is identified within 45 days; and within 180 days the replacement reaches you or the old property is sold, with no more than 180 days in the arrangement in total. It does not work for a replacement you owned in the 180 days before the titleholder took it.
Reporting on Form 8824
Every exchange goes on Form 8824 for the year the old property was transferred, even with no gain recognized. Parts I and II give the properties, the identification and receipt dates (lines 5 and 6) and the related-party questions. Part III, for Dana and Luis:
| Line | What it holds | Amount |
|---|---|---|
| 15 | Cash received plus net liabilities assumed by the other side | $70,000 |
| 16 | Market value of the like-kind property received | $800,000 |
| 18 | Adjusted basis given up, plus expenses and net amounts paid | $350,000 |
| 19 | Realized gain (15 + 16 − 18) | $520,000 |
| 20 | Smaller of lines 15 and 19: the gain to recognize | $70,000 |
| 24 | Deferred gain | $450,000 |
| 25 | Basis of the property received (18 + 23 − 15) | $350,000 |
The $30,000 of proceeds that paid the selling costs counts as cash on line 15 and is reduced there by the same $30,000 of exchange expenses. Line 21 takes ordinary income from §§ 1245 and 1250 recapture; for a building, section 1250 recapture is only depreciation faster than straight-line. The recognized gain goes to Form 4797 for property used in a business, including a rental, or to Schedule D.
Later: a sale, or a death
The replacement does not start fresh. Its basis is the carried-over $350,000, and Publication 544 says its holding period includes that of the property given up. The Form 8824 instructions describe unrecognized depreciation recapture as attaching to the replacement building.
A taxable sale. Say the couple claims $80,000 more depreciation and sells in 2031 for $1,000,000, ignoring costs. Basis is $350,000 − $80,000 = $270,000, and the gain is $730,000: the $450,000 deferred in 2026, the $80,000 of new depreciation and $200,000 of growth. Another exchange instead would carry the low basis forward again.
Holding until death. Under § 1014(a) the heir's basis is the property's market value at death, so the deferred gain, the depreciation and the growth are never taxed as income, and § 1250(d)(2) keeps section 1250 recapture from applying to a transfer at death. How much is stepped up at a spouse's death depends on title and state property law; see Step-up in basis: inherited stock, spouses and the exceptions.
Pitfalls
- Touching the money. Proceeds paid to you, your attorney or your broker are constructive receipt. An exchange agreement signed after the sale has closed comes too late.
- A sale late in the year with no extension. The exchange period can end on April 15.
- Over-identifying. A fourth property beyond 200% in total voids every identification unless 95% by value is acquired.
- Trading down. Less debt or less value on the replacement means boot.
- Trusting the intermediary blindly. Exchange funds sit with a private company for up to 180 days, and its failure can make the gain taxable.
What stock investors confuse it with
Before 2018, § 1031(a)(2) excluded stocks, bonds, notes and other securities by name; today the regulations exclude them from real property. There has never been a like-kind exchange for listed securities. Selling one fund to buy a similar one, or one REIT for another, is a sale reported on Form 8949 and taxed under the rules in Capital gains tax on stocks: 2026 rates, holding periods and basis.
| Rule | What it does | For stock? |
|---|---|---|
| § 1031 like-kind exchange | Defers gain and loss on real property traded for real property | No |
| Wash sale (§ 1091) | Disallows a loss when substantially identical stock is bought within 30 days | Yes, losses only |
| Qualified opportunity fund | Defers a gain invested in a QOF within 180 days; only the gain need go in | Yes |
| § 1043 conflict-of-interest sale | Defers gain when certain federal officials divest into Treasuries or approved funds within 60 days | Those officials only |
| Step-up in basis (§ 1014) | Resets basis to market value at death | Yes |
The opportunity fund is the nearest thing a stock investor has to an exchange, but only the gain is invested and the deferral ends. The Form 8824 instructions note that deferral for QOF interests bought before 2027 ends on December 31, 2026; the glossary entry covers investments from 2027.
How Finabase does it
Finabase tracks stock, ETF and fund portfolios. It does not track real estate, run exchanges, compute boot or keep a building's carried-over basis, and nothing in it replaces Form 8824 or a qualified intermediary. The capital gains tax calculator shows the 2026 or 2027 federal tax on a stock sale by band, with the 3.8% NIIT and an optional state rate. Its page says it leaves out the 25% rate on real estate depreciation, so it understates the tax on selling a depreciated building. The NIIT calculator shows how a large gain moves modified AGI over the threshold.
Frequently asked questions
Can I do a 1031 exchange with stocks or ETFs?
No. Since 2018 section 1031 covers only real property, and stock, bonds, other securities and partnership interests are excluded. REIT shares are stock.
What happens if I miss the 45-day or 180-day deadline?
The replacement is treated as not like kind, so the transaction is a taxable sale of the old property. The 180 days are also cut short by the return's due date unless the return is extended.
Is mortgage relief taxable in a 1031 exchange?
Yes, to the extent it is not offset. Debt the other side takes over or that is paid off from the proceeds counts as money received, reduced by debt taken on with the replacement and cash added, but not below zero.
What happens to the deferred gain when I die?
Heirs take a basis equal to market value at death (§ 1014), so gain deferred through one or more exchanges is never taxed as income.
Summary
Section 1031 defers tax on real property held for investment or business use when it is exchanged for other such real property; since 2018 nothing else qualifies, and securities never did. In a deferred exchange a qualified intermediary holds the proceeds, the replacement is identified within 45 days (three properties, or up to 200% of the value sold) and received within 180 days or by the return due date if earlier. Gain is recognized up to the boot, with net debt relief counted as cash: in the example, $70,000 of a $520,000 gain is taxed in 2026 and $450,000 deferred, leaving an $800,000 building with a $350,000 basis. Related parties must hold for two years, reverse exchanges need an accommodation titleholder, and every exchange goes on Form 8824. The deferred gain comes due on a taxable sale and disappears in a step-up at death.
Check your understanding
5 questions on this lesson. Each answer comes with the reason, and nothing is scored.
An investor sells $400,000 of an S&P 500 ETF and buys a different S&P 500 ETF the same day. Can she treat the trade as a 1031 exchange?
- Yes, because the two funds are of a like kind
- Yes, if a qualified intermediary holds the cash
- No, because section 1031 covers only real property and excludes securities
Show the answer
C. No, because section 1031 covers only real property and excludes securities Since 2018 section 1031 applies only to real property held for business or investment, and stock, bonds and other securities are excluded from the definition of real property. The sale is taxable.
A rental is sold on November 16, 2026, through a qualified intermediary, and the owner does not extend the 2026 return. When does the exchange period end?
- May 15, 2027, the 180th day
- April 15, 2027, the return due date
- December 31, 2026, the end of the tax year
Show the answer
B. April 15, 2027, the return due date The exchange period ends on the earlier of the 180th day and the due date of the return, including extensions. Without an extension, April 15, 2027 comes first.
An owner sells a building worth $900,000 and wants to identify five possible replacements. What keeps the identification valid?
- Nothing: no more than three properties may ever be identified
- The five together are worth no more than $1,800,000 at the end of the 45 days
- Each of the five is worth less than $900,000
Show the answer
B. The five together are worth no more than $1,800,000 at the end of the 45 days Beyond three properties, the 200% rule allows any number whose combined market value is no more than twice the value of the property given up.
A building with a $350,000 basis and a $300,000 mortgage is exchanged for one worth $800,000 that carries a $280,000 mortgage the owner assumes, and $50,000 of cash comes back. The realized gain is $520,000. How much is taxed now?
- $50,000, the cash
- $70,000, the cash plus $20,000 of net debt relief
- $520,000, because cash was received
Show the answer
B. $70,000, the cash plus $20,000 of net debt relief Debt relief counts as money received, netted against debt taken on, but not below zero. Boot is $50,000 + ($300,000 − $280,000), and the recognized gain is the smaller of boot and the realized gain.
An owner who deferred a $450,000 gain in an exchange dies holding the replacement property. What happens to the deferred gain?
- It is taxed on the final income tax return
- The heir takes over the low basis and pays it on a sale
- The heir takes a basis equal to market value at death, so it is never taxed as income
Show the answer
C. The heir takes a basis equal to market value at death, so it is never taxed as income Section 1014(a) sets the basis of property acquired from a decedent at its fair market value at death, and § 1250(d)(2) keeps recapture from applying to a transfer at death.
Exercise
One task to do in Finabase. Nothing is graded or saved.
With pencil and paper, rework Dana and Luis’s exchange: sale on March 2, 2026, $870,000 realized against a $350,000 basis, a $300,000 mortgage paid off. This time the QI puts all $570,000 toward an $850,000 building with the same $280,000 mortgage, so no cash comes back. Find day 45 and day 180, the boot, the gain taxed now, the deferred gain and the new basis.
What you should find
Day 45 is April 16 and day 180 is August 29, 2026, before the return’s due date. Boot is the $20,000 of net debt relief, so $20,000 of the $520,000 gain is taxed now and $500,000 deferred. The new basis is $850,000 − $500,000 = $350,000.
Sources and further reading
- 26 U.S. Code § 1031, Exchange of real property held for productive use or investment: (a) to (h), and the effective-date note to P.L. 115-97 § 13303 (exchanges completed after December 31, 2017) (Cornell LII, read 2026-11-30)
- Treas. Reg. § 1.1031(k)-1, Treatment of deferred exchanges: (b)(2) identification and exchange periods, (c)(4) 3-property, 200-percent and 95-percent rules, (c)(6) revocation, (f) constructive receipt, (g)(4) qualified intermediaries, (g)(6) limits on access to funds, (j)(3) examples, (k) disqualified persons (Cornell LII, read 2026-11-30)
- IRS — Instructions for Form 8824 (2026): real property only, definition of real property, deferred exchanges, related parties (line 7), lines 15 to 25, QEAA, property used as a home, QOF deferral period ending December 31, 2026 (page reviewed November 12, 2026)
- IRS — Publication 544 (2025), Sales and Other Dispositions of Assets: Like-Kind Exchanges, Deferred Exchange, Safe Harbors, QEAA (reverse exchanges), Partially Nontaxable Exchanges, Related Persons, holding period of property received in an exchange
- IRS — Publication 551 (12-2025), Basis of Assets: Like-Kind Exchanges of Real Property, exchange expenses
- IRS — 2025 Instructions for Schedule D (Form 1040): sale of a home acquired in a like-kind exchange within 5 years; Unrecaptured Section 1250 Gain Worksheet
- IRS — 2025 Instructions for Form 4797: investing a gain in a qualified opportunity fund within 180 days
- 26 U.S. Code § 1014(a), basis of property acquired from a decedent; § 1250(d)(2), no section 1250 recapture on a transfer at death (Cornell LII, read 2026-11-30)
- IRS — Rev. Proc. 2025-32: 2026 rate tables, capital gain thresholds and standard deduction used in the tax comparison
- 26 U.S. Code § 1411, Net investment income tax (Cornell LII)
