A property that was your primary residence doesn't qualify for a 1031 exchange on its own. Convert it to a genuine rental and hold it long enough to establish investment intent, and the IRS may accept it. Going the other way, turning a 1031 replacement property into your home, is possible too, but it turns on careful timing and documentation.
You've owned your house for ten years. You want to move, but the value has climbed, and selling now would hand a large slice of that gain to the IRS. So a question comes up: could you turn the house into a rental and then roll it into a 1031 exchange, the swap that lets an investor defer capital gains tax by reinvesting the proceeds of one investment property into another?
The answer turns on a single phrase in the tax code.
The rule that decides everything: investment use
Section 1031 applies only to property "held for productive use in a trade or business, or for investment." A primary residence is held for personal use, so it doesn't qualify, no matter how much it has appreciated.
The weight is on "held for." Those words describe current intent and use, not a permanent label. A house that was your home can become investment property once you convert it to a genuine rental. And a property you acquire through a 1031 exchange can eventually become your home, within timing limits. Both directions are open. Both come with conditions.
Converting your home into a rental
The IRS allows a former residence to qualify, but only if the property genuinely becomes an investment. That means four things:
- You move out and establish a new primary residence elsewhere.
- You rent it to a genuine, arm's-length tenant at fair market rent.
- You hold it as a rental long enough to show investment intent.
- You report the rental income and depreciation on your tax returns.
A property that sits vacant, or gets rented to a family member below market, doesn't clear the bar. It has to function as a real rental.
How long you have to rent before exchanging
The IRS hasn't named a minimum. That leaves a facts-and-circumstances judgment, and the tax community tends to sort it into three levels of risk.
Two or more years of documented rental activity is the conservative end. Two full years of Schedule E filings, the tax form where rental income is reported, plus signed leases and collected rent, builds a strong record of investment intent.
One to two years is the middle ground. A single full year of rental use is defensible but carries more audit risk: the IRS can argue the property was still primarily personal, with a short rental interlude.
Under a year is the aggressive end. Rent for six months and then exchange, and the IRS has a strong case that the property was never genuinely held for investment.
There is no bright line. The IRS weighs how long it was a rental, whether the rent was at market, whether you claimed depreciation, and whether you genuinely intended to hold it for investment.
Vacation and second homes get firmer footing. Revenue Procedure 2008-16 sets out a safe harbor, a set of conditions the IRS agrees to accept: the property must be owned for the 24 months immediately before the exchange, rented at fair market rent for at least 14 days in each of the two 12-month periods, and your personal use must stay under 14 days or 10% of the rented days, in each period.
Converting a 1031 property into your home
The reverse works too. You complete a 1031 exchange into a rental, then later move in.
The same Revenue Procedure 2008-16 safe harbor applies in reverse: the replacement property must be held as a rental for at least 24 months after the exchange, under the same rental-day and personal-use limits, before you convert it to personal use.
Then there's the Section 121 exclusion, the rule that lets a homeowner exclude up to $250,000 of gain on a primary residence, or $500,000 for a married couple filing jointly. Under the American Jobs Creation Act of 2004, if you eventually sell a property that came out of a 1031 exchange as your primary residence, you can use that exclusion, but only if you've owned it for at least five years after the exchange. And the gain that builds up during the years it was a rental, its non-qualified use, may not qualify for the exclusion.
So a practical timeline looks like this: complete the exchange, rent for at least two years, move in and live there for at least two more to meet Section 121's test of two years of use within the five years before a sale, and sell after owning it five years or more. The result may be a partial Section 121 exclusion.
Using Section 121 and 1031 on the same property
Sometimes a single property can draw on both rules at once, the primary-residence exclusion and the exchange deferral.
Say you lived in a property for three years and rented it for two, and now you want to sell. The gain tied to the years you lived there may qualify for the Section 121 exclusion. The gain tied to the rental years may qualify for a 1031 exchange.
The allocation is complex, and the 2004 legislation changed the rules. A CPA has to work out which slices of gain are eligible for the 121 exclusion, which are eligible for 1031 deferral, and whether depreciation recapture, the tax that comes due on the depreciation you claimed, affects the 121 exclusion. This is advanced planning, and it shouldn't be attempted without professional guidance.
Mixed use: living in one part, renting another
If you live in part of a property and rent the rest, a duplex where you occupy one unit and rent the other, only the rental portion qualifies for a 1031 exchange.
The split is usually based on square footage or unit count. You sell the whole property, exchange the rental portion, and treat the part you lived in as a standard sale, which may itself be eligible for the Section 121 exclusion.
Living in a property before or after a 1031 exchange doesn't automatically disqualify it, but the timing and documentation rules are strict. Converting a home to a rental calls for genuine rental activity for one to two years, with two or more years carrying the lowest audit risk. Converting a replacement property into a residence takes at least 24 months of rental use and five years of ownership for Section 121 benefits. Bring your CPA in early.
Frequently asked questions
Can I rent the property to my child and then 1031 exchange it?
Renting to family is risky, because the IRS scrutinizes below-market and non-arm's-length rentals. If you charge your child fair market rent under a genuine lease, it may work, but many tax advisors recommend against it given the audit risk.
What if I lived in the property for 1 month years ago and have rented it ever since?
Brief personal use followed by years of documented rental use is generally fine. The longer the rental period runs relative to the personal use, the stronger your position.
Can I use Section 121 and 1031 on the same sale?
Potentially yes, if the property had both personal-use and rental-use periods. The gain has to be allocated between the two uses. Consult your CPA, because the rules are specific and the 2004 legislation added constraints.