What Deductions Can You Claim When You Sell Property? 🏠

When you sell a property, you may be able to deduct certain costs from your proceeds before calculating taxable gain. Understanding which expenses qualify—and which don't—can meaningfully affect your tax liability. However, the rules vary by property type, how long you owned it, and whether it was personal use or investment property.

What Counts as a Deductible Property Sale Expense?

Deductible expenses are costs directly tied to the sale itself or to preparing the property for sale. These typically include:

  • Real estate agent commissions (one of the largest deductions for most home sellers)
  • Attorney fees for closing documents and title review
  • Closing costs paid by the seller, such as title insurance, escrow fees, and transfer taxes
  • Property inspections and appraisals required by the buyer's lender
  • Recording fees and document preparation
  • Repairs made solely to sell the property (not improvements that add lasting value)

The key distinction is timing and purpose: an expense must be incurred as part of selling, not as part of owning or maintaining the property.

What You Cannot Deduct 📋

Not everything you spent on the property is deductible from sale proceeds:

  • Capital improvements (roof replacement, new kitchen, added bedroom) are not deducted from the sale price. Instead, they increase your cost basis, which reduces your taxable gain.
  • Routine maintenance and repairs (painting, new gutters, landscaping) are not deductible from the sale—they're treated as personal expenses.
  • Mortgage interest or property taxes paid during ownership are handled separately on your tax return and don't reduce the sale price.
  • Utilities, insurance, or HOA fees are never deductible from a property sale.

How Deductions Affect Your Taxable Gain

When you sell property, your taxable gain is calculated as:

Sale Price − Cost Basis − Selling Expenses = Taxable Gain

Your cost basis starts with what you paid for the property, plus capital improvements made during ownership. Selling expenses are subtracted last, further reducing what you owe tax on.

Example landscape: Someone who bought a home for $200,000, added a $50,000 deck (capital improvement), then sold for $350,000 with $20,000 in agent commissions and closing costs would have a cost basis of $250,000 and taxable gain of roughly $80,000 (before any other tax considerations).

Variables That Change Your Situation

Whether you can use these deductions—and how much they matter—depends on several factors:

FactorImpact
Property type (primary residence vs. investment/rental)Affects whether long-term capital gains rates apply; primary residence has separate $250K/$500K exclusion
Length of ownershipShort-term vs. long-term gains are taxed differently
Whether you're selling at a gain or lossLoss deductions have specific limits and rules
State and local taxesSome states tax capital gains; some don't. Local transfer taxes vary.
Depreciation recapture (rental property only)Previously deducted depreciation may be taxed back at higher rates

The Cost Basis Question: Improvements vs. Repairs

The most common gray area is distinguishing between improvements (which add basis) and repairs (which don't reduce your sale gain).

  • A repair restores something to its original condition.
  • An improvement adds value, prolongs life, or adapts property to a new use.

A new roof to replace a failing one is typically a repair. A new roof of superior material that lasts longer is an improvement. The IRS looks at intent and outcome, not just the work itself. This distinction matters because improvements increase basis (reducing gain later), while repairs don't.

Key Things to Document 📄

If you're tracking deductible selling expenses, keep:

  • Closing disclosure or settlement statement
  • Real estate agent's sales agreement and commission records
  • Attorney or title company invoices
  • Receipts for repairs made specifically for the sale
  • Permits and contractor invoices for any improvements

Clear documentation makes it easier to substantiate deductions if questions arise.

When Professional Guidance Matters

Property sale taxation involves your specific property type, how long you owned it, state residency, whether you're selling at a gain or loss, and prior depreciation claimed. A tax professional or real estate attorney can review your actual transaction and explain which deductions apply to your situation and how they interact with capital gains rules, exclusions, and your overall tax picture.

Your role is understanding the landscape. Their role is applying it to your numbers.