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.
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.
These are costs you incur specifically to sell the property:
These are expenses incurred when you originally bought the property. They're added to your cost basis:
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:
Routine maintenance does not qualify:
Your actual deductible expenses depend on several factors:
| Factor | Impact |
|---|---|
| Property type | Primary residence vs. investment property (rules differ) |
| Time owned | How long you held the property affects which costs apply |
| Sale structure | Direct sale vs. 1031 exchange vs. sale through a business entity |
| State/local rules | Transfer taxes and recording fees vary by location |
| Improvement documentation | You must prove improvements with receipts and records |
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.
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.
The IRS will only recognize deductions you can substantiate. Keep:
Your tax outcome depends on evaluating:
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.
