You must use the home as your main residence for at least two years in the five-year period before you sell it. You also must not have excluded another home from capital gains in the two-year period before the home sale. If you meet those rules, you can exclude up to $250,000 in gains from a home sale if you’re single and up to $500,000 if you’re married filing jointly.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"