Get your taxes done using TurboTax

if you file a joint return for 2023, it seems you can exclude up to $500,000 of the gain from taxation. There can be other situations where the $500,000 exclusion is available for example unmarried surviving spouse