In this guide
- Which “2-year rule”? (Three rules share the name)
- Why the rule exists: the basis-shift game
- Who counts as related
- The three directions — and which ones work
- The Rev. Rul. 2002-83 trap: buying from a related party
- The three exceptions
- Reporting: Form 8824, three years running
- Related parties in practice: partnerships and family deals
- Frequently asked questions
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
| Structure | Works? | The rule |
|---|---|---|
| Direct swap with a related party (you trade properties with each other) | Yes | Both 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 yes | Widely 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 no | The 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.