Deductions & credits

In general, if you sold your home at a loss, you can’t deduct this loss, but you don’t need to pay any tax on the money you received from selling your home. See Pub 523 Selling Your Home.