Can You Write Off a Loss on Sale of Investment Property?

You can generally write off a loss on the sale of investment property, but the size of the deduction and the year you get to take it depend on how the property was used. A rental you held longer than a year usually produces an ordinary loss under Section 1231, which can offset wages and any other income with no dollar cap. Raw land and other property held purely for appreciation produce a capital loss, and only $3,000 of that ($1,500 if married filing separately) can offset ordinary income each year, with the rest carried forward. A loss on property you used personally, like a second home you never rented, is not deductible at all outside a federally declared casualty.1Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets

Figuring the Loss Itself

Start with your adjusted basis: the original purchase price, plus capital improvements, minus all depreciation you claimed or should have claimed.2Internal Revenue Service. Publication 551, Basis of Assets The “should have claimed” language is not a formality. If you owned a rental for years and never took depreciation, the IRS still reduces your basis as if you had, which shrinks the loss you can now report.

Subtract that adjusted basis and your selling expenses — broker commissions, transfer taxes, legal fees — from the sale price. A negative number is your recognized loss.

One trap worth flagging up front: the installment method does not apply to losses. Even if the buyer is paying you over five years, you recognize the entire loss in the year of sale.3Office of the Law Revision Counsel. 26 USC 453 – Installment Method

Classification Controls Everything

Three buckets decide what happens to the loss.

  • Personal-use property. A home or vacation place used exclusively for personal purposes. Losses are not deductible except through the federally declared casualty rules.1Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets
  • Pure investment property. Held only for appreciation, with no business use. Undeveloped land is the classic example. The loss is a capital loss.
  • Property used in a trade or business. Rental real estate is the most common. Losses can qualify for ordinary treatment under Section 1231.

Mixed-use property has to be split. If you lived in a house part of the year and rented it the rest, allocate the sale price, expenses, and basis between the two portions. The rental portion can produce a deductible loss; the personal portion cannot.1Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets

Rental Property: Section 1231 Ordinary Loss

Depreciable real property used in a trade or business and held more than a year is Section 1231 property.4Office of the Law Revision Counsel. 26 USC 1231 – Property Used in the Trade or Business and Involuntary Conversions At year-end, the IRS nets all of your Section 1231 gains and losses. A net loss becomes an ordinary loss, deductible against wages, interest, dividends, or any other income. A net gain gets long-term capital gains treatment.

That ordinary treatment is what makes selling a rental at a loss so much more useful than selling raw land at the same loss. A $150,000 Section 1231 net loss can wipe out $150,000 of salary in the same year. There is no $3,000 ceiling. The passive activity rules discussed below still have to be cleared, but the dollar cap that hobbles capital losses does not apply here.

Raw Land and Other Pure Investment Property: Capital Loss With a $3,000 Cap

If the property was never used in a business — undeveloped land held for appreciation, a lot you bought and never rented — the loss is a capital loss. Capital losses fully offset capital gains from other sales. Against ordinary income like wages, the deduction is capped at $3,000 per year, or $1,500 if you file married filing separately.5Internal Revenue Service. Topic No. 409, Capital Gains and Losses

The excess carries forward indefinitely until it is used up.6Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040) A $90,000 capital loss with no offsetting capital gains would take 30 years to write off in $3,000 slices. That arithmetic is the reason classification matters so much: the same dollar loss on a rental could be deducted in a single year.

Passive Activity Rules and the Payoff at Sale

Rental activity is passive by default, regardless of how many hours you put in. Passive losses can only offset passive income, so in a typical year the loss on a rental doesn’t reduce your wages. It gets suspended and carried forward.7Internal Revenue Service. Instructions for Form 8582, Passive Activity Loss Limitations Three exceptions matter when you sell.

The Full Disposition Rule

This is the big one for anyone selling a rental at a loss after years of holding it. When you sell your entire interest in a passive activity to an unrelated buyer in a fully taxable transaction, every previously suspended passive loss from that activity is released.8Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules Those accumulated losses first absorb any gain from the sale, and whatever is left becomes deductible against non-passive income like wages and dividends.7Internal Revenue Service. Instructions for Form 8582, Passive Activity Loss Limitations

Say you owned a rental for ten years and accumulated $80,000 in suspended passive losses you could never deduct. Selling the property releases all $80,000 in the year of sale, stacked on top of any loss you realize on the sale itself. The rule applies regardless of your income or how many hours you spent on the property. It is why selling a losing rental is often a much larger tax event than owners expect.

Active Participation Allowance

If you actively participated in the rental — approving tenants, setting rents, authorizing repairs — you can deduct up to $25,000 of passive rental losses against non-passive income each year even without selling.8Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules The allowance phases out as modified adjusted gross income rises above $100,000 and disappears at $150,000.7Internal Revenue Service. Instructions for Form 8582, Passive Activity Loss Limitations Married filing separately gets nothing if you lived with your spouse at any point during the year.

Real Estate Professional Status

Qualifying as a real estate professional removes rentals from the automatic passive bucket. It requires spending more than half of all your working hours across every trade or business in real property activities, and logging more than 750 hours there.8Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules You also have to materially participate in each specific rental, typically by spending more than 500 hours on it. Most non-real-estate professionals will not qualify, and for them the full disposition rule is the practical route to using suspended losses.

Selling to a Family Member or Controlled Entity

Selling investment property at a loss to a related party wipes out the deduction entirely.9Office of the Law Revision Counsel. 26 USC 267 – Losses, Expenses, and Interest With Respect to Transactions Between Related Taxpayers “Related” is broad: spouse, siblings and half-siblings, parents, grandparents, children, grandchildren, corporations where you own more than 50%, trusts where you are grantor or beneficiary, and controlled partnerships and S corporations.

The loss is not permanently lost in every scenario. If the related buyer later sells to an unrelated person at a gain, that gain is reduced by the disallowed loss. But if the related buyer also sells at a loss, the original write-off is gone for good. The benefit shifts to the buyer and only shows up if they profit, which makes this a poor route for the original seller.

The Excess Business Loss Ceiling

Non-corporate taxpayers face a cap on total business losses deductible in a single year. For 2025 the threshold is $313,000 for single filers and $626,000 for joint filers, indexed for inflation.10Internal Revenue Service. Instructions for Form 461 Losses above that convert to a net operating loss carryforward. NOLs generated after 2020 offset up to 80% of taxable income in future years and carry forward indefinitely.11Office of the Law Revision Counsel. 26 USC 172 – Net Operating Loss Deduction Most individuals selling one rental will not hit this ceiling, but it becomes relevant when a real estate professional or someone selling multiple properties in one year has a very large release of suspended losses.

Abandonment When a Sale Isn’t Practical

If the property is worth so little that selling it costs more than it brings in, abandonment can produce a deductible ordinary loss. You have to permanently give up possession and use, intending to end ownership, without transferring the property to anyone else.1Internal Revenue Service. Publication 544, Sales and Other Dispositions of Assets The loss is generally ordinary and deductible in the year sustained. Personal-use property gets no abandonment deduction. When the property is secured by debt, the rules shift and the IRS often treats the abandonment as a deemed sale, which changes the calculation.

Forms That Carry the Loss to Your 1040

Rental property and other Section 1231 assets go on Form 4797, where the Section 1231 netting happens. A net loss flows to Form 1040 as an ordinary loss.12Internal Revenue Service. Instructions for Form 4797 Before it lands there, it runs through Form 8582, which applies the passive activity rules, the $25,000 active participation allowance, and the release of suspended losses on full disposition.7Internal Revenue Service. Instructions for Form 8582, Passive Activity Loss Limitations Schedule E tracks the running rental picture and any suspended losses carried in.

Pure investment property that isn’t Section 1231 skips Form 4797 and goes straight to Schedule D, where the $3,000 annual cap is applied and any carryforward is recorded.6Internal Revenue Service. 2025 Instructions for Schedule D (Form 1040) The path you take determines whether the loss reduces your adjusted gross income dollar for dollar this year or trickles out in $3,000 pieces for decades. Get the classification right before you sign the closing statement.