Tax, SDIRAs & Cost Segregation
Market News & Data
General Info
Real Estate Strategies
![](http://bpimg.biggerpockets.com/assets/forums/sponsors/hospitable-deef083b895516ce26951b0ca48cf8f170861d742d4a4cb6cf5d19396b5eaac6.png)
Landlording & Rental Properties
Real Estate Professionals
Financial, Tax, & Legal
![](http://bpimg.biggerpockets.com/assets/forums/sponsors/equity_trust-2bcce80d03411a9e99a3cbcf4201c034562e18a3fc6eecd3fd22ecd5350c3aa5.avif)
![](http://bpimg.biggerpockets.com/assets/forums/sponsors/equity_1031_exchange-96bbcda3f8ad2d724c0ac759709c7e295979badd52e428240d6eaad5c8eff385.avif)
Real Estate Classifieds
Reviews & Feedback
Updated almost 6 years ago on . Most recent reply
![Chris Bingham's profile image](https://bpimg.biggerpockets.com/no_overlay/uploads/social_user/user_avatar/124863/1621417984-avatar-christopherb.jpg?twic=v1/output=image/cover=128x128&v=2)
No tax when selling if primary residence 2 of past 5 years?
I always believed that the rule was that if I owned and lived in a property as my primary residence for 2 of the past 5 years that when I sell it I would not need to worry about paying federal taxes on the gains if it is below their specified threshold.
However, if I live in the property as my primary residence AND rent out the extra rooms to roommates can I avoid federal taxes on the profit when i sell it if I've lived in it for at least 2 of the past 5 years? I have claimed the rental income on my taxes and depreciated the property along the way as well.
Most Popular Reply
![Dave Foster's profile image](https://bpimg.biggerpockets.com/no_overlay/uploads/social_user/user_avatar/173174/1621421508-avatar-davefoster1031.jpg?twic=v1/output=image/crop=1152x1152@324x0/cover=128x128&v=2)
- Qualified Intermediary for 1031 Exchanges
- St. Petersburg, FL
- 9,346
- Votes |
- 8,975
- Posts
@Chris Bingham, at the least you'll probably have to recapture that depreciation. My guess is that you and your accountant have prorated the investment vs primary portions of the property. So when you sell you're actually selling two properties - one investment and one primary residence. When you sell you can apply the exemption to the portion of the property that has been allocated to your primary residence.
You're actually in a great position. When you sell you can get some of the profit tax free. And to avoid tax entirely do a 1031 exchange on the other portion that has been allocated to investment. This will also solve that depreciation recapture issue.
- Dave Foster
![business profile image](https://bpimg.biggerpockets.com/no_overlay/uploads/marketplace/business/profile_image/3418/1726865812-company-avatar.jpg?twic=v1/output=image/contain=65x65)