Deductions & credits

If you and your spouse owned the home together, but owned it and lived there for less than two years, and you sold early (less than 2 years) because of the death of your spouse, you can claim a partial exclusion.  Any gain over the partial exclusion amount will be taxable.