1031 Exchange With a Related Party: Two-Year Rule and Teruya
Some links pay us a referral fee; each one says so. Disclosure
Quick answer
If you swap real estate with a relative or a related entity and either of you sells what was exchanged before the date 2 years after the last transfer, the deferral is lost: the gain you deferred is taken into account in the year of that sale (26 U.S.C. 1031(f)(1)). On a $900,000 swap in which your deferred gain is $350,000, a sale by either side in month 23 puts that $350,000 on the return for the year of the sale, and a sale in month 25 does not (our arithmetic). “Related” means siblings, spouse, parents, grandparents, children and grandchildren, plus the entity and trust links in sections 267(b) and 707(b)(1). Putting a qualified intermediary in the middle does not reset the clock if the structure was built to avoid the rule: Teruya Brothers (Ninth Circuit, 2009) and Ocmulgee Fields (Eleventh Circuit, 2010) both lost.
Key takeaways
- The clock is 2 years from the last transfer in the exchange, not from the first. Section 1031(f)(1)(C) tests a disposition “before the date 2 years after the date of the last transfer which was part of such exchange,” by either the related person (of the property you gave) or you (of the property you received).
- The penalty is timing, not a fine. Any gain recognized by reason of subsection (f) “shall be taken into account as of the date on which the disposition” occurs, so a month-23 sale pulls the deferred gain into that year. Form 8824 must be filed for the 2 years after the year of the exchange.
- Family under section 267(c)(4) is a closed list: brothers and sisters (whole or half blood), spouse, ancestors and lineal descendants. In-laws, uncles, aunts, nieces, nephews and cousins are not on it, but entities you control, trusts and estates you are tied to, and a partnership in which you hold more than 50 percent are (sections 267(b)(2) to (13) and 707(b)(1)).
- A qualified intermediary is not a shield. Rev. Rul. 2002-83 denies nonrecognition when you hand low-basis property to an intermediary and take back related-party property that the related party was paid cash for. The Ninth Circuit affirmed the Tax Court on $12,046,047 of deferred gain in Teruya, and the Eleventh Circuit on a $6,122,736 gain in Ocmulgee Fields (our sum for Teruya).
- There are three exceptions in section 1031(f)(2): death of either party, an involuntary conversion that was not yet threatened at the exchange, and a showing that neither the exchange nor the sale had tax avoidance as a principal purpose. The Form 8824 instructions list three situations in which avoidance “generally” will not be seen as a principal purpose.
- Both courts looked at the family or the group as one economic unit. In Teruya the two related companies together cut their real property investment by about $13.4 million and raised their cash by the same amount; in Ocmulgee Fields the gain recognized fell by about $1.94 million for the pair (our arithmetic).
CSV · 106 rows
1031 exchanges with a related person: 26 U.S.C. 1031(f), who is related under 267(b) and 707(b)(1), the Form 8824 lines, Rev. Rul. 2002-83, the Teruya and Ocmulgee Fields figures and a $900,000 sibling swap worked
106 rows: the paragraphs of 1031(f) and (g), each relationship in 267(b), 267(c) and 707(b)(1), the Form 8824 related-party lines, the facts of Rev. Rul. 2002-83, the dollar figures of Teruya Brothers and Ocmulgee Fields, and our arithmetic rows.
What this page adds to our other 1031 pages
Our 1031 exchange rules page has a short section on the two-year rule, our Form 8824 worked example covers Part II in a few lines, and our reverse 1031 page separates the two-year rule from the disqualified-person rule for an exchange accommodation titleholder. None of them lists each relationship with its paragraph, works a dated example, or opens the two court decisions that decide what happens when an intermediary sits between relatives. This page does those four things, then stops: it does not repeat the 45-day and 180-day rules, which are on the rules page, or intermediary mechanics, which are on our qualified intermediary page.
The rule in four paragraphs
Section 1031(f) has four operative paragraphs. Each does a different job:
| Paragraph | What it says | What it means in practice |
|---|---|---|
| 1031(f)(1)(A)-(B) | A taxpayer exchanges property with a related person, and there is nonrecognition under section 1031 (determined without regard to subsection (f)) | The rule only bites on exchanges that would otherwise qualify. A deal that fails 1031 anyway is taxed on its own terms |
| 1031(f)(1)(C) | Before the date 2 years after the date of the last transfer, the related person disposes of the property, or the taxpayer disposes of the like-kind property received from the related person | Two triggers, one clock. It runs from the last transfer in a deferred exchange, so a long delay between legs moves the end date |
| 1031(f)(1), closing words | No nonrecognition for the exchange, and any gain or loss recognized “shall be taken into account as of the date on which the disposition” occurs | The gain lands in the year of the disposition, not retroactively in the year of the exchange |
| 1031(f)(3) | Related person means a relationship described in section 267(b) or 707(b)(1) | The list is in two other sections; the table below reads both |
| 1031(f)(4) | Section 1031 does not apply to any exchange that is part of a transaction (or series of transactions) structured to avoid the purposes of the subsection | This is the intermediary rule. Both court cases below are decided under it |
| 1031(g) | The 2-year period is suspended while the holder’s risk of loss is substantially diminished by a put, by another person’s right to acquire the property, or by a short sale or any other transaction | The Form 8824 instructions repeat it: the period is tolled while your risk of loss is substantially reduced |
The two triggers in paragraph (1)(C) are not symmetrical. The related person’s disposition is of “such property,” meaning what you transferred to them. Your disposition counts only for “the property received in the exchange from the related person which was of like kind to the property transferred by the taxpayer.” A sale by you of other property is not a trigger.
Who counts as a related person
The statute does not list relatives. It points to two other sections. This table reads each relationship in them, with its paragraph.
| Relationship | Paragraph | Test |
|---|---|---|
| Brother or sister (whole or half blood) | 267(b)(1) with 267(c)(4) | Family; the list in (c)(4) is “only” siblings, spouse, ancestors and lineal descendants |
| Spouse | 267(b)(1) with 267(c)(4) | Family |
| Parent or grandparent (ancestors) | 267(b)(1) with 267(c)(4) | Family |
| Child or grandchild (lineal descendants) | 267(b)(1) with 267(c)(4) | Family |
| In-laws, uncles, aunts, nieces, nephews, cousins | Not named in 267(c)(4) | Our reading: outside the family list, but see the entity rows, because stock and partnership interests are attributed through family |
| You and a corporation | 267(b)(2) | More than 50 percent in value of the stock owned, directly or indirectly, by you |
| Two corporations | 267(b)(3) | Members of the same controlled group (section 267(f)) |
| Grantor and a trust fiduciary | 267(b)(4) | Any trust |
| Two trust fiduciaries | 267(b)(5) | Same person is grantor of both trusts |
| Trust fiduciary and a beneficiary | 267(b)(6) | Of that trust |
| Trust fiduciary and a beneficiary of another trust | 267(b)(7) | Same person is grantor of both trusts |
| Trust fiduciary and a corporation | 267(b)(8) | More than 50 percent in value owned by the trust or by a grantor of the trust |
| You and a tax-exempt organization | 267(b)(9) | Section 501 organization controlled directly or indirectly by you or, for an individual, by family |
| Corporation and partnership | 267(b)(10) | Same persons own more than 50 percent of the stock and more than 50 percent of the capital or profits interest |
| Two S corporations | 267(b)(11) | Same persons own more than 50 percent in value of each |
| S corporation and C corporation | 267(b)(12) | Same persons own more than 50 percent in value of each |
| Executor and beneficiary of an estate | 267(b)(13) | Except for a sale or exchange in satisfaction of a pecuniary bequest |
| Partnership and a partner | 707(b)(1)(A) | Person owns, directly or indirectly, more than 50 percent of the capital interest or the profits interest |
| Two partnerships | 707(b)(1)(B) | Same persons own more than 50 percent of the capital or profits interests |
Two attribution rules widen the family circle without naming new relatives. Under section 267(c)(2), “an individual shall be considered as owning the stock owned, directly or indirectly, by or for his family,” and under (c)(1) stock held by a corporation, partnership, estate or trust is treated as owned proportionately by its owners or beneficiaries. So an LLC taxed as a partnership that you and a brother hold 50-50 is tested with the family rule applied to your brother’s share. How a particular structure comes out is a question for the person with the operating agreement.
The 2026 Form 8824 instructions give a shorter list for line 7: “your spouse, child, grandchild, parent, grandparent, brother, sister, or a related corporation, S corporation, partnership, trust, estate, or tax-exempt organization.” They add two indirect cases, covered next.
An intermediary does not remove the rule
Section 1031(f)(1) reaches a direct exchange between you and a related person. It does not, by its terms, reach an exchange where you deal with a qualified intermediary and the related person sells the replacement property to that intermediary. Section 1031(f)(4) is what closes that gap, and the IRS has used it three ways.
The instructions. Line 7 of Form 8824 asks whether the exchange was made with a related party “either directly or indirectly (such as through an intermediary).” The 2026 instructions say an exchange made through a qualified intermediary or an exchange accommodation titleholder, or by a disregarded entity such as a single-member LLC that you or a related party owned, is an indirect related-party exchange. They add: “An exchange structured to avoid the related party rules isn't a like-kind exchange. Don't report it on Form 8824.” The disposition is reported as a sale.
Rev. Rul. 2002-83. The ruling’s facts, in its own letters, are in the table.
| Step | Facts in Rev. Rul. 2002-83 | Result |
|---|---|---|
| Before | A owns Property 1 (value 150x, basis 50x). B, related to A under section 267(b), owns Property 2 (value 150x, basis 150x). C, unrelated, wants Property 1 | A’s economic gain is 100x (our arithmetic); B’s is 0 (our arithmetic) |
| January 6, 2003 | A transfers Property 1 to a qualified intermediary, which sells it to C for 150x | A’s sale proceeds sit with the intermediary |
| January 13, 2003 | The intermediary buys Property 2 from B, pays B the 150x, and transfers Property 2 to A | A holds Property 2; B holds cash |
| Holding | A taxpayer who transfers relinquished property to a qualified intermediary in exchange for replacement property formerly owned by a related party is not entitled to nonrecognition under section 1031(a) if, as part of the transaction, the related party receives cash or other non-like-kind property for the replacement property | Section 1031(f)(4) applies. The ruling says the end result is the same as an exchange between A and B followed by B selling Property 1 to C |
The ruling explains the purpose: section 1031(f) is “intended to deny nonrecognition treatment for transactions in which related parties make like-kind exchanges of high basis property for low basis property in anticipation of the sale of the low basis property.”
The courts. Two taxpayers argued that the intermediary put the related party at arm’s length. They lost.
| Teruya Brothers, Ltd. v. Commissioner | Ocmulgee Fields, Inc. v. Commissioner | |
|---|---|---|
| Citation | 124 T.C. 45 (2005); affirmed, 580 F.3d 1038 (9th Cir. 2009), filed September 8, 2009 | 132 T.C. 105 (2009); affirmed, 11th Cir. No. 09-13395, filed August 13, 2010 |
| Taxpayer and related party | Teruya Brothers, Ltd., which owned 62.5% of the common shares of Times Super Market, Ltd. | Ocmulgee Fields, Inc. and Treaty Fields, a partnership (both real estate development and management companies) |
| What the taxpayer gave up | Ocean Vista condominium interests, sold for $1,468,500 on September 1, 1995; Royal Towers apartments, sold for $11,932,000 on August 24, 1995 | Wesleyan Station, contract price $7.25 million, sold on October 10, 2003; basis $716,164 |
| What it received | Kupuohi II ($2,828,000), Kupuohi I ($8,900,000) and Kaahumanu ($3,730,000), bought from Times through the intermediary | Barnes & Noble Corner, bought from Treaty Fields through the intermediary for a gross price of $6,740,900; Treaty Fields’ basis $2,554,901 |
| Gain deferred or realized | Deferred $1,345,169 (Ocean Vista) and $10,700,878 (Royal Towers); total $12,046,047 (our sum) | Ocmulgee Fields realized $6,122,736; the return paid $171,375 of tax for the year |
| Gain the related party recognized | Times recognized $1,352,639 and $2,227,040 of gain and paid no tax because of a large net operating loss | Treaty Fields recognized $4,185,999, passed through to partners taxed at 15 percent |
| Deficiency | $4,144,359 for the year ending March 31, 1996 | About $2 million, the court says (34 percent corporate rate on the realized gain) |
| Why it lost | Related parties together cashed out of low-basis real property through the intermediary; avoidance was one of the principal purposes | A direct exchange followed by a sale would have been taxed under 1031(f)(1); the four-party structure was the economic equivalent; six days passed between engaging the intermediary and contracting for the related party’s property |
| Holding | Structured to avoid the purposes of 1031(f); nonrecognition denied | Same; Tax Court affirmed on clear-error review of its findings |
Three points from the opinions matter for a reader planning a family or entity exchange:
- The group is judged together. The Ninth Circuit wrote that “the taxpayer and the related party should be treated as an economic unit in this inquiry” and that “Taxpayers cannot escape § 1031(f) simply by hiding the benefits of improper like-kind exchanges with a related party.” The Eleventh Circuit used the same approach for Ocmulgee Fields and Treaty Fields and its partners.
- An intermediary is not banned. The Ninth Circuit said: “We do not imply that taxpayers are precluded from using a qualified intermediary to facilitate a like-kind exchange with a related party.” It also rejected the government’s theory that every deferred exchange between related parties through an intermediary should be recast as a direct one: the Tax Court “properly rejected that mechanical theory as inconsistent with the structure of the statute.”
- Extra complexity counts against you. The Eleventh Circuit said that the unneeded complexity of the four-party structure helps infer intent, and that a tax court can draw inferences against a taxpayer who structures an exchange “in a manner that avoids the rules on direct exchanges between related parties.” It also found that the economic result was “the economic equivalent of a direct related-party exchange for which § 1031(f)(1) would disallow nonrecognition treatment.”
We read the Tax Court’s Teruya opinion (Onecle text). The Tax Court opinion in Ocmulgee Fields was not retrievable on November 25, 2026, so the facts above come from the Eleventh Circuit’s account of it.
The three exceptions
Section 1031(f)(2) removes three kinds of disposition from the test. The Ninth Circuit held that the third exception also limits section 1031(f)(4), so it is available even when an intermediary was used: “a transaction does not violate § 1031(f)(4) if the taxpayer can establish ‘to the satisfaction of the Secretary’ that the transaction did not have ‘as one of its principal purposes the avoidance of Federal income tax.’”
| Exception | Statute | Form 8824, 2026 | What the documents add |
|---|---|---|---|
| Death | 1031(f)(2)(A): disposition after the earlier of the death of the taxpayer or the death of the related person | Line 11a: the disposition was after the death of either of the related parties | The test is the date of the earlier death. A sale before it still triggers |
| Involuntary conversion | 1031(f)(2)(B): a compulsory or involuntary conversion (section 1033) if the exchange occurred before the threat or imminence of the conversion | Line 11b: the disposition was an involuntary conversion and the threat occurred after the exchange | A taking that was already threatened when you exchanged is not covered |
| No avoidance purpose | 1031(f)(2)(C): established to the satisfaction of the Secretary that neither the exchange nor the disposition had as one of its principal purposes the avoidance of Federal income tax | Line 11c: you can establish to the satisfaction of the IRS that neither had tax avoidance as one of its principal purposes; attach an explanation | Instructions: avoidance “generally” will not be seen as a principal purpose for (1) a disposition in a nonrecognition transaction, (2) an exchange in which the related parties derive no tax advantage from shifting basis between the properties, and (3) an exchange of undivided interests in different properties that leaves each related party with the entire interest in one property or a larger undivided interest in any of them |
Notice what the exceptions do not include: a sale for a good business reason, or a sale forced by a lender, is not a listed exception. It can only come in through the third one, with an explanation attached to the return. In both courts the taxpayer had business reasons to offer, and in Ocmulgee Fields the Eleventh Circuit said that “the mere existence of legitimate business purposes does not preclude a finding that Ocmulgee Fields’ principal purpose for the exchange was tax avoidance.”
A $900,000 swap with a sibling, dated (our arithmetic)
Assume you give Property 1 (value $900,000, basis $550,000, deferred gain $350,000) to a sibling for Property 2 (value $900,000, basis $900,000). The last transfer is March 15, 2027, so a disposition must come before March 15, 2029 to be inside the window. Your carryover basis in Property 2 is $550,000 and your sibling’s in Property 1 is $900,000, because under section 1031(d) the basis of property acquired in an exchange is the basis of the property exchanged (Rev. Rul. 2002-83 states the rule).
| Event | Date | Result for the $350,000 deferred gain |
|---|---|---|
| Neither of you sells inside the window | Before March 15, 2029 | Deferral stands. File Form 8824 with Parts I and II for 2027, 2028 and 2029 |
| Sibling sells Property 1 for $900,000 | February 15, 2029 (month 23) | The sibling recognizes $0 on a $900,000 basis, but your $350,000 is taken into account in 2029 under 1031(f)(1). The family has cashed out and tax is due on the low-basis gain |
| You sell Property 2 for $900,000 | February 15, 2029 (month 23) | $350,000 is taken into account in 2029. Our reading: the exchange gain is recognized, your basis in Property 2 steps to $900,000, and the sale itself produces no second gain, so the total is $350,000 and not $700,000 |
| Sibling sells Property 1 for $900,000 | April 15, 2029 (month 25) | Outside the window. $0 is triggered and the $350,000 stays deferred |
| Either of you dies, then the property is sold | Any date after the earlier death | Not taken into account under 1031(f)(2)(A); Form 8824 line 11a |
| Same swap, but nobody had planned a sale | Month 23 | Section 1031(f)(2)(C) is the only route, with an explanation attached. Our reading: the instructions’ basis-shifting presumption is of little help here, because your basis is $550,000 and your sibling’s $900,000, a low-basis-for-high-basis swap |
The deferred gain equals 38.9 percent of the value exchanged (350,000 divided by 900,000). If no swap had happened and you had sold Property 1 outright for $900,000, you would have recognized the same $350,000; the swap-then-sell route would have produced $0 for the family, which is the outcome section 1031(f)(1) removes. No tax rate is applied here: federal rates, depreciation recapture and state tax depend on the property and the return.
What goes on Form 8824
The 2026 Form 8824 handles a related-party exchange in Part II. These lines come from the form and its instructions as saved on November 25, 2026.
| Line | What it asks | Notes from the 2026 instructions |
|---|---|---|
| 7 | Was the exchange made with a related party, either directly or indirectly (such as through an intermediary)? Yes goes to Part II; No goes to Part III | Includes exchanges through a qualified intermediary or an exchange accommodation titleholder, and by a disregarded entity such as a single-member LLC that you or a related party owned |
| Note under line 7 | Do not file the form if a related party sold property into the exchange, directly or indirectly, that property became your replacement property, and no line 11 exception applies | Report the disposition of the property given up as if the exchange had been a sale |
| 8 | Name, relationship and identifying number of the related party | Address and foreign details also requested |
| 9 | Before the date 2 years after the last transfer, did the related party sell or dispose of any part of the like-kind property received from you (or an intermediary)? | A Yes means the deferred gain from line 24 is reported on this year’s return unless an exception applies |
| 10 | Before the same date, did you sell or dispose of any part of the like-kind property you received? | Same consequence |
| 11a, 11b, 11c | The three exceptions: death, involuntary conversion with the threat after the exchange, and no principal purpose of tax avoidance (explanation attached) | If an exception applies, check the box, attach what is required and stop |
| Two later years | File Form 8824 for each of the 2 years after the year of a related-party exchange | Complete Parts I and II; if lines 9 and 10 are both No, stop |
What this page cannot tell you
- Whether your relationship or entity is related. The tables read the statute, not your operating agreement, trust instrument or ownership percentages. Attribution under section 267(c) can change the answer.
- Whether an exchange through an intermediary is safe. Both courts decided on their own facts. We have not opened any private letter ruling or later case, including any that applied the no-avoidance exception, and none is cited.
- State rules. Some states track federal deferral and some require their own filings. We did not read them for this page.
- Tax rates and recapture. The example shows the gain, not the tax on it.
- The reporter citation of the Eleventh Circuit decision. The opinion we saved gives its docket number and filing date, not its F.3d page, so we cite those.
What a reader can do with this
Questions to put to a CPA or tax attorney who has the deed history and the entity documents, before a related party signs anything:
- Is the other party related under sections 267(b) and 707(b)(1), once family and entity attribution are applied?
- If yes, what is the exact date of the last transfer, and so the last day of the window?
- Does either side have a plan, an offer or a marketing agreement to sell inside the window, and is any put, option or short position suspending the clock under section 1031(g)?
- If a qualified intermediary is used, did the related party receive cash for the replacement property, which is the fact pattern of Rev. Rul. 2002-83?
- Which, if any, of the three exceptions could be documented, and what would the line 11c explanation say?
- Who will file Form 8824 for each of the two following years, and who tracks the other party’s disposition?
This is analysis of public documents, not investment, legal or tax advice. The person who can say whether a swap with a relative holds up is a tax attorney or CPA with the documents in hand.
Update alert · free
An email when the 1031 related party rules change
When a rate, rule or filing behind this page changes: what changed, the one number that matters, and the source to check it yourself.
FAQ
Sources, read and saved on November 25, 2026: 26 U.S.C. 1031, 267 and 707 (Legal Information Institute, Cornell Law School, text of the United States Code); Form 8824 and Instructions for Form 8824, 2026 revision (irs.gov); Rev. Rul. 2002-83, 2002-49 I.R.B. 927 (Internal Revenue Bulletin 2002-49, December 9, 2002, irs.gov); Teruya Bros., Ltd. & Subs. v. Commissioner, 124 T.C. 45 (2005) (opinion text as published by Onecle) and the Ninth Circuit opinion in No. 05-73779, filed September 8, 2009 (ca9.uscourts.gov); the Eleventh Circuit opinion in Ocmulgee Fields, Inc. v. Commissioner, No. 09-13395, filed August 13, 2010 (ca11.uscourts.gov). Calculations marked “our arithmetic” are ours, use the assumed facts stated, and are illustrations, not a computation for any return.