
Short answer
You can do a 1031 exchange with a related party, but the rules depend on which side of the deal your relative is on. Selling your old property to a relative generally works if both of you keep your properties for two years. Buying your replacement from a relative usually fails, because the relative walks away with cash, unless they also do a 1031 exchange and stay invested. These rules are in IRC §1031(f).
| Scenario | Usually allowed? | Condition |
|---|---|---|
| Direct swap with a relative (you trade properties) | Yes | Neither of you sells within 2 years |
| Sell your old property to a relative, buy from a stranger | Generally yes | Your relative keeps the property 2 years; you keep yours |
| Buy your replacement from a relative who takes cash | No | Disallowed even through a QI (Rev. Rul. 2002-83) |
| Buy from a relative who also does a 1031 exchange | Possibly | The relative reinvests all proceeds in like-kind property and takes no cash; get tax advice first |
On this page
Who counts as a related party?
Section 1031(f) borrows the definitions in IRC §267(b) and §707(b)(1). The main groups:
- Family: your spouse, brothers and sisters (including half-siblings), parents, grandparents and other ancestors, and children, grandchildren and other descendants.
- Your entities: a corporation in which you own more than 50% of the stock by value, and a partnership (or multi-member LLC taxed as one) in which you own more than 50% of the capital or profits. Ownership by your family members is counted as yours.
- Trusts: a trust and its grantor or beneficiaries, and trusts with the same grantor.
In-laws, aunts, uncles, cousins, nieces and nephews are not on the family list. A sale to them is not a related-party sale under these rules, although a below-market price still raises gift and valuation questions.
Why the rule exists: basis shifting
Without the rule, a family could move a low-basis property into the hands of a relative with a high basis and let that relative sell it with little tax. Example: you own a building worth $1,000,000 with a $200,000 basis. Your father owns one worth $1,000,000 with a $950,000 basis. You swap, and your father sells your old building next month. The family has cashed out $1,000,000 of real estate while reporting only about $50,000 of gain. Section 1031(f) stops this by taking away the deferral if either side disposes of the property within two years.
The 2-year holding rule
After an exchange with a related person, both of you must keep the property you received for two years. If either of you sells or otherwise disposes of it earlier, the gain you deferred becomes taxable. Under §1031(f)(1) the gain is taken into account on the date of that early disposition, so it is reported in that later year, not by amending the year of the exchange.
The two years do not count while your risk of loss is reduced, for example by a put option or a short sale (§1031(g)). There are three exceptions to the 2-year rule (§1031(f)(2)):
- a disposition after the death of either party,
- an involuntary conversion, such as a condemnation or casualty, and
- a transaction that you can show did not have tax avoidance as one of its principal purposes.
You report the exchange on Form 8824, Part II, for the year of the exchange and for the two years after it.
Buying your replacement from a relative
This is where most related-party exchanges fail. Suppose you sell a rental to a stranger for $1,000,000, the proceeds go to your qualified intermediary, and the QI buys your mother's building for $1,000,000. Your mother receives cash. In Rev. Rul. 2002-83 the IRS ruled that this kind of arrangement is structured to avoid the related-party rule (§1031(f)(4)), so the exchange does not qualify, even though a QI was used and even if your mother pays tax on her own sale.
The narrow path that can work is for the relative to stay invested too: your relative sells to you through their own exchange and reinvests all of their proceeds in like-kind property, and both of you hold for two years. The IRS has accepted some arrangements like this in private letter rulings, which only bind the taxpayer who asked. Plan it with a tax adviser before signing anything.
Selling your old property to a relative
Selling the relinquished property to a relative is usually acceptable if you buy your replacement from an unrelated seller and your relative keeps the property for at least two years. The relative paid cash and gets a cash-purchase basis, so no basis is shifted. If the relative resells within two years, your deferred gain becomes taxable in the year of their sale. Price the sale at fair market value with an appraisal: a discount is a gift and can complicate both sides.
Four quick examples
- Sale to a son, purchase from a stranger. Dana sells a duplex to her son through her QI and buys a fourplex from an unrelated seller. Her son keeps the duplex for three years. The exchange stands.
- Same deal, early resale. The son sells the duplex 14 months later. Dana's deferred gain becomes taxable in the year her son sells, unless an exception applies.
- Purchase from a parent who cashes out. Raj's QI buys his father's warehouse with Raj's exchange funds, and his father keeps the cash. The exchange fails under Rev. Rul. 2002-83.
- Purchase from a 30%-owned partnership. Lee owns 30% of a partnership and no family member owns any of it, so the partnership is not related to Lee and the related-party rules do not apply.
Short answers to the most common questions are in our FAQs who is a related party in a 1031 exchange? and what is the 2-year rule? Selling a co-owned property to a relative also raises multiple-owner questions.
For other parties you cannot use, such as your own agent or attorney acting as your intermediary, see disqualified persons in 1031 exchanges. The overall rules are in our 1031 exchange rules guide.
Frequently asked questions
Can I do a 1031 exchange with my own LLC?
If you own more than 50% of the LLC, it is a related party. Selling to it can work with a 2-year hold, but buying your replacement from it while it keeps the cash generally fails.
Are in-laws related parties for a 1031 exchange?
No. The family list covers spouses, siblings, ancestors and lineal descendants. In-laws, aunts, uncles and cousins are not included.
What happens if my relative sells within two years?
The gain you deferred becomes taxable in the year of that early sale, unless it happened because of a death, an involuntary conversion, or for a reason with no tax-avoidance purpose.
Does using a qualified intermediary avoid the related-party rules?
No. Rev. Rul. 2002-83 looks through the intermediary when a related seller ends up with cash.
Sources
- 26 U.S.C. §1031 (related party rules in subsections (f) and (g))
- 26 U.S.C. §267 (definition of related persons)
- Rev. Rul. 2002-83 (buying replacement property from a related party through a QI)
- Instructions for Form 8824 (Part II related party reporting)
This article is general information, not tax or legal advice. Talk to your CPA or tax attorney about your situation.












