Loss on Sale of Rental Property: What Is Tax Deductible and What Is Not

By Doug Van SoestDoug Van SoestAndrea Van SoestAndrea Van SoestUpdated

You may be able to deduct a loss when you sell a rental, but getting less than you originally paid does not necessarily mean you have a tax loss.

First compare the sale price, after qualifying selling expenses, with your adjusted tax basis: the property’s cost for tax purposes after changes such as improvements and depreciation. Then check how much of the loss you can use on your return.

How the IRS Calculates Whether a Loss Exists

Build the adjusted basis in three steps:

  1. Start with your tax cost. Include qualifying acquisition costs.
  2. Add capital improvements and other applicable increases.
  3. Subtract depreciation you claimed or were entitled to claim, along with other applicable decreases.

That tax basis is not the balance you still owe on the mortgage.

Start with the selling price and subtract the expenses that qualify as selling costs. Do not subtract every charge on the closing statement: paying off your mortgage, for example, reduces the cash you receive but is not itself a selling expense for this calculation.

Separate the closing charges into two groups:

  • Potential selling expenses: Brokerage commissions and qualifying title, escrow and transfer charges incurred to complete the sale commonly reduce the amount realized.
  • Items needing different treatment: Loan payoffs, repairs, property-tax prorations, deposits and credits are not automatically selling expenses. Have the preparer classify each one.

Here, “amount realized” means the sale price after qualifying selling expenses, not your cash after paying the loan.

The closing costs and taxes guide explains the difference between current deductions, basis adjustments, loan costs, and selling expenses.

A Simple Rental-Sale Loss Example

This hypothetical shows how the sale price and depreciation work together. Assume the property was bought and used only as a rental, with no basis adjustments beyond those listed:

A $50,000 deduction is not a $50,000 tax refund. Its tax effect depends on how much you can deduct and the rest of your return.

The example assumes a fully taxable sale to an unrelated buyer, with no debt cancellation, personal-use conversion or separate equipment sale.

Your CPA still needs to allocate price and basis between land and building and use the actual depreciation and closing records.

When Selling Below Purchase Price Still Results in a Gain

Now keep the sale figures the same but change depreciation to $160,000:

  1. New adjusted basis: $400,000 + $20,000 − $160,000 = $260,000.
  2. New result: $290,000 amount realized − $260,000 basis = a $30,000 gain.

You sold below the original purchase price, but depreciation lowered the tax basis enough to produce a gain.

For more on calculating a gain and accounting for depreciation, see our rental property capital gain guide.

Why the IRS May Not Let You Use That Loss Right Away

Keep these two amounts separate:

  • The loss on the sale: The result of comparing amount realized with adjusted basis.
  • Unused rental operating losses: Prior rental losses that tax rules did not let you deduct yet.

Selling can affect both, but they do not enter the return in exactly the same way.

Under the passive activity rules in IRS Publication 925, operating losses from rental real estate generally cannot offset wages or active business income unless an exception applies. Unused passive losses normally carry forward until passive income absorbs them or a qualifying disposition releases them.

Suspended passive losses are generally released when all three sale conditions are met:

  • You dispose of your entire interest in the activity.
  • The buyer is unrelated to you under the tax rules.
  • The sale is fully taxable, rather than deferring recognition of gain or loss.

Several situations need a separate check:

  • A partial sale or gift: Neither automatically triggers the same release.
  • Grouped rentals: Selling one property may not dispose of your entire tax activity.
  • Installment sales or other limits: Timing rules and amounts you have at risk can change what is deductible.

That matters if your income was too high to deduct the losses while you owned the rental. A qualifying sale can release them even when you do not qualify for the separate $25,000 allowance described below.

California Tracks Passive Losses Separately from the IRS

California uses a separate passive-activity calculation on FTB Form 3801. Keep the state carryforward records as well as the federal records; conformity, residency, and basis differences can affect the balances.

California does not conform to the federal real-estate-professional exception under IRC §469(c)(7). A rental activity that is nonpassive on the federal return can still be passive on the California return. The FTB Form 3801 instructions explain the separate state calculation.

Why Rental Property Losses Don’t Work Like Stock Losses

The $3,000 rule applies to net capital losses, not every loss from selling property. Compare:

  • Stock-style capital loss: Net capital losses generally offset up to $3,000 of ordinary income each year, or $1,500 if married filing separately, with excess carried forward.
  • Qualifying rental-business loss: A net Section 1231 loss on qualifying real estate used in a trade or business and held more than a year is generally ordinary, not subject to that capital-loss cap.

Your preparer combines the year’s Section 1231 transactions before determining the net result, generally reported through Form 4797. An ordinary loss can offset ordinary income, but other deduction limits still apply.

Those checks include basis, passive-loss rules and your amount at risk: generally the money or property you have invested plus qualifying debt for which you bear the risk, with special rules for some real-estate financing. Ordinary treatment is not a promise that every dollar can be deducted immediately.

If the Calculation Produces a Gain Instead

Depreciation can leave you with a taxable gain even when the sale price feels like a loss. For a residential rental held more than a year and depreciated using the usual straight-line method, the depreciation-related part of long-term gain is generally called unrecaptured Section 1250 gain.

Its maximum federal rate is 25%, not necessarily the rate you will pay. It applies only to recognized gain attributable to depreciation, subject to the tax-return calculations. If that depreciable property is sold at a loss, this type of gain does not arise from it.

IRS Publication 544 explains that unrecaptured Section 1250 gain is the part of long-term gain on real property attributable to depreciation, subject to the return-level limits. Other assets or depreciation methods can produce ordinary recapture, which is another reason to use the actual depreciation records.

When Rental Operating Losses Can Offset Other Income

There are two different routes to check. Active participation is not the same test as being a real estate professional:

Owning several rentals does not, by itself, meet those tests. You need records of the work and time that qualify, and your CPA needs to check whether you materially participated in each rental or an eligible group of rentals.

For many individual filers, the income limits work as follows:

  • Above $100,000: The allowance begins to phase out.
  • At $150,000: It is generally eliminated.

These are modified-adjusted-gross-income thresholds, not simply salary. Married-filing-separately taxpayers have different limits and living-arrangement restrictions; use the current Form 8582 instructions or your tax professional.

The rental property timing guide covers the separate yield-on-equity and cash-flow factors in a hold-versus-sell decision.

Selling a Rental at a Loss: Common Questions

Can you deduct a loss on the sale of a rental property?

Potentially. First calculate the sale loss using adjusted basis and qualifying selling expenses. Then have your preparer check how much is deductible under the Section 1231 and other applicable rules. Unused rental operating losses from earlier years are a separate amount and may also become available when a qualifying sale releases them.

Why isn’t my rental loss reducing my taxes?

A rental operating loss may be suspended under the passive-loss rules. For many filers, the separate $25,000 allowance phases out between $100,000 and $150,000 of modified adjusted gross income; married-filing-separately taxpayers have different restrictions.

A fully taxable sale of the entire activity to an unrelated person may release suspended losses even when that allowance is unavailable. Your preparer needs the carryforward records and any activity-grouping election to check.

Can depreciation create tax when you sell below the purchase price?

Yes, if depreciation lowered adjusted basis enough that the amount realized still exceeds that basis. For a typical long-held residential rental depreciated straight-line, depreciation-related long-term gain is generally unrecaptured Section 1250 gain rather than ordinary recapture.

A loss on the depreciable property itself does not create that gain. Your preparer must still allocate the sale between assets and apply the return-level rules.

Is a rental loss ordinary or capital?

For qualifying property held more than a year, a net Section 1231 loss is generally ordinary and is reported through Form 4797 rather than treated as a Schedule D capital loss. The $3,000 capital-loss cap is therefore not the governing limit, although basis, at-risk, passive-activity, and other return-level rules can still affect the deduction.

Getting the Numbers Right Before You Close

Gather these records before closing:

  • Acquisition and improvements: Purchase closing statement, qualifying costs and improvement receipts.
  • Depreciation: Schedules and prior returns, including deductions you were entitled to but did not claim.
  • Unused losses: Federal and California carryforward records and any activity-grouping election.
  • Sale and ownership history: Expected closing charges, personal-use or rental-conversion records and any related-party or installment terms.

Missing depreciation records can change the result. Ask your preparer to resolve gaps rather than treating unclaimed depreciation as zero.

Ask a CPA experienced with rental sales to reconcile the basis and depreciation history, identify deductible losses and compare the federal and California results. The time required depends on the records.

The forms address different parts of the question:

  • Form 4797: Generally reports the rental-business property sale.
  • Form 8582: Calculates federal passive-loss limits.
  • California Form 3801: Calculates the separate state passive-loss result.

If you’re also working through the hold-vs-sell decision and want to know what a cash offer would look like for your rental property, call or text us at (951) 331-3844 or reach us through the offer page.

We buy rental properties across Riverside, San Bernardino, Orange, San Diego and Los Angeles counties. After discussing the property and arranging a walkthrough, we can provide a written offer for you to compare. Your CPA handles the tax calculation separately.

About the Authors

Doug Van Soest worked in residential appraisal for seven years beginning in 2003 and co-founded SoCal Home Buyers with his wife Andrea in 2008. Together they have closed over 400 transactions across Southern California.

Andrea Van Soest, CA DRE #01505854, co-founded SoCal Home Buyers with Doug. This article is general information, not an individual tax calculation; have your CPA review the sale and carryforward records.