Up to $500,000 of capital gain on the sale of their home for couples filing jointly and $250,000 for single filers is excluded from income tax if they own and use it as their principal residence for 2 of 5 of the previous years.
BetterHomeowners.com