$Missed Deductions

Can I deduct a loss on selling my primary residence?

Home Buyingintermediate3 answers · 6 min readUpdated February 28, 2026

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

RK

Robert Kim, Tax Return Analyst

Homeowners selling their primary residence who want to understand the tax implications

Top Answer

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:


  • Purchase price (2020): $400,000
  • Sale price (2026): $350,000
  • Loss: $50,000
  • Tax deduction allowed: $0

  • 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:


  • Personal benefit: You received personal use and shelter from the property
  • Consumption vs. investment: Your home is primarily for personal consumption, not profit-seeking
  • Symmetry: Since you don't pay tax on the personal use value of living in your home, you can't deduct losses either

  • 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:


  • $250,000 in gains if single
  • $500,000 in gains if married filing jointly

  • 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 TypeLoss Deductible?Gain TreatmentRequired Forms
    Primary residence onlyNoUp to $250K/$500K excludedSchedule D (if applicable)
    Business/rental propertyYesFully taxable + depreciation recaptureForm 4797
    Mixed-use (home office)Partial (business % only)Mixed treatmentForm 4797 + Schedule D

    More Perspectives

    MW

    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:

  • Original cost plus improvements, or
  • Fair market value at conversion date

  • Example conversion scenario:

  • Bought home: $400,000 (2020)
  • Current fair market value: $350,000 (2026)
  • Conversion basis: $350,000 (the lower amount)
  • If you later sell for $320,000, you have a $30,000 deductible business loss

  • 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:

  • You genuinely want to be a landlord
  • The property will generate positive cash flow
  • You have other passive income to offset losses against
  • The expected loss deduction exceeds the costs and complexity

  • 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.

    RK

    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:

  • Home purchase price: $300,000
  • Home sale price: $250,000
  • Total loss: $50,000
  • Home office: 200 sq ft of 2,000 sq ft total (10%)
  • Deductible business loss: $5,000 (10% × $50,000)
  • Non-deductible personal loss: $45,000

  • 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:

  • Square footage measurements
  • Business use dates and purposes
  • Home office deductions claimed on prior returns

  • Rental portion calculations


    If you rented out part of your home (like a basement apartment), similar rules apply:


    Example with rental unit:

  • Total home loss: $40,000
  • Rental unit: 25% of home
  • Deductible rental loss: $10,000
  • Non-deductible personal loss: $30,000

  • 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:

  • Original purchase price: $300,000
  • Business portion basis after depreciation: $35,000 (reduced from original $50,000)
  • Personal portion basis: $250,000
  • Sale price allocation: Business $40,000, Personal $210,000
  • Business gain: $5,000 (not loss!)
  • Personal loss: $40,000 (non-deductible)

  • 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

    primary residencecapital losshome salesection 121 exclusionpersonal expenses

    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.