What Deductions Can You Claim When You Sell a Property? 🏠

When you sell a property, the IRS doesn't tax the full sale price—only your profit, or gain. That profit is calculated by subtracting your adjusted cost basis (what you paid plus certain improvements) from your net sale proceeds (what you received minus certain costs). Understanding which expenses reduce that taxable gain is essential to knowing your actual tax liability.

How Property Sale Deductions Work

A deduction in a property sale isn't like a deduction on your income tax return. Instead, it's an expense that reduces your taxable gain. If you sell a home for $400,000 and your adjusted cost basis is $250,000, your gain would normally be $150,000. But if you have $25,000 in deductible selling expenses, your taxable gain drops to $125,000.

The key principle: Any expense directly tied to acquiring, improving, or selling the property can reduce your gain. Expenses unrelated to the property itself—like moving costs or property taxes paid during ownership—typically cannot.

Types of Deductible Expenses đź“‹

Selling Expenses

These are costs you incur specifically to sell the property:

  • Real estate commissions paid to agents or brokers
  • Title insurance and title search fees
  • Attorney fees for the sale transaction (not for a dispute)
  • Escrow or closing fees directly tied to the sale
  • Recording fees and transfer taxes required by your jurisdiction
  • Inspection and appraisal fees ordered by the buyer
  • Marketing costs if you're selling as a business

Acquisition Costs

These are expenses incurred when you originally bought the property. They're added to your cost basis:

  • Purchase price of the property
  • Closing costs from the original purchase (agent commissions, attorney fees, title insurance, appraisal)
  • Recording fees and transfer taxes paid at purchase
  • Points paid to obtain financing

Capital Improvements

These are improvements that add value, prolong the property's life, or adapt it to new uses. Repairs and maintenance do not qualify.

Capital improvements include:

  • A new roof or major roof repairs
  • Room additions or renovations
  • New HVAC system
  • Updated electrical or plumbing systems
  • New windows or doors
  • Foundation repairs
  • Swimming pool or deck installation

Routine maintenance does not qualify:

  • Painting (unless part of a larger renovation)
  • Fixing a leak
  • Replacing broken fixtures
  • Annual maintenance

Key Variables That Change the Outcome

Your actual deductible expenses depend on several factors:

FactorImpact
Property typePrimary residence vs. investment property (rules differ)
Time ownedHow long you held the property affects which costs apply
Sale structureDirect sale vs. 1031 exchange vs. sale through a business entity
State/local rulesTransfer taxes and recording fees vary by location
Improvement documentationYou must prove improvements with receipts and records

Primary Residences: The Capital Gains Exclusion

If you sell a primary residence and meet certain conditions (owned and lived in it for at least 2 of the last 5 years), you may exclude up to $250,000 in gain (or $500,000 if married filing jointly) from taxable income. This exclusion is separate from deductions—it's a built-in benefit that often means homeowners owe no federal tax on the gain at all. In this case, calculating specific deductions may not matter.

However, if your gain exceeds the exclusion limit, deductions become relevant again.

Investment Properties and Rental Homes

If you sell an investment property or rental, the deduction rules are the same, but there's no capital gains exclusion. Every deductible expense directly reduces your taxable gain, making precision important.

What Doesn't Count

  • Property taxes and HOA fees paid during ownership
  • Mortgage interest paid during ownership
  • Insurance premiums
  • Utilities and maintenance
  • Moving or relocation expenses
  • Decorating or staging costs (treated as personal expenses)
  • Capital improvements you didn't make

Documentation Matters

The IRS will only recognize deductions you can substantiate. Keep:

  • Original purchase documents and closing statements
  • Receipts and invoices for improvements
  • Before-and-after photos of major work
  • Contractor agreements and payment records
  • Real estate agent agreements and commission statements
  • Closing documents from the sale

What You Need to Figure Out

Your tax outcome depends on evaluating:

  1. What you actually paid to acquire, improve, and sell the property
  2. Whether your improvements qualify as capital improvements under IRS rules
  3. Whether your situation qualifies for special exclusions (primary residence rule)
  4. Your state and local tax treatment of the sale
  5. Whether there are timing or entity-structure issues that affect how the gain is taxed

A tax professional or CPA can review your specific numbers and documentation to calculate your actual deductible expenses and tax liability. They can also advise whether your situation involves any special rules or elections that change how the sale is treated.