Back to Insights
1031 Exchange

1031 Exchange: Primary Residence vs. Investment Property

June 3, 2026 14 min read Jerry Baker
Jump to FAQ
Listen to this insight

Executive Summary

A primary residence doesn't qualify for a 1031, but Section 121 and Section 1031 can work together. A complete guide to the difference, converting a home to a rental, mixed-use treatment, and combining 121 and 1031.

One of the most common 1031 questions is whether you can exchange your house. The short answer is no — a 1031 exchange is for investment or business property, not your personal residence. But the tax code has a different, powerful tool for your home — the Section 121 exclusion — and the two provisions can interact in valuable ways through conversions and mixed-use property. Understanding the line between personal and investment property, and how 121 and 1031 work together, opens planning opportunities that many homeowners and investors miss. This guide covers the full picture.

Why a Primary Residence Doesn't Qualify

Section 1031 requires property held for investment or for productive use in a trade or business. A primary residence is personal-use property — you live in it — so it doesn't meet the held-for-investment requirement and can't be the subject of a like-kind exchange.

This is a fundamental boundary, not a technicality. The whole logic of a 1031 exchange is the continuation of an investment; a home you live in isn't an investment in that sense, so it falls outside the provision.

The good news is that the tax code provides a different and often more generous tool for your home: the Section 121 exclusion. So the right question for a residence isn't "can I 1031 it?" but "how does Section 121 apply?"

Section 121: The Home-Sale Exclusion

Section 121 lets you exclude up to $250,000 of gain on the sale of your primary residence ($500,000 for married couples filing jointly), provided you've owned and used the home as your main residence for at least two of the five years before the sale.

Unlike a 1031, Section 121 excludes the gain — it's gone, not deferred — up to the limit. For many homeowners, the $250,000/$500,000 exclusion covers their entire gain, so no tax is due at all. It's one of the most valuable tax benefits in the code for ordinary homeowners.

The exclusion can generally be used repeatedly (once every two years), but only on a primary residence meeting the ownership and use tests. Gain above the exclusion limit is taxed as capital gain.

Section 121 vs. Section 1031

The two provisions serve different properties and work differently. Section 121 applies to your primary residence and excludes up to $250k/$500k of gain. Section 1031 applies to investment or business property and defers the gain (no dollar limit) by reinvesting into like-kind property.

One excludes; the other defers. One is for your home; the other for your investments. One has a dollar cap; the other doesn't. Knowing which applies to a given property is the starting point, and it depends entirely on whether the property is personal-use or investment.

The interesting planning happens at the intersection — when a property has been both a residence and an investment over time, or has mixed use — where both provisions can apply to different portions or periods of the gain.

Converting a Home to a Rental

If you convert a former primary residence into a genuine rental property and hold it as investment property, it can become 1031-eligible over time. The conversion must be real — you actually rent it out and treat it as an investment — not a brief formality to dodge the rules.

There's no bright-line period, but holding and renting the former home for a meaningful time (often suggested as a year or more, across tax years) establishes the investment use needed for a 1031. Once it's genuinely a rental, you can exchange it like any investment property.

This conversion is a real planning tool: a homeowner with gain above the Section 121 limit might convert the home to a rental, hold it as investment property, and later exchange it to defer the gain that exceeds the 121 exclusion. Timing and genuineness are key, so plan it with your CPA.

Converting a Rental to a Residence

The reverse conversion — moving into a former rental and making it your primary residence — can let you access part of the Section 121 exclusion, but with limits. The exclusion is reduced for periods of "non-qualified use" (time the property was a rental rather than your residence) after 2008.

Importantly, if the rental was acquired in a 1031 exchange, you generally must own it for at least five years before you can use any Section 121 exclusion on it — a rule designed to prevent converting deferred-gain property into excluded-gain property too quickly.

And depreciation recapture from the rental period isn't excludable under 121 — it's still taxed. So converting a rental to a residence can access some 121 benefit, but the non-qualified-use rules, the five-year rule for 1031-acquired property, and recapture all limit it. This is technical territory for your CPA.

Key Takeaways
  • A primary residence doesn't qualify for 1031 — Section 121 (up to $250k/$500k exclusion) is its tool.
  • 121 excludes gain; 1031 defers it. One is for homes, the other for investment property.
  • Converting use, or mixed-use property, can combine 121 and 1031 with careful, timed planning.

Mixed-Use Property Treatment

For property with both personal and investment use — a duplex you live in half of, a home with a separate rental unit, or a home with a qualifying home office or rented portion — the investment portion can qualify for a 1031 exchange while the residence portion uses the Section 121 exclusion.

This requires a reasonable, documented allocation of the property's value and gain between the personal-use and investment-use portions. For example, in a duplex where you live in one unit and rent the other, roughly half might use 121 and half might be 1031-eligible.

Mixed-use property is one of the clearest places the two provisions combine, letting you exclude gain on the residence portion and defer gain on the investment portion in a single transaction. The allocation must be defensible, so work it out with your CPA.

Combining 121 and 1031

In certain situations, you can apply the Section 121 exclusion to part of the gain and defer the rest via a 1031 exchange. The classic case is a former residence later used as a rental: you may exclude up to the 121 limit (if you meet the ownership and use tests within the lookback period) and defer the remaining gain through a 1031 exchange of the now-investment property.

This combination can be remarkably powerful — excluding a large chunk of gain entirely while deferring the rest — but it's also technical and timing-sensitive, governed by the interaction of the 121 use tests, the non-qualified-use rules, and the 1031 requirements.

Because the rules interact in complex ways, combining 121 and 1031 is squarely a job for your CPA, ideally planned well in advance. Done right, it lets a property that was both a home and an investment minimize tax on both portions of its gain.

Vacation Homes and Second Homes

Vacation and second homes occupy a middle ground. A second home used primarily for personal enjoyment is personal-use property — neither 1031-eligible nor (since it's not your primary residence) eligible for the 121 exclusion. But a vacation property genuinely held for investment, rented out with personal use kept within strict safe-harbor limits, can qualify for a 1031.

The IRS has provided a safe harbor for vacation-home exchanges: roughly, renting the property at fair value for at least 14 days per year and limiting personal use to no more than 14 days (or 10% of rental days) in each of the two years before and after the exchange.

So the question for a vacation home is whether it's genuinely an investment (rented, limited personal use) or primarily personal. The former can be exchanged; the latter can't. Document the rental use and personal-use limits if you intend to exchange a vacation property.

Common Mistakes With Residence Exchanges

The most common mistake is assuming you can 1031 your home — you can't, but Section 121 likely covers much or all of the gain, so the right tool is usually available. The second is a sham conversion: briefly "renting" a home to claim 1031 eligibility without genuine investment use, which the IRS can challenge.

Other mistakes include ignoring the five-year rule when converting 1031-acquired property to a residence, forgetting that depreciation recapture isn't excludable under 121, and failing to document the allocation in mixed-use situations.

Each of these is avoidable by understanding which provision applies and planning conversions genuinely and with enough lead time. The interactions are technical, so a CPA's involvement is essential whenever a property has been both a home and an investment.

If you're selling a pure primary residence, Section 121 is your tool — and for most homeowners it excludes the entire gain, so no further planning is needed. If you're selling pure investment property, a 1031 exchange defers the gain. The planning opportunities are in between.

If your home's gain exceeds the 121 limit, converting it to a genuine rental and later exchanging can defer the excess. If you have mixed-use property, you can combine 121 and 1031 across the personal and investment portions. If you have a vacation home, whether it qualifies depends on genuine investment use within the safe harbor.

Because these strategies hinge on technical, timing-sensitive rules, the right move is to plan with your CPA before you sell or convert. Understanding the line between personal and investment property — and how 121 and 1031 interact — is what lets you minimize tax across the full arc of a property that's been both a home and an investment.

FAQ

Frequently Asked Questions

Can I do a 1031 exchange on my primary residence?

No. A primary residence is personal-use property and doesn't qualify for a 1031 exchange. The relevant tax break for a home is the Section 121 exclusion, which excludes up to $250,000 of gain ($500,000 for married couples) if you meet the ownership and use tests.

What is the difference between Section 121 and Section 1031?

Section 121 applies to your primary residence and excludes up to $250k/$500k of gain. Section 1031 applies to investment or business property and defers the gain (no dollar limit) by reinvesting into like-kind property. One excludes gain on a home; the other defers gain on investment property.

Can I convert my home to a rental and then do a 1031?

Yes, potentially. If you convert a former residence into a genuine rental and hold it as investment property for a meaningful time, it can become 1031-eligible. The conversion must be real, not a brief formality. This is a common way to defer gain above the Section 121 limit.

Can I combine the 121 exclusion and a 1031 exchange?

In certain cases — such as a former residence later used as a rental — you can exclude part of the gain under Section 121 and defer the rest with a 1031. The combination is technical and timing-sensitive, governed by the 121 use tests, non-qualified-use rules, and 1031 requirements. Plan it with your CPA.

How much gain can Section 121 exclude?

Up to $250,000 of gain for a single filer, or $500,000 for married couples filing jointly, on the sale of a primary residence you've owned and used as your main home for at least two of the five years before the sale. Gain above the limit is taxed as capital gain.

Can I use a 1031 on a mixed-use property?

Yes, in part. For a property with both personal and investment use — like a duplex you live in half of — the investment portion can qualify for a 1031 exchange while the residence portion uses the Section 121 exclusion, with a reasonable, documented allocation between the two.

Does converting a rental to a residence let me use Section 121?

Partly, with limits. You can access some 121 exclusion, but it's reduced for periods of non-qualified use (the rental period), depreciation recapture isn't excludable, and if the rental was acquired in a 1031 exchange you generally must own it at least five years first. It's technical — consult your CPA.

Can I 1031 a vacation home?

Only if it's genuinely held for investment — rented at fair value (often at least 14 days/year) with personal use kept within strict limits (no more than 14 days or 10% of rental days) under the IRS safe harbor. A vacation home used primarily for personal enjoyment doesn't qualify.

Is there a holding period to convert a home to a rental for 1031?

There's no bright-line rule, but holding and genuinely renting the former home for a meaningful period (often suggested as a year or more, across tax years) establishes the investment use needed for a 1031. The conversion must be real, not a brief formality.

Does the 121 exclusion cover depreciation recapture?

No. If a property was used as a rental and you took depreciation, that depreciation recapture is not excludable under Section 121 — it's still taxed even if the rest of the gain is excluded. This limits the benefit when converting a former rental to a residence.

What is the five-year rule for converting 1031 property to a residence?

If you acquired a property in a 1031 exchange and later convert it to your primary residence, you generally must own it for at least five years before using any Section 121 exclusion on it. The rule prevents quickly converting deferred-gain property into excluded-gain property.

Can married couples exclude more under Section 121?

Yes. Married couples filing jointly can exclude up to $500,000 of gain on a primary residence (versus $250,000 for a single filer), provided they meet the ownership and use tests. Both spouses must generally use the home as their main residence for two of the five years.

What if my home gain exceeds the 121 limit?

The gain above the $250k/$500k exclusion is taxed as capital gain. One planning option is to convert the home to a genuine rental and later exchange it under Section 1031 to defer the excess gain, though this requires real investment use and careful timing with your CPA.

How do I allocate value in a mixed-use property?

Through a reasonable, documented method — often based on square footage, separate units, or appraised values for the personal and investment portions. The allocation determines how much gain uses Section 121 (residence) versus a 1031 exchange (investment). Work out a defensible allocation with your CPA.

What's the most common mistake with residence and investment property?

Assuming you can 1031 your home — you can't, but Section 121 usually covers much or all of the gain. The second is a sham conversion: briefly renting a home to claim 1031 eligibility without genuine investment use, which the IRS can challenge. Understand which provision applies and plan conversions genuinely.

Can I use both Section 121 and a 1031 on the same property?

In certain cases, yes — most commonly a former residence later used as a rental, where you may exclude up to the 121 limit (if you meet the use tests within the lookback period) and defer the remaining gain through a 1031. It's technical and timing-sensitive, governed by the interaction of the 121 tests, non-qualified-use rules, and 1031 requirements. Plan it with your CPA.

How long do I have to live in a home to use Section 121?

You must have owned and used the home as your main residence for at least two of the five years before the sale. The two years of use don't have to be continuous, and the exclusion can generally be used once every two years on a qualifying primary residence.

If I move into my rental, can I exclude all the gain?

Not all of it. The Section 121 exclusion is reduced for periods of non-qualified use (the time it was a rental after 2008), depreciation recapture from the rental period isn't excludable, and if you acquired the rental in a 1031 exchange you generally must own it at least five years first. You can access some 121 benefit, but with these limits.

Does a home office or rented room affect my exchange options?

It can make the property mixed-use. The portion used for business or rental (a qualifying home office or rented room) may be 1031-eligible, while the residence portion uses Section 121, with a reasonable allocation. The treatment depends on the extent and documentation of the business or rental use — discuss it with your CPA.

What is the five-year rule and when does it apply?

If you acquired a property in a 1031 exchange and later convert it to your primary residence, you generally must own it for at least five years before using any Section 121 exclusion on it. The rule prevents quickly converting deferred-gain (1031) property into excluded-gain (121) property to wipe out the deferred gain.

Can I exchange a second home or vacation property?

Only if it's genuinely held for investment — rented at fair value (often at least 14 days a year) with personal use within strict safe-harbor limits (no more than 14 days or 10% of rental days). A second home used primarily for personal enjoyment qualifies for neither a 1031 nor (since it's not your primary residence) the 121 exclusion.

What is the Section 121 ownership and use test?

To use the exclusion, you must have owned the home and used it as your main residence for at least two of the five years before the sale. The two years don't have to be continuous. Meeting this test qualifies you for up to $250,000 ($500,000 married filing jointly) of excluded gain.

Can I avoid all tax on my home sale?

Often, yes — if your gain is within the Section 121 exclusion ($250k single, $500k married), the entire gain may be excluded with no tax due. Gain above the limit is taxed as capital gain, and one option to defer the excess is converting the home to a genuine rental and later exchanging it under Section 1031.

Does Section 1031 have a dollar limit like Section 121?

No. Section 1031 has no dollar cap on the gain it can defer — you can defer the entire gain on an investment property of any size by reinvesting into like-kind property of equal or greater value. Section 121, by contrast, caps the home-sale exclusion at $250k/$500k.

If I rent out my old home then exchange it, when is it 1031-eligible?

Once it's genuinely held and used as investment property — typically rented for a meaningful period (often suggested as a year or more, across tax years). The conversion must be real, not a brief formality. After it's a bona fide rental, you can exchange it like any investment property. Confirm timing with your CPA.

Does depreciation on my former home affect the exchange?

If you converted it to a rental and took depreciation, that depreciation creates recapture that a 1031 exchange can defer (along with the gain), but which the Section 121 exclusion cannot exclude. So in a converted-home situation, 121 may exclude part of the appreciation while 1031 defers the recapture and remaining gain.

Can a married couple combine 121 and 1031?

Yes, in appropriate situations. For example, on a former residence converted to a rental, a married couple may exclude up to $500,000 under Section 121 (if they meet the use tests within the lookback period) and defer the remaining gain via a 1031 exchange of the now-investment property. The interaction is technical — plan it with your CPA.

Is a duplex I live in half of eligible for a 1031?

Partly. The rented half is investment property eligible for a 1031 exchange, while the half you live in is a residence using Section 121, with a reasonable allocation (often by square footage or units) between the two. This is one of the clearest cases where both provisions apply to a single property.

Should I consult a professional for a 121/1031 situation?

Yes, absolutely. The interaction of Section 121 and Section 1031 — conversions, mixed-use allocation, non-qualified use, the five-year rule, and depreciation recapture — is technical and timing-sensitive. A CPA experienced with real estate should plan these situations well in advance to minimize tax across both portions of the gain.

Glossary

Key Terms

Section 121 Exclusion
The exclusion of up to $250k/$500k of gain on the sale of a primary residence meeting ownership and use tests.
Primary Residence
Personal-use home, which does not qualify for a 1031 exchange but may use Section 121.
Conversion
Changing a property's use (home to rental, or rental to home) to access different tax treatment.
Mixed-Use Property
Property with both personal and investment use, allocated between Section 121 and Section 1031.
Non-Qualified Use
Periods of non-residence use (e.g., rental) that reduce the Section 121 exclusion on a converted property.
Ownership and Use Test
The requirement to have owned and used a home as your main residence for two of the five years before sale.
Five-Year Rule
The rule requiring 5 years' ownership before using Section 121 on a property acquired in a 1031 exchange.
Vacation-Home Safe Harbor
IRS guidelines (rental days and limited personal use) under which a vacation property can be 1031-eligible.
Depreciation Recapture
Tax on prior depreciation; not excludable under Section 121, even on a converted residence.
Held for Investment
The requirement, for 1031, that property be held for investment or business rather than personal use.
Capital Gain
Gain above the Section 121 exclusion limit, taxed at long-term capital gains rates.
Allocation
Dividing a mixed-use property's value and gain between personal and investment portions.
JB
Gerald F. “Jerry” Baker, III
Managing Principal · Baker 1031 Investments · Registered Representative, Aurora Securities, Inc.

Jerry works directly with investors — principal to investor — sourcing and independently vetting institutional-quality DST and 1031 offerings, and helping investors understand the structure before deciding whether it suits their goals.

Sources & References
  1. IRS. Sale of Your Home (Section 121) and Like-Kind Exchanges
  2. IPX1031. Combining 121 and 1031
  3. JTC Group. 1031 and Real Estate: Answers to Common Questions
  4. IRS. Publication 523 — Selling Your Home

Educational content, not tax, legal, or investment advice. DST and securities interests are offered to accredited investors through Aurora Securities, Inc. (member FINRA/SIPC) following a suitability review. Subject to Aurora Securities principal approval before publication.