< Back to IRS

Liam McConnell

Primary residence vs rental property: Tax implications when selling condos?

I own two condos right now - one I live in as my primary residence and one I rent out. The tenant's lease expires in November, and I'm debating selling one of them. My friend suggested I should move into the rental property and make it my primary residence for at least 2 years, then sell my current condo instead. I understand I'll have to pay depreciation recapture on the years I've been renting one out. But I'm confused about how capital gains work when selling as primary residence versus a rental property. I've lived in each condo for more than 2 years during my ownership period - does that mean I'm exempt from short-term capital gains regardless? I'm trying to figure out the best strategy here. Ideally, I'd like to sell both and buy a house, but with current prices and interest rates, I'm hesitant. My plan if I sell one is to live in the remaining condo for 2 years while saving money from my overtime shifts, hoping the market improves by then. I've also thought about doing a 1031 exchange into a better investment property, but again, current rates and prices are making me cautious.

The tax implications are significantly different between selling a primary residence versus a rental property, and your friend's suggestion has some merit. For a primary residence, you can exclude up to $250,000 of capital gains ($500,000 if married filing jointly) if you've owned and lived in the home as your main residence for at least 2 out of the 5 years before the sale. This is the Section 121 exclusion. For a rental property, you'd typically owe capital gains tax on the entire profit plus depreciation recapture (at 25%) for depreciation you've claimed or should have claimed. However, if you convert a rental to a primary residence, it gets more complex. You'd still owe depreciation recapture for the rental period, and the Section 121 exclusion would only apply proportionally to the time it was your primary residence after 2009. Your friend's suggestion to move into the rental could be smart tax-wise because you could potentially use the Section 121 exclusion on both properties eventually - though not in the same 2-year period. The 1031 exchange is also worth considering for the rental, but as you noted, market conditions matter too.

0 coins

Thanks for the info! Quick question - if the rental property was previously my primary residence for 3 years, then a rental for 5 years, then I move back in for 2 more years before selling, how would the capital gains exclusion work? Would I get full exclusion or only partial?

0 coins

If you lived in the property for 3 years, rented it for 5 years, then moved back in for 2 more years before selling, you would qualify for the Section 121 exclusion since you meet the 2-out-of-5-years requirement. However, it would be a partial exclusion. For the periods after 2009 when the property was a rental, you would have to allocate the gain. The exclusion would only apply to the portion of ownership when it was your primary residence (in your example, 5 years out of 10 total years). You would still owe capital gains tax on the remaining portion and depreciation recapture on all depreciation taken during the rental period.

0 coins

After getting caught in a similar tax situation last year, I discovered taxr.ai (https://taxr.ai) which saved me thousands when selling my rental that was previously my primary residence. I had all these complicated questions about capital gains exclusions and depreciation recapture, and my accountant was giving me vague answers. The AI tax tool analyzed my specific situation with both properties and showed me exactly how much I'd save by moving back into my rental for 2 years before selling. It even factored in the depreciation recapture I couldn't avoid and calculated my exact tax liability under different scenarios.

0 coins

How accurate was it compared to what you actually ended up paying in taxes? I'm skeptical of AI tools for something this complex with so much money at stake.

0 coins

Does it handle the non-qualifying use period calculations? My situation is similar to OP's but I've had multiple periods of living in and renting out the same property over 12 years of ownership.

0 coins

The final numbers were spot on with what taxr.ai projected. I was initially worried too about accuracy, but it correctly calculated my partial exclusion based on qualifying vs. non-qualifying use periods. My CPA actually confirmed all the calculations were right. For complex ownership history, it definitely handles that. You just input the timeline of when you lived in the property vs. when you rented it out, and it applies the correct allocation for the Section 121 exclusion based on qualifying and non-qualifying use periods. It even accounts for the pre-2009 exception when non-qualifying use doesn't affect the exclusion.

0 coins

I was in the exact situation as OP last summer and used taxr.ai after seeing it recommended here. Totally worth it! I had two properties - lived in one, rented the other - and was confused about my options. The tool showed me I'd save about $28,000 in taxes by moving back into my rental for 2 years before selling compared to selling it as a straight investment property. What really helped was seeing the side-by-side comparison of different scenarios (selling now vs. moving in for 2 years vs. doing a 1031). The depreciation recapture was unavoidable, but the partial primary residence exclusion made a huge difference. I ended up following the plan and my tax bill matched almost exactly what the tool predicted.

0 coins

If you're selling investment property, dealing with the IRS can be a nightmare if they have questions about your capital gains calculations or depreciation recapture. I tried for WEEKS to get through to someone at the IRS last year when I had issues with my 1099-S form after selling a rental. Finally used https://claimyr.com and got through to an IRS agent in 45 minutes instead of waiting on hold for 3+ hours. You can see how it works at https://youtu.be/_kiP6q8DX5c. They basically hold your place in the phone queue and call you when an agent picks up. Saved my sanity during tax season!

0 coins

How does this actually work? Do they just call the IRS for you? Seems like something I could do myself...

0 coins

Yeah right. No way this actually gets you through to the IRS faster than just calling yourself. The IRS phone system is designed to be impossible. I'll believe it when I see it.

0 coins

They don't just call for you - they use a system that monitors the IRS hold queue and alerts you when you're about to be connected to an agent. I was skeptical at first too but it works because you're still the one who talks directly to the IRS agent. They handle the waiting part, which is what makes it valuable. The average IRS wait time these days is over 2 hours, and many people get disconnected after waiting. With Claimyr, you just go about your day until they alert you that an agent is about to pick up. Much better than being stuck on hold for hours not knowing if you'll even get through.

0 coins

I take back what I said above. I actually tried Claimyr yesterday out of desperation after trying to reach the IRS for THREE DAYS about my rental property sale. Got a call back in about an hour and finally got my questions answered about how they were calculating my depreciation recapture. My mistake was that I hadn't been claiming depreciation on my tax returns (didn't know I had to), but the IRS still makes you pay recapture on what you SHOULD have claimed. The agent sorted it out and saved me from a potential audit. Never would have gotten through without that service.

0 coins

One thing nobody mentioned yet - if you sell the rental property and do NOT do a 1031 exchange, you'll also potentially be hit with the 3.8% Net Investment Income Tax if your income is above certain thresholds ($200k for single, $250k for married). This doesn't apply to the portion of gain excluded under Section 121 (primary residence exclusion), which is another reason your friend's advice to move back in might make sense.

0 coins

I didn't know about that additional 3.8% tax! My income is around $185k annually with overtime, so I might be close to that threshold in a good year. How exactly does the math work if I convert my rental back to primary for 2 years? Do I pay capital gains + recapture on just the rental years?

0 coins

Since your income is around $185k, you'd only be subject to the 3.8% NIIT if your gain from the property sale pushes your total income above $200k in the year you sell. For converting your rental back to primary: you'd pay capital gains tax on the portion of ownership attributable to "non-qualifying use" (the rental periods after 2009), plus depreciation recapture on all depreciation taken/allowed during the rental period. The remaining gain could be excluded under the Section 121 primary residence exclusion. Example: If you owned the property for 10 years total - 3 years primary, then 5 years rental, then 2 years primary again - about 50% of the gain would be eligible for the exclusion (5/10 years as primary, but it's more complex if some periods were before 2009).

0 coins

Don't overlook state taxes! Federal is only part of it. Some states don't offer any primary residence exclusion even when federal does. I learned this expensive lesson in California last year.

0 coins

California actually follows the federal rules for primary residence exclusion (up to $250k/$500k), but they don't have the preferential rates for capital gains. You pay your ordinary income tax rate on capital gains in CA. Which state were you in that didn't offer the exclusion?

0 coins

The conversation about moving back into your rental property is spot on, but I'd also suggest running the numbers on the timing carefully. You mentioned the tenant's lease expires in November - that could be perfect timing to move in and establish it as your primary residence for the required 2 years before selling. One thing to consider: if you're planning to eventually sell both properties to buy a house, you might want to stagger the sales across different tax years to avoid pushing yourself into higher tax brackets or triggering the 3.8% NIIT that Ava mentioned. Selling both in the same year could create a significant tax burden even with the primary residence exclusions. Also, keep detailed records of when you move in/out of each property. The IRS can be pretty strict about proving the 2-out-of-5-years requirement, especially if you're switching between properties. Utility bills, voter registration, and other documentation showing your actual residence will be important if you're ever audited.

0 coins

Great advice from everyone here! I'm a tax professional and want to add one important consideration about the timing of your move-in strategy. When you convert your rental back to a primary residence, make sure you can document the exact date you moved in. The IRS requires you to use the property as your "main home" - meaning it's where you live most of the time. If you're still living in your current primary residence while occasionally staying at the rental, that won't qualify for the 2-year requirement. Also, regarding the 1031 exchange option you mentioned - keep in mind that once you move into the rental property as your primary residence, you can't do a 1031 exchange on it anymore. The property has to be held for investment purposes to qualify for like-kind exchange treatment. Given current market conditions and your plan to eventually buy a house, your friend's strategy makes a lot of sense tax-wise. Just make sure you're genuinely committed to living in the rental property for the full 2 years before selling, as the IRS can challenge primary residence claims if the facts don't support actual occupancy.

0 coins

This is really helpful advice! I'm wondering about the documentation aspect - what specific records would be most convincing to the IRS if they questioned my primary residence claim? I'm thinking utility bills and voter registration like Sofia mentioned, but are there other documents I should be keeping track of? Also, when you say "main home where you live most of the time," does that mean I need to spend more than 50% of my nights there, or is it more about where I receive mail and conduct my daily activities?

0 coins

Great question! For documentation, the IRS looks for a pattern of evidence showing genuine occupancy. The strongest documents include: utility bills in your name, voter registration, driver's license address change, bank statements showing the address, homeowners/renters insurance, and any government correspondence sent to that address. Regarding "main home," there's no strict 50% rule, but the IRS does look at where you spend the majority of your time. They consider factors like: where you sleep most nights, where you keep your personal belongings, where your family lives, your work location, and where you conduct personal activities (banking, medical care, etc.). The key is consistency - if you're going to claim it as your primary residence, you need to genuinely live there as your main home, not just maintain it as a second residence. I've seen cases where people tried to game the system by keeping minimal presence in a property just for tax benefits, and the IRS successfully challenged those claims. Document everything from day one of your move-in, and make sure your actions align with your tax position. If you're truly living there as your primary residence, the documentation will naturally follow.

0 coins

This is such a complex situation, but I think your friend gave you solid advice! I went through something similar two years ago with my duplex - lived in one unit, rented the other, then had to decide which to sell. The key insight that helped me was realizing that the Section 121 primary residence exclusion is one of the most powerful tax benefits available to homeowners. Being able to exclude up to $250,000 in capital gains is huge, especially in today's market where property values have increased so much. One thing I'd add to the great advice already given - consider your long-term housing needs too. If you're planning to buy a house in 2-3 years anyway, living in the smaller/less desirable condo during that time while building up your down payment could actually work out perfectly. You'll get the tax savings AND potentially have more cash available for your future home purchase. Just make sure you can genuinely commit to living in the rental property as your primary residence. The IRS doesn't mess around with primary residence claims, and you want your living situation to clearly support your tax position. But if you can make it work, the tax savings could be substantial enough to make the temporary inconvenience worthwhile.

0 coins

This is exactly the kind of strategic thinking that can save thousands in taxes! I'm curious about the timeline aspect though - since OP mentioned the tenant's lease expires in November, would moving in right after that lease ends in November 2025 mean they'd need to wait until November 2027 to sell and get the full primary residence exclusion? That seems like a long commitment, especially with how much the housing market could change in that timeframe. Is there any flexibility in the 2-year requirement, or does it have to be exactly 24 months?

0 coins

IRS AI

Expert Assistant
Secure

Powered by Claimyr AI

T
I
+
20,087 users helped today