Deductions & credits

Those selling expenses are not deductible.  They can be used to reduce the gain on the home.

 

Gain or Loss = Sales Price minus Sales Expenses minus Adjusted Basis (Purchase Price plus the cost of improvements prior to the sale)