The IRS gives you 45 days to identify. Check your deadline →
The 1031 Shop
Home / Guides / Primary residences: Section 121 vs 1031

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?
No. Section 1031 requires property held for investment or business use. A principal residence may instead qualify for the Section 121 exclusion.
How much gain can Section 121 exclude?
Up to $250,000 for a single filer and $500,000 for a married couple filing jointly, subject to the ownership and use tests.
Can I use both 121 and 1031 on the same property?
Sometimes, on a property that served as both a residence and a rental. The gain may be allocated between the two provisions. The rules are technical; involve your CPA.
If I move into my replacement property, can I exclude the gain later?
Only partially and only after a minimum holding period. Gain allocable to nonqualified use is not excludable, and depreciation remains recapturable.

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.

Or the date it already closed.

No cost, no obligation. We never sell your information.

Last updated .