1031 exchange guide
Primary residences: Section 121 vs 1031
Your home does not qualify for a 1031 exchange. It may qualify for something better: the Section 121 exclusion, which forgives gain outright rather than deferring it.
Key takeaways
- Section 1031 requires property held for investment or business use, which excludes a principal residence.
- Section 121 can exclude up to $250,000 of gain for a single filer or $500,000 for a married couple filing jointly.
- The Section 121 test is generally two years of ownership and two years of use as a principal residence within the five years before sale.
- A property converted from residence to rental may qualify for both provisions on different portions of the gain.
- Depreciation claimed after May 6, 1997 is not excludable under Section 121 and remains subject to recapture.
Why 121 is usually better
A 1031 exchange defers tax. Section 121 eliminates it, up to the limit. If your gain fits inside the exclusion, there is no reason to prefer an exchange, and no ongoing basis carryover to manage.
The 121 test
You generally must have owned the home for at least two years and used it as your principal residence for at least two of the five years before the sale. The two-year use period does not need to be continuous. The exclusion can generally be claimed once every two years.
Combining them on a converted property
Where a former residence became a rental, the gain can sometimes be split: the portion attributable to qualifying residential use may fall under Section 121, while the investment portion is exchanged under Section 1031.
Allocation rules, including those for nonqualified use, are technical. This is an area where a CPA earns their fee.
Moving into a property you exchanged into
Converting 1031 replacement property into your residence later is possible, but Section 121 is restricted for such property. There is a minimum holding requirement before the exclusion is available at all, and gain allocable to nonqualified use is not excludable.
Converting too soon also undermines the investment intent that supported the exchange in the first place.
Depreciation still comes back
Depreciation claimed after May 6, 1997 is not covered by the Section 121 exclusion and remains taxable as unrecaptured Section 1250 gain. A home that was rented for several years carries that exposure.
This guide is general information, not tax or legal advice. Consult your CPA, tax attorney, and Qualified Intermediary about your specific exchange.
Frequently asked questions
Can I 1031 exchange my primary residence?
How much gain can Section 121 exclude?
Can I use both 121 and 1031 on the same property?
If I move into my replacement property, can I exclude the gain later?
Related guides
- The 45-day identification rule
- The 180-day closing rule
- The three identification rules
- What is a 1031 exchange?
- Boot in a 1031 exchange
- The Qualified Intermediary
- Reverse 1031 exchange
- Improvement and construction exchanges
- The 1031 exchange timeline
- Like-kind property rules
- Partial 1031 exchange
- Related party exchanges
- LLCs, partnerships, and the drop and swap
- Depreciation recapture and 1031
- DSTs as replacement property
- 1031 exchange vs Opportunity Zone
- 721 exchanges and the UPREIT
- Tenant-in-common interests
- Can you 1031 into a REIT?
- How to find replacement property in 45 days
- Common 1031 exchange mistakes
- 1031 exchange costs and fees
- When a 1031 exchange fails
- Vacation homes and second homes
- State clawback rules
- Financing replacement property
- How many times can you exchange?
- 1031 exchange checklist
- NNN (triple net) properties as replacement property
- Retail & shopping centers as replacement property
- Quick service restaurants (QSR) as replacement property
- Industrial & warehouse as replacement property
Start your search
Need replacement property that fits this timeline?
Tell us your timeline, budget, and what you are selling. We will send curated replacement options that fit your exchange, usually within hours.
Last updated .