IRS Form 8824 and 1031 Like-Kind Exchange: How to Defer Capital Gains Tax on Investment Property
A comprehensive guide to the six requirements of a valid 1031 exchange, how to complete Form 8824 line by line with worked examples, boot calculations, post-exchange basis formulas, and the rules that disqualify an exchange.
What Is a 1031 Like-Kind Exchange?
A 1031 like-kind exchange, named after Section 1031 of the Internal Revenue Code, allows real estate investors to sell an investment property and reinvest the proceeds into a replacement property of equal or greater value — deferring both capital gains tax and depreciation recapture tax. The deferred taxes carry forward into the replacement property through a reduced basis rather than being owed in the year of sale.
The principle behind Section 1031 is straightforward: if you haven't fundamentally changed your investment position — you simply swapped one investment property for another — the government defers the tax until you actually "cash out." On a property with $250,000 in combined gains, the tax deferral from a single 1031 exchange can easily exceed $60,000–$90,000 in combined federal and state taxes.
Every 1031 exchange must be reported to the IRS on Form 8824 (Like-Kind Exchanges), filed with your tax return for the year you transferred the relinquished property — even if the entire gain is deferred and no tax is currently owed. Failure to file Form 8824 can result in the IRS disregarding the exchange entirely and treating the transaction as a fully taxable sale.
Form 8824 serves three purposes: it verifies the exchange qualifies under Section 1031, it calculates any recognized gain (the taxable portion, if any), and it establishes the tax basis of the replacement property for future depreciation and eventual sale.
Legislative History: From 1921 to Today
Understanding the legislative arc provides critical context for interpreting today's rules.
The like-kind exchange provision entered the tax code as Section 202(c), allowing investors to defer capital gains when exchanging similar property. It covered both real and personal property.
Renumbered to Section 112(b)(1) with minor refinements. Core tax-deferral mechanism remained intact.
Renumbered to Section 1031, establishing the terminology used today and laying the structural foundation for modern exchange rules.
The landmark case that created the modern deferred exchange. T.J. Starker transferred timberland to Crown Zellerbach in exchange for replacement properties received over several years. The IRS argued the exchange had to be simultaneous; the Ninth Circuit ruled that Section 1031 did not require simultaneity. This opened the door to non-simultaneous "Starker exchanges."
Responding to the uncertainty created by the Starker decision, Congress codified time limits for deferred exchanges: 45 days to identify replacement property and 180 days to complete the exchange. It also added the related-party rules under Section 1031(f), imposing a two-year holding requirement on related-party exchanges.
Treasury issued final regulations under Reg. §1.1031(k)-1, defining the 45-day identification rules (three-property rule, 200% rule, 95% rule), the Qualified Intermediary role, and safe harbors against constructive receipt. This is the operational backbone of every 1031 exchange today.
Tightened rules around foreign property. After 2004, U.S. real property can only be exchanged for U.S. real property, and foreign real property for foreign real property. Cross-border exchanges were eliminated.
The most significant modern change. Effective January 1, 2018, Section 1031 was restricted exclusively to real property. All personal property exchanges — equipment, vehicles, artwork, livestock, collectibles — were eliminated from like-kind exchange treatment.
IRS issued final regulations under Reg. §1.1031(a)-3 clarifying what qualifies as "real property" for 1031 purposes: land, buildings, inherently permanent structures, structural components, fixtures, and certain intangible real property interests. These apply to exchanges after December 2, 2020.
How the 2017 Tax Cuts and Jobs Act Changed 1031 Exchanges
The TCJA is the most significant restriction to Section 1031 in its hundred-year history.
Before January 1, 2018, Section 1031 applied broadly to both real and personal property held for business or investment. Investors could defer gains on like-kind exchanges of equipment, fleet vehicles, aircraft, artwork, and even livestock. The TCJA eliminated all of these. After 2018, only real property qualifies.
This directly affects who can use Form 8824 and for what. If you exchanged personal property — machinery, a vehicle fleet, restaurant equipment — you cannot report it on Form 8824 as a like-kind exchange. It must be reported as an ordinary sale, and the gain is fully taxable in the year of disposition.
The restriction to real property also raised a classification question: what exactly counts as "real property" when a building contains components that could arguably be personal property? The IRS addressed this in the 2020 final regulations (T.D. 9935), discussed in the next section.
The Six Fundamental Requirements for a Valid 1031 Exchange
For a 1031 exchange to qualify for tax deferral, every one of the following requirements must be met. Fail any single one and the entire transaction is treated as a taxable sale.
1. Qualifying Taxpayer
The taxpayer who sells the relinquished property must be the same taxpayer who acquires the replacement property. Individuals, C corps, S corps, partnerships, LLCs, and trusts can all exchange. Dealers who hold property primarily for sale (inventory) do not qualify.
2. Like-Kind Real Property
Both properties must be real property of a like kind. The definition is broad: a single-family rental can be exchanged for an apartment building, vacant land, a commercial office, or a DST interest. "Like kind" refers to the nature of the investment (real estate for real estate), not the form.
3. Qualifying Purpose
Both properties must be held for productive use in a trade or business or for investment. A primary residence does not qualify (while held for personal use). Properties held primarily for sale — flips, dealer inventory — are excluded. A vacation home may qualify under specific safe harbor rules (Rev. Proc. 2008-16).
4. Exchange Structure
The transaction must be structured as an exchange, not a sale followed by a purchase. In a deferred exchange, a Qualified Intermediary must hold the proceeds. If you take actual or constructive receipt of the funds, the exchange is disqualified.
5. Timeline Compliance
The 45-day identification period and 180-day exchange period must both be met. These are calendar days — no extensions for weekends or holidays. The clock starts on the day the relinquished property is transferred, and there are no exceptions.
6. Proper Reporting
The exchange must be reported on IRS Form 8824, filed with the tax return for the year the relinquished property was transferred. If the replacement property is received in the following tax year, you may need to file for an extension. Failure to file Form 8824 can void the exchange.
What Qualifies as "Real Property" Under Current IRS Regulations
The 2020 final regulations under T.D. 9935 (Reg. §1.1031(a)-3) provide the definitive answer to what counts as real property for 1031 purposes. This matters because since the TCJA restricted Section 1031 to real property only, the line between "real property" and "personal property" determines whether an asset qualifies for deferral.
Under the regulations, real property includes: land; buildings and inherently permanent structures; structural components (walls, floors, plumbing, electrical, HVAC, elevators); permanently affixed fixtures; and certain intangible interests such as leaseholds and easements.
The regulations provide a "fact-intensive" test for borderline items. A gas line serving the building's heating system is a structural component (real property); one serving standalone cooking equipment may be personal property. Built-in cabinetry may qualify as a fixture; freestanding furniture does not.
Deferred Exchange Mechanics: Timelines, Identification Rules, and Qualified Intermediaries
The 45-Day Identification Period
Starting from the day you transfer the relinquished property, you have exactly 45 calendar days to identify potential replacement properties in writing. The identification must be signed by you and delivered to a party involved in the exchange (typically the Qualified Intermediary) — not to a disqualified person such as your agent or attorney.
You can identify properties using one of three rules established by Reg. §1.1031(k)-1:
| Identification Rule | What It Allows | When to Use It |
|---|---|---|
| Three-Property Rule | Identify up to 3 properties, regardless of their combined value | Most common; simple and flexible |
| 200% Rule | Identify any number of properties, as long as combined FMV does not exceed 200% of the relinquished property's FMV | When you need more than 3 options but values are moderate |
| 95% Rule | Identify any number at any value, but you must acquire at least 95% of the total value identified | Rarely used; high risk if any deal falls through |
If you violate the identification rules — for example, identifying four properties without meeting the 200% or 95% thresholds — the identification is invalid and the exchange fails entirely.
The 180-Day Exchange Period
You must close on the replacement property within 180 calendar days of transferring the relinquished property, or by the due date (including extensions) of your tax return for the year of the transfer, whichever is earlier. If you sell your property on October 15 and file your return on April 15 without an extension, your exchange period is cut short. Filing an extension is standard practice for exchanges that cross tax years.
The Qualified Intermediary (QI)
In a deferred exchange, a Qualified Intermediary is legally required. The QI holds the sale proceeds in a segregated account and uses them to acquire the replacement property. If you receive the funds directly, even briefly, the exchange is disqualified under the constructive receipt doctrine.
The QI must be independent. Disqualified persons include your attorney, CPA, financial advisor, real estate agent, employee, or anyone who has served in those roles within the prior two years. Verify the QI carries adequate E&O insurance and holds funds in a federally insured, segregated account.
Line-by-Line Guide to Completing Form 8824
Form 8824 is divided into four parts. Most investors will complete Parts I and III. Part II applies only to related-party exchanges, and Part IV is for certain federal government officials — it does not apply to standard 1031 transactions.
Part I — Information on the Like-Kind Exchange (Lines 1–7)
Line 1: Description of the like-kind property you gave up (the relinquished property). Enter the street address and property type — for example, "Residential rental, 123 Oak Street, Austin, TX." If the property is located outside the U.S., include the country.
Line 2: Description of the like-kind property you received (the replacement property). Same format as Line 1.
Line 3: Date you originally acquired the relinquished property.
Line 4: Date you actually transferred the relinquished property to the other party. This is the closing date on the sale — the date the clock starts for both the 45-day and 180-day periods.
Line 5: Date you identified the replacement property in writing. The IRS uses this to verify you met the 45-day identification requirement. If this date is more than 45 days after Line 4, the exchange fails.
Line 6: Date you actually received the replacement property. Must be within 180 days of Line 4.
Line 7: Whether the exchange involved a related party. If "Yes," complete Part II.
Part II — Related Party Exchange Information (Lines 8–11)
This section applies only if you answered "Yes" on Line 7. You must identify the related party, their relationship to you, and disclose whether either party disposed of the property within two years of the exchange. If the two-year holding requirement is violated and no exception applies, the deferred gain from Line 24 must be reported as taxable income. You must file Form 8824 for the two years following the exchange year to track this.
Part III — Realized Gain, Recognized Gain, and Basis of Like-Kind Property (Lines 12–25)
This is the calculation engine of the form. It determines how much gain you realized, how much is taxable now (if any), how much is deferred, and what your basis is in the new property.
Lines 12–14: Only used if you exchanged non-like-kind ("other") property alongside the like-kind property. Enter the FMV of the non-like-kind property received (Line 12), its adjusted basis (Line 13), and the gain or loss (Line 14). Skip these lines if the exchange involved only like-kind real property.
Line 15: This is the boot line. Enter the sum of: cash received + FMV of other (non-like-kind) property received + net liabilities assumed by the other party (your debt relief minus the debt you assumed), reduced by exchange expenses you paid. If the result is negative, enter zero. This number represents your total boot — the portion of the exchange proceeds that was not reinvested in like-kind property.
Line 16: FMV of the like-kind property you received.
Line 17: Add Lines 15 and 16. This is the total value you received.
Line 18: Adjusted basis of the like-kind property you gave up. This is your original cost basis, plus capital improvements, minus accumulated depreciation.
Line 19: Realized gain or loss. Subtract Line 18 from Line 17. This is the total gain that exists in the transaction — not the amount you'll owe tax on.
Line 20: Enter the smaller of Line 15 (boot) or Line 19 (realized gain), but not less than zero. This is your recognized gain — the amount that is actually taxable in the current year.
Line 21: Ordinary income recapture under the depreciation recapture rules. If applicable, use Form 4797 Part III as a worksheet. For most residential rental exchanges where both properties are depreciable real property, there is no recapture.
Line 22: Subtract Line 20 from Line 19. This is your deferred gain — the portion of the gain that rolls forward into the replacement property.
Line 23: If the exchange is with a related party and no exception on Line 11 applies, enter the deferred gain here. This amount may become taxable if the two-year rule is violated.
Line 25: Basis of the like-kind property received. This is the single most important output of the form — it determines your depreciation on the replacement property and your gain calculation at the next sale.
+ exchange expenses paid
+ boot paid (cash or additional debt)
− boot received
+ recognized gain
Complete Worked Example: Exchange With Boot
Let's walk through a realistic 1031 exchange from start to finish. This example shows how boot works, how gain is split between recognized and deferred, and how the replacement basis is calculated.
You own a rental duplex at 100 Elm Street that you purchased in 2014 for $300,000. Over the years, you claimed $87,273 in depreciation, bringing your adjusted basis to $212,727. You sell the duplex for $475,000, with $25,000 in selling costs. You identify and acquire a replacement fourplex at 200 Pine Avenue for $550,000, taking on a new $330,000 mortgage. Your old property had a $180,000 mortgage. As part of the deal, you also receive $15,000 in cash from the buyer.
Step 1: Calculate Realized Gain
| Item | Amount |
|---|---|
| Sale price of relinquished property | $475,000 |
| Selling costs | −$25,000 |
| Net sale price | $450,000 |
| Adjusted basis (cost − depreciation) | $212,727 |
| Realized gain (Line 19) | $237,273 |
Step 2: Calculate Boot (Line 15)
| Boot Component | Amount |
|---|---|
| Cash received from buyer | $15,000 |
| Mortgage relief (old mortgage paid off) | $180,000 |
| Less: new mortgage assumed | −$330,000 |
| Net mortgage boot (cannot be less than $0) | $0 |
| Total boot (Line 15) | $15,000 |
The net mortgage boot is zero because you took on more debt ($330,000) than you were relieved of ($180,000). The excess mortgage assumed ($150,000) cannot offset the cash boot — mortgage boot and cash boot are calculated separately, and neither can go below zero. The $15,000 in cash is your total boot.
Step 3: Recognized Gain (Line 20)
Recognized gain = $15,000
You owe tax on $15,000 in the year of the exchange. The remaining $222,273 is deferred.
Step 4: Basis in Replacement Property (Line 25)
+ $25,000 (exchange expenses)
− $15,000 (boot received)
+ $15,000 (recognized gain)
+ $150,000 (excess mortgage assumed: $330K − $180K)
Basis in replacement property = $387,727
Notice that the basis ($387,727) is lower than the purchase price ($550,000). The $162,273 difference represents your deferred gain, embedded in the lower basis. When you eventually sell the replacement property without doing another exchange, that deferred gain becomes taxable.
Calculating Your New Tax Basis After a 1031 Exchange
The replacement property's basis is the cornerstone of your future tax position. It determines your annual depreciation deduction and your gain when you eventually sell. Getting it wrong — even by a small amount — compounds into larger errors over time.
The general formula:
− boot received
+ boot paid
+ recognized gain
+ exchange expenses
In a fully tax-deferred exchange where no boot is received, the basis simply carries over from the old property plus any additional cash invested. The deferred gain sits embedded in the gap between the replacement property's market value and its adjusted basis.
For depreciation purposes, the replacement property's basis is split into two schedules: the carryover basis from the relinquished property continues the old depreciation schedule for the remaining useful life, and any "excess basis" (additional money invested above the carryover) starts a new 27.5-year schedule. Both are allocated proportionally between land and building.
Related Party Exchange Rules and Restrictions
Under Section 1031(f), exchanges with related parties face an additional requirement: both parties must hold the property received in the exchange for at least two years after the last transfer. If either party disposes of the property within the two-year window, the deferred gain becomes immediately taxable — unless an exception applies (death of either party, involuntary conversion, or the IRS is satisfied that tax avoidance was not the principal purpose).
"Related parties" under IRC §267(b) and §707(b)(1) include: siblings, spouse, ancestors, lineal descendants, and entities with more than 50% common ownership. It does not include in-laws, step-siblings, or unrelated business partners.
If you exchange with a related party, you must file Form 8824 for the exchange year and the next two years. If either party disposes within the two-year period and no exception applies, the deferred gain is reported in the year of disposition.
Can You Exchange a Vacation Home? Safe Harbor Rules
A property used purely as a personal vacation home does not qualify for a 1031 exchange — it doesn't meet the "held for investment or business use" requirement. However, the IRS provided a safe harbor under Rev. Proc. 2008-16 for properties that are rented and also used personally.
To qualify under the safe harbor, the property must meet these requirements in each of the two 12-month periods immediately before the exchange:
The property must be rented at fair market value for at least 14 days during each 12-month period. Your personal use of the property cannot exceed 14 days or 10% of the number of days it was rented at fair value, whichever is greater, during each period.
The same conditions apply to the replacement property for the two 12-month periods after the exchange. If you plan to use the replacement property as a vacation home, you must continue to rent it and limit personal use for two full years after acquisition.
This means if you buy a beach condo through a 1031 exchange and immediately start using it every weekend, you'll fall outside the safe harbor and risk the exchange being invalidated.
Combining Section 121 Exclusion With a 1031 Exchange
An advanced strategy involves converting an investment property into a primary residence (or vice versa) and combining the Section 121 capital gains exclusion with a 1031 exchange.
Section 121 allows up to $250,000 ($500,000 MFJ) in capital gains excluded when selling a primary residence you've lived in for two of the past five years. The exclusion applies only to capital gains — depreciation recapture remains taxable.
The combination works like this: acquire a replacement property through a 1031 exchange, convert it to your primary residence, live in it for at least two years, then sell. You may exclude a portion of capital gain under Section 121 while the recapture remains taxable.
Key limitation: under Section 121(d)(10), if you acquired the property through a 1031 exchange, you must hold it for at least five years before Section 121 applies. And gain allocated to periods of non-qualified use (when it was a rental) may not be excludable.
Foreign Property Restrictions in 1031 Exchanges
Since the American Jobs Creation Act of 2004, Section 1031(h) requires that U.S. real property be exchanged for U.S. real property, and foreign real property for foreign real property. You cannot exchange a Texas rental for a property in Mexico — the exchange is disqualified entirely. This restriction is absolute regardless of whether both properties otherwise qualify.
Common Audit Triggers and How to Avoid Them
The IRS examines 1031 exchanges for specific compliance issues. Here's what they look for.
Inconsistent timelines. If dates on Lines 4, 5, and 6 don't align with the 45/180-day rules, the exchange fails on its face. Double-check against your closing statements.
Boot miscalculations. Understating boot — particularly mortgage boot from net debt relief — is common. If your old mortgage was $250K and the new one is $200K, you have $50K in mortgage boot for Line 15.
Missing QI documentation. The IRS can request your QI agreement, escrow statements, and identification letter. No QI or an agreement allowing constructive receipt = invalid exchange.
Related-party violations. Failing to file Form 8824 for the two years after a related-party exchange, or having a related party dispose of the property within the holding period, are red flags.
Failure to report partial exchanges. If you received any boot and didn't report the recognized gain, the IRS will catch the discrepancy between the closing statements and your return.
Personal-use property disguised as investment. If the relinquished or replacement property was primarily used for personal purposes (such as a vacation home that doesn't meet the Rev. Proc. 2008-16 safe harbor), the exchange doesn't qualify.
Frequently Asked Questions
What changed for 1031 exchanges after the Tax Cuts and Jobs Act of 2017?
Effective January 1, 2018, Section 1031 was restricted to real property only. Personal property exchanges — equipment, vehicles, artwork, livestock — no longer qualify. Only real property held for business or investment use can be exchanged on a tax-deferred basis.
What are the exact deadlines for a 1031 exchange?
You have 45 calendar days from the transfer of the relinquished property to identify replacement properties in writing. You have 180 calendar days from the transfer (or the due date of your tax return, whichever is earlier) to close on the replacement. Both deadlines are absolute — weekends and holidays do not extend them. File a tax return extension if your exchange crosses tax years.
What is a Qualified Intermediary and why do I need one?
A QI is an independent third party who holds the sale proceeds and acquires the replacement property on your behalf. If you touch the money, even briefly, the exchange fails. The QI cannot be your attorney, CPA, agent, or employee — or anyone who has served in those roles within two years. Set up the QI before the sale closes.
Can I do a 1031 exchange with a family member or related party?
Yes, but both parties must hold the property received for at least two years under Section 1031(f). If either party disposes of the property before the two-year mark, the deferred gain becomes immediately taxable. Related parties include siblings, spouse, parents, children, and entities with more than 50% common ownership, as defined under IRC §267(b) and §707(b).
How do I calculate boot in a 1031 exchange?
Boot is everything you received that isn't like-kind real property: cash, non-like-kind property, and net debt relief (when your old mortgage exceeds your new one). Boot triggers recognized gain equal to the lesser of the boot amount or your total realized gain. You can offset mortgage boot by adding cash or taking on additional debt on the replacement property.
What is the three-property rule for identifying replacement properties?
You can identify up to three replacement properties, regardless of their combined value. Alternatively, you can use the 200% Rule (any number of properties, combined FMV under 200% of the relinquished property) or the 95% Rule (any number at any value, but you must close on at least 95%). Most investors use the Three-Property Rule.
Can I exchange a vacation home or second home under Section 1031?
Possibly, under Rev. Proc. 2008-16. The property must be rented at fair market value for at least 14 days in each of the two 12-month periods before the exchange, and personal use cannot exceed 14 days or 10% of rental days. The same applies to the replacement property for two years after the exchange. A purely personal-use vacation home does not qualify.
What happens if my 1031 exchange is disqualified by the IRS?
The entire transaction becomes a taxable sale in the year of the original transfer. You owe capital gains tax, depreciation recapture (up to 25%), the 3.8% NIIT if applicable, and state income tax. Penalties and interest accrue from the original due date. The most common causes: missed deadlines, constructive receipt of funds, or failure to file Form 8824.
How do I calculate my new tax basis after a 1031 exchange?
Basis of replacement property = adjusted basis of relinquished property − boot received + boot paid + recognized gain + exchange expenses. This carryover basis will be lower than the replacement property's purchase price — the difference is your deferred gain. That deferred gain becomes taxable when you eventually sell without exchanging again.
Can I exchange U.S. property for foreign property?
No. Since 2004, U.S. real property must be exchanged for U.S. real property, and foreign real property for foreign real property. Cross-border exchanges are prohibited under Section 1031(h), regardless of whether both properties otherwise qualify.
A 1031 exchange is one of the most powerful tax-deferral tools in real estate, but it runs on precision. Get the QI in place before you list. Identify within 45 days. Close within 180. File Form 8824 with your return. Keep a complete paper trail — every number should tie to a source document. If you're dealing with related parties, vacation properties, or cross-state transactions, involve a tax professional early. The cost of advice is a fraction of a failed exchange.
