Buying & Selling Real Estate
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 about 9 years ago on . Most recent reply
![Lee Griff's profile image](https://bpimg.biggerpockets.com/no_overlay/uploads/social_user/user_avatar/408713/1621449700-avatar-leeg11.jpg?twic=v1/output=image/cover=128x128&v=2)
Understanding Capital Gains
I have searched the previously posted capital gain post and could not find a straight answer.
I'm inquiring upon the 2 to 5 year (long-term capital gains) window that you have to be a primary homeowner to exclude or discount capital gain tax.
- I understand that the capital gain tax is applied to the profit that you make from selling the house.
- I understand that you have to live in the property for 2 out of a five year period.
* Does this mean I would have to hold the property for at least five years? Meaning, live in it for at least 2 full years then rent it out for 3 years, or the option of living there for 5 years to exclude the capital gain tax?
*Can I buy the house, live in it for 2 years, then sell it and exclude capital gains?
Any closure to this question is greatly appreciated !