A primary residence is excluded from 1031 exchanges because it is not held for investment. Converting the home to a rental and holding it for a qualifying period turns it into a genuine investment property that can be exchanged. Section 121 and 1031 can occasionally apply to the same property, but only in narrow, fact-specific cases.
Section 1031 lets you defer capital gains tax by exchanging one investment property for another. Its reach is set by a single phrase: the property has to be "held for productive use in a trade or business or for investment." The home you live in does not meet that standard. The rule is clear, consistently enforced, and well-settled in case law.
Section 1031 was written to encourage continued investment in real property, not to shelter the gain on a personal home. The IRS has held that a residence you occupy is not "held for investment" no matter how much it has appreciated.
Trying anyway is expensive. If an exchange is disqualified, the tax comes due on the full gain, with interest running back to the sale date and possible accuracy-related penalties on top. The consequences are financial, not criminal, but they are real: on a $300,000 gain, the added federal tax alone can exceed $60,000, plus interest.
None of that leaves homeowners stuck. Depending on the facts, the Section 121 exclusion, a conversion to rental use, an installment sale, or some combination can reduce or defer the tax. The right path depends on one number more than any other: how your gain compares with the Section 121 cap.
The Section 121 exclusion, the common case
Section 121 lets you exclude gain on the sale of a principal residence if you have owned and used it as your main home for at least two of the five years before the sale. The exclusion is $250,000 for single filers and $500,000 for married couples filing jointly. You do not need to buy a replacement property to claim it, and you can generally use it once every two years. Gain above the cap is taxed at capital gains rates.
For many homeowners whose gain falls inside those limits, Section 121 does the whole job with no exchange at all. That is why the size of your gain relative to the cap is the first thing worth checking: if it fits, the harder strategies below are usually beside the point.
Converting a home into a rental you can exchange
When the gain runs past the Section 121 cap, one route to an exchange is to stop living in the property and start renting it. You move out, establish a new primary residence, lease the home to a tenant at market rent, and run it as a real rental. After a qualifying period, it can become eligible for a 1031 exchange, because by then it is genuinely held for investment rather than personal use.
Practical conversion timeline
Step | Timing | Action |
|---|---|---|
| Month 0 | Vacate the property and establish a new primary residence elsewhere |
| Months 1-2 | Hire a property manager or set up self-management; make any needed repairs; list the property for rent |
| Month 2-3 | Sign a lease with a tenant at fair market rent; begin collecting rent |
| First full tax year | File Schedule E reporting rental income and expenses; claim depreciation |
| 12-24+ months | Maintain the property as a rental through normal landlord activities |
| After qualifying period | Engage a qualified intermediary, sell the property, and complete a 1031 exchange |
How long you have to hold it
The code sets no minimum holding period for a conversion. Instead, the IRS weighs the whole picture to decide whether the property was really held for investment. Practitioners tend to describe the risk in tiers:
- Under 6 months: Very high risk of challenge. The IRS is likely to read this as a workaround rather than a genuine conversion.
- 12 months: The minimum 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, and rarely challenged.
Documentation that shows investment intent
The question the IRS asks is whether you held the property for investment or simply relabeled it. Records are how you answer it:
- 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 complete the file, the stronger your position if the conversion is ever questioned.
Combining Section 121 and 1031 on mixed-use property
Before the Tax Cuts and Jobs Act of 2017, some investors paired the Section 121 exclusion with a 1031 exchange on property that served as both a home and a rental - part of the house rented out, or a place lived in for some years and rented for others. The 2017 law and later guidance narrowed that considerably. The situations where both rules still apply together are limited and fact-specific.
If your property has that kind of mixed history, the interaction between the two sections is complex and the mistakes are costly, so talk to a tax professional before you sell. For everyone else the choice is cleaner: Section 121 for a primary residence that meets the two-of-five-year test, Section 1031 for a true investment property. Layering both is the case that needs professional guidance.
When conversion is worth the trouble
Conversion earns its complexity in a narrow set of circumstances: when the gain clears the Section 121 cap by a wide margin, when you can commit to at least 12 to 24 months of genuine rental operations, when the property can bring in reasonable rent against its carrying costs, and when you have a tax advisor to steer the conversion and the later exchange.
It tends not to be worth it when the gain already fits inside the Section 121 exclusion, when you cannot afford to carry the property through a rental period, when you need to sell quickly, or when the real motive is tax avoidance rather than actual investment.
Example. Say you own a home worth $800,000 with a $300,000 basis, for a $500,000 gain. 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. Convert the property to a rental, hold it for two years, then complete a 1031 exchange, and the entire $500,000 of gain can be deferred instead.
Other paths if conversion does not fit
If conversion does not suit your situation, a few other routes exist.
Section 121 remains the simplest whenever you qualify, and for many sellers it is enough on its own.
An installment sale - financing the sale for the buyer and collecting the price over time - spreads the gain across several tax years, which can keep you in lower brackets each year.
Charitable strategies, such as donating the property or contributing it to a charitable remainder trust, can produce a deduction and erase the capital gains tax, though the goal there is giving the asset away rather than keeping it.
And if your next move is buying another primary residence, you can plan from day one to convert that home to a rental and exchange it down the road.
When to bring in a CPA
Before you commit to a conversion, talk to a tax professional. The moments that matter most:
- Before you move out, to confirm the conversion plan and documentation requirements
- Before your first Schedule E filing, to make sure depreciation is calculated correctly
- Before listing the property for sale, to verify the holding period and structure the exchange
- If the property has a mixed personal and rental use history
A few hours of guidance up front is cheap next to a conversion the IRS unwinds, which can cost tens of thousands in unexpected tax liability.
A primary residence does not qualify for a 1031 exchange, and forcing one exposes you to tax on the full gain plus interest. The route to an exchange runs through conversion: turn the home into a genuine rental, document it, and it can become exchangeable later if the numbers justify the effort.
Frequently asked questions
What if I rent out my primary residence for one year, then sell it? Does it qualify for 1031?
Possibly, but expect IRS scrutiny. The agency looks at your intent at the time you converted the property and whether the rental period was genuine. One year is the minimum many professionals suggest; two years is safer. You'll want lease agreements, rental income reported on Schedule E, and evidence that you actively marketed the home for rent.
Can I use the Section 121 exclusion and a 1031 exchange together?
Before 2018 this was sometimes possible for mixed-use properties. The Tax Cuts and Jobs Act of 2017 sharply limited the strategy, and today it is rarely viable. Have a tax professional evaluate your specific situation, especially if you owned and lived in the property for multiple years.
What happens if the IRS disqualifies my primary residence 1031?
You'll owe tax on the entire gain, plus interest, and potential penalties if the IRS determines it was an intentional misrepresentation. It ranks among the most expensive tax mistakes, which is why documentation and professional guidance are non-negotiable.
How do I prove to the IRS that I converted my home to an investment property?
Lease agreements, rental income reported on Schedule E across multiple years, property management arrangements, advertising records, and written correspondence showing investment intent all help. The longer and more genuine the rental history, the stronger your case.
Is there a time limit on how long I can rent before a 1031 exchange?
There is no specific rule. The IRS examines your intent and your conduct. Many professionals recommend at least 12 to 24 months of genuine rental activity; under six months raises major red flags, and two years or more substantially reduces audit risk.