SabrinaD2
Expert Alumni

Deductions & credits

When you sell your home, the sales expenses (such as broker's fees, legal fees, and advertising costs) are deductible only to lower the gain from the sale. These expenses are subtracted from the sales price to determine your net gain, which helps reduce your capital gains.  See IRS  Publication 523,