Guide · Rules & Structures

What Is the 2-Year Rule? Related-Party 1031 Exchanges, Explained

The most-asked question in every 1031 search box — “what is the 2-year rule?” — is really a question about family and affiliated entities. Exchanges touching a related party carry a two-year holding handcuff, a direction-of-travel trap the IRS published a ruling about, and a follow-up filing most people forget. Here's the whole rule, untangled from the other “two years” in exchange law.

By Casmir Mason — Founder & CEO, North Pine Capital
Last reviewed August 2026
Educational — not tax, legal, or investment advice
The short version

Exchange with a related party (close family; entities you own >50% of) and both sides must hold for two years — an early sale by either un-defers the gain (§1031(f)). Direct swaps and selling to a related party generally work; buying from one while they cash out is the trap Rev. Rul. 2002-83 closes. Exceptions: death, involuntary conversion, or proving no tax-avoidance purpose. Report on Form 8824 for three straight years. Not to be confused with the two rental years that make a converted home exchange-eligible.

Which “2-year rule”? (Three rules share the name)

“What is the 2-year rule for 1031?” has three correct answers, and most confusion starts by mixing them. (1) The related-party holding rule — this article: exchange with a related party and both sides hold for two years. (2) The conversion safe harbor: roughly two years of genuine rental makes a former home or vacation property exchange-eligible under Rev. Proc. 2008-16 — covered in the primary residence guide. (3) The move-in convention: the same safe harbor run in reverse, holding a replacement property as a rental about two years before converting it to personal use. If your question involves family or your own entities, you're in the right place; if it involves your house or the beach condo, follow the link.

Why the rule exists: the basis-shift game

Before 1989, a family could run a clean tax arbitrage. Suppose you hold a property worth $1M with a $100,000 basis (huge gain), and your sister holds one worth $1M with a $900,000 basis (small gain). Swap tax-free under §1031, then have your sister sell “her” new property — the low-basis one she just received, except basis carries over, so instead: you now hold the high-basis property and sell it recognizing almost nothing, while the family has fully cashed out of the appreciated asset. Gain didn't get deferred; it got shifted onto a basis that made it vanish. Congress closed this with §1031(f): related-party exchanges are fine, but if either party disposes of its property within two years, the original exchange loses its deferral — the gain springs back in the year of the early sale. The two-year clock also tolls during periods when either party's risk of loss is limited (puts, calls, short sales), so option games don't shorten it.

Who counts as related

§1031(f) borrows the lists from §267(b) and §707(b). In people terms: spouses, siblings (including half-siblings), parents, grandparents, children, and grandchildren are related; aunts, uncles, nieces, nephews, cousins, and in-laws are not. In entity terms: a corporation or partnership is related to anyone owning more than 50% of it (by value or capital/profits interest), two entities under common >50% control are related to each other, and trusts, estates, and their fiduciaries and beneficiaries join the web. Constructive-ownership attribution applies — stock your spouse, children, or partnerships own counts toward your 50% — so the honest first step in any family-adjacent exchange is drawing the ownership chart before assuming you're outside the rule. Your LLC where you own 100%? Related. The partnership where you hold 30% and no family holds the rest? Not related — but partnership exchanges have their own minefield, mapped in the drop and swap guide.

The three directions — and which ones work

StructureWorks?The rule
Direct swap with a related party (you trade properties with each other)YesBoth parties hold two years (§1031(f)(1)); early disposition by either side un-defers both
Selling to a related party (they buy your relinquished property; you buy replacement from a stranger via your QI)Generally yesWidely accepted as outside the abuse the statute targets; conservative advisors still respect a two-year hold on the related buyer's side
Buying from a related party (stranger buys yours; your QI buys replacement from your relative, who takes cash)Generally noThe Rev. Rul. 2002-83 trap — see below. Exception: the related seller does their own 1031 exchange, or a §1031(f)(2) exception applies

The Rev. Rul. 2002-83 trap: buying from a related party

The intuitive family deal — “I'll just buy Dad's rental as my replacement property” — is the one the IRS wrote a ruling against. In Rev. Rul. 2002-83, the Service held that acquiring replacement property from a related person who receives cash is, in substance, the prohibited basis-shift: the family group ends up with cash out of the appreciated property while the gain hides in a swapped basis. Running the purchase through a qualified intermediary doesn't launder it — §1031(f)(4) expressly disregards structures “part of a transaction (or series) structured to avoid” the related-party rules. The recognized escape: the related seller does their own 1031 exchange instead of taking cash, so no one in the group cashes out — the fact pattern the IRS has blessed in later rulings. If Dad wants to sell you his rental for cash while you exchange into it, the honest answer is that your deferral is probably lost; if Dad exchanges too, the family deal can work.

The three exceptions

§1031(f)(2) forgives an early disposition in three cases: death of either related party before the two years run (the step-up moots the game); a compulsory or involuntary conversion — condemnation, casualty — provided the exchange happened before the threat arose; and the catch-all: establishing to the IRS's satisfaction that neither the exchange nor the disposition had tax avoidance as one of its principal purposes. The third is argued case by case — the strongest fact patterns are ones where no net basis shifting occurred or both parties fully deferred — and it's the exception you plan toward with counsel, never one you assume. Note what's absent from the list: changed circumstances, a great offer, or needing the money. The handcuffs are real; price them before exchanging with family.

Reporting: Form 8824, three years running

Form 8824 asks in Part II whether the exchange involved a related party and, if so, requires the relationship, the related party's identifying information — and a repeat Form 8824 filing in each of the two following years reporting whether either side disposed of its property. That's the enforcement mechanism, and the follow-up filings are the step families most often miss. A disqualifying early disposition doesn't amend the original year: the deferred gain is recognized in the year of the disposition, with the tax computed as the usual recapture-first stack — and the calculator shows what that bill looks like on your numbers.

Related parties in practice: partnerships and family deals

Where the rule actually bites: family limited partnerships and LLCs selling to or buying from members (draw the >50% chart first); drop-and-swap structures, where partners becoming tenants-in-common shortly before an exchange should keep the related-party overlay in view alongside the held-for-investment issue (that guide); parents seeding children's portfolios — workable, but sequence so nobody in the group takes cash within two years; and estate-adjacent planning, where the death exception and the swap-till-you-drop endgame intersect. The theme across all of them: related-party exchanges are not prohibited — they're supervised, for two extra years, with the burden on you. Structure so no one cashes out early, file the follow-up 8824s, and the rule is a speed limit rather than a wall.

Frequently asked questions

When a 1031 exchange involves related parties, Section 1031(f) requires both sides to hold their properties for at least two years after the exchange. If either related party disposes of its property within two years, the original deferral is undone — the gain becomes taxable in the year of the disqualifying sale. The rule exists to stop families and affiliated entities from shifting tax basis between themselves to cash out low-tax. It's often confused with two other 'two-year' figures: the roughly two rental years that establish investment intent for converted homes, and the two-year safe harbor for vacation property conversions — different rules entirely.
Yes, in the right structure. A direct swap — you and a related party exchange properties with each other — works if both of you then hold for two years. Selling your property to a related party is also generally workable. The dangerous direction is buying your replacement property from a related party while they cash out: under Rev. Rul. 2002-83, the IRS treats that as a basis-shifting arrangement and disallows the deferral in most cases, unless the related seller does their own exchange or an exception applies.
The lists in Sections 267(b) and 707(b): close family — spouses, siblings, ancestors, and descendants (aunts, uncles, cousins, and in-laws are not on the list) — plus entities you control: corporations or partnerships where you own more than 50%, related trusts and estates, and entities under common control with each other. Ownership is measured with attribution rules, so shares held by your family count toward your percentage. When entities overlap family, the analysis gets technical fast — this is a map-it-out-with-your-CPA rule.
Section 1031(f)(2) lists three: a disposition after the death of either related party; a disposition from a compulsory or involuntary conversion (such as condemnation or destruction) that predates the exchange planning; and dispositions where the taxpayer establishes that neither the exchange nor the disposition had tax avoidance as a principal purpose. The IRS has accepted the no-tax-avoidance exception where, for example, both related parties end up fully deferring in their own exchanges — but it's a facts-and-circumstances argument, not a checkbox, and the burden is yours.
On Form 8824, which asks directly whether the exchange involved a related party — and then requires you to file Form 8824 again for each of the two years after the exchange, reporting whether either side disposed of its property. That follow-up filing is how the IRS polices the holding period, and forgetting it is the most common compliance slip in related-party exchanges. If a disqualifying disposition happens, the deferred gain is recognized in the year of that disposition, not amended back.