Get your taxes done using TurboTax

If they sell in 2026 then 2020 is outside and before the 5 year window.   It's based on the date of sale.  For a primary home, if you owned and lived in your house for 2 out of the last 5 years when you sell you can exclude the gain up to $250,000 for single or 500,000 for married from tax.