Seller closing costs are generally not tax deductible against your ordinary income, but that isn’t the whole answer. Most of what you pay at closing — real estate commissions, title fees, transfer taxes, attorney fees — reduces the sale price the IRS uses to calculate your capital gain. A small number of items on your closing statement, mainly prorated property tax and mortgage interest through the closing date, can be itemized on Schedule A. Whether either category actually saves you money depends on the type of property you sold and whether your gain is already sheltered by the primary residence exclusion.
How Selling Expenses Reduce Your Taxable Gain
The IRS does not let you subtract selling expenses from your paycheck or other ordinary income. What it does let you do is reduce your “amount realized” from the sale, which is the sale price minus qualifying selling expenses. That figure becomes the starting number for your gain calculation.1Internal Revenue Service. Publication 523, Selling Your Home
The formula is straightforward. Subtract selling expenses from the sale price to get the amount realized. Subtract your adjusted basis (original purchase price plus capital improvements, minus any depreciation claimed) from the amount realized. The result is your capital gain or loss.
A property bought for $300,000 with $20,000 in improvements has an adjusted basis of $320,000. If it sells for $500,000 and you pay $30,000 in selling expenses, your amount realized is $470,000 and your capital gain is $150,000. Without those selling expenses, you’d owe tax on $180,000. At a 15% long-term capital gains rate, that $30,000 of expenses saved you $4,500 in actual tax.
Which Closing Costs Count as Selling Expenses
IRS Publication 523 identifies the costs that reduce your amount realized:1Internal Revenue Service. Publication 523, Selling Your Home
- Real estate commissions, which are usually the single largest selling expense.
- Legal fees paid to an attorney or settlement agent for closing the sale.
- Advertising costs you paid to market the property.
- Mortgage points you agreed to pay on the buyer’s loan as a seller concession. These count as your selling expense, not as a deduction for you.2Internal Revenue Service. Home Mortgage Points
- Transfer taxes and stamp taxes. These cannot be deducted directly, but Publication 523 specifically allows sellers to treat them as selling expenses that reduce the amount realized.
- Title insurance premiums, escrow fees, and other closing charges tied to completing the transaction.
Each cost has to be directly connected to selling the property. Charges related to owning the home (like a homeowner’s insurance premium) or to the buyer’s financing (other than points you agreed to cover) do not qualify.
The Closing-Statement Items You Can Actually Itemize
A handful of charges on your closing statement do work as itemized deductions on Schedule A, separate from the capital gain math. These represent ownership obligations prorated through the closing date, not the cost of executing the sale itself.
Property taxes prorated to the seller are the main one. You owe property tax for the portion of the year you still owned the home, and that amount is deductible as a state and local tax. Your closing statement shows how the taxes were split between you and the buyer.3Internal Revenue Service. 2025 Instructions for Schedule A (Form 1040)
Mortgage interest that accrued through the closing date is also deductible as home mortgage interest. Your lender will typically reflect this on the year-end Form 1098.
Both deductions run into the state and local tax (SALT) cap. For 2025, the overall SALT deduction limit is $40,000 ($20,000 if married filing separately), and the limit phases down for taxpayers with modified adjusted gross income above $500,000 ($250,000 if married filing separately), bottoming out at $10,000 ($5,000 if married filing separately). The 2026 limit is indexed slightly higher for inflation.3Internal Revenue Service. 2025 Instructions for Schedule A (Form 1040) These deductions only help if you itemize instead of taking the standard deduction, and for many sellers the SALT cap means the property tax paid at closing produces no incremental tax benefit at all.
If You Sold a Primary Residence, the Deduction May Not Matter
The biggest tax break for home sellers is the primary residence exclusion under Section 121 of the Internal Revenue Code. If you owned and lived in the home as your main residence for at least two of the five years before the sale, you can exclude up to $250,000 of capital gain from tax. Married couples filing jointly can exclude up to $500,000, provided both spouses meet the use requirement and at least one meets the ownership requirement.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Selling expenses still figure into the calculation, because the exclusion applies to your calculated gain, not the raw sale price. First you subtract selling expenses from the sale price to get the amount realized. Then you subtract your adjusted basis to get the gain. Only if that final gain exceeds $250,000 (or $500,000) do you owe capital gains tax. For most homeowners the exclusion wipes out the entire gain, and whether you tallied every closing cost makes no practical difference.
If you didn’t meet the full two-year test because you moved for work, health reasons, or certain unforeseen circumstances, you may qualify for a partial exclusion prorated by how much of the two-year period you met.
One boundary worth naming: if your adjusted basis is higher than your amount realized, you sold at a loss, and a loss on a personal residence is not deductible at all. You cannot use it to offset other income or other capital gains.1Internal Revenue Service. Publication 523, Selling Your Home
If You Sold Investment Property, Every Dollar Counts
Investment property — rentals, commercial buildings, vacant land held for appreciation — does not get the Section 121 exclusion. The full capital gain is taxable, so tracking every selling expense actually changes what you owe.
Long-term capital gains on property held longer than one year are taxed at 0%, 15%, or 20% depending on your taxable income. Most sellers fall into the 15% bracket.
If you claimed depreciation while you owned the property, the IRS requires you to recapture it when you sell. The portion of your gain attributable to prior depreciation is taxed at a maximum rate of 25%, regardless of your income bracket.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses Every dollar of selling expense reduces the total gain, which reduces what’s subject to both the capital gains rate and the recapture rate.
High earners face an additional 3.8% net investment income tax on capital gains when modified adjusted gross income exceeds $250,000 (married filing jointly), $200,000 (single), or $125,000 (married filing separately).6Internal Revenue Service. Topic No. 559, Net Investment Income Tax A large gain from a rental sale can easily push you over the threshold, which makes any legitimate selling-expense reduction more valuable.
How to Claim These Reductions on Your Return
The settlement agent, title company, or attorney closing the transaction files Form 1099-S with the IRS reporting the gross sale price, and you receive a copy.7Internal Revenue Service. Instructions for Form 1099-S (04/2025) That gross price is the IRS’s starting number. Your job is to show, on your return, that your actual taxable gain is lower after selling expenses and your adjusted basis.
You report the sale on Form 8949, entering the gross sale price, adjusted basis, and any adjustments including selling expenses. Totals flow to Schedule D.8Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets For investment property with depreciation to recapture, you also use Form 4797 to calculate the recapture portion.9Internal Revenue Service. Instructions for Form 4797 (2025)
If you skip the selling expenses on Form 8949, the IRS sees the gross 1099-S price and calculates a larger gain than you actually owe. That is one of the most common and easily avoided mistakes sellers make.
A 1099-S isn’t always issued. The closing agent doesn’t have to file one for a primary residence sale if the sale price is $250,000 or less ($500,000 for married sellers), you sign a certification that the home was your principal residence and that the full gain qualifies for the Section 121 exclusion, and there was no period of nonqualified use after December 31, 2008. If the closing agent doesn’t request the certification, they must file the form anyway.7Internal Revenue Service. Instructions for Form 1099-S (04/2025)
Records to Keep
Hold onto your closing statement (HUD-1 or Closing Disclosure), any Form 1099-S you received, and documentation of every selling expense. For your adjusted basis, keep the original purchase closing statement, receipts and invoices for every capital improvement, and records of any depreciation claimed.
The IRS recommends keeping property records until the statute of limitations expires for the year you sold — at least three years after filing that return, or six years if you underreported income by more than 25% of gross income.10Internal Revenue Service. How Long Should I Keep Records Without those records, proving what you actually paid to sell the property — and therefore what you can subtract from the gross sale price — gets much harder if the IRS asks.