Can You 1031 Exchange a Primary Residence or Vacation Home?

Back to All Insights

A 1031 exchange is for investment real estate, not your home. But the line blurs with vacation homes and converted residences — here's exactly where each rule applies.

Few 1031 questions generate as much confusion as the one about the home you live in or the cabin you escape to. The instinct is understandable: these are real estate, they may carry large gains, and the 1031 exchange is the famous way to defer real estate gain. But Section 1031 is reserved for property held for investment or business use, which means a primary residence falls outside it — and into the orbit of a different, often more generous tax break. Vacation homes occupy a gray area that depends on how you actually use them. Getting the distinction right can save, or cost, a great deal of tax.

Key Takeaways
  • A 1031 exchange applies to investment or business property — not a primary residence.
  • Primary residences use the Section 121 exclusion: up to $250,000 of gain potentially tax-free for singles, $500,000 for married couples filing jointly.
  • A vacation home can qualify for a 1031 only if held for investment and meeting the IRS safe harbor in Revenue Procedure 2008-16.
  • Converting property between personal and investment use is possible, but carries waiting periods, a non-qualified-use rule, and depreciation recapture.

The short answer

You generally cannot 1031 exchange a primary residence. Section 1031 requires property held for productive use in a trade or business or for investment, and a home you live in is, by definition, held for personal use. The good news is that homeowners don't need a 1031 — they have a tool that is frequently better, because it can make gain potentially tax-free outright rather than merely deferring it. Investment and vacation properties follow different paths, which the rest of this memo maps. (For the investment rules themselves, see our 1031 exchange guide.)

The Section 121 exclusion

The homeowner's tool is the Section 121 exclusion. It lets you exclude up to $250,000 of gain on the sale of your main home if you're single, or $500,000 if you're married filing jointly, provided you owned and used the home as your principal residence for at least two of the five years before the sale. You generally can't use the exclusion more than once in any two-year period.

Because the exclusion makes a large slice of a home's gain disappear entirely, most homeowners have no reason to reach for a 1031 at all — deferral is a weaker outcome than exclusion. There are also partial exclusions available when a sale is driven by a change in employment, health, or other unforeseen circumstances even if you fall short of the two-year test. The exclusion is the reason a primary residence sits in a different tax world from a rental.

Combining Section 121 with a 1031 exchange

The two rules can occasionally work together on a single property that has served two purposes. The classic case is a duplex where you live in one unit and rent the other, or a home with a qualifying home office or rental history. On a sale, you can allocate between the personal-use portion (eligible for the Section 121 exclusion) and the investment portion (eligible for 1031 deferral), applying each rule to its slice. This combination is powerful but technical: it requires careful allocation of basis and gain, and any depreciation you claimed on the rental portion is still subject to recapture. It is precisely the kind of situation to plan with a tax advisor well before listing.

Vacation homes and the safe harbor

A vacation or second home is the genuine gray area, because whether it qualifies for a 1031 turns on how you actually use it. To be exchangeable, it must be held for investment rather than personal enjoyment. The IRS gave taxpayers a clear path with the safe harbor in Revenue Procedure 2008-16: for each of the two years before the exchange, you must rent the property at a fair market rent for at least 14 days, and your own personal use must not exceed the greater of 14 days or 10% of the days it was rented. A comparable test applies to the replacement property for the two years after. Meet the safe harbor and a second home is treated like any other investment property; fail it, and the home looks like personal-use property that doesn't qualify.

Converting a residence to a rental — and vice versa

Use can change over time, and the tax rules follow the change. You can convert a former residence into a genuine rental and, after establishing investment use, exchange it under Section 1031. You can also move into a property you originally acquired through a 1031 exchange and eventually claim some Section 121 benefit — but the law adds guardrails to prevent abuse.

Two are worth knowing. First, a residence acquired in a 1031 exchange must generally be owned for at least five years before the Section 121 exclusion can apply to it. Second, the exclusion is reduced for periods of non-qualified use — time the property was held as an investment rather than a residence — and any depreciation taken while it was a rental is recaptured and cannot be excluded. These conversions can be very effective, but they reward planning years ahead, not improvisation at the closing table.

Worked examples

Two illustrative cases show the rules in motion. First, a couple sells the home they've lived in for a decade with a $400,000 gain. They owe no federal tax on it — the $500,000 joint Section 121 exclusion covers the entire gain, and no 1031 is needed or available. Second, an investor owns a beach house she has rented at market rent for several weeks each year while using it only briefly herself, satisfying the Revenue Procedure 2008-16 safe harbor. Because it qualifies as investment property, she can 1031 it into another rental and defer her gain, just as she could with any other investment real estate. Same asset class, completely different tax treatment — the difference is use, and use is what the rules are testing.

The five-year rule and non-qualified use, in depth

The conversion that draws the most interest — and the most errors — is moving into a property you acquired through a 1031 exchange and later trying to exclude gain under Section 121. The law deliberately limits this with two mechanisms worth understanding.

First, under Section 121(d)(10), a residence acquired in a 1031 exchange must be owned for at least five years before the Section 121 exclusion can apply at all. Second, under the non-qualified use rule, the exclusion is reduced in proportion to the time the property was held as an investment rather than as your residence. Consider an illustrative case: you 1031 into a rental, hold it as a rental for two years, then move in and live there for three more before selling at the five-year mark. You clear the five-year ownership hurdle, but a portion of your gain — roughly corresponding to the two years of investment use — remains taxable as non-qualified use, and any depreciation you claimed during the rental years is recaptured and cannot be excluded at all. The strategy still works; it just delivers less than the headline $250,000/$500,000 exclusion, and only to those who plan for the timeline.

Renting before you sell, or selling a former rental

The reverse conversion — turning a home into a rental and then exchanging it — is also possible, and here the governing question is intent and genuine use rather than a fixed number of days. To exchange a former residence, you need to establish that it has truly become investment property: rent it at a fair market rate, treat it as a rental on your return, and hold it long enough to demonstrate that investment, not personal use, is now its purpose. There's no bright-line holding period in the statute for this, but longer and cleaner is safer, and a token few months of renting before an exchange invites scrutiny. The mirror situation — converting a rental into a residence — is governed by the five-year and non-qualified-use rules above. In both directions, the lesson is the same: the tax treatment follows the property's real, demonstrable use, so let the facts genuinely change before you rely on a different rule.

Frequently Asked Questions

Can I 1031 exchange my primary home?

No. A 1031 exchange is limited to investment or business property. Primary residences use the Section 121 exclusion instead, which can make a large share of the gain potentially tax-free.

How much home-sale gain is potentially tax-free?

Under Section 121, up to $250,000 for single filers and $500,000 for married couples filing jointly, if you owned and used the home as your main residence for two of the last five years.

Can a vacation home qualify for a 1031 exchange?

Yes, if it's held for investment and meets the IRS safe harbor in Revenue Procedure 2008-16 — rented at fair market value at least 14 days a year with limited personal use, for the two years before the exchange.

Can I combine the Section 121 exclusion with a 1031 exchange?

Sometimes, on a mixed-use property such as a live-in duplex. You allocate between the personal-use portion (Section 121) and the investment portion (1031), though depreciation on the rental part is still recaptured.

Can I move into a property I bought with a 1031 exchange?

Yes, but to later use the Section 121 exclusion you generally must own it at least five years, the exclusion is reduced for the investment-use period, and prior depreciation is recaptured.

Glossary

Section 121 Exclusion
The home-sale break excluding up to $250,000 (single) or $500,000 (married filing jointly) of gain on a primary residence.
Revenue Procedure 2008-16
The IRS safe harbor defining when a vacation home is treated as held for investment and eligible for a 1031 exchange.
Non-Qualified Use
Periods a home is used as an investment rather than a residence, which reduce the Section 121 exclusion.
Mixed-Use Property
Property serving both personal and investment purposes, where Section 121 and 1031 may each apply to a portion.

Disclosures

This memo is published by Baker 1031 for general informational and educational purposes only. It is not investment, legal, or tax advice, and is not an offer to sell or a solicitation to buy any security. 1031 exchange rules are intricate and depend on your specific facts; consult your own CPA and attorney before acting.

Every example here is illustrative and hypothetical, included to show how the mechanics work; it is not a projection or a representation about any specific transaction. References to statutes, IRS rulings, and procedures reflect general rules as understood in 2026 and are subject to change. Securities offered through Aurora Securities, Inc., member FINRA / SIPC; Baker 1031 Investments is independent of Aurora Securities, Inc. For entity and registration details, see the Baker 1031 disclosures and the applicable Private Placement Memorandum.

Executive summary audio

Current-law source reviewed July 11, 2026: IRS Opportunity Zone guidance and IRS Notice 2026-40. Opportunity Zone benefits are conditional, time-sensitive, and dependent on the QOF, the taxpayer, the holding period, and current law; confirm the details with your CPA and attorney.