You generally cannot deduct a loss on the sale of your home. The IRS treats a personal residence as personal-use property, and Section 165(c) of the Internal Revenue Code disallows losses on personal-use property no matter how large the drop in value.1Office of the Law Revision Counsel. 26 USC 165 – Losses The practical workaround is to convert the home to a rental or other income-producing use before the sale, which can move the loss into a deductible category. A few narrow situations, like casualty losses from declared disasters, follow their own rules.
Why the Loss on Your Home Is Disallowed
Section 165(c) only lets individuals deduct three kinds of losses: losses from a trade or business, losses from a transaction entered into for profit, and certain casualty or theft losses.1Office of the Law Revision Counsel. 26 USC 165 – Losses Selling the house you lived in doesn’t fit any of them. The IRS treats the decline in your home’s value the same way it treats a car losing value in your driveway: a personal cost with no tax offset.2Internal Revenue Service. What if I Sell My Home for a Loss
Gains are treated very differently. A profit on the sale of a principal residence can be excluded up to $250,000 (or $500,000 for married couples filing jointly) under Section 121 if you owned and lived in the home for at least two of the five years before the sale.3Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain from Sale of Principal Residence The asymmetry is intentional. Gains get a generous shield; losses get nothing.
A disallowed personal loss does not carry forward, does not offset capital gains, and does not qualify for the $3,000 annual capital loss deduction. It disappears for tax purposes. That is why the strategies below matter if you expect to sell below your basis.
Converting the Home to a Rental Before You Sell
The most reliable way to turn a non-deductible personal loss into a deductible one is to convert the property to a rental before selling. Once the home is rented at fair market rates, it becomes income-producing property, and a later loss falls into the “transaction entered into for profit” category that Section 165 allows.4Internal Revenue Service. Capital Gains, Losses, and Sale of Home
The IRS looks for genuine rental activity. You need to move out, offer the property at a market rent, advertise it, and actually place tenants. Listing it on a rental site for a few weeks while you also have it on the market for sale will not establish the profit motive. The longer and more consistent the rental history, the stronger your position if the deduction is challenged.
Property that was always investment-oriented, like inherited land you never occupied or a house bought specifically to rent, qualifies for loss deductions from the start. The basis rules below only hit property that began life as your home.
The Dual Basis Trap
Converting the home to a rental does not let you deduct the entire drop in value since you bought it. Treasury Regulation 1.165-9 limits the deduction to losses that occurred after the conversion, through what’s known as the dual basis rule.5eCFR. 26 CFR 1.165-9 – Sale of Residential Property
For calculating a loss, your starting basis is the lower of two numbers: your adjusted cost basis (purchase price plus improvements) or the fair market value on the date of conversion.6Internal Revenue Service. Publication 551 – Basis of Assets If the home was already worth less than you paid when you began renting it, that lower FMV becomes your starting point. Any decline that happened while you lived there is locked out of the deduction permanently.
You then subtract depreciation claimed, or that should have been claimed, during the rental period. The result is your adjusted basis for loss. Your deductible loss is the amount that basis exceeds your net sale proceeds.
A Worked Example
Say you bought a home for $400,000 and added $30,000 in improvements, for an adjusted cost basis of $430,000. When you convert it to a rental, the fair market value is $370,000. Because FMV is lower, $370,000 is the starting basis for loss. You rent the property for three years and claim $33,600 in depreciation, leaving an adjusted basis of $336,400. If you sell for $310,000, your deductible loss is $26,400.
The $60,000 gap between the original $430,000 basis and the $370,000 FMV at conversion is gone for tax purposes. There’s also a quiet trap: if the sale price falls between your original cost basis and the FMV at conversion, you have neither a reportable gain nor a deductible loss.
Depreciation Is Mandatory, Not Optional
Residential rental property is depreciated over 27.5 years using the straight-line method.7Internal Revenue Service. Publication 527 – Residential Rental Property You depreciate the building value, not the land, starting when the property is placed in service as a rental. If you never actually claim depreciation on your returns, the IRS still requires you to reduce basis by the amount that was “allowable.”8Office of the Law Revision Counsel. 26 USC 1016 – Adjustments to Basis Skipping the deductions during the rental years does not preserve a higher basis at sale. It just forfeits the yearly tax benefit.
How a Deductible Loss Gets Reported
Where the loss lands on your return makes a real difference in how much tax it actually saves.
Section 1231 Loss on Rental Property
If you held the rental property for more than one year, the loss is a Section 1231 loss, reported on Form 4797, Part I.9Internal Revenue Service. Instructions for Form 4797 When total Section 1231 losses for the year exceed Section 1231 gains, the net loss is treated as an ordinary loss rather than a capital loss.10Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business An ordinary loss offsets wages, self-employment income, and other ordinary income dollar for dollar, with no annual cap. That is the most favorable outcome available for a home-sale loss.
Capital Loss on Pure Investment Property
A loss on property you held strictly as an investment, like inherited land you never rented, is a capital loss. Report it on Form 8949, with totals flowing to Schedule D.11Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets It first offsets any capital gains for the year. After that, you can deduct up to $3,000 of remaining net capital loss against ordinary income ($1,500 if married filing separately), with the rest carrying forward.12Internal Revenue Service. Topic No. 409, Capital Gains and Losses The carryforward has no expiration, but a $50,000 capital loss takes more than 16 years to absorb at $3,000 a year if you have no offsetting gains. The ordinary treatment under Section 1231 avoids that bottleneck.
The Home Office Angle Is Narrower Than It Sounds
You may have read that a home office creates a deductible loss on the business portion of a home sold at a loss. The rules are tighter than that. Publication 523 draws a line between an office inside the dwelling and a separate structure.13Internal Revenue Service. Publication 523 – Selling Your Home
If your office is a room inside the house, the IRS does not require you to allocate gain or loss to that portion. The whole property is treated as your home for the sale, and the office space does not generate a separately deductible loss. A separate structure used exclusively and regularly for business, like a detached studio or workshop, can be treated as business property with its own basis under Section 280A.14Office of the Law Revision Counsel. 26 USC 280A – Disallowance of Certain Expenses in Connection with Business Use of Home That scenario is uncommon; most home offices are spare bedrooms.
Casualty and Disaster Losses Are a Separate Path
If the home is damaged or destroyed rather than simply losing market value, a different rule applies. Casualty losses on personal property are only deductible when they stem from a federally declared disaster. Starting in tax year 2026, losses from certain state-declared disasters also qualify.1Office of the Law Revision Counsel. 26 USC 165 – Losses
Even a qualifying loss faces two reductions. Subtract $100 per casualty event from the unreimbursed loss, then subtract 10% of your adjusted gross income from what remains. Only what survives both is deductible, and you have to itemize to claim it. Insurance proceeds cut the loss dollar for dollar, so full coverage leaves nothing to deduct.
Foreclosure and Short Sales Don’t Change the Loss Rule
Losing the home to foreclosure or selling it short does not convert a disallowed personal loss into a deductible one.15Internal Revenue Service. Home Foreclosure and Debt Cancellation These transactions bring a second tax problem, though: when a lender forgives part of what you owe on a recourse loan, that forgiven amount is generally taxable as cancellation of debt income unless an exclusion applies. Insolvency at the time of discharge and debt discharged in bankruptcy remain available exclusions.16Office of the Law Revision Counsel. 26 USC 108 – Income from Discharge of Indebtedness The broader Section 108(a)(1)(E) exclusion that shielded up to $750,000 of forgiven mortgage debt on a principal residence only covers discharges before January 1, 2026, or arrangements documented in writing before that date.
Records to Keep If You’re Claiming a Loss
If you plan to deduct a loss on converted property, the IRS can ask you to prove every number in the calculation. Weak records are where these deductions fall apart on audit. Keep the following:
- Your original closing statement (HUD-1 or Closing Disclosure) showing purchase price and acquisition costs such as title insurance and transfer taxes.
- Invoices and permits for capital improvements, like a new roof, kitchen remodel, or furnace replacement. Painting, patching drywall, and routine upkeep do not increase basis.
- A professional appraisal performed near the date you converted the property to rental use. This establishes the starting basis under the dual basis rule, and an appraisal reconstructed years later carries far less weight.
- Yearly depreciation calculations and the returns on which they were claimed.
- Lease agreements, rental listings, tenant deposits, and property management records showing genuine rental activity at fair market rates.
The appraisal at conversion deserves extra attention. Without it, you are left arguing years later about what the home was worth on a specific date, with no contemporaneous evidence. That is a fight the IRS usually wins.