When you sell your home, the tax picture is different from what many people expect. Most homeowners won't owe federal income tax on their sale at all—but it's not because of a deduction. It's because of an exclusion, which works differently. Understanding the distinction, and knowing when deductions do apply, can help you file correctly and avoid surprises.
Let's start with the most important concept: the primary residence exclusion. This is not a deduction—it's a permanent exclusion from income.
If you meet specific ownership and use requirements, you can exclude up to $250,000 (or $500,000 if you're married filing jointly) of your gain from federal income tax. This means that amount is simply not taxable income, period. For most homeowners, their profit on the sale falls within this exclusion, so they owe nothing.
Deductions, by contrast, reduce your total taxable income. They're different animals and apply in different situations related to home sales.
True deductions on home sales are rare for owner-occupants, but they do exist in specific scenarios:
Losses on investment or rental properties. If you sell a property you've held for investment or rental (not as your primary residence), you cannot deduct a capital loss against ordinary income under federal tax rules. However, you can use capital losses to offset capital gains from other sales. This distinction matters if you have multiple investment properties or securities sales in the same year.
Home office deduction complications. If you claimed a home office deduction while you lived there, the IRS may require you to recapture (repay) part of that deduction when you sell. This isn't a new deduction—it's a recapture of prior deductions you claimed. The mechanics depend on whether you depreciated the space and your method of calculation.
Points and loan costs. If you paid points or other loan origination costs to secure your mortgage, these are often deducted over the life of the loan. Any remaining unamortized amount may be deductible in the year of sale, but this applies to the original purchase, not the sale itself.
Selling expenses are not deductible. Real estate agent commissions, closing costs, title insurance, inspection fees, and repairs made before sale cannot be deducted as business expenses for a primary residence sale. Instead, they reduce your net proceeds and thereby reduce your taxable gain—but this happens through the math of calculating gain, not through a deduction line item.
Capital improvements aren't deductible. New roof, updated kitchen, new HVAC system? These increase your "cost basis" in the home, which reduces your taxable gain. Again, this is gain calculation, not a deduction.
Your specific tax outcome depends on:
If you're unsure whether you qualify for the exclusion or whether you'll owe taxes:
A tax professional can calculate your exact gain, confirm your eligibility for the exclusion, and identify any recapture obligations specific to your situation.
