Form 8824 is where a 1031 exchange becomes a tax filing. It reports the exchange, figures the gain deferred, the gain recognized if you took boot, and the basis of the replacement property. This guide walks it line by line — Parts I, II and III — using the calculator’s $1,000,000 example, so every line has a number on it.
Form 8824 (Like-Kind Exchanges) is attached to your tax return for the year in which you transferred the property you gave up. If the exchange was with a related party, you file it again for the two years after the year of the exchange. Parts I and III are the exchange itself; Part II is only for related parties; Part IV is only for federal conflict-of-interest sales under section 1043, which almost no reader of this page will ever use.
The arithmetic lives in Part III, lines 15 to 25. Line 19 is the gain realized, line 23 is the gain recognized, line 24 is the gain deferred, and line 25 is the basis of the property you received. In a full exchange line 23 is $0 — the whole gain is deferred. In a partial exchange, the boot is what lands on line 23. The worked example on this page is the calculator’s $1,000,000 sale: amount realized $940,000, gain $540,000, line 23 $0, line 24 $540,000 deferred, line 25 basis $460,000.
One correction before you start: many guides describe Part I as lines 1 to 9 and Part II as lines 10 to 14. That is not the form. On the actual 2026 Form 8824, Part I is lines 1 to 7, Part II is lines 8 to 11, and Part III is lines 12 to 25. Every line number on this page was checked against the form itself.
The form is two pages, four parts, and only three of them concern a 1031 exchange.
| Item | What it is |
|---|---|
| Form | Form 8824, Like-Kind Exchanges (and section 1043 conflict-of-interest sales), 2026 revision. OMB No. 1545-0074, Catalog No. 12311A, Attachment Sequence No. 109 on Form 1040. |
| Where it goes | Attached to your tax return for the year you transferred the property — Form 1040, 1120 or 1065, as applicable. File it again for the 2 years following the year of a related party exchange. |
| Part I — lines 1–7 | Information on the like-kind exchange: what was given up, what was received, the dates, and whether a related party was involved. |
| Part II — lines 8–11 | Related party exchange information. Complete it only if line 7 is “Yes.” |
| Part III — lines 12–25 | Realized gain or (loss), recognized gain, and basis of like-kind property received. This is where the numbers are figured. |
| Part IV — lines 26–38 | Deferral of gain from section 1043 conflict-of-interest sales. Only for officers and employees of the executive branch and judicial officers of the federal government (and certain spouses, minor or dependent children, and trustees) who sell under a certificate of divestiture. |
| Where the recognized gain goes | Line 21 (ordinary income under recapture rules) goes on Form 4797, line 17. Line 22 goes on Schedule D (capital assets) or Form 4797, line 5 or 17 (business property). Use the date of the exchange as the date for reporting the gain. |
| More than one exchange | You can file a summary on one Form 8824 and attach your own statement showing all the information requested for each exchange. On the summary form enter “Summary” on line 1, the total recognized gain from all exchanges on line 23, the total basis of all like-kind property received on line 25, and the applicable portions on lines 25a, 25b and 25c. |
The instructions say it in one sentence: if during the current tax year you transferred property to another party in a like-kind exchange, you must file Form 8824 with your tax return for that year. Also file Form 8824 for the 2 years following the year of a related party exchange. The timing rules that decide whether the exchange qualifies at all are separate from the filing deadline, and they are the ones that catch people.
The replacement property must be identified in writing within 45 days after the date you transferred the property you gave up. The written identification must describe the replacement property in a clear and recognizable manner — a legal description, street address or distinguishable name — and must reach the person required to transfer it (or another person involved in the exchange, other than a disqualified person) by day 45. If you received the replacement property before the end of the 45-day period, you are automatically treated as having met the requirement, and you enter the receipt date on line 5.
The replacement property must be received by the earlier of two dates: the 180th day after the date you transferred the property given up, or the due date (including extensions) of your tax return for the year in which you transferred it. The second half of that sentence is the trap. Transfer property on 15 November 2027 and the 180th day is 13 May 2028 — but an individual return is due 15 April 2028, so without an extension the deadline is 15 April 2028, not 13 May. File the extension to 15 October 2028 and the full 180 days apply, because 13 May 2028 is the earlier date. Neither deadline moves for weekends or holidays.
An exchange involving more than one group of like-kind properties — or the transfer or receipt of multiple properties within one like-kind group — is a multi-asset exchange, governed by Regulations section 1.1031(j)-1. If you transferred and received (a) more than one group of like-kind properties, or (b) cash or other (non-like-kind) property, do not complete lines 12 through 18 of Form 8824. Instead, attach your own statement showing how you figured the realized and recognized gain, and enter the correct amounts on lines 19 through 25, with the applicable basis allocation on lines 25a, 25b and 25c. Report recognized gains on Schedule D, Form 4797 or Form 6252, whichever applies.
Section 1031 does not apply to property used solely as your personal residence at the time of the exchange. But if you owned and used it as your main home for at least 2 years during the 5-year period ending on the exchange date, section 121 may exclude part or all of the gain. On the form, write “Section 121 exclusion” and the amount of the exclusion on line 19 — and do not reduce line 19 by the exclusion; the instructions give special rules for lines 20 and 25 instead. If the property was used partly as a home and partly for business or investment, use two separate Forms 8824 as worksheets (lines 15 through 25 only), combine the amounts on the Form 8824 you file, and do not file either worksheet. Revenue Procedure 2005-14 covers the mechanics; Revenue Procedure 2008-16 provides a safe harbor for mixed-use property.
If the installment method applies, section 453(f)(6) decides the installment sale income taxable for the year — report it on Form 6252, and enter the recapture amount from Form 8824, line 21 on Form 6252, line 25 or 36, and on Form 4797, line 16. If you used a qualified intermediary, remember that related parties and your agents are disqualified persons and cannot be your QI. If a QI defaults because of bankruptcy or receivership, Revenue Procedure 2010-14 may let you report the gain in the year or years payments are received, if its requirements are met.
Two items from the 2026 instructions. First, the deferral period for qualified opportunity fund (QOF) investments ends on 31 December 2026, so a taxpayer should not have any QOF investments with deferred gains after that date. Second, section 1062 — added by section 70437 of Public Law 119-21, the One Big Beautiful Bill Act — lets a taxpayer elect to defer the net income tax on gain from the sale or exchange of qualified farmland property to a qualified farmer, for tax years beginning after 4 July 2025; that election is reported on Form 1062, not Form 8824.
Part I is facts, not arithmetic. Only real property should be described on lines 1 and 2 — including intangible property treated as real property for like-kind purposes. If the property is real property outside the United States, indicate the country; US real property and foreign real property are not like-kind to each other. The worked-example values below are the calculator’s Example 1: a $1,000,000 rental sold 15 January 2027, acquired 15 March 2015.
| Line | What goes on it | Example 1 |
|---|---|---|
| 1 | Description of every piece of like-kind property given up. Enter the address and type of property. Attach a sheet if more space is needed. | Single-family rental, Austin, Texas |
| 2 | Description of every piece of like-kind property received, same way as line 1. | Single-family rental, Dallas, Texas |
| 3 | Date the property given up was originally acquired (month, day, year). | 03/15/2015 |
| 4 | Date you actually transferred your property to the other party. | 01/15/2027 |
| 5 | Date the like-kind property you received was identified by written notice. The 45-day written identification requirement: the designation must be in a document you signed or a written agreement signed by all parties, describe the property clearly, and reach the required person by day 45. If you received the property before day 45 ended, enter the receipt date. | 02/20/2027 (deadline: 03/01/2027) |
| 6 | Date you actually received the like-kind property. It must be received by the earlier of the 180th day after the transfer or the due date (including extensions) of your return for the year of the transfer. | 07/10/2027 (deadline: 07/14/2027) |
| 7 | Was the exchange made with a related party, directly or indirectly (such as through an intermediary)? If “Yes,” complete Part II. If “No,” go to Part III. | No → go to Part III |
The note under line 7 is easy to miss and important: do not file this form if a related party sold property into the exchange, directly or indirectly (such as through an intermediary), that property became your replacement property, and none of the exceptions on line 11 applies. Instead, report the disposition of the property as if the exchange had been a sale. If one of the line 11 exceptions does apply, complete Part II.
Complete Part II only if line 7 is “Yes.” A related party includes your spouse, child, grandchild, parent, grandparent, brother or sister, or a related corporation, S corporation, partnership, trust, estate or tax-exempt organization (section 1031(f)). An exchange made indirectly with a related party counts too — through an intermediary such as a QI or an exchange accommodation titleholder, or by a disregarded entity (such as a single-member LLC) owned by you or a related party.
| Line | What goes on it |
|---|---|
| 8 | Name of the related party, relationship to you, the related party’s identifying number, and address (including foreign country, province and postal code if foreign). |
| 9 | During this tax year (and before the date that is 2 years after the last transfer of property that was part of the exchange), did the related party sell or dispose of any part of the like-kind property received from you (or an intermediary) in the exchange? |
| 10 | During the same window, did you sell or dispose of any part of the like-kind property you received? |
| 11 | If one of the exceptions below applies to the disposition, check the applicable box. 11a: the disposition was after the death of either of the related parties. 11b: the disposition was an involuntary conversion, and the threat of conversion occurred after the exchange. 11c: you can establish to the satisfaction of the IRS that neither the exchange nor the disposition had tax avoidance as one of its principal purposes — if this box is checked, attach an explanation. |
How lines 9 to 11 work together: if both lines 9 and 10 are “No” and this is the year of the exchange, go to Part III. If both are “No” and this is not the year of the exchange, stop here — you do not complete Part III. If either line 9 or line 10 is “Yes,” complete Part III and report on this year’s tax return the deferred gain or (loss) from line 24, unless one of the exceptions on line 11 applies. If you are filing for one of the 2 years following the year of the exchange and an exception on line 11 applies, check the box, attach any required explanation, and stop.
Two further rules. First, the 2-year holding period is tolled for any period during which your risk of loss is substantially reduced. Second, an exchange structured to avoid the related party rules is not a like-kind exchange at all (section 1031(f)(4)) — do not report it on Form 8824; report the disposition as if it had been a sale. That includes transferring property you gave up to a QI in exchange for property formerly owned by a related party, where the related party received cash or other (non-like-kind) property for it and you used the QI to avoid the rules (see Revenue Ruling 2002-83). Tax avoidance will generally not be seen as a principal purpose for line 11c where the disposition was in a nonrecognition transaction, where the related parties derive no tax advantage from shifting basis between the exchanged properties, or where an exchange of undivided interests leaves each related party holding either the entire interest in a single property or a larger undivided interest in one of the properties.
Part III is the whole point of the form. Lines 12 to 14 apply only if you gave up property that was not like-kind; otherwise go straight to line 15. The table carries both worked examples through every line: Example 1 is the calculator’s $1,000,000 full exchange, Example 2 is the calculator’s $800,000 partial exchange with $102,000 of boot. The full examples with their arithmetic follow the table.
| Line | What goes on it | Example 1 (full exchange) | Example 2 (boot) |
|---|---|---|---|
| 12 | FMV of other (non-like-kind) property given up. 12a: description of that property. | n/a | n/a |
| 13 | Adjusted basis of other property given up. | n/a | n/a |
| 14 | Gain or (loss) recognized on other property given up: line 12 minus line 13. Report it as if the exchange had been a sale. | n/a | n/a |
| 15 | Cash received, FMV of other property received, plus net liabilities assumed by the other party, reduced (but not below zero) by any exchange expenses you incurred. 15a: description of other property received. | $0 | $102,000 |
| 16 | FMV of like-kind property received. | $1,000,000 | $650,000 |
| 17 | Add lines 15 and 16. | $1,000,000 | $752,000 |
| 18 | Adjusted basis of like-kind property you gave up, plus net amounts paid to the other party, plus any exchange expenses not used on line 15. | $460,000 | $350,000 |
| 19 | Realized gain or (loss): line 17 minus line 18. If you can exclude gain under section 121, write “Section 121 exclusion” and the amount on this line, and do not reduce line 19 by the exclusion. | $540,000 | $402,000 |
| 20 | Smaller of line 15 or line 19, but not less than zero. | $0 | $102,000 |
| 21 | Ordinary income under recapture rules. Enter here and on Form 4797, line 17. | $0 | $0 |
| 22 | Line 20 minus line 21. If zero or less, enter -0-. If more than zero, enter here and on Schedule D or Form 4797. | $0 | $102,000 |
| 23 | Recognized gain: add lines 21 and 22. | $0 | $102,000 |
| 24 | Deferred gain or (loss): line 19 minus line 23. If line 19 is a loss, enter the loss here. | $540,000 | $300,000 |
| 25 | Basis of like-kind property received: line 18 plus line 23, minus line 15. 25a: the part allocated to like-kind section 1250 property. 25b: the part allocated to like-kind section 1245, 1252, 1254 and 1255 property. 25c: the part allocated to like-kind intangible property. Amounts on 25a, 25b and 25c must be proportionate to their FMVs. | $460,000 (all on 25a) | $350,000 (all on 25a) |
Line 15 is the boot — everything you received that is not like-kind property. Three parts: any cash paid to you; the FMV of any other (non-like-kind) property you received; and net liabilities assumed by the other party, which is the excess, if any, of the liabilities (including mortgages) assumed by the other party over the total of (a) any liabilities you assumed, (b) cash you paid to the other party, and (c) the FMV of any other (non-like-kind) property you gave up. Reduce the sum, but not below zero, by any exchange expenses you incurred. A recourse liability counts as assumed by the party receiving the property only if that party has agreed to and is expected to satisfy it; a nonrecourse liability is generally treated as assumed by the party receiving the property subject to it.
Line 18 is the adjusted basis of the like-kind real property you gave up, plus exchange expenses (except expenses already used to reduce line 15), plus the net amount paid to the other party — the excess, if any, of the total of (a) any liabilities you assumed, (b) cash you paid to the other party, and (c) the FMV of any other (non-like-kind) property you gave up, over any liabilities assumed by the other party. In Example 1 the taxpayer assumed a $560,000 replacement mortgage against a $500,000 mortgage given up, so the net amount paid is $60,000 and line 18 is $400,000 basis plus $60,000, or $460,000. In Example 2 the taxpayer assumed less debt than was given up, so the net amount paid is $0 and line 18 is the $350,000 basis alone.
Line 21 is ordinary income under the recapture rules, and it goes on Form 4797, line 17. For section 1245 property, enter the smaller of the total depreciation adjustments (up to the gain on line 19) or the line 20 gain plus the FMV of non-section 1245 like-kind property received. For section 1250 property, enter the smaller of the gain that would have been ordinary income because of additional depreciation if you had sold the property, or the larger of the line 20 gain and the excess of that amount over the FMV of the section 1250 property received. For most rental buildings that number is $0: property depreciated straight-line after 1986 has no additional depreciation, so there is no ordinary-income recapture. The depreciation is still taxed — as unrecaptured section 1250 gain, at up to 25%, on Schedule D — it just is not ordinary income, and it does not go on line 21. Both worked examples on this page have line 21 of $0 for exactly that reason; the IRS’s own example below is the one where line 21 is not $0.
Report a gain from the exchange of property used in a trade or business (and other noncapital assets) on Form 4797, line 5 or line 17. Report a gain from the exchange of capital assets according to the Schedule D instructions for your tax return. Use the date of the exchange as the date for reporting the gain. If the installment method applies, section 453(f)(6) decides the installment sale income taxable for the year and it is reported on Form 6252.
Line 25 is your basis in the like-kind property you received: line 18 plus line 23, minus line 15. Your basis in any other (non-like-kind) property received is its FMV. If you received section 1250, section 1245, 1252, 1254 or 1255 property, or like-kind intangible property, complete lines 25a, 25b and/or 25c, allocating the line 25 total in proportion to their FMVs. That allocation matters later: it decides how much of the next sale’s gain is recapture.
Every example below was computed with the same method the calculator uses — the IRS Schedule D Tax Worksheet, 2026 brackets (IRS Revenue Procedure 2025-32), the 3.8% net investment income tax and the state top rate. Dates are the examples’ own facts. Your numbers will differ.
Sale $1,000,000 · basis $400,000 · selling costs $60,000 · depreciation $150,000 · other taxable income $100,000 · California 13.3% · old mortgage $500,000 · replacement $1,000,000 with a $560,000 mortgage · no cash added · acquired 15 March 2015 · transferred 15 January 2027 · identified 20 February 2027 · received 10 July 2027.
The net amount paid on line 18 is the $60,000 of extra borrowing: the replacement mortgage of $560,000 against the $500,000 mortgage given up. The $60,000 of selling costs is already reflected in the amount realized, so it is not counted again as an exchange expense. Tax if sold instead: federal $88,328 + NIIT $14,820 + California $71,820 = $174,968 — all of it deferred by this exchange. Identify by Monday, 1 March 2027; close by Wednesday, 14 July 2027.
Sale $800,000 · basis $350,000 · selling costs $48,000 · depreciation $100,000 · other taxable income $120,000 · Florida 0% · old mortgage $300,000 · replacement $650,000 with a $200,000 mortgage · no cash added · acquired 22 August 2018 · transferred 10 April 2027 · identified 30 April 2027 · received 1 October 2027.
Line 24 is deferred gain, not deferred tax. The tax on the recognized $102,000 is $21,000: $20,700 on the $100,000 of recapture (taxed at ordinary rates of 12% and 22%, under the 25% cap) plus $300 at 15% on the $2,000 of remaining gain. NIIT on the boot is $0, because the modified adjusted gross income on the recognized portion is $222,000, below the $250,000 married-filing-jointly threshold. Total tax if sold: federal $66,000 + NIIT $10,336 = $76,336; tax due on the boot $21,000; tax deferred $55,336. Identify by Tuesday, 25 May 2027; close by Thursday, 7 October 2027.
Alex gives up a rental duplex: FMV $600,000, adjusted basis $250,000, mortgage $100,000, acquired 10 June 2016. His brother Ben gives up a rental fourplex: FMV $600,000, adjusted basis $400,000, mortgage $100,000, acquired 3 April 2019. They swap directly on 12 June 2027 — no QI is needed for a simultaneous swap, and because the properties were received the same day, the 45-day identification requirement is automatically met. Alex’s Form 8824: line 7 is “Yes,” so he completes Part II (line 8: Ben, brother, identifying number and address) and then Part III.
Ben’s numbers are the mirror image: realized gain $200,000 ($600,000 minus his $400,000 basis), recognized gain $0, deferred gain $200,000, basis in the duplex $400,000. The exchange is not finished on filing day. Alex must file Form 8824 again for 2028 and 2029, completing Parts I and II. If Ben sells the duplex on 5 December 2028 — inside the 2-year window that runs to 12 June 2029 — Alex answers “Yes” on line 9 of the 2028 form, completes Part III, and reports the $350,000 deferred gain from line 24 on his 2028 return, unless a line 11 exception applies. Ben reports his $200,000 the same way. In 2029, with both lines 9 and 10 “No,” Alex stops after Part II.
The instructions for Form 8824 work one exchange twice — once for each side — and it is the clearest illustration of lines 15 to 25 and of the recapture rules. Taylor owns an apartment building with an FMV of $220,000, an adjusted basis of $100,000 and a mortgage of $80,000. Finley owns an apartment building with an FMV of $250,000, an adjusted basis of $175,000 and a mortgage of $150,000. Taylor transfers the building to Finley and receives Finley’s building plus $40,000 cash. Taylor assumes Finley’s $150,000 mortgage; Finley assumes Taylor’s $80,000 mortgage.
Line 15 is only the $40,000 cash received — the $80,000 of liabilities Finley assumed is not included, because it does not exceed the $150,000 Taylor assumed. Line 16 is $250,000, the FMV of the building received. Line 17 is $290,000. Line 18 is $170,000: the $100,000 adjusted basis plus the $70,000 excess of the liabilities Taylor assumed over those Finley assumed ($150,000 minus $80,000). Line 19 is $120,000 of realized gain. Line 20 is $40,000, the smaller of line 15 or line 19.
Line 15 is $30,000: the $150,000 of liabilities Taylor assumed, less the $80,000 Finley assumed and the $40,000 cash Finley paid. Line 16 is $220,000, line 17 is $250,000, line 18 is only the $175,000 adjusted basis, line 19 is $75,000 of realized gain, and line 20 is $30,000.
The instructions then add section 1245 property to Taylor’s building: assets with an FMV of $55,000, a cost basis of $35,000, an adjusted basis of zero and $35,000 of depreciation taken. The section 1245 recapture amount is $35,000. Taylor enters $35,000 on line 21, subtracts it from line 20 and enters $5,000 on line 22, $40,000 on line 23 and $80,000 of deferred gain on line 24. With $50,000 of depreciation instead, line 21 is $50,000, line 22 is $0, line 23 is $50,000 and line 24 is $70,000. Finley’s building has section 1250 qualified improvement property with $35,000 of depreciation over the straight-line amount: Finley enters $30,000 on line 21 (the lesser of the $35,000 recapture and the $30,000 recapture limit), $0 on line 22, $30,000 on line 23 and $45,000 of deferred gain on line 24.
Taylor’s line 25 is $170,000 ($170,000 plus $40,000 minus $40,000), all of it section 1250 property, so the whole $170,000 goes on line 25a. Finley’s line 25 is $175,000, and the building received contains section 1245 property with an FMV of $55,000 and section 1250 property with an FMV of $165,000 — so Finley allocates $131,250 to line 25a ($165,000 divided by $220,000, times $175,000) and $43,750 to line 25b ($55,000 divided by $220,000, times $175,000). Finley’s remaining $5,000 of potential section 1250 recapture attaches to the building received, and $5,000 of any gain on its later sale is ordinary income.
Five steps, in order. The first two happen before the relinquished property closes — after that, they cannot be fixed.
Work out both deadlines from the transfer date before the sale closes, and remember the 180-day deadline is capped by the return due date including extensions. Check your dates with the exchange timeline calculator.
Engage a qualified intermediary before the relinquished property closes. Keep the exchange agreement, the written identification, the closing statements for both properties, and the QI’s records — they are what lines 1 to 6 are filled from.
FMV and adjusted basis of the property given up, the mortgages on both sides, any cash or other property received, and the exchange expenses. Run the numbers on the 1031 Exchange Calculator first so the realized gain, recognized gain and deferred gain are known before the form is started.
Part I is facts and dates. Part III is the arithmetic: line 19 realized gain, line 23 recognized gain, line 24 deferred gain, line 25 basis. If a related party was involved, complete Part II and diary the 2-year follow-up filings.
Attach Form 8824 to the tax return for the year of the transfer. For a related-party exchange, file it again for the two following years, completing Parts I and II; if either line 9 or line 10 is “Yes” and no line 11 exception applies, complete Part III and report the deferred gain from line 24 on that year’s return.
Yes. File it even when line 23 is $0. The form is how the IRS knows the disposition was an exchange rather than a sale, and it is how the basis of the replacement property is established on your return. In the $1,000,000 example on this page, line 23 is $0 and line 24 defers $540,000 — and the form is still required.
With the tax return for the year in which you transferred the property you gave up, including extensions. For a related-party exchange, file it again for the two years following the year of the exchange. The 180-day deadline for receiving the replacement property is capped by the return due date including extensions, so file an extension if you need the full 180 days.
Line 21, the ordinary income under the recapture rules, goes on Form 4797, line 17. Line 22 goes on Schedule D if the property was a capital asset, or on Form 4797, line 5 or 17, if it was property used in a trade or business. Use the date of the exchange as the date for reporting the gain. If the installment method applies, the income is reported on Form 6252 under section 453(f)(6).
The exchange fails to qualify: the gain is taxable in the year you transferred the property, and there is no deferred gain to report on line 24. Neither deadline moves for weekends or holidays, and the 180-day deadline is the earlier of the 180th day or the due date of your return including extensions. If the failure was because a qualified intermediary defaulted in bankruptcy or receivership, Revenue Procedure 2010-14 may let you report the gain in the year or years payments are received.
Yes, for the two years following the year of the exchange, completing Parts I and II. If both lines 9 and 10 are “No,” stop there — you do not complete Part III. If either is “Yes” and no exception on line 11 applies, complete Part III and report the deferred gain or (loss) from line 24 on that year’s tax return. The exceptions are death of either party, an involuntary conversion whose threat arose after the exchange, or establishing to the IRS’s satisfaction that neither the exchange nor the disposition had tax avoidance as a principal purpose.
Run the federal numbers, then price the property itself.
Enter your sale, check the gain realized and the gain recognized, and confirm your 45-day and 180-day deadlines — then get your CPA to confirm the Form 8824 lines before the return is filed.
Calculate Tax Deferred