What Home Selling Expenses Are Tax Deductible?

Most home selling expenses are not tax deductible in the traditional sense. Instead, they reduce your taxable profit in one of two ways: closing costs and commissions come off the sale price the IRS uses to figure your gain, and capital improvements you made over the years get added to what you originally paid. A small handful of items, such as a mortgage prepayment penalty or property taxes prorated at closing, can be claimed separately as itemized deductions. Everything else is either a basis or selling-price adjustment, or it has no tax effect at all.

How the Gain Calculation Works

The IRS formula is short. Start with the gross sale price. Subtract your selling expenses to get the “amount realized.” Subtract your adjusted basis, which is what you paid for the home plus qualifying improvements minus any depreciation. What remains is your gain.

Under Section 121, single filers can exclude up to $250,000 of that gain from taxable income, and married couples filing jointly can exclude up to $500,000, provided they owned and lived in the home for at least two of the five years before the sale.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Anything above those thresholds is taxed at long-term capital gains rates of 0%, 15%, or 20%.2Internal Revenue Service. Topic No. 409, Capital Gains and Losses High earners may also owe a 3.8% net investment income tax on any gain that isn’t excluded, once modified adjusted gross income crosses $200,000 (single), $250,000 (joint), or $125,000 (married filing separately).3Internal Revenue Service. Topic No. 559, Net Investment Income Tax

So the practical question isn’t whether an expense is “deductible.” It’s whether the expense reduces the amount realized, increases the basis, or does neither.

Selling Expenses That Reduce the Sale Price

IRS Publication 523 recognizes five categories of selling expenses: sales commissions, advertising fees, legal fees, mortgage points or loan charges you paid on the buyer’s behalf, and any other costs directly tied to completing the sale.4Internal Revenue Service. Publication 523 (2025), Selling Your Home Only amounts you actually pay as the seller count.

The largest item is almost always the real estate agent’s commission, which nationally averages around 5% to 6% of the sale price. Beyond commissions, the common items are:

  • Attorney fees for preparing closing documents or representing you at settlement.
  • State or local transfer taxes and stamp taxes on the deed. The IRS is explicit that these are not separate deductions; they reduce your gain instead.4Internal Revenue Service. Publication 523 (2025), Selling Your Home
  • Title insurance and escrow fees, to the extent the seller pays them.
  • Seller-paid discount points on the buyer’s mortgage, treated as a reduction of the amount realized rather than as interest.5Internal Revenue Service. Topic No. 504, Home Mortgage Points
  • Recording and notary fees related to the conveyance.
  • Seller concessions covering closing costs that would normally be the buyer’s, which Publication 523 folds into “mortgage points or other loan charges you paid that would normally have been the buyer’s responsibility” or the catch-all for other selling costs.4Internal Revenue Service. Publication 523 (2025), Selling Your Home

None of these go on Schedule A. They appear as adjustments when the sale is reported on Form 8949 and Schedule D.6Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets Overlook one and you inflate your gain on paper. Keep the Closing Disclosure; it shows exactly which line items were charged to you.

Capital Improvements That Increase Your Basis

Improvements work the other side of the equation. Every dollar added to basis is a dollar removed from taxable gain. To qualify, the work must add value, extend the home’s useful life, or adapt it to a new use, and it must be a permanent addition expected to last more than a year.

Typical examples include a new roof, a new HVAC system, a room addition or deck, an upgraded electrical panel, whole-house window replacement, and full kitchen or bathroom remodels. The line between an improvement and a repair matters. Replacing a single broken pane is a repair. Replacing every window with energy-efficient units is an improvement. Repairs restore something to working order; improvements make the property materially better, larger, or longer-lasting.

Routine maintenance, such as patching drywall, fixing a leaky faucet, or repainting a room, doesn’t add to basis. Claiming those as improvements is one of the faster ways to attract IRS scrutiny.

Adjustments That Reduce Basis

Two situations pull the other direction. If you claimed a residential energy credit on Form 5695 for improvements like solar panels, heat pumps, or insulation, you must reduce your basis by the amount of the credit.7Internal Revenue Service. Instructions for Form 5695 – Residential Energy Credits Spend $10,000 on panels and claim a $3,000 credit, and only $7,000 gets added to basis. Depreciation you claimed while renting the property out also reduces basis and, on sale, gets recaptured separately at up to 25%.4Internal Revenue Service. Publication 523 (2025), Selling Your Home

Casualty repairs bringing a damaged home back to pre-loss condition can also increase basis, but only after basis is first reduced by any insurance reimbursement and any casualty loss deduction you claimed.8Internal Revenue Service. Publication 547 (2025), Casualties, Disasters, and Thefts

Costs That Don’t Reduce Your Gain

Plenty of expenses feel like they should count and don’t. The rule of thumb: if the cost doesn’t permanently improve the property and isn’t directly required to close the transaction, it has no tax effect.

  • Pre-sale fix-ups such as carpet cleaning, house cleaning, touch-up painting, and minor landscaping are personal expenses.
  • Staging fees and listing photography help attract buyers but don’t fit any of Publication 523’s selling-expense categories.
  • Home warranties purchased as a sales incentive for the buyer are not recognized selling expenses.
  • Homeowner’s insurance premiums and utility bills during the listing period are personal living expenses.
  • Paying off your remaining mortgage balance at closing is settling a debt, not a selling expense. It has no place in the gain calculation.

The Few Items You Actually Deduct on Schedule A

Two closing-related items are genuine itemized deductions, separate from the gain math, if you itemize.

A mortgage prepayment penalty charged by your lender for paying off the loan early can generally be deducted as home mortgage interest on Schedule A, provided the charge isn’t a fee for a specific service.9Internal Revenue Service. Publication 936 (2025), Home Mortgage Interest Deduction It is not a selling expense; it does not reduce your amount realized.

Property taxes prorated to you at closing are deductible on Schedule A under the state and local tax cap, not as a selling expense. For 2026, the SALT cap has been raised to approximately $40,000 for most filers under recent legislation, with a phase-down for modified adjusted gross income above $500,000. Property taxes count against that cap alongside state income taxes.

Moving expenses remain nondeductible for anyone other than active-duty military members relocating under a permanent change-of-station order, and recent legislation extended that suspension past its original 2025 expiration.10Internal Revenue Service. Moving Expenses to and From the United States

Documentation and Reporting

You carry the burden of proving both basis and selling expenses. Keep the closing statements from your purchase and your sale, invoices and contracts for every improvement, canceled checks, and photos where they help. The IRS recommends holding property records for at least three years after the due date of the return for the year of sale, and longer is wiser if you’ve rolled gain from a prior home.4Internal Revenue Service. Publication 523 (2025), Selling Your Home11Internal Revenue Service. What Kind of Records Should I Keep

The closing agent typically files Form 1099-S reporting your gross proceeds.12Internal Revenue Service. Instructions for Form 1099-S (Rev. April 2025) You can avoid the 1099-S by giving the closing agent a signed certification that the property was your principal residence, that there was no nonqualified use after 2008, and that the full gain is excludable under Section 121.13Internal Revenue Service. Instructions for Form 1099-S (04/2025) If you receive the form, or if your gain exceeds the exclusion, report the sale on Form 8949 and carry the result to Schedule D.6Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets You’ll need the gross sale price, your selling expenses, your adjusted basis, and the acquisition and sale dates.

One boundary worth flagging: if you converted a rental into a residence, depreciation you claimed while renting is recaptured on Form 4797 at a maximum 25% rate regardless of the Section 121 exclusion, and nonqualified-use periods after 2008 shrink the exclusion proportionally.1Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence4Internal Revenue Service. Publication 523 (2025), Selling Your Home The list of eligible selling expenses and improvements above doesn’t change, but the tax outcome will.

Even when the whole gain is excluded and no reporting is technically required, document the calculation in your own records. A clean file protects you if the IRS ever asks how you arrived at your basis, and it saves the next tax preparer a great deal of guesswork.