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.
Deductible expenses are costs directly tied to the sale itself or to preparing the property for sale. These typically include:
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.
Not everything you spent on the property is deductible from sale proceeds:
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).
Whether you can use these deductions—and how much they matter—depends on several factors:
| Factor | Impact |
|---|---|
| Property type (primary residence vs. investment/rental) | Affects whether long-term capital gains rates apply; primary residence has separate $250K/$500K exclusion |
| Length of ownership | Short-term vs. long-term gains are taxed differently |
| Whether you're selling at a gain or loss | Loss deductions have specific limits and rules |
| State and local taxes | Some 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 most common gray area is distinguishing between improvements (which add basis) and repairs (which don't reduce your sale gain).
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.
If you're tracking deductible selling expenses, keep:
Clear documentation makes it easier to substantiate deductions if questions arise.
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.
