Related parties defined
Related parties include close family (siblings, spouse, ancestors, lineal descendants) and entities you control (generally more than 50% ownership), among others defined in the code.
The two-year rule
If you exchange with a related party, both parties generally must hold the properties for at least two years, or the exchange can be disqualified and the tax triggered retroactively.
Why the rule exists
It stops families from shuffling basis to cash out gains tax-free. Related-party exchanges are allowed but heavily scrutinized.
The precise definition
Related parties are defined by Section 1031(f), which borrows the relationships in Sections 267(b) and 707(b). For individuals that means your spouse, siblings, ancestors (parents, grandparents), and lineal descendants (children, grandchildren) — but notably not in-laws, aunts, uncles, cousins, or ex-spouses. It also includes entities you control: a corporation in which you own more than 50% of the stock (by value), and a partnership in which you own more than 50% of the capital or profits interest. Trusts and estates in which you're a beneficiary can also be related parties.
How the two-year rule works
When you swap directly with a related party, both of you must hold the received properties for at least two years after the transfer. If either party disposes of its property within that window, the original exchange is retroactively disqualified and the deferred gain becomes taxable in the year of the early disposition. The two-year clock is tolled (paused) if a party's risk of loss is substantially reduced by an option, short sale, or similar arrangement. Certain dispositions are excepted — for example, a later sale caused by the death of one of the parties, or an involuntary conversion, generally won't blow the exchange.
The bigger trap: buying from a related party
The subtler risk is a related-party swap through an intermediary. If you sell to an unrelated buyer but acquire your replacement property from a related party, the IRS may collapse the transaction under the anti-abuse rule of Section 1031(f)(4), treating it as if you cashed out the related party's low-basis property. Revenue Ruling 2002-83 confirms the IRS will disallow deferral in these basis-shifting arrangements. This is why practitioners are cautious about buying replacement property from a relative even when the sale side is at arm's length.
A cautionary example
You own a rental with a large deferred gain; your brother owns a rental with a high basis. You'd like to trade so that, after the dust settles, the low-basis property ends up sold and the tax avoided. If your brother sells his newly received property a year later, both exchanges unwind and the gain you thought you deferred is taxed then. Even holding two full years, the IRS can still challenge the deal if the pattern shows basis-shifting was the point rather than a genuine investment swap.
Documenting a legitimate related-party exchange
Related-party exchanges are legal and sometimes make good business sense — consolidating family holdings, for instance. To keep yours defensible: use a qualified intermediary and standard exchange paperwork, price both properties at fair market value with independent support, have a real non-tax business reason for the trade, and — critically — have both parties actually hold for the full two years. File Form 8824 for the exchange, and file it again for the two following years to report continued compliance with the holding requirement, as the form's related-party section requires.
Planning around the rules
If a related-party transaction is essential but risky, consider alternatives: exchange into unrelated replacement property instead, structure the deal so no related party disposes of property for well over two years, or simply pay the tax on a smaller gain now to avoid a larger retroactive bill later. Because the anti-abuse rule is broad and fact-driven, this is an area where a review by a 1031-experienced CPA or attorney before closing is well worth the cost.
Who is NOT a related party
Just as important as the list of related parties is who falls outside it. In-laws (your spouse's siblings or parents), cousins, aunts and uncles, nieces and nephews, stepchildren in some cases, and ex-spouses after divorce are generally not related parties for Section 1031. Nor is a business partner who owns 50% or less of an entity with you. Exchanges with these parties follow the ordinary 1031 rules without the two-year holding requirement — though the general anti-abuse principle still means the transaction must be a genuine exchange, not a disguised cash-out.
Exceptions that don't trigger the tax
Section 1031(f)(2) carves out situations where an early disposition within two years won't blow the exchange: a disposition after the death of either related party, a disposition due to an involuntary conversion (condemnation or casualty) that occurs after the original exchange, and any disposition where you can show to the IRS's satisfaction that neither the exchange nor the disposition had tax avoidance as a principal purpose. That last exception is fact-heavy and hard to rely on in advance, so most planners simply hold the full two years rather than test it.
The mechanics of the two-year clock
The two-year period runs from the date of the last transfer that was part of the exchange. If either party disposes of its received property before two years are up, the deferred gain from the original exchange is recognized on the date of that early disposition — not retroactively re-opening the year of the exchange, but taxed in the disposition year. The clock can also be suspended for any period during which a party's risk of loss is substantially diminished by a put option, a guarantee, a short sale, or a similar hedge, extending how long you effectively must hold.
Practical planning tips
If you're contemplating a related-party exchange: (1) get both properties independently appraised so the values are defensible; (2) use a qualified intermediary and standard documentation even though the counterparty is family; (3) build in a real business reason — consolidating management, relocating, estate planning — beyond the tax deferral; (4) commit both parties in writing to the two-year hold; and (5) avoid the pattern where you acquire replacement property from a relative after selling to a stranger, which is the arrangement the IRS most reliably attacks. When the numbers are large, have a 1031 specialist review the structure before closing.
Bottom line
Related-party 1031 exchanges are permitted and can be perfectly legitimate, but they sit under a spotlight. The core defenses are simple to state and hard to fudge: both parties hold for at least two years, values are at arm's length, there's a genuine non-tax purpose, and you don't use the structure to shift a relative's low basis into a cash sale. Get those right, report the exchange on Form 8824 for the exchange year and the two following years, and a family exchange should stand up.
Controlled entities and attribution
The more-than-50% ownership test for related entities uses constructive ownership (attribution) rules, so you can be treated as owning shares held by your family or by other entities you control. That means a corporation, partnership, or LLC that looks unrelated on paper can still be a related party once attribution is applied. Before treating an exchange with an entity as arm's length, trace the ownership through the attribution rules — an LLC owned by your spouse and children, for example, is very likely a related party to you.
Why intermediary purchases draw scrutiny
The classic abuse Section 1031(f) targets is basis shifting. Imagine a relative holds a high-basis property and you hold a low-basis one with a large deferred gain. If you could exchange into the relative's property and the relative then sold your former low-basis property, the family would have cashed out the gain while you sit on a high-basis asset. The related-party rules and the anti-abuse provision in 1031(f)(4) — reinforced by Revenue Ruling 2002-83 — exist precisely to stop this, which is why buying replacement property from a relative, even through a qualified intermediary, is treated with suspicion.
A pre-closing checklist
Before you close a related-party exchange, confirm: the counterparty's exact relationship (are they actually within the Section 267(b)/707(b) definitions?); whether attribution pulls a seemingly unrelated entity into related-party status; that both sides will hold for the full two years; that values are supported by independent appraisals; that there's a real non-tax business purpose; and that you're not acquiring from a relative in a way that shifts their low basis. Run the deal past a 1031-experienced advisor, and file Form 8824 for the exchange year plus the two following years to document compliance.
Frequently asked questions
Are in-laws or cousins related parties for a 1031?
Generally no. Section 1031(f) covers spouses, siblings, ancestors, lineal descendants, and controlled entities — not in-laws, cousins, aunts, uncles, or ex-spouses.
Do I have to report a related-party exchange every year?
You file Form 8824 for the exchange year and again for the two following tax years to confirm both parties met the two-year holding requirement.
Can I do a 1031 exchange with a family member?
Yes, but related-party exchanges carry a two-year holding requirement and extra scrutiny.
Who counts as a related party?
Under Section 1031(f), your spouse, siblings, parents, grandparents, children, grandchildren, and entities you own more than 50% of. In-laws, cousins, aunts, and uncles are generally not related parties.
What happens if the two-year holding period is broken?
The original exchange is retroactively disqualified and the deferred gain becomes taxable in the year the property is disposed of early — with limited exceptions for death and involuntary conversions.
Is buying my replacement property from a relative allowed?
It's high-risk. The IRS can disallow deferral under the Section 1031(f)(4) anti-abuse rule when the structure shifts a related party's low basis, even if the sale side is arm's length.
What form reports a related-party exchange?
Form 8824. For a related-party exchange you generally also file it for the two following tax years to confirm the holding requirement was met.
Sources
Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.
