Quick Answer
No, you cannot deduct a loss on selling your primary residence. The IRS treats personal residence sales as personal expenses, not deductible business losses. However, you may qualify for up to $250,000 ($500,000 if married filing jointly) in tax-free gains on future home sales under Section 121 exclusion rules.
Best Answer
Robert Kim, Tax Return Analyst
Homeowners selling their primary residence who want to understand the tax implications
Can you deduct a loss on your primary residence?
Unfortunately, no — you cannot deduct a loss from selling your primary residence. The IRS classifies your personal home as a personal asset, not a business or investment property. According to IRS Publication 523, losses on the sale of personal property are not deductible on your tax return.
This rule applies regardless of how much money you lose or why you're selling at a loss.
Example: $50,000 loss on primary residence
Let's say you bought your home in 2020 for $400,000 and sold it in 2026 for $350,000:
Even though you lost $50,000, this loss provides zero tax benefit. You cannot claim it on Schedule D (Capital Gains and Losses) or anywhere else on your tax return.
Why the IRS doesn't allow primary residence loss deductions
The tax code treats your primary residence as a personal expense, similar to your car, furniture, or clothing. The IRS reasoning:
The silver lining: Section 121 exclusion for future gains
While you can't deduct losses, the tax code is generous with gains on primary residences. Under IRC Section 121, you can exclude from taxation:
To qualify, you must have owned and used the home as your primary residence for at least 2 of the 5 years before selling.
Special considerations that don't change the rule
Home improvements: Even if you spent $75,000 on improvements, raising your basis to $475,000, a sale at $350,000 creates a $125,000 loss — still not deductible.
Selling due to job loss or divorce: Your reason for selling doesn't matter. Personal residence losses remain non-deductible regardless of circumstances.
Mixed-use property: If you used part of your home for business (home office) or rental income, that portion might qualify for different treatment, but the personal residence portion loss remains non-deductible.
What you should do
1. Keep detailed records of your home's purchase price and improvements — you'll need this basis information for future calculations
2. Consider timing if you're planning to sell — market conditions might improve
3. Understand your state rules — some states have different provisions, though most follow federal guidelines
4. Plan for your next home purchase knowing you have substantial Section 121 exclusion available
Key takeaway: Primary residence losses are never deductible, but you can exclude up to $250,000 (single) or $500,000 (married) in gains on future home sales.
*Sources: IRS Publication 523 (Selling Your Home), IRC Section 121*
Key Takeaway: Primary residence losses provide zero tax benefit, but homeowners can exclude substantial gains ($250,000-$500,000) on future home sales under Section 121.
Primary residence vs. business/rental property loss treatment
| Property Type | Loss Deductible? | Gain Treatment | Required Forms |
|---|---|---|---|
| Primary residence only | No | Up to $250K/$500K excluded | Schedule D (if applicable) |
| Business/rental property | Yes | Fully taxable + depreciation recapture | Form 4797 |
| Mixed-use (home office) | Partial (business % only) | Mixed treatment | Form 4797 + Schedule D |
More Perspectives
Michelle Woodard, Tax Policy Analyst
Homeowners considering converting their primary residence to a rental property before selling
Converting to rental property: A potential strategy
If you're facing a loss on your primary residence, converting it to a rental property before selling might allow you to deduct the loss — but this strategy has strict requirements and significant risks.
How the conversion strategy works
When you convert your primary residence to rental property, the tax classification changes from personal asset to business property. Your basis becomes the lower of:
Example conversion scenario:
Requirements for legitimate conversion
Genuine rental activity: You must actually rent the property or make substantial efforts to rent it. Simply listing it "for rent" while immediately marketing it for sale won't qualify.
Business purpose: Document your intent to operate a rental business, not just avoid personal residence loss rules.
Separate the personal use period: The loss deduction only applies to the decline after conversion, not losses from your personal use period.
Significant risks and downsides
Depreciation recapture: Once you start depreciating the rental property, you'll owe depreciation recapture taxes when you sell, even if you have an overall loss.
Lost Section 121 exclusion: Converting to rental property starts the clock on losing your primary residence gain exclusion benefits.
Passive activity limitations: Rental losses might be limited by passive activity rules under IRC Section 469.
When this strategy makes sense
Conversion might be worthwhile if:
Key takeaway: Converting to rental property can potentially allow loss deductions, but requires genuine rental business activity and comes with significant tax complications.
*This strategy requires careful planning with a tax professional familiar with rental property conversions.*
Key Takeaway: Converting your primary residence to rental property before selling might allow loss deductions, but requires genuine rental activity and comes with complex tax implications.
Robert Kim, Tax Return Analyst
Homeowners who used part of their residence for business or rental purposes
Mixed-use property: Partial loss deduction possible
If you used part of your primary residence for business (home office) or rental purposes, you may be able to deduct the loss attributable to the business/rental portion while the personal portion remains non-deductible.
How to calculate the deductible portion
The deductible loss is based on the percentage of your home used for business purposes.
Example with home office:
Business use requirements
Exclusive and regular use: The space must be used exclusively for business on a regular basis. According to IRS Publication 587, occasional or incidental use doesn't qualify.
Principal place of business: The home office must be your main place of business, or used regularly to meet clients/customers.
Documentation required: Keep records of:
Rental portion calculations
If you rented out part of your home (like a basement apartment), similar rules apply:
Example with rental unit:
Basis adjustments complicate the math
If you claimed home office or rental depreciation in prior years, your basis in the business/rental portion is reduced by the depreciation taken.
Complex example:
Key takeaway: Business or rental portions of your home may qualify for loss deductions, but require careful basis calculations and proper documentation of exclusive business use.
*Mixed-use property sales require Form 4797 reporting and may trigger depreciation recapture even with overall losses.*
Key Takeaway: Business or rental portions of your home may qualify for partial loss deductions, but personal residence portions remain non-deductible regardless of mixed use.
Sources
- IRS Publication 523 — Selling Your Home - comprehensive guide to home sale tax rules
- IRS Publication 587 — Business Use of Your Home - home office deduction rules
- IRC Section 121 — Exclusion of gain from sale of principal residence
Related Questions
Reviewed by Robert Kim, Tax Return Analyst on February 28, 2026
This content is for educational purposes only and is not a substitute for professional tax advice. Consult a qualified tax professional for advice specific to your situation.