rjs
Level 15
Level 15

Deductions & credits

Yes, the real estate agent's commission and certain other selling expenses can be added to the basis, so they reduce the gain. If you already qualify to exclude the entire gain, the selling expenses are not going to make any difference because you already have no taxable gain. But you should include the selling expenses when reporting the sale, just for the record.