Can You 1031 Exchange a Primary Residence? (And What to Do Instead)
14 min read · The Basics · Last updated
Reviewed by
Key Takeaways
Primary residences are specifically excluded from 1031 exchanges because they're not "held for investment." However, converting your home to a rental property and holding it for a qualifying period creates a genuine investment property you can exchange. Section 121 exclusion and 1031 rules can sometimes work together to your advantage.
- Starting point: primary residence does not qualify
- Decision framework
- The Section 121 exclusion: simplest path
- Converting a primary residence to investment property
- Mixed-use properties: Section 121 and 1031
- When the conversion strategy makes sense
- Alternatives if conversion is not practical
- When to talk to a CPA
Section 1031 applies to property "held for productive use in a trade or business or for investment." A primary residence does not meet that standard. The rule is clear, consistently enforced, and well-settled in case law.
That does not mean homeowners are without options. Depending on the facts, the Section 121 exclusion, a conversion to rental status, or a combination of strategies may reduce or defer the tax. This page explains the decision framework.
Starting point: primary residence does not qualify
IRC Section 1031 was designed to encourage continued investment in real property, not to shelter gains on personal-use homes. The IRS has consistently held that a home you occupy as your primary residence is not "held for investment" regardless of how much it has appreciated.
Attempting a 1031 exchange on a property that does not qualify can result in the exchange being disqualified, taxes assessed on the full gain with interest dating back to the sale, and potential accuracy-related penalties. The consequences are financial, not criminal, but they are meaningful. On a $300,000 gain the additional federal tax alone could exceed $60,000, plus interest.
Decision framework
The right approach depends on your situation. Work through these questions in order:
1. Do you qualify for the Section 121 exclusion?
If you have owned and used the home as your primary residence for at least two of the five years before the sale, you may exclude up to $250,000 of gain (single) or $500,000 (married filing jointly) under Section 121. For many homeowners, this exclusion eliminates or substantially reduces the tax without any exchange.
2. Does your gain exceed the Section 121 cap?
If the gain exceeds $250,000/$500,000, you will owe tax on the excess. In that case, converting the property to a rental and later exchanging it may make sense if you are willing to commit to a genuine rental period.
3. Are you willing to convert the property to a rental and hold it for a meaningful period?
If so, the conversion pathway described below may create future 1031 eligibility.
4. Is neither 121 nor conversion practical?
Consider an installment sale to spread the gain across tax years, or simply pay the tax and move on. Not every situation warrants the complexity of a conversion strategy.
The Section 121 exclusion: simplest path
Section 121 lets you exclude gain on the sale of your principal residence if you meet the ownership and use tests (two of the last five years). Key points:
- The exclusion is $250,000 for single filers, $500,000 for married filing jointly.
- You do not need to buy a replacement property.
- The exclusion can generally be used once every two years.
- Gain above the exclusion amount is taxable at capital gains rates.
For most homeowners whose gain falls within the cap, this is the simplest and most complete solution.
Converting a primary residence to investment property
If you want to exchange your home in the future, the pathway is conversion. You move out, rent the property to a tenant at market rates, and maintain it as a genuine rental. After a qualifying holding period, the property may become eligible for a 1031 exchange.
Practical conversion timeline
| Step | Timing | Action |
|---|---|---|
| 1. Move out | Month 0 | Vacate the property and establish a new primary residence elsewhere |
| 2. Prepare for rental | Months 1-2 | Hire a property manager or set up self-management; make any needed repairs; list the property for rent |
| 3. Execute a lease | Month 2-3 | Sign a lease with a tenant at fair market rent; begin collecting rent |
| 4. Report rental income | First full tax year | File Schedule E reporting rental income and expenses; claim depreciation |
| 5. Continue rental operations | 12-24+ months | Maintain the property as a rental through normal landlord activities |
| 6. Sell and exchange | After qualifying period | Engage a QI, sell the property, and complete a 1031 exchange |
How long to hold as a rental
The tax code does not specify a minimum holding period for conversion. However, the IRS evaluates whether the property was genuinely held for investment based on the totality of the facts. Guidelines from practitioners:
- Under 6 months: Very high risk of challenge. The IRS is likely to view this as a workaround rather than a genuine conversion.
- 12 months: Minimum threshold most tax advisors recommend. One full year of rental activity with Schedule E reporting provides a credible baseline.
- 24 months: Substantially safer. Two years of documented rental operations, tenant records, and tax filings make a strong case.
- 36 months or longer: Conservative. Rarely challenged.
Documentation that supports investment intent
The IRS looks for evidence that the property was genuinely held for investment, not that you simply relabeled it. Maintain the following:
- Lease agreements with unrelated tenants at fair market rent
- Schedule E tax returns reporting rental income and expenses for each year
- Property management records including tenant screening, maintenance requests, and repair receipts
- Advertising and marketing records showing you actively sought tenants
- Correspondence with property managers, accountants, or advisors reflecting investment intent
The longer and more thorough this documentation, the stronger your position if the IRS questions the conversion.
Mixed-use properties: Section 121 and 1031
Before the Tax Cuts and Jobs Act of 2017, some investors combined the Section 121 exclusion with a 1031 exchange on properties that served as both a residence and a rental. The 2017 law and subsequent guidance significantly narrowed this strategy. The scenarios where both rules apply together are limited and fact-specific.
If you have a property where you lived in part of it and rented another part, or where you lived in it for some years and rented it for others, consult a tax professional before selling. The interaction between Sections 121 and 1031 is complex, and errors are costly.
For most people the answer is straightforward: use Section 121 if you are selling a primary residence that meets the two-of-five-year test, or use Section 1031 if you are selling a genuine investment property. Attempting to layer both requires professional guidance.
When the conversion strategy makes sense
Conversion is worth considering when:
- Your gain substantially exceeds the Section 121 cap
- You are willing to commit to at least 12-24 months of genuine rental operations
- The property can generate reasonable rental income relative to carrying costs
- You have a tax advisor who can guide the conversion and subsequent exchange
Example: You own a home worth $800,000 with a $300,000 basis. The gain is $500,000. As a single filer, Section 121 excludes $250,000, leaving $250,000 taxable. At a 20% federal rate plus state tax, that is $60,000 or more. If you convert the property to a rental, hold it for two years, and then execute a 1031 exchange, you may defer the entire $500,000 of gain.
Conversion is not worth the effort when:
- The gain falls within the Section 121 exclusion
- You cannot afford to carry the property through a rental period
- You need to sell quickly and cannot commit to a holding period
- The primary motivation is tax avoidance rather than genuine investment
Alternatives if conversion is not practical
Section 121 exclusion. If you qualify, this is simpler than conversion and may be sufficient.
Installment sale. Seller-financing the sale lets you spread the gain across multiple tax years, potentially keeping you in lower brackets each year.
Charitable strategies. Donating the property or contributing it to a charitable remainder trust can generate a deduction and eliminate capital gains tax, though this serves a different goal than wealth preservation.
Plan the next acquisition. If you are buying another primary residence, you can plan from the start to eventually convert that property to a rental and exchange it later.
When to talk to a CPA
Consult a tax professional before committing to any conversion strategy. Specifically:
- Before you move out, to confirm the conversion plan and documentation requirements
- Before your first Schedule E filing, to ensure depreciation is calculated correctly
- Before listing the property for sale, to verify the holding period and structure the exchange
- If the property has mixed personal and rental use history
A few hours of professional guidance up front protects against mistakes that can cost tens of thousands in unexpected tax liability.
The Bottom Line
Don't try to force a 1031 exchange on your primary residence. The strategy that works: convert it to a rental, document that conversion, then exchange it later if the math makes sense.
Frequently Asked Questions
Related Articles
1031 Exchange for Beginners: A Plain-English Starting Point
If you sell a rental or investment property at a profit, the IRS lets you skip the tax bill - as long as you reinvest the proceeds into another property of equal or greater value within a set timeframe.
1031 Exchange Examples: 6 Real-World Scenarios
**The investor:** Maria, a W-2 employee in Colorado, bought a single-family rental in Denver for $300,000 eight years ago. It's now worth $480,000. She wants to scale up to a duplex for more cash flow.
1031 Exchange Depreciation Recapture Explained
When you own a rental or investment property, the IRS lets you deduct a portion of the building's cost each year as depreciation. For residential rental property, you spread the cost over 27.5 years. For commercial property, 39 years. These deductions reduce your taxable rental income every year...