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 shortfall between your purchase price and your sale price.1Office of the Law Revision Counsel. 26 USC 165 – Losses The one meaningful workaround is converting the home to a rental before selling it, which reclassifies the property as income-producing and can turn part of the loss into a deductible one. Casualty damage from a declared disaster follows its own rules.
Why the Loss Gets No Tax Benefit
Federal law lets individuals deduct only 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 does not fit any of those. The IRS views the decline in your home’s market value the same way it views a car depreciating in your driveway: a personal expense, absorbed without tax relief.2Internal Revenue Service. What if I Sell My Home for a Loss
Gains work very differently. Under Section 121, a single filer can exclude up to $250,000 of gain on the sale of a principal residence, and a married couple filing jointly up to $500,000, as long as they 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 deliberate. Upside gets sheltered; downside is on you.
A non-deductible personal loss cannot be carried forward, cannot offset capital gains, and does not count toward the $3,000 annual capital loss allowance. It simply disappears. That is why the conversion strategy below matters if you know you are selling into a loss.
Converting the Home to a Rental Before Selling
The practical way to make a loss deductible is to convert the home to a rental property first. Once the property is rented at fair market rates, it becomes income-producing property, and future losses move into the “transaction entered into for profit” category, where deductions are allowed.4Internal Revenue Service. Capital Gains, Losses, and Sale of Home
A token effort will not do. You need to move out, offer the property for rent at market rates, advertise it, and actually place tenants. Listing on a rental site for a few weeks while simultaneously running an active for-sale campaign will not establish the profit motive the IRS looks for. The longer and more consistently you rent, the stronger the position.
The Dual Basis Rule
Here is where most people stumble. Converting a residence to a rental does not let you deduct the entire drop in value from the day you bought the home. Treasury Regulation 1.165-9 limits the deduction to declines that happen after the conversion.5eCFR. 26 CFR 1.165-9 – Sale of Residential Property
For calculating a loss, your starting basis is the lower of two figures: your adjusted cost basis (purchase price plus capital 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 what you paid at the time you converted it, the conversion-date FMV becomes the ceiling. Value lost while you lived there is permanently outside the deduction.
From that starting figure you subtract depreciation claimed during the rental period. Residential rental property is depreciated over 27.5 years on a straight-line basis.7Internal Revenue Service. Publication 527 – Residential Rental Property Even if you never claimed the deduction on your returns, Section 1016 requires you to reduce basis by the depreciation that was “allowable,” not just what you actually took.8Office of the Law Revision Counsel. 26 USC 1016 – Adjustments to Basis Skipping depreciation does not preserve a higher basis at sale.
A Concrete Example
Say you bought a home for $400,000 and put $30,000 of improvements into it, giving you an adjusted cost basis of $430,000. At conversion to a rental, the fair market value is $370,000. Because the FMV is lower, $370,000 becomes your starting basis for loss purposes. Over three years of rental use you claim $33,600 of depreciation, so your adjusted basis for loss drops to $336,400. Sell for $310,000 and your deductible loss is $26,400.
The $60,000 gap between your original $430,000 basis and the $370,000 conversion FMV is gone for tax purposes. There is also a quirk in the middle: if the sale price falls between the original cost basis and the conversion FMV, the sale produces neither a gain nor a deductible loss.
How a Deductible Loss Gets Reported
Where the loss ends up on your return matters as much as whether you can claim it.
Rental property held more than one year produces a Section 1231 loss, reported on Form 4797, Part I.9Internal Revenue Service. Instructions for Form 4797 When your Section 1231 losses for the year exceed your Section 1231 gains, the net loss is treated as ordinary.10Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business Ordinary loss treatment offsets wages, self-employment income, and other ordinary income dollar-for-dollar, with no annual cap. This is usually the best outcome available.
Losses on property held purely as an investment, such as inherited land you never lived on or never rented, are capital losses. Report them on Form 8949, with totals flowing to Schedule D.11Internal Revenue Service. About Form 8949, Sales and Other Dispositions of Capital Assets Capital losses first offset capital gains for the year; then up to $3,000 of remaining net loss offsets ordinary income ($1,500 if married filing separately). Anything left carries forward indefinitely.12Internal Revenue Service. Topic No. 409, Capital Gains and Losses A large capital loss is never wasted, but at $3,000 a year it can take decades to absorb without offsetting gains. That bottleneck is why the rental conversion route is attractive.
The Home Office Angle Is Narrower Than It Sounds
You may have heard that a home office generates a deductible loss on the business-use portion when the home sells at a loss. Publication 523 draws a line based on where the office sits.13Internal Revenue Service. Publication 523 – Selling Your Home A room inside the dwelling used as an office does not require a separate gain or loss allocation. The whole property is treated as your home, and no separately deductible loss comes out of that room.
A separate structure used exclusively and regularly for business, like a detached studio or workshop, is treated differently under Section 280A and can carry its own basis and loss calculation.14Office of the Law Revision Counsel. 26 USC 280A – Disallowance of Certain Expenses in Connection with Business Use of Home Most home offices are spare bedrooms, not detached buildings, so this exception rarely rescues a loss.
Foreclosure and Short Sales
Losing the home to foreclosure or selling it short does not change the underlying rule. The loss on a personal residence remains non-deductible.15Internal Revenue Service. Home Foreclosure and Debt Cancellation Worse, these transactions can generate a second tax problem: cancellation of debt income.
Whether forgiven debt is taxable turns on the loan type. With a non-recourse loan, where the lender’s only remedy is taking the property, foreclosure does not produce cancellation of debt income, but the full loan balance is treated as the sale price, which can create a taxable gain even when the market value was lower. With a recourse loan, where the lender can pursue you personally for the shortfall, any forgiven balance is cancellation of debt income, taxable as ordinary income unless an exclusion applies.16Internal Revenue Service. Recourse vs. Nonrecourse Debt
Two exclusions can still shield forgiven debt in 2026. If you were insolvent at the time of discharge — total debts exceeding the fair market value of your assets — you can exclude cancelled debt up to the amount of your insolvency. Debt discharged in bankruptcy is fully excluded. The broader Section 108(a)(1)(E) exclusion for up to $750,000 of forgiven principal residence mortgage debt only covers discharges before January 1, 2026, or arrangements documented in writing before that date. For 2026 discharges without a qualifying pre-2026 written arrangement, that exclusion is no longer available.17Office of the Law Revision Counsel. 26 USC 108 – Income from Discharge of Indebtedness
Casualty Losses Follow a Different Path
Damage or destruction is not the same as a market-value loss. Casualty losses on personal property are only deductible when they arise from a federally declared disaster, and starting in tax year 2026 certain state-declared disasters also qualify.1Office of the Law Revision Counsel. 26 USC 165 – Losses Even when a disaster qualifies, two reductions eat into the deduction: subtract $100 per casualty event, then subtract 10% of your adjusted gross income. Only what survives both reductions is deductible, and you have to itemize to claim it. Insurance proceeds reduce the loss dollar-for-dollar.
Records to Keep If You Claim a Loss
On audit, the IRS can test every input in your loss calculation. Weak documentation is where these deductions fall apart. Keep:
- Original purchase records, including the closing statement showing purchase price and acquisition costs like title insurance and transfer taxes.
- Receipts and permits for capital improvements that added value or extended useful life. A new roof, kitchen remodel, or furnace counts; painting and routine upkeep do not.
- A professional appraisal performed near the date you converted the property to rental use. This document establishes the starting basis under the dual basis rule, and an appraisal reconstructed years later carries far less weight.
- Every year’s depreciation calculation and the returns where it was claimed.
- Lease agreements, listings, tenant deposits, and property management records showing genuine rental activity at market rates.
The conversion-date appraisal is the single most important piece. Without it, you are arguing about the value of a specific property on a specific past date with no contemporaneous evidence, and that is a fight the IRS usually wins.