Can You Deduct a Loss When You Sell Your Personal Home?
TL;DR: No. If you sell your primary residence for less than you paid, the IRS does not let you deduct that loss on your federal tax return, because your home is classified as personal-use property under Section 165(c). This is different from a rental or investment property, where a loss on sale is generally deductible. The only way to potentially deduct part of a loss is if you converted the home to a rental before selling it.
_Last reviewed: August 2026 Β· 6 min read_
You bought your house for $410,000, sold it for $370,000, and now you're staring at a $40,000 loss wondering if there's any tax relief coming your way. There isn't, at least not on the federal return, and the reason surprises most homeowners who assume all financial losses are deductible somewhere.
Okoniq Property Hub keeps a running log of every improvement you make to your home, which matters even when a loss itself isn't deductible, because those records still shape your cost basis if your home's use ever changes.
Why can't you deduct a loss on your primary home?
Because the IRS classifies your primary residence as personal-use property, not investment property, and losses on personal-use property have never been deductible under federal tax law. This rule comes from Internal Revenue Code Section 165(c), which limits deductible losses for individuals to those incurred in a trade or business, in a transaction entered into for profit, or from casualty and theft. Your home doesn't fit the first two categories because you lived in it.
Compare that to gains: if you sell your primary home at a profit, Section 121 lets you exclude up to $250,000 of gain if you're single, or $500,000 if you're married filing jointly, as long as you owned and lived in the home for at least 2 of the last 5 years. But that same section offers zero relief on the loss side. The tax code is asymmetric here on purpose. It's designed to tax profit on personal-use assets favorably while ignoring losses on them entirely, the same way you can't deduct a loss on selling your car or furniture.
This trips up a lot of owners who sold during a down market, say 2008-2011 or parts of 2022-2023 in overheated metros that corrected. The loss is real financially, but it's invisible to the IRS.
How does this differ from selling a rental or investment property?
It's a completely different tax treatment because rental and investment properties are business or profit-motivated assets, and losses on those are generally deductible as capital losses. If you sell a rental property for less than your adjusted basis, that loss typically offsets other capital gains, and up to $3,000 of any remaining loss can offset ordinary income each year, with the rest carried forward indefinitely.
This is one of the clearest lines in real estate tax planning: the same house can produce a deductible loss or a non-deductible loss depending entirely on how it was used. If you're weighing whether to convert a home you're planning to sell at a loss into a rental first, this distinction is exactly why that strategy exists. Landlords tracking depreciation, repairs, and capital improvements on rental units already keep this kind of documentation, which is one reason foundation cracks that are serious vs. those that aren't matters for basis tracking on investment property, not just structural safety.
| | Primary Residence | Rental/Investment Property | |---|---|---| | Loss on sale deductible? | No | Yes (as capital loss) | | Gain exclusion available? | Up to $250K/$500K (Sec. 121) | No exclusion, but 1031 exchange possible | | Depreciation taken? | No | Yes, reduces basis over time | | Record-keeping requirement | Improvements only | Improvements, repairs, depreciation |
Does converting your home to a rental before selling change anything?
Yes, but only partially and with strict rules. If you move out of your primary home and rent it for a period before selling, the property may be treated as investment property at the time of sale, which opens the door to deducting a loss. The IRS generally looks at the property's fair market value at the time of conversion to rental use as the starting basis for calculating a deductible loss, not your original purchase price. If your home was worth $380,000 when you started renting it and you later sold it for $350,000, only that $30,000 drop counts toward a deductible loss, not the full amount you lost from your original $410,000 purchase price.
This strategy requires genuine rental intent and use, documented with a lease, rental income reported on Schedule E, and a reasonable rental period, generally a year or more in practice, though the IRS doesn't set a hard minimum. Landlords who've made this switch also need clean documentation of every repair and capital improvement made during the rental period, since those affect basis and depreciation recapture later. If you're tracking gutter work, roof repairs, or siding maintenance you're skipping every year on a property mid-conversion, that paper trail becomes part of your tax file, not just your maintenance file.
What records should you keep even though the loss isn't deductible?
You should still keep every receipt for capital improvements, because they adjust your cost basis and matter if the home's tax status ever changes. Capital improvements, think a new roof, a kitchen remodel, an added bathroom, or a foundation repair, get added to your basis. Routine repairs and maintenance, like patching drywall or replacing a furnace filter, generally do not.
Even on a straight personal-home sale with no rental conversion, an accurate basis matters if you're near the Section 121 exclusion limits, since a higher basis reduces taxable gain if the market turns around before you sell. Keeping a digital log of drainage jobs and other capital-grade work also protects you if the IRS ever questions your basis calculation on audit, which happens more often than owners expect when the numbers involve six figures.
What if the loss came from a casualty, like a fire or flood, instead of the market?
Casualty losses follow a separate rule and can sometimes be deductible even on a personal residence. Under current law through 2025, personal casualty losses are only deductible if they occurred in a federally declared disaster area, and even then, the deduction is limited to the amount exceeding 10% of your adjusted gross income, after a $100 per-event reduction. This is a narrow exception and doesn't apply to ordinary market-driven losses on sale. If your home lost value because of storm damage rather than market conditions, talk to a CPA about whether the casualty loss rules apply separately from the sale itself.
FAQ
Can I deduct a loss on my home if I sell it to a family member below market value?
No. Selling below fair market value to a related party doesn't create a deductible loss, and the IRS may also treat part of the discount as a gift subject to gift tax reporting if it exceeds the annual exclusion, $18,000 per recipient in 2024.
Does it matter if I lived in the home for less than 2 years?
The 2-year rule affects your gain exclusion eligibility under Section 121, not loss deductibility. Whether you lived there 6 months or 6 years, a loss on a personal residence sale is still non-deductible on the federal return.
Can state taxes treat home sale losses differently than federal taxes?
Most states follow the federal treatment and disallow the deduction, but a few states have their own capital loss rules that differ slightly. Check your state's specific tax code or ask a CPA licensed in your state.
If I take a loss on my home, does it offset gains from selling stocks the same year?
No. A non-deductible loss on personal-use property can't offset capital gains from stocks or other investments, because it never enters the capital gains calculation at all.
What's considered a capital improvement versus a repair for basis purposes?
A capital improvement adds value or extends the home's life, like a new roof or an addition, and gets added to basis. A repair, like fixing a leaky faucet or patching a wall, restores something to working condition and does not add to basis.
This is educational information, not tax advice. Talk to a CPA about how these rules apply to your specific sale, especially if you converted the property to a rental or experienced a casualty loss.
Keep reading
Get seasonal maintenance tips by email
Gutter-cleaning, filter-changing, before-it's-a-$3,000-problem guides. No schedule, no spam β unsubscribe anytime.
Prefer to dive in? Get started free β