Deductions & credits

Sorry for your loss. Things that could affect the tax basis and thus affect any reportable gain would include

1) the ownership on the date of death of your spouse - him only, joint ownership, life estate/trust

2) did you become the sole owner after his death 

3) did you live in a community property state?

 

if your spouse had an ownership interest in the home, some or all of the basis would be stepped up to fair value on the date of death, which will reduce or eliminate any gain on sale. 

 

also, you may qualify for a partial exclusion due to unforeseen circumstances - death of your spouse.

 

you may want to furnish additional info to get more info or discuss your situation with a tax pro when filing for 2024 to avoid as much taxes on any gain as possible.