Updated: Apr 14, 2020
Homeowners can still exclude gains up to $250,000 (or $500,000 if married filing jointly) when they sell their primary residence, but they have to have lived there longer. People who sell their homes after Dec. 31, 2017 now have to use the home as their primary residence for five of the eight years before the sale in order to claim the exclusion. It can only be claimed once in a five-year period.
The new rule expires on Dec. 31, 2025.