Back to Blog
Tax Rules & ComplianceApril 27, 202612 min read

Related Party 1031 Exchanges: What the Code Actually Says — and What It Means for Your Transaction

Jeff Helsdon, CES®

Olympic Exchange Accommodators

Related Party 1031 Exchanges: What the Code Actually Says — and What It Means for Your Transaction

One of the most frequently misunderstood provisions in the 1031 exchange world involves transactions between related parties. Investors often assume that if they use a Qualified Intermediary, the exchange is automatically valid — regardless of who is on the other side of the transaction. That assumption is wrong, and the consequences of getting it wrong are severe: complete disqualification of the exchange and immediate recognition of all deferred gain.

This article explains what the related party rules actually say, why Congress enacted them, when a related party exchange is allowed, when it is not, and why the presence of a QI in the transaction changes nothing about the analysis.

The Statute: IRC §1031(f)

The related party rules for 1031 exchanges are found in Internal Revenue Code §1031(f), enacted as part of the Tax Reform Act of 1989. The statute applies whenever an exchange occurs between "related persons" as defined under IRC §267(b) or §707(b)(1).

Who is a "related party"?

Under §267(b), related parties include:

  • Family members: siblings, spouses, ancestors, and lineal descendants (but not aunts, uncles, in-laws, cousins, nieces, or nephews)
  • An individual and a corporation in which the individual owns more than 50% (by value)
  • An individual and a partnership in which the individual owns more than 50% (capital or profits interest)
  • Two corporations that are members of the same controlled group
  • A corporation and a partnership where the same persons own more than 50% of each
  • Two partnerships where the same persons own more than 50% of each
  • A grantor and a fiduciary of the same trust
  • Fiduciaries of two trusts with a common grantor
  • A fiduciary and a beneficiary of the same trust
  • A person and a tax-exempt organization controlled by that person

Section 707(b)(1) adds transactions between a partnership and a person who owns more than 50% of the partnership.

The constructive ownership rules of §267(c) apply, meaning you can be deemed to own stock or partnership interests held by family members, related entities, and trusts.

Why Congress Created This Rule

To understand the restriction, you need to understand the abuse it was designed to prevent: basis shifting.

Here is the simplest illustration:

Father owns Blackacre, which he bought for $100,000. It is now worth $500,000.

Son owns Whiteacre, which he bought for $450,000. It is also worth $500,000.

Father and Son "exchange" properties. Father takes Whiteacre with a carryover basis of $100,000. Son takes Blackacre with a carryover basis of $450,000.

Son then sells Blackacre for $500,000. His gain is only $50,000 — not the $400,000 that Father had been deferring.

Through the exchange, $350,000 of built-in gain has vanished. The family unit has achieved a stepped-up basis without paying the tax. The gain that Father deferred was never recognized by anyone — it was effectively washed out through the related party transaction.

This is what §1031(f) was designed to prevent: using exchanges between related parties as a mechanism to shift basis and permanently eliminate deferred gain.

The Two-Year Rule

Section 1031(f)(1) provides the operative rule. In simplified terms:

If a taxpayer exchanges property with a related person, and either party disposes of the property received in the exchange within two years of the last transfer that was part of the exchange, then the exchange is disqualified and the deferred gain is recognized in the year of the premature disposition.

The two-year clock starts on the date of the last transfer in the exchange (typically the date the replacement property is acquired). If either the taxpayer or the related party sells, gifts, or otherwise disposes of the property they received before two years have passed, the exchange collapses retroactively.

Exceptions to the two-year rule:

  • Death of either party — If the taxpayer or the related party dies within the two-year period, the disposition-by-death does not trigger disqualification.
  • Involuntary conversion — If the property is destroyed, stolen, condemned, or otherwise involuntarily converted (e.g., a fire, a government taking), the disposition doesn't count.
  • Neither party had tax avoidance as a principal purpose — This is the general escape valve. If the taxpayer can demonstrate that tax avoidance was not a principal purpose of either the exchange or the subsequent disposition, the exchange survives. The burden of proof, however, is on the taxpayer — and the IRS interprets this exception narrowly.

Selling the Relinquished Property TO a Related Party

This is the scenario that most directly implicates the basis-shifting concern.

You own Property A (low basis, large built-in gain). Your brother wants to buy it. You sell Property A to your brother through a 1031 exchange and acquire Property B from an unrelated seller.

What has happened? Your brother now holds Property A with a basis equal to what he paid — likely the current fair market value. Your built-in gain has been deferred into Property B. But your brother has effectively stepped into a high-basis position on an asset that used to carry a large built-in gain. If your brother later sells Property A, the family unit pays tax only on his gain (potentially minimal), not on the gain you were deferring.

Under §1031(f), this exchange is valid — but only if neither party disposes of the received property within two years. If your brother sells Property A (or you sell Property B) within two years, the exchange is disqualified and you recognize the full gain in the year of the premature sale.

Even if both parties hold for two years, the IRS can still challenge the exchange under the anti-abuse provision of §1031(f)(4) if it determines that tax avoidance was a principal purpose.

Purchasing the Replacement Property FROM a Related Party

This is the scenario investors often overlook — and the one that more frequently causes problems.

You sell Property A to an unrelated buyer through a 1031 exchange. You use the exchange proceeds to purchase Property B from your sister.

On the surface, this looks cleaner — you sold to a stranger, and you're buying from a relative. But Congress saw the same basis-shifting potential:

Your sister receives cash (the exchange proceeds) — effectively cashing out of her low-basis property at fair market value. Meanwhile, you've parked your deferred gain in a property that your sister used to own. The family unit has converted a low-basis asset into cash and replaced it with a deferred-gain position.

Here is the critical point that many investors and advisors miss: this transaction results in an automatic, immediate violation of the two-year holding requirement under §1031(f).

The statute requires that neither party dispose of the property received in the exchange within two years. But your sister didn't receive property — she received cash. The receipt of cash at closing is itself the disposition. Your sister has already cashed out of her position on the day of the exchange. There is no property for her to "hold" for two years. The two-year holding period is violated a priori — not because someone sold too soon, but because the structure of the transaction makes compliance impossible from the outset.

This is not a situation where careful planning and patient holding can save the exchange. When the replacement property is purchased from a related party in a deferred exchange, the related party's receipt of cash is an immediate disposition that collapses the exchange on the day it closes. The deferral is dead on arrival.

The IRS scrutinizes these transactions aggressively, and for good reason — the economic substance is indistinguishable from the basis-shifting abuse that §1031(f) was enacted to prevent: - The related party seller cashes out of an appreciated asset at fair market value - The exchanger parks deferred gain in the property the related party used to own - The family unit's aggregate tax position has improved without anyone recognizing the built-in gain

Why Using a Qualified Intermediary Doesn't Change the Analysis

This is the point that catches many investors off guard.

A Qualified Intermediary exists to satisfy the "exchange" requirement of §1031 — the rule that the taxpayer cannot have actual or constructive receipt of the sale proceeds during the exchange period. The QI holds the funds, acquires the replacement property, and transfers it to the exchanger. Without a QI (or another safe harbor mechanism), most deferred exchanges would fail because the taxpayer would be treated as receiving cash.

But the QI is a conduit — not a substantive party to the transaction.

Section 1031(f) looks through the intermediary structure entirely. The question is not "Did the taxpayer transact with the QI?" — it is "Did the taxpayer exchange property with a related person?" If the relinquished property was sold to a related buyer, or the replacement property was purchased from a related seller, the related party rules apply regardless of whether a QI, exchange accommodation titleholder, or any other intermediary was in the middle.

The IRS has taken this position consistently. The QI structure does not insulate the transaction from §1031(f). The exchange is between related parties, and the two-year holding period and anti-abuse rules apply in full.

To put it plainly: inserting a QI into a related party transaction adds nothing to the analysis. The QI satisfies the deferred exchange safe harbor under Treasury Regulation §1.1031(k)-1(g)(4). The related party rules under §1031(f) are a completely separate statutory requirement. Satisfying one does not satisfy the other.

The Teruya Brothers Line of Cases

The Tax Court's decision in Teruya Brothers, Ltd. v. Commissioner (T.C. Memo 2019-124) illustrates how aggressively the IRS pursues related party exchanges.

Teruya Brothers involved a series of 1031 exchanges among related entities in Hawaii. The taxpayers completed exchanges using a QI and held the replacement properties for more than two years. They argued the exchanges were valid because the two-year rule was satisfied.

The IRS challenged the transactions under the anti-abuse provision of §1031(f)(4), arguing that even though the mechanical two-year test was met, the principal purpose of the exchanges was tax avoidance — specifically, basis shifting among related entities.

The Tax Court agreed with the IRS. The court found that the overall structure — exchanging low-basis properties between related parties while using QIs to create the appearance of arm's-length transactions — was designed to achieve exactly the basis shifting that §1031(f) was enacted to prevent. The exchanges were disqualified.

The takeaway: Satisfying the two-year holding period is necessary but not sufficient. If the IRS can demonstrate that tax avoidance was a principal purpose, the exchange fails even if both parties held for longer than two years.

Practical Guidance

When related party exchanges work:

1. Genuine business purpose beyond tax deferral — The exchange serves a legitimate non-tax business objective (e.g., consolidating properties for operational efficiency, separating business interests between family members for estate planning reasons unrelated to basis shifting).

2. No basis shifting — The related party who disposes of property recognizes the same gain (or more) that would have been recognized without the exchange. If the overall transaction produces no tax benefit to the family unit beyond ordinary §1031 deferral, the anti-abuse argument loses its force.

3. Both parties hold for more than two years — This is the statutory safe harbor (subject to the anti-abuse override). Document the intent to hold at the time of the exchange.

4. Full disclosure — Report the related party exchange on Form 8824, Part III. Disclose the relationship, the properties, and the dates. Non-disclosure creates an inference of avoidance intent.

When to walk away:

1. You are purchasing the replacement property from a related party — As discussed above, this structure results in an automatic violation of the two-year holding requirement because the related party receives cash at closing. The disposition has already occurred. This is not a planning problem — it is a structural impossibility.

2. The related party plans to sell the received property within two years — When selling the relinquished property to a related party, this is a near-certain disqualification.

3. The primary economic effect is basis shifting — If the net result of the transaction is that the family unit has a higher aggregate basis in the same properties, expect an IRS challenge.

4. The QI is being used as a "shield" — If the thinking is "we'll use a QI so it won't look like a related party deal," the thinking is wrong. The IRS and the Tax Court look through intermediary structures.

5. The transaction can't be explained without reference to tax benefits — If you can't articulate a business reason for the exchange that doesn't involve tax deferral or basis positioning, the anti-abuse provision is a real risk.

The Bottom Line

Related party 1031 exchanges are not prohibited — but the two scenarios are not equal. Selling your relinquished property to a related party can work if both parties hold for two years and the transaction has genuine business purpose beyond tax deferral. Purchasing your replacement property from a related party is a different matter entirely: the related party's receipt of cash at closing is an immediate disposition that violates §1031(f) on the day the exchange closes. No amount of planning or holding can cure that structural defect.

The anti-abuse provision of §1031(f)(4) adds another layer of risk even to transactions that satisfy the two-year mechanical test. And a Qualified Intermediary does not insulate any related party transaction from scrutiny — the QI satisfies the deferred exchange mechanics under a completely separate statutory provision. It does nothing to address the related party rules.

If you are considering an exchange that involves a related party on either side of the transaction, the time to analyze the §1031(f) implications is before the closing, not after. We can help you think through the structure and identify the risks.


Jeff Helsdon, CES® Certified Exchange Specialist since 2003

Disclaimer: This article is for informational purposes only and does not constitute legal, tax, or financial advice. Consult your own attorney, CPA, and financial advisor before making decisions about your 1031 exchange.

Jeff Helsdon

About the Author

Jeff Helsdon, CES®

Jeff has been facilitating 1031 exchanges since February 1990 and was among the first to receive the Certified Exchange Specialist™ designation in 2003. With decades of experience, he brings deep expertise to complex exchange scenarios.

Have Questions About This Topic?

Contact us for personalized guidance on your 1031 exchange situation.