Do Passive Losses Offset Capital Gains? Dispositions and Exceptions

In most cases, passive losses do not offset capital gains from stocks, bonds, mutual funds, or other portfolio investments. Federal tax law keeps passive losses and portfolio gains in separate buckets, and current-year passive losses can only wipe out passive income. There are three situations where the offset works: when the capital gain itself comes from a passive activity, when you sell your entire interest in a passive activity in a fully taxable sale to an unrelated buyer, and, in a limited way, when you qualify for the $25,000 rental real estate allowance.

Why Portfolio Gains Are Walled Off

IRC Section 469 splits your income into categories and prohibits mixing across the lines. A net loss from a passive activity can only offset income from other passive activities. It cannot reduce wages, interest, dividends, or capital gains from selling securities. Those gains are portfolio income, which Congress specifically excluded from passive income when it wrote the rules in 1986.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

Losses you cannot use in the current year do not vanish. They become suspended losses, carrying forward indefinitely until you have enough passive income to absorb them or until you dispose of the activity that generated them. Think of it as a running tab the IRS lets you keep until the right kind of income shows up.

When the Capital Gain Itself Is Passive

The prohibition has a built-in exception. If the capital gain comes from selling an asset used in a passive activity, that gain is passive income, not portfolio income. Selling a rental duplex or a piece of equipment from a business you do not materially participate in produces passive gain. Because the gain lands in the same bucket as your losses, the offset happens automatically.

Current-year passive losses from the same activity or other passive activities reduce the taxable gain dollar for dollar. Suspended losses from prior years can be applied as well. For a rental property that has generated years of paper losses through depreciation, this can dramatically shrink the tax on the sale. The asset must have been used in the passive activity itself; stocks that merely happen to be held in a related account do not qualify.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

Selling the Whole Activity Unlocks Everything

The strongest way to free up suspended passive losses is a full disposition. When you sell your entire interest in a passive activity in a fully taxable transaction to an unrelated buyer, every dollar of accumulated suspended loss from that activity is released from the passive category. Once released, those losses can offset any kind of income, including capital gains on your stock portfolio, wages, and business profits.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

The ordering is fixed. Released losses first offset the gain from the sale itself. Anything left then offsets net income from your other passive activities for the year. Whatever remains after those two steps becomes an unrestricted loss that can reduce ordinary income or capital gains from any source. That last step is where years of built-up rental losses can finally cut the tax bill on unrelated stock gains.

Three conditions all have to be satisfied:

  • Entire interest. You must dispose of your whole ownership stake. Selling half a rental or part of a partnership interest does not trigger the release.
  • Fully taxable. All gain or loss on the sale must be recognized. Tax-deferred transactions like Section 1031 exchanges do not qualify.
  • Unrelated buyer. The purchaser cannot be a related party under IRC Section 267. A sale to a spouse, sibling, parent, child, or a controlled entity leaves the losses suspended until the property later passes to an unrelated party.2Office of the Law Revision Counsel. 26 USC 267 – Losses, Expenses, and Interest With Respect to Transactions Between Related Taxpayers

Transactions That Look Like Dispositions but Aren’t

Several common moves resemble a sale but do not release the suspended losses. Getting this wrong can mean planning around a tax benefit that never arrives.

Like-Kind Exchanges

A Section 1031 exchange defers gain by swapping one investment property for another. Because the transaction is not fully taxable, it does not meet the disposition standard. Suspended passive losses carry over to the replacement property and stay suspended until you sell in a taxable transaction or generate enough passive income to absorb them.

Gifts

Giving away a passive activity interest does not release the losses. The suspended loss amount is added to your basis in the property immediately before the gift, which transfers the benefit to the recipient in the form of a higher basis. You get no deduction as the donor.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

Death of the Owner

When a taxpayer dies owning a passive activity, suspended losses are allowed on the final return, but only to the extent they exceed the step-up in basis the heir receives. If you owned a rental with $80,000 in suspended losses and the heir’s stepped-up basis exceeds your adjusted basis by $60,000, only $20,000 of the suspended loss survives as a deduction. The other $60,000 is absorbed by the basis adjustment and lost as a separate deduction.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

Installment Sales

An installment sale does trigger a release, but in slices. Suspended losses are freed in proportion to the gain recognized each year. The ratio of current-year gain to total remaining gain determines how much of the suspended loss you can deduct that year, so the full benefit can take several years to arrive.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

The $25,000 Rental Real Estate Allowance

Some rental owners can deduct passive losses against nonpassive income without selling anything. If you actively participate in a rental real estate activity, up to $25,000 of passive rental losses can offset nonpassive income each year, including wages and portfolio capital gains. Active participation is a lower standard than material participation. Approving tenants, setting rental terms, and authorizing repairs is enough, as long as you own at least 10% of the property.3Internal Revenue Service. Publication 925 (2025), Passive Activity and At-Risk Rules

The allowance phases out with income. It shrinks by 50 cents for every dollar of modified adjusted gross income above $100,000 and disappears entirely at $150,000. Those thresholds are set by statute and have never been indexed for inflation.1Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited

Married filing separately changes the picture. If you lived with your spouse at any point during the year, the allowance drops to zero. If you lived apart the entire year, the maximum is $12,500 with the phaseout starting at $50,000 of modified AGI.4Internal Revenue Service. Instructions for Form 8582

Reporting the Offset

Form 8582 is where passive activity losses are tracked and calculated. It gets filed with your Form 1040 in any year you have passive activities, whether you are carrying losses forward, claiming the $25,000 rental allowance, or reporting a full disposition. The worksheets match passive income against passive losses and determine what portion is allowable in the current year.5Internal Revenue Service. Instructions for Form 8582

Gains and losses from selling a passive activity asset are reported on Form 8949 or Form 4797, depending on the type of property. Passive activity gains are marked “FPA” (former passive activity) and losses “PAL” so the IRS can trace them. Net results flow to Schedule D.5Internal Revenue Service. Instructions for Form 8582

With a full disposition that produces a net loss after combining the sale gain with current and prior-year losses, Form 8582 may not be required at all. The instructions direct you to report the combined loss on Schedule E and the sale gain on Form 8949 instead. Prior-year copies of Form 8582 matter here: each year’s Part VII worksheet carries the unallowed losses forward, and that running total is what you draw on when the disposition finally frees them.