Deductions & credits

The loss on a sale of a personal residence, not used as a rental or in a business, is not reported on a tax return.  Unless you received a Form 1099-S for the sale, then the sale is reported on a tax return with either a gain or a loss.