Can I do a 1031 exchange on a former primary residence now rented?

Hoping someone here has dealt with this. I lived in my house as my primary residence for about three years, then moved out and have been renting it for the past 18 months. I'm now looking at selling it and rolling the proceeds into a bigger rental property. My question is can I do a 1031 exchange on a former primary residence now rented, or does the fact that I lived there disqualify it? I've read vague stuff about a "held for investment" requirement but I'm not sure if 18 months qualifies. I'm also wondering whether I'd lose the Section 121 exclusion if I go the 1031 route. CPA I talked to briefly said both might be available but didn't give me specifics. Would appreciate anyone who's actually done this.

34 comments

Form 8824 is the form you'd file to report the 1031 exchange, and yes, a former primary residence can qualify — but only if it's been genuinely converted to investment use before the exchange. The IRS looks at whether the property was "held for productive use in a trade or business or for investment" at the time of the exchange. 18 months of active rental is generally considered enough to make that case, but there's no bright-line rule written into the code for this specific conversion scenario. Keep all your lease agreements, rent checks and Schedule E filings as evidence of that rental period.

Monica K.

Author

Good to know Schedule E filings help show the investment intent. I've filed Schedule E for the rental period so that should support it.

Section 121 and Section 1031 can actually be stacked in some situations. You'd apply the Section 121 exclusion to the gain first, then potentially roll the remaining gain into a 1031 exchange. But the mechanics are specific — because your rental period came after you moved out, it isn't nonqualified use, so the exclusion can cover gain on the whole property up to the $250,000/$500,000 limit except gain from depreciation, and the 1031 defers the rest, including that depreciation gain. You'd need to allocate carefully. This isn't a DIY calculation if the numbers are large.

Monica K.

Author

Does that allocation require a specific worksheet, or is it done through the Form 8824 instructions?

Form 8824 handles the exchange side. The Section 121 exclusion piece flows through your regular return but the instructions for 8824 and Publication 523 together walk through how to coordinate them. Your CPA would need to reconcile both.

Worth flagging that the IRS has challenged exchanges on former primary residences where the rental period was short or the taxpayer moved back in after the exchange. I ran into a complicated version of this last year — different facts but same "was it really held for investment" question. I uploaded my entire file to taxr.ai and it went through my holding period, my Schedule E history and the Form 8824 draft, then flagged that my exchange agreement timeline didn't line up with how I'd described the rental start date on the return. Caught it before filing. The IRS does look at intent, not just duration.

Monica K.

Author

That's exactly the kind of discrepancy I'd miss. I'll double-check my lease start date against what I put on Schedule E.

One thing people get wrong here: the "held for investment" requirement applies to BOTH the relinquished property AND the replacement property. Your replacement property also has to be held for investment, not personal use. If you buy a vacation home you plan to use yourself, that can blow up the exchange on the back end.

Is there a minimum holding period required for the replacement property after the exchange closes?

No specific holding period is written into Section 1031, but the IRS looks at facts and circumstances. Many tax pros suggest at least a year or two of rental use on the replacement side. No hard rule, so check the Form 8824 instructions and talk to your adviser about your specific situation.

The 45-day identification window and 180-day closing window are real deadlines that can wreck an exchange if you miss them. These run from the date you close on your relinquished property. You can't extend them except in certain federally declared disasters. Make sure you have a qualified intermediary lined up before you close — if the proceeds touch your hands, the exchange is blown.

Monica K.

Author

Already have a QI lined up. The timeline piece I think I have handled, it's more the qualification question that was worrying me.

Depreciation recapture is something to keep in mind too. All that depreciation you claimed on Schedule E during the 18-month rental period is unrecaptured Section 1250 gain, taxed at up to 25% in a taxable sale. A 1031 into real property defers it along with the capital gain, but it doesn't eliminate it — it carries over in the lower basis of your replacement property and comes due when you eventually sell without exchanging. Not a dealbreaker, just something to model out.

Wait, does the 1031 defer the recapture too, or just the capital gain portion?

A properly structured 1031 defers both the capital gain and the unrecaptured Section 1250 depreciation recapture into the replacement property's adjusted basis. But if you later sell the replacement property in a taxable sale, the recapture comes out first. The Form 8824 instructions walk through the basis calculation.

Schedule E is your paper trail here. I converted a condo from personal use to rental a few years back and went through a 1031 on it. Before I filed, I gave Taxr my Schedule E history, the Form 8824 draft and my closing statements. It compared the adjusted basis I was carrying against the depreciation I'd actually claimed each year and found I'd under-depreciated by a couple of years, which would have understated my recapture. Fixed it before the return went out. The "held for investment" intent argument is stronger when your Schedule E is clean and consistent every year.

Monica K.

Author

Under-depreciation is something I hadn't thought about at all. I'll audit my Schedule E entries going back to when I started renting.

Form 4562 ties into this — it's where you claim depreciation for the year you placed the rental in service, and after that the annual depreciation goes straight onto your Schedule E. If your Schedule E depreciation entries don't add up to your cumulative depreciation, the basis on 8824 will be off.

Something I want to flag about the Section 121 exclusion if you're considering stacking it with the 1031: you lose the exclusion on any gain that was allocated to periods of non-qualified use. A period of non-qualified use generally means time after 2008 when the property wasn't your primary residence, but it doesn't include time after you last lived there as your primary residence, so your 18-month rental period doesn't count. So the exclusion can shelter gains that built up during the rental too, except gain from depreciation — that's the portion the 1031 would need to handle.

Monica K.

Author

So the 121 can cover gain from the whole time I've owned it, apart from the depreciation, and the 1031 picks up the rest? That framing helps a lot.

Right — your rental after moving out isn't non-qualified use, so there's no time-ratio cut for you; the time-based allocation between qualified and non-qualified use periods only matters for time it was rented before you lived there. Your CPA needs to run those numbers with actual dates.

Have you verified your property actually meets the basic 1031 "like-kind" requirement? For real estate that's pretty broad — any real property held for investment can exchange into any other real property held for investment. Personal property no longer qualifies since the 2017 tax law change, but real estate to real estate is still valid. As long as your replacement property is real estate held for investment you're in like-kind territory.

How long did you actually live in the property before converting it to a rental? That matters a lot for Section 121 — you need to have lived there 2 of the last 5 years as your primary residence to claim the exclusion. If you moved out more than 3 years ago, the 5-year window may have closed on part of your ownership period.

Monica K.

Author

I lived there 3 years and have been renting 18 months, so I'm still within the 5-year window. The 2-of-5 test should still work for me.

Qualified intermediary selection is not a minor detail. The QI holds the proceeds between closing and the replacement purchase. If the QI becomes insolvent or misappropriates funds you can lose both the exchange AND the money. Look for a QI that is bonded and uses a separate escrow account, not commingled funds. Your closing attorney can't serve as QI if they've represented you in the past two years.

Form 8824 has four parts and it's easy to get turned around on the basis calculation in Part III. I ran mine through Taxr last year — uploaded the 8824 alongside my settlement statements and my Schedule E depreciation history. It walked through the realized gain, the amount recognized, and the deferred gain calculation line by line, and flagged that the adjusted basis I was using hadn't been reduced by all the depreciation I'd claimed. That would have inflated my deferred gain and understated my tax on the replacement property's eventual sale. Worth reviewing carefully before you file.

Monica K.

Author

The Part III basis calculation is exactly where I keep getting confused. Good to know that's a common trip point.

To get back to the core question: the IRS has accepted 1031 exchanges on converted former primary residences, but it has also challenged them. The stronger your evidence of investment intent — multiple years of Schedule E filings, consistent depreciation claimed on Schedule E (with Form 4562 for the year it was placed in service), lease agreements, actual rental income — the better your position. 18 months is not guaranteed safe harbor; it's a facts-and-circumstances argument.

Are there any PLRs or revenue procedures that set a clearer standard for the conversion holding period?

There's no published revenue procedure with a bright-line rule. Some practitioners point to private letter rulings that approved two-year periods, but PLRs can't be cited as precedent. Rev. Proc. 2008-16 addresses a specific vacation home scenario but not a straightforward primary-to-rental conversion. This is an area where the facts of your specific situation really do drive the answer.

Publication 527 on irs.gov covers the rental property rules including the basis and depreciation mechanics that feed into this. The Form 8824 page on irs.gov has the instructions link. Both are worth reading before you finalize anything. The 8824 instructions also explain how to handle a partially taxable exchange if you receive boot.

Don't overlook state taxes. Some states don't conform to Section 1031 and would tax the gain at the state level even if the federal exchange is perfect. Worth checking your state's rules separately — a few states require their own forms or disclosures for the exchange to be recognized.

Monica K.

Author

Hadn't even thought about state conformity. I'm in a state with income tax so I'll need to check that separately.

Bottom line from everything here: yes it can work, but you need a QI in place before you close, clean Schedule E depreciation history going back to your conversion date (plus the Form 4562 from that first year), correct adjusted basis on Form 8824, and a CPA who has actually handled primary-residence-to-rental 1031s before — not just general exchanges. The Section 121 stacking question alone is worth a paid consultation given the dollars typically involved in a sale like this.