The short answer
Yes, within limits that decide whether this beats an exchange. Net §1231 gain from a rental sale is treated as long-term capital gain, so capital loss carryforwards absorb it dollar for dollar with no annual cap, and a fully taxable sale also releases the suspended passive losses that §469 has been storing. The layer they reach last is the 25% depreciation slice, because §1(h)(1)(E) prices it at the lesser of your unrecaptured §1250 gain or your net capital gain. Run the arithmetic before you choose: a 1031 defers everything but leaves the losses parked for another year.
At a glance
| Character of the gain | Net §1231 gain is treated as long-term capital gain (§1231(a)(1)) |
|---|---|
| No cap against gains | Capital losses offset capital gains without limit (§1211(b)) |
| Cap against other income | $3,000 a year, $1,500 if married filing separately (§1211(b)) |
| The 25% slice | §1(h)(1)(E) taxes the unrecaptured §1250 gain "or, if less, the net capital gain" |
| Suspended passive losses | §469(g)(1)(A) frees them on a fully taxable disposition of the whole interest |
| Related-buyer block | §469(g)(1)(B) holds the release until an unrelated person acquires the interest |
| Five-year lookback | §1231(c) makes net §1231 gain ordinary up to unrecaptured §1231 losses |
| 2026 15% ceiling | Taxable income of $613,700 joint, $545,500 single (Rev. Proc. 2025-32) |
Your rental gain arrives as long-term capital gain, which is exactly what a carryforward can eat
The bridge between a stock loss and a building is §1231. Where your §1231 gains for the year exceed your §1231 losses, "such gains and losses shall be treated as long-term capital gains and long-term capital losses," which drops the sale into the same netting pool as the brokerage account.
§1211(b) then lets losses run against gains without a ceiling; the famous $3,000 restriction applies only to the excess of losses over gains, against ordinary income. A $400,000 carryforward is worth nothing much in a quiet year and a great deal in the year you sell a building.
One trap sits in front of the netting. §1231(c) and Publication 544 agree that "If you have a net section 1231 gain, it is ordinary income up to your nonrecaptured section 1231 losses from previous years," so ordinary losses you took on property in the past five years convert this year's gain to ordinary income before any capital loss touches it.
- Net the year's §1231 gains and losses first; a net loss is ordinary under §1231(a)(2) and never reaches the capital pool.
- Recharacterize under §1231(c) next, up to the nonrecaptured §1231 losses of the five preceding years.
- Only what survives both steps is long-term capital gain that a carryforward or a harvested stock loss can absorb.
Carryforwards reach the 25% depreciation layer last, not first
This is where most back-of-envelope estimates go wrong. §1(h)(1)(E) applies the 25% rate to "the unrecaptured section 1250 gain (or, if less, the net capital gain)," so the depreciation slice only shrinks once losses have pushed net capital gain below it.
Hypothetical. You sell a rental for a $300,000 gain, of which $110,000 is unrecaptured §1250 gain and $190,000 is appreciation. Apply $120,000 of carryforwards and net capital gain falls to $180,000, still above $110,000, so the whole depreciation slice is still priced at 25% and the losses have saved you 15% or 20% on $120,000, roughly $18,000 to $24,000.
Push the carryforwards to $250,000 and net capital gain falls to $50,000, which now caps the 25% bucket at $50,000. The shape of the benefit changes with the size of the loss, not just its existence.
Suspended passive losses need a sale, and an exchange will not open them
§469(g)(1)(A) releases the stored losses on a disposition of your entire interest in the activity, but only "if all gain or loss realized on such disposition is recognized," and the freed amount "shall be treated as a loss which is not from a passive activity." That is an ordinary deduction against wages, interest and everything else.
A §1031 exchange recognizes no gain, so the condition is not met and the losses stay suspended, riding along with the replacement property. Suspended passive losses in an exchange works through what happens to them afterwards.
Selling to a relative does not work either: §469(g)(1)(B) suspends the release where the buyer is related under §267(b) or §707(b)(1) until an unrelated person acquires the interest, which is one more reason to read who counts as a related party.
- The release requires the entire interest in the activity, not a fraction of it.
- The losses come out as ordinary deductions, so they are worth your marginal rate, not 15% or 20%.
- §469(b) keeps carrying anything unused into the following year until a qualifying disposition arrives.
Two things shrink the gain before any loss is applied, and one thing does not
Selling expenses come off first. Publication 544 computes the amount realized as what you receive "minus: Selling expenses," so the brokerage commission, transfer taxes and title charges reduce the gain itself rather than waiting in line behind a carryforward.
Basis is the other lever, and it is frequently understated: improvements capitalized under Reg. §1.263(a)-3 add to it, while depreciation already taken out of it under §1016(a)(2) cuts the other way. Working out adjusted basis is the step that decides the size of everything on this page.
Pre-sale repainting and repairs do not shrink the gain. Under Reg. §1.162-4 "a taxpayer may deduct amounts paid for repairs and maintenance to tangible property if the amounts paid are not otherwise required to be capitalized," which makes them ordinary rental expenses on Schedule E, not basis.
When the losses make the taxable sale the cheaper move
The comparison is not deferral versus tax; it is deferral versus using an asset you already own. A carryforward can only be spent once, and spending it on a rental gain frees you from a 45-day clock, an intermediary, and a replacement property you have to live with for years.
The exchange wins where the gain is much larger than the losses, where the 25% slice dominates, or where the 3.8% net investment income tax is in play on the whole gain; that last layer is covered on the net investment income tax. The break-even against fees is on the minimum gain worth exchanging.
Confirm your own carryforward balance, your §1231 lookback and your suspended loss figures with your CPA or attorney before you decide; these numbers come off prior-year returns, not off an estimate.
- Losses at or above the gain, and you want out of real estate: sell, absorb, keep the cash.
- Losses well below the gain, with a large depreciation slice: the exchange defers more than the losses save.
- A mix: sell one property taxably against the losses and exchange the rest, which is the split described on one property into several.
If you exchange instead, the losses do not disappear
Nothing about a §1031 exchange destroys a capital loss carryforward; it simply waits, and §1212(b) carries it forward indefinitely for an individual. The cost is opportunity, not the loss itself.
Suspended passive losses can also be used against the passive income a replacement produces, including the income reported by a Delaware Statutory Trust; DST passive losses covers how that works year to year.
Where the arithmetic points toward exchanging part of the gain and simply paying tax on the rest, sizing the exchange half is the work we do as a 1031 exchange broker, with over a billion dollars of DST placements behind it.
Related questions
Can I harvest stock losses in December to cover a November rental sale?
Losses realized anywhere in the same tax year net against the gain, so timing within the year is what matters, not the order of the trades.
Do capital losses reduce the 3.8% net investment income tax?
They reduce the net gain included in net investment income, so a smaller gain carries a smaller 3.8% charge; see the NIIT on a rental sale.
My rental ran losses every year. Are those the same as capital losses?
No. Operating losses suspended under §469 are ordinary and are released by a fully taxable sale; capital loss carryforwards come from selling capital assets and offset capital gain.
Does a partial exchange let me use some losses and defer the rest?
Yes in effect, because the recognized boot is taxable gain that losses can offset while the balance stays deferred; the mechanics are on what boot is.
Do losses help with depreciation recapture on equipment or fixtures?
No. §1245 recapture is ordinary income rather than capital gain, so capital losses cannot reach it, unlike the §1250 slice on the building.
Sources
Checked against these publications on September 19, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.
- 26 U.S.C. §1231, property used in the trade or business
- 26 U.S.C. §1211, limitation on capital losses
- 26 U.S.C. §1(h), maximum capital gains rate
- 26 U.S.C. §469, passive activity losses and credits limited
- IRS Publication 544, Sales and Other Dispositions of Assets
- IRS Instructions for Schedule D (Form 1040)
- Reg. §1.162-4, repairs
- Rev. Proc. 2025-32, 2026 inflation adjustments
