Depreciation recapture on property sold with partial primary residence and rental units - handling small gain
I'm confused about how to handle capital gains on a property that was just sold. The house had two separate apartments - one upstairs and one downstairs. My mom lived in the downstairs unit as her primary residence for years, while the upstairs apartment was rented out to tenants on and off. Her accountant claimed depreciation on the rental portion when filing taxes for those rental income years. Now we've sold the entire property for a small gain, and I'm trying to figure out the tax implications. Do I basically need to treat this as two separate properties for tax purposes? Like calculate the adjusted basis for the rental unit (upstairs) separately from the primary residence portion (downstairs where mom lived)? Then would I apply the primary residence exclusion only to the gains from the portion where she actually lived? I know there's that capital gains exclusion for primary residences up to a certain amount when you meet the ownership/use tests, but I'm not sure how that works when only part of the property was her primary home and the other part was depreciated as a rental. Really need some guidance on how to handle the depreciation recapture and capital gains calculation for this mixed-use property situation.
20 comments


Oliver Zimmermann
You're on the right track with your thinking. With a property that has mixed use (both personal residence and rental), you do need to allocate the basis, expenses, and gain/loss between the two different uses. For the portion used as your mother's primary residence (the downstairs apartment), she may qualify for the Section 121 exclusion which allows up to $250,000 of gain to be excluded ($500,000 for married filing jointly) if she owned and lived in the home for at least 2 of the last 5 years before the sale. For the rental portion (upstairs apartment), any gain would be taxable. And yes, you'll need to account for depreciation recapture on this portion. The depreciation that was taken (or should have been taken) on the rental unit will be recaptured at a rate of 25% regardless of your mother's tax bracket. The allocation between the two units should be based on some reasonable method - square footage is commonly used, but you could also use number of rooms or another reasonable approach. Just be consistent with the method.
0 coins
Natasha Volkova
•Thanks for the explanation. One question - does mom still get the full $250k exclusion or is it reduced since only part of the property was her primary residence? And what happens if the rental portion actually has a loss after accounting for the depreciation?
0 coins
Oliver Zimmermann
•The $250,000 exclusion applies to the portion of the gain allocated to the primary residence. So if 60% of the property was her primary residence, then 60% of the total gain would be eligible for the exclusion (up to the $250,000 limit). If after accounting for depreciation, the rental portion shows a loss, that would generally be treated as a Section 1231 loss, which is typically treated as an ordinary loss (rather than a capital loss). This could potentially offset other income. However, if your mother had previously claimed passive activity losses that were disallowed due to passive activity limitations, those would need to be considered as well.
0 coins
Javier Torres
After reading your post, I can totally relate! I had a similar situation last year with a duplex - lived in half, rented the other half. The tax calculations were giving me migraines until I found taxr.ai (https://taxr.ai). It's specifically designed to handle complex situations like yours with mixed-use properties and depreciation recapture. I uploaded my previous tax returns where I had claimed depreciation and the sale documents, and the system automatically calculated the correct allocation between my primary residence portion and the rental portion. It even handled the depreciation recapture calculations which saved me from making a costly mistake. The best part was that it explained everything in plain English so I understood exactly what was happening with my taxes instead of just blindly following some accountant's advice.
0 coins
Emma Davis
•Does taxr.ai handle situations where the rental use wasn't consistent? My parents had a similar setup but only rented their basement apartment for about 8 months out of each year for the past decade. Would the system adjust for partial-year rentals?
0 coins
CosmicCaptain
•I'm kinda suspicious of these online tax tools. How much did it cost you and did you have someone verify the calculations were correct? I got burned by TurboTax a few years ago and ended up having to hire a CPA to fix everything.
0 coins
Javier Torres
•For partial-year rentals, yes it definitely handles that situation. You just indicate the periods when the property was rented vs. vacant or used personally, and it calculates everything proportionally. It was really helpful for me because my rental periods were irregular too. Regarding verification, I actually had my accountant review everything afterward, and he confirmed the calculations were correct. He was impressed enough that he now recommends it to his clients with similar situations. The system uses IRS rules and regulations to make sure everything is compliant and properly documented.
0 coins
Emma Davis
Just wanted to update after trying taxr.ai for my parents' mixed-use property situation. I was really skeptical at first (like most tax stuff), but it actually worked incredibly well! The system handled our weird rental schedule perfectly - it allocated everything properly between the primary residence portion and the rental portion. The depreciation recapture calculations were spot on, and it even found some deductions from previous years that our old tax preparer had missed. My parents ended up with a much better tax outcome than we initially expected. Definitely worth checking out if you're dealing with this complicated mixed-use property situation!
0 coins
Malik Johnson
I understand your frustration with this tax situation. When I sold my partially-rented condo last year, I spent WEEKS trying to get through to the IRS for clarification on how to handle the depreciation recapture. Every time I called, I got stuck on hold for hours only to get disconnected. Finally, I tried Claimyr (https://claimyr.com) which got me connected to a real IRS agent in under 15 minutes. They have this system that navigates the IRS phone tree for you and holds your place in line. You can see exactly how it works in this video: https://youtu.be/_kiP6q8DX5c The IRS agent I spoke with walked me through exactly how to calculate the depreciation recapture for my mixed-use property and confirmed I was doing it correctly. Saved me so much stress and potentially an audit down the road!
0 coins
Isabella Ferreira
•Wait, how does this actually work? Do they somehow skip the line or have a special number? The IRS wait times are insane... I can't imagine how they get you through in 15 mins when I've waited 2+ hours before.
0 coins
Ravi Sharma
•This sounds too good to be true. I've tried those "get a human" websites and they never work. The IRS is deliberately understaffed so people give up. I'll believe it when I see actual proof this works.
0 coins
Malik Johnson
•They don't skip the line or use a special number - they use a combination of technology and dedicated staff who call the IRS and navigate through all the prompts, then wait on hold so you don't have to. When they reach a live agent, they call you and connect you directly to that agent. You just answer when your phone rings and you're talking to the IRS. Regarding proof, that's why I included the video link. It shows exactly how the process works step by step. I was skeptical too, but when I got connected to an actual IRS agent who helped solve my depreciation recapture questions, I became a believer. The agent had no idea I'd used a service to get connected - to them it was just a normal call.
0 coins
Ravi Sharma
I need to eat my words and apologize for being such a skeptic about Claimyr. After my snarky comment, I decided to try it anyway because I've been trying to reach the IRS for MONTHS about a similar rental property situation with depreciation recapture questions. Well, I got connected to an IRS agent in about 22 minutes (not quite the 15 they advertise but WAY better than my previous attempts). The agent was actually really helpful and walked me through exactly how to handle the allocation between my primary residence and rental portions. For anyone dealing with depreciation recapture on a mixed-use property, definitely get official guidance from the IRS - and use Claimyr to actually reach them without wasting your entire day on hold. I'm genuinely impressed.
0 coins
Freya Thomsen
One approach I used when I sold my duplex last year was to make the allocation based on square footage. I measured both units, calculated the percentage, and applied that to the purchase price, selling price, and improvements. For example, my upstairs unit (where I lived) was 60% of the total square footage, so I allocated 60% of everything to my primary residence. The other 40% was for the rental unit where I had to deal with depreciation recapture. Make sure to keep good records of how you made your calculations in case you ever get audited!
0 coins
Omar Zaki
•Did you also split the land value out before doing the calculation? I've heard you can't depreciate land, only buildings, so shouldn't the calculation be more complex?
0 coins
Freya Thomsen
•Yes, you're absolutely right about the land value - I should have mentioned that. I did remove the land value first before making the allocation for depreciation purposes. I used the value listed on my property tax assessment to determine what percentage was land versus building. In my case, it was about 20% land, 80% building. So I applied the square footage percentages only to the building portion when calculating depreciation and recapture.
0 coins
AstroAce
In my experience selling a similar property, Form 4797 is your friend. You'll need to use this form to report the sale of business property, which includes the rental portion. For the primary residence part, you'll use Schedule D and Form 8949. The trick is making sure the allocation method is reasonable and consistent. My CPA recommended documenting EVERYTHING about how we determined the split. Also, don't forget to account for any improvements made specifically to one unit or the other! If your mom renovated just her apartment, that would adjust the basis differently than improvements to the rental unit.
0 coins
Chloe Martin
•This is so confusing! Does your mom need to file all these extra forms even if her total gain after the allocation might be under the $250k exclusion? Seems like a lot of paperwork for possibly no additional tax...
0 coins
Lara Woods
You're dealing with a classic mixed-use property situation, and yes, you're absolutely right that you need to treat this as essentially two separate properties for tax purposes. Here's what you need to know: **Allocation Method**: Use a reasonable method to split the property - square footage is most common, but you could also use fair market value of each unit or number of rooms. Whatever method you choose, document it thoroughly and be consistent. **Primary Residence Portion**: Your mom can claim the Section 121 exclusion (up to $250,000) on the gain allocated to her primary residence portion, assuming she meets the ownership and use tests (lived there 2 of the last 5 years). **Rental Portion**: This is where it gets tricky. You'll need to: - Calculate the adjusted basis (original cost basis minus accumulated depreciation) - Report any gain on Form 4797 (Sale of Business Property) - Pay depreciation recapture tax at 25% on the depreciation previously claimed - Any remaining gain above the recapture amount gets taxed at capital gains rates **Key Point**: Even if your mom never actually claimed depreciation on her tax returns, the IRS assumes she should have, so you'll still need to recapture the "allowable" depreciation. I'd strongly recommend getting a tax professional involved given the complexity, especially since there are specific rules about mixed-use properties that can trip people up.
0 coins
Fatima Al-Qasimi
•This is really helpful! One question about the "allowable" depreciation - if mom's accountant didn't claim the full amount they could have claimed each year, does the IRS still make you recapture the maximum allowable amount? Or just what was actually claimed on the returns? I'm worried we might be on the hook for more depreciation recapture than what was actually taken as a deduction.
0 coins