Questions about 1031 exchange with primary residence $250k exclusion - tax planning for future real estate moves
Hey everyone, I own my primary home outright and a rental property (multifamily) that still has a mortgage. I'm thinking about selling both eventually since I don't want to be a landlord forever and would prefer living closer to work. For the rental, let's say when I sell: value around $700k, original basis $450k, accumulated depreciation $100k, mortgage balance $275k, and selling costs $50k. After paying off the mortgage, I'd walk away with $375k cash. I'm considering using a 1031 exchange to buy a single-family rental at $650k with a 20% down investor loan ($130k), then renting it out for 2 years. Then I'd sell my current primary residence, take the $250k capital gains exclusion, and convert the rental into my primary residence. After living there for another 2 years, I might sell again. Let's assume the property would be worth $750k with $50k selling costs. My questions: 1. Would I qualify for the full $250k exclusion? I'd have $200k gain from the original 1031'd property and $50k from the new property. Would I only owe depreciation recapture at 25% federal plus state? 2. Can I refinance the investor loan to an owner-occupied loan after moving in? 3. Does the IRS care if I keep cash by increasing my loan size in a 1031? 4. Is the 1031 sale value calculated before or after selling fees? 5. If my replacement property costs less than what I sold, how do I calculate the taxes owed? 6. If instead I moved into one of the units in my current 4-unit multifamily for 2 years, would I get to exclude 25% of the gains ($50k in this case)? Realistically, I might stay in the final property until retirement (20+ years), but by then my gain would exceed the $250k threshold unless I get married for the $500k exemption. I'm also concerned about high real estate transaction costs, so I'd prefer minimizing the number of transactions unless the tax savings make it worthwhile. Thanks for any insight!
19 comments


Grant Vikers
Your questions touch on some interesting aspects of real estate tax planning! Let me help break this down: 1. The $250k exclusion wouldn't fully cover your situation as you've described. When you 1031 a property and later convert it to a primary residence, the exclusion doesn't apply to the portion of gain that's attributable to the "non-qualified use" period. So that $200k gain from the original rental would still be taxable, but you could exclude up to $250k on any new appreciation that occurs after you make it your primary residence. 2. Yes, you can definitely refinance from an investor loan to an owner-occupied loan once you actually move in. Lenders are typically happy to do this as owner-occupied loans usually have better rates. 3. The IRS doesn't specifically care about you increasing your loan size in a 1031, but they do care if you take cash out of the exchange. Any cash you receive (boot) is taxable. However, increasing your loan and keeping the proceeds is generally fine if done properly. 4. The 1031 exchange value is calculated on the net sales price after selling expenses (so after fees). 5. If your replacement property costs less than what you sold, the difference is considered "boot" and is taxable in the year of the exchange. It's essentially the portion of gain you didn't roll over. 6. Yes! If you converted 25% of your multifamily to personal use for the required period, you could exclude 25% of the gain up to the $250k maximum. Just remember that tax laws can be complex and situations vary, so consulting with a qualified tax professional about your specific circumstances would be wise.
0 coins
Giovanni Martello
•Thanks for the detailed response. For the first question, I'm confused about the "non-qualified use" part. If I do a 1031 exchange from my rental into another rental, then live in the new property for 2 years, would ALL of the gain from the first property be considered non-qualified use? Or is there some way to still get the exclusion on the whole thing? And does depreciation recapture still apply to the entire amount regardless?
0 coins
Grant Vikers
•The "non-qualified use" rule basically means that the $250k exclusion won't apply to periods when the property wasn't your primary residence. Since your first property was a rental that was 1031'd into another rental, that entire $200k gain would be considered from non-qualified use, so it wouldn't be eligible for the exclusion. Regarding depreciation recapture, yes, you'll still be liable for depreciation recapture tax on all the depreciation you've taken (or were required to take) on the property, regardless of the $250k exclusion. The recapture is taxed at a maximum of 25% federally. This is separate from the capital gains question.
0 coins
Savannah Weiner
I used taxr.ai for a similar situation last year and it was super helpful. I was trying to figure out a 1031 exchange for my rental property and also had questions about the primary residence exclusion. I uploaded my previous tax returns and property documents to https://taxr.ai and they analyzed everything. The site basically broke down all the specific rules that would apply to my situation and showed me exactly what would be taxable and what wouldn't. It even highlighted some deductions I could take during the transition period that my accountant had missed. What I found most helpful was that they walked through different scenarios - like comparing selling outright vs doing the 1031, and showed the tax implications of each option over different time periods. Made it much easier to make an informed decision.
0 coins
Levi Parker
•Did they actually help with the 1031 exchange process itself? Like finding a qualified intermediary and making sure all the timing requirements are met? That's the part that makes me nervous about trying to do one.
0 coins
Libby Hassan
•I'm a bit skeptical about tax sites. How accurate was the information compared to what a CPA would tell you? These real estate tax questions get really specific and I worry about generic advice when there's so much money at stake.
0 coins
Savannah Weiner
•They don't handle the actual 1031 exchange process - you still need a qualified intermediary for that part. What they do is analyze your specific situation and explain the tax implications so you understand what you're getting into before you start. I still used a QI for the actual exchange. The information was surprisingly detailed and specific to my situation - definitely not generic advice. I actually took their analysis to my CPA who confirmed it was accurate. They include citations to the specific tax code sections that apply to your case. I found it helpful to understand everything before talking to my CPA, since I could ask more informed questions.
0 coins
Libby Hassan
I was skeptical like many of you about using an online tax service for something as complex as real estate investing, but after trying taxr.ai, I'm honestly impressed. I was planning a series of property transactions similar to what you're describing, with a rental property I wanted to eventually convert to a primary residence. The analysis I got was incredibly detailed - it pointed out that I would lose a big portion of my Section 121 exclusion due to the "non-qualified use" rules from the Housing Assistance Tax Act of 2008. That's something my previous tax preparer had completely missed, and it would have cost me tens of thousands in unexpected taxes. The report even included a timeline visualization that showed exactly how the 5-year lookback period would affect my specific properties and how much of the gain would be excluded vs. taxable at different selling points. Made the decision process so much clearer.
0 coins
Hunter Hampton
Have you tried calling the IRS directly about these questions? I've found that for complex situations like this, getting an official answer straight from them is the way to go. Problem is, I used to spend HOURS on hold (like 3+ hours sometimes), which was infuriating. I started using Claimyr (https://claimyr.com) after seeing it recommended here, and it's been a game-changer. They have this system where they wait on hold with the IRS for you and call you when an agent picks up. You can see a demo of how it works here: https://youtu.be/_kiP6q8DX5c For complex tax planning situations like yours with the 1031 exchange and primary residence questions, I'd definitely recommend getting an official answer. The IRS has specific departments that handle investment property questions, and they can give you binding answers to plan around.
0 coins
Sofia Peña
•How does this actually work? Do they just call the IRS for you? And how do they get through faster than if I called myself? The IRS hold times are ridiculous but this sounds too good to be true.
0 coins
Aaron Boston
•I don't believe this would actually work. The IRS agents don't give tax advice - they just answer procedural questions. They specifically tell you they can't give tax planning advice when you call. They'd probably just tell you to consult a tax professional or read the relevant publications.
0 coins
Hunter Hampton
•They don't get through any faster than you would - they just wait on hold so you don't have to. You submit your phone number and what you need help with, and their system calls the appropriate IRS number and waits on hold. When an IRS agent finally answers, their system calls you and connects you directly to that agent. You still talk to the IRS yourself, but without the hold time. The IRS absolutely can answer specific tax questions about how rules apply. You're right that they won't give "advice" about what strategy you should choose, but they can and do clarify how specific tax rules apply to specific situations. For example, they could confirm exactly how the non-qualified use rules would apply to the 1031 property in this scenario. I've gotten very helpful clarifications on investment property questions.
0 coins
Aaron Boston
I was highly skeptical about this Claimyr service when I first heard about it. I've been doing real estate investments for years and have wasted countless hours on hold with the IRS trying to get clarification on complex situations almost identical to yours. After finally trying it, I'm completely sold. Last month I needed clarity on a 1031 exchange question involving depreciation recapture when converting to a primary residence - almost exactly your situation. Used Claimyr, and instead of wasting my afternoon on hold, I got a call back when an agent was on the line. The agent transferred me to someone in their specialized property transaction department who actually gave me a detailed explanation of how the non-qualified use rules would apply. The information I got saved me from making a costly mistake in my property conversion timeline. Would have owed thousands more in taxes if I'd followed my original plan. Honestly wish I'd known about this service years ago.
0 coins
Sophia Carter
One thing nobody's mentioned yet - the timing requirements for a 1031 exchange are super strict. You have 45 days to identify potential replacement properties and 180 days to close on the new property. If you miss either deadline, the whole exchange fails and becomes taxable. Also, you need to use a Qualified Intermediary to handle the funds - you can never touch the money yourself during the exchange or it becomes taxable. The QI will hold the proceeds from your sale and use them to purchase the replacement property. Given your multiple property strategy, you really need to map out the exact timing of each transaction to make sure everything qualifies as you expect.
0 coins
Chloe Zhang
•Do you have any recommendations for a good Qualified Intermediary? Also, can you partially do a 1031? Like if I sell for $700k but only want to reinvest $500k, can I just pay taxes on the $200k difference?
0 coins
Sophia Carter
•I've used IPX1031 for my exchanges and they were very professional, but there are many reputable QIs out there. I'd suggest asking your real estate agent or attorney for local recommendations since you'll want someone familiar with your state's requirements. Yes, you can absolutely do a partial 1031 exchange. If you sell for $700k and only reinvest $500k, you'd pay taxes on the $200k difference (called "boot" in 1031 terminology). Just be aware that the mortgage rules get a bit tricky - if your debt goes down too much in the exchange, that reduction in debt can also be considered boot. So if you had a $400k mortgage on the old property but only get a $200k mortgage on the new one, that $200k reduction in debt might be taxable as well.
0 coins
Brandon Parker
I went through almost this exact scenario last year. One thing to consider is that the "non-qualified use" rules have an important exception: periods where the property was used as a rental AFTER it was your primary residence don't count as "non-qualified use." But in your case, since you're going from rental→rental→primary, the gains from the original property would still be fully taxable when you eventually sell, regardless of how long you live there. The strategy that worked better for me was moving into my rental for 2 years FIRST, then doing the 1031 exchange from my new primary into another property that I then rented out. Different sequence, but much better tax outcome.
0 coins
Amaya Watson
•Thanks for sharing your experience! So if I understand correctly, it would be better tax-wise to: 1. Move into my current rental for 2+ years 2. Sell it as a primary residence (getting partial exclusion based on % of personal use) 3. Then do a 1031 on the taxable portion into a new rental property? That's an interesting approach I hadn't considered. Would definitely save on transaction costs too since I'd only be selling two properties instead of three in my original plan.
0 coins
Brandon Parker
•Yes, that's exactly right! By moving into your rental first, you establish it as a primary residence. Then when you sell, you can take the $250k exclusion on the portion of appreciation allocated to your personal use (based on time). The remaining portion (from the rental period) would still be taxable, but that's where you can use the 1031 exchange to defer those taxes by rolling that portion into a new investment property. This approach is much cleaner tax-wise and as you noted, reduces your transaction costs significantly. Just make sure you keep very clear records of when the property usage changed and get a good appraisal at the time you convert it from rental to primary to establish the value at conversion.
0 coins