Capital gains are gains on assets that had been held for over one year before being sold. Roughly speaking, if you purchased your home for $200,000 and are selling it for $250,000 you have netted $50,000 of capital gains. This profit is taxable, with one significant exclusion. If, in the 5-year period ending on the date of the sale, you have:
- Owned the home for at least 2 years (the ownership test), AND
- Lived in the home as your main home for at least 2 years (the use test).
then you will generally only be taxed if your gain is more than $250,000 ($500,000 if married filing a joint return). Yes, you really are exempt from any and all taxes on this profit.
If you are selling your home less than two years after you bought it, or within two years of selling another home and claiming a capital gains exemption, you may still be able to reduce the amount of gain upon which you will be taxed. This is possible if you sold the home because of:
- a change in place of employment
- health
- unforseen circumstances
Per the IRS, "For this purpose, employment includes the start of work with a new employer or continuation of work with the same employer. It also includes the start or continuation of self-employment." The only other stipulation on the change in place of employment is that the move is greater than 50 miles.
The IRS has volumes of information on this topic
located here --- where you'll even find the worksheet and calculations to use to determine the amount of your potential tax liability.