When selling your home, most closing costs are not directly deductible in the year of sale — but they can reduce your capital gains tax liability by increasing your home's adjusted basis or reducing the amount realized from the sale.
This distinction is important: a higher basis means a smaller taxable gain when you sell, potentially saving significant taxes.
The $250,000/$500,000 home sale exclusion covers most gains for typical homeowners, but high-value properties benefit most from careful tracking of deductible selling costs.
Sellers should also review which home improvements reduce taxable gains when selling, since those increase your basis in the same way.
Is Closing Costs When Selling a Home Tax Deductible?
Closing costs that reduce the 'amount realized' (sales price) when calculating your gain: real estate agent commission, legal fees, transfer taxes, title insurance, escrow fees, inspection fees paid by seller, advertising costs, and any points paid by the seller on behalf of the buyer.
These costs are subtracted from your net sale proceeds, reducing the taxable gain.
They are NOT reported as itemized deductions on Schedule A.
Also note that deductible closing costs when buying — such as mortgage points — similarly reduced what you paid to acquire the property.
Requirements and Conditions
Calculation: Taxable gain = Net sale proceeds (sale price − selling costs) − Adjusted basis (purchase price + improvements − depreciation).
The first $250,000 of gain ($500,000 for MFJ) on a principal residence is excluded under IRC Section 121 if you owned and lived in the home for at least 2 of the last 5 years.
Selling costs captured in your calculation reduce the taxable gain if you exceed the exclusion limit.
Your basis is also increased by qualifying home improvements made while you owned the property — so tracking every bathroom remodel, new roof, or other capital improvement over the years of ownership directly pays off at sale.
Even knowing the cost of a home inspection when selling helps you account for all deductible selling expenses.
Important Limitations
Real estate agent commissions (typically 5–6% of sale price) are the largest selling cost. A commission on a $500,000 sale ($25,000–$30,000) meaningfully reduces the amount realized. Track all settlement statement costs from your HUD-1 or Closing Disclosure for accurate gain calculation.
Property taxes and mortgage interest paid up to the sale date are separately deductible on Schedule A if itemizing.
Sellers may also owe capital gains taxes if the gain exceeds the exclusion — understanding the full picture of home renovations and tax deductibility helps you minimize that exposure.
Also see closing costs tax deductibility at purchase for the buying side of this equation.
Frequently Asked Questions
Can you deduct closing costs when selling a home?
Closing costs that reduce the 'amount realized' (sales price) when calculating your gain: real estate agent commission, legal fees, transfer taxes, title insurance, escrow fees, inspection fees paid by seller, advertising costs, and any points paid by the seller on behalf of the buyer.
These costs reduce the taxable gain rather than providing a direct Schedule A deduction.
See also home improvements that are deductible when selling.
Do I need to itemize to claim this deduction?
Yes — most personal expense deductions require itemizing on Schedule A (Form 1040).
You itemize only if your total itemized deductions exceed the standard deduction ($14,600 for single/$29,200 for married filing jointly in 2026 tax year).
Selling costs work differently — they're not itemized deductions but rather reduce your capital gains calculation directly.
Ongoing mortgage interest deductions up to the sale date ARE itemized on Schedule A.
What is the standard deduction for 2026?
The 2026 standard deduction is $14,600 for single filers and $29,200 for married filing jointly. Most taxpayers benefit more from the standard deduction than itemizing. Selling costs reduce capital gains, which is a separate calculation from the itemized vs. standard deduction decision.
Where do I report this deduction?
Selling costs are reported on Form 8949 and Schedule D, which calculate capital gains from the home sale. They are NOT itemized deductions on Schedule A. Property taxes and mortgage interest paid up to the closing date are still reported on Schedule A if you itemize.
Should I itemize or take the standard deduction?
Itemize only if your total deductible expenses (mortgage interest, SALT, charitable gifts, medical expenses, etc.) exceed the standard deduction.
For most taxpayers, the standard deduction is larger.
When selling, focus on documenting all selling costs and capital improvements made during ownership to minimize your gain.
Sources & References
- IRS — Publication 523 Selling Your Home — https://www.irs.gov/publications/p523
- IRS — home sale exclusion (Section 121) — https://www.irs.gov/taxtopics/tc701
- IRS — Publication 530 Tax Information for Homeowners — https://www.irs.gov/publications/p530
- Consumer Financial Protection Bureau — closing costs and settlement — https://www.consumerfinance.gov/owning-a-home/closing/
Last updated: April 27, 2026