You sold a winning stock this year, and you’re looking at a real capital gain. You also have losses sitting inside a rental property or a private partnership, the kind that show up on a K-1 and never seem to do anything. The natural question is whether one cancels the other. The answer is sometimes, and it depends entirely on a classification the IRS made long before you placed either investment.
The tax code sorts income into three buckets: active, portfolio, and passive. The walls between those buckets determine which losses can offset which gains, and they’re why a loss you genuinely incurred can be useless against a gain you genuinely realized.Â
At BlueBird Advisory, we work through this with Colorado investors who hold real estate and alternative investments alongside a traditional portfolio, because that’s exactly the combination where the buckets collide. We’d rather you understand these rules than take anyone’s word for them, so this is education, not a sales pitch. Getting the classification right is most of the work.Â
Also Read
- REIT Dividends: Why the Yields Run So High
- DST Properties: A 2026 Guide to 1031 Exchange Options
- Alternative Investments: How We Approach Them
TL;DR
The IRS sorts income into three buckets: active, portfolio, and passive. Losses generally offset only income from the same bucket, which is why a passive loss from a rental or a silent partnership can’t erase the capital gain from selling stock. The exceptions are what matter. Material participation makes a business loss non-passive and broadly usable.Â
Active participation in a rental unlocks a $25,000 allowance that phases out as income rises to $150,000. Real estate professional status removes the passive label entirely. Capital losses run on their own track, offsetting gains without limit and up to $3,000 of ordinary income a year. And the largest losses still have to clear basis, at-risk, and a $256,000 or $512,000 excess business loss cap for 2026. The classification is the whole game.
Key Points
- Losses usually stay in their bucket. A passive loss offsets passive income, not the portfolio gain from selling stock.
- Portfolio income is non-passive by definition. Interest, dividends, and capital gains sit in their own category, insulated from passive losses.
- Material participation is the key that unlocks a loss. Meet any one of the IRS’s seven tests and a business loss becomes non-passive and far more useful.
- Real estate has its own doors. A $25,000 allowance for active participants, gone by $150,000 of income, and real estate professional status can all turn rental losses into usable ones.
- Capital losses are the clean tool against stock gains. They offset gains without limit, then up to $3,000 of ordinary income a year, and carry forward indefinitely.
- Suspended losses release on a complete exit. A full, taxable disposition of a passive activity frees its trapped losses to offset other income.
- Big losses face a hard 2026 cap. The excess business loss limit is $256,000 single and $512,000 joint, and it’s now permanent.
The Three Buckets the IRS Sorts You Into
The tax code doesn’t treat all income the same way, and it doesn’t treat all losses the same way either. Under the passive activity rules in Internal Revenue Code Section 469, every dollar you earn lands in one of three categories.
Active income is what you’re paid for showing up. Wages, salary, and the profit from a business you run day to day all belong here.
Portfolio income is what your capital earns while you do nothing. Interest, dividends, royalties, and the capital gains from selling stocks and bonds sit in this bucket. The IRS labels portfolio income “non-passive,” which becomes important in a moment.
Passive income comes from an activity you own but do not materially work in. The two classic sources are rental real estate and a partnership interest where you’re a silent investor.
The reason the walls exist is straightforward. Congress created these rules in the Tax Reform Act of 1986 to stop investors from using paper losses in tax shelters to erase tax on unrelated salary and investment income. The resulting rule is simple to state and expensive to ignore: a loss generally offsets only income from the same bucket.
The Rule That Traps Most Investors: Passive Losses Only Offset Passive Income
Here’s the collision that surprises people. You sold appreciated stock, so you have a portfolio gain. You also have a $30,000 loss from a limited partnership or a rental property. You can’t use one against the other, because the stock gain is non-passive and the partnership loss is passive.
An interest is passive when you don’t materially participate. A limited partner, a silent investor in a syndication, or a landlord who isn’t deeply involved is generally passive by default. Most rental real estate is passive even when you’re quite hands-on, a point we return to below.
The loss isn’t gone. It becomes a suspended passive loss, tracked on IRS Form 8582, and it carries forward with no expiration. It waits for one of two events: you generate passive income for it to offset, or you completely dispose of your entire interest in that activity in a taxable sale. A full exit releases the suspended losses in that year, and you can then use them to offset other income, including a stock gain. Selling only part of the position doesn’t trigger the release. This is why timing a complete exit matters more than most investors realize.
When a Loss Crosses the Wall: Material Participation
The wall between passive and non-passive has a door, and the key is called material participation. If you’re genuinely involved in running the business, its losses are non-passive, and non-passive losses are far more useful.
The IRS provides seven tests for material participation, and meeting any one of them qualifies you. The best-known is working more than 500 hours in the activity during the year, but the others matter too, such as doing substantially all the work yourself, or participating more than 100 hours when no one else does more.
Here’s the part the internet routinely gets wrong. A non-passive business loss is an ordinary loss. It reduces your total taxable income, which includes your capital gains, so in practice it can lower the tax you owe in a year you also sold stock at a profit. But it isn’t itself a capital loss, so it doesn’t net against your gains inside the capital-gains calculation the way a realized stock loss does. It reduces the broader income figure, subject to the three gates described further down. The distinction sounds academic until you’re the one modeling the return, and then it changes the number.
Not sure which bucket each of your holdings falls in? That single classification drives everything downstream, and it’s worth getting right before you sell anything. Schedule a consultation with Peter Ruh.
The Real Estate Investor’s Special Doors
Real estate gets its own set of rules, and they matter to almost every investor we work with.
The first is the $25,000 special allowance. If you actively participate in a rental property, meaning you make management decisions such as approving tenants and authorizing repairs. If you own at least 10% of it, you may deduct up to $25,000 of rental losses against your non-passive income, even though the rental is otherwise passive. Active participation is a much lower bar than material participation. The catch is income. The allowance shrinks by $1 for every $2 your modified adjusted gross income exceeds $100,000, and it disappears entirely at $150,000, per IRS Publication 925. For a dual-income Boulder household, that ceiling arrives quickly.
The second door is real estate professional status under Section 469(c)(7). If you spend more than 750 hours and more than half of your total working time in real property trades or businesses, and you materially participate in your rentals, those rentals stop being passive. The losses become non-passive, and the income sheds the passive label. This status is powerful, frequently audited, and dependent on contemporaneous time records. It isn’t a box to check casually.
For investors in alternatives, the same buckets apply with a few wrinkles worth knowing. Income from a Delaware Statutory Trust is passive, which makes DST losses useful against other passive income and not against a stock gain. A 1031 exchange does something different: it defers the gain rather than offsetting it, which is its own kind of planning. And a working interest in oil and gas is treated as non-passive by statute even if you do not materially participate, one of the few places the code hands you the favorable classification automatically. These are the distinctions we weigh inside our alternative investments work.
Capital Losses Run on Their Own Rails
If your goal is to offset a stock gain, the cleanest tool is a capital loss, and it follows rules unrelated to the passive buckets.
Capital losses first net against capital gains, short-term against short-term and long-term against long-term, then across the two, per IRS Topic No. 409. There’s no limit on how much gain a capital loss can erase. If losses remain after wiping out all your gains, you may deduct up to $3,000 against ordinary income each year, or $1,500 if married filing separately, a figure written into the statute and unchanged since 1978. Anything left carries forward indefinitely and keeps its short-term or long-term character, as IRS Publication 550 explains.
One rule governs the whole strategy: the wash sale rule under Section 1091. If you buy a substantially identical security within 30 days before or after selling at a loss, the loss is disallowed for now and added to the basis of the replacement shares. It’s deferred, not destroyed, but it will not help this year’s gain. This is the mechanism behind deliberate tax-loss harvesting, which we coordinate as part of investment management rather than as a December scramble.
The Gates Even a Good Loss Must Clear
Suppose you clear the passive rules and hold a genuine non-passive business loss. It still has to pass three checkpoints before it reaches your return, in order.
Basis comes first. You can’t deduct a loss larger than your investment in the activity, measured as your tax basis. At-risk rules come second, under Section 465. You can deduct losses only to the extent you’re personally on the hook for the money, which excludes most non-recourse debt.
The third gate is newer and catches high earners specifically. The excess business loss limitation under Section 461(l) caps the total business loss a non-corporate taxpayer can use against non-business income in a single year. For 2026, the caps are $256,000 for single filers and $512,000 for married couples filing jointly, and the One Big Beautiful Bill Act made the limitation permanent while resetting the thresholds below 2025’s $313,000 and $626,000. Anything above the cap isn’t lost. It converts to a net operating loss and carries forward. It simply doesn’t help the year you wanted it to.
A cost also runs the other direction, and it’s about rates rather than losses. Portfolio income and passive income are both exposed to the 3.8% net investment income tax under Section 1411, which applies once modified adjusted gross income passes $200,000 for single filers or $250,000 for joint filers. Those thresholds aren’t indexed for inflation, so they reach more households each year. Income from a business in which you materially participate is exempt, which is one more reason the active-versus-passive line affects your rate, not just your ability to use a loss.
Practical Steps Before Year-End
The rules are fixed, but the timing is yours. A few moves consistently matter.
- Label every holding by bucket. Know which of your investments produce active, portfolio, or passive income before you make a sale, because the classification is easier to plan around than to fix afterward.
- Find your suspended losses. Last year’s Form 8582 shows the passive losses waiting in the wings. Many investors forget they’re there.
- Time a complete disposition. If you plan to exit a losing passive investment, a full sale in a year when you also realize gains can release the suspended losses against them. A partial sale doesn’t.
- Harvest capital losses on purpose. Match realized losses to realized gains deliberately, and mind the 30-day wash sale window on both sides of the sale.
- Coordinate the moves. These levers interact. Pulling one without looking at the others is how a good year-end plan turns into an amended return.
None of this is a recommendation to buy, sell, or hold any particular investment. It’s the sequence a fiduciary follows before placing a single trade.
Generally no. Stock gains are portfolio income, which the IRS classifies as non-passive, and passive losses can offset only passive income. The passive loss is suspended and carries forward until you have passive income or you completely dispose of the activity.
Portfolio income comes from your capital, such as interest, dividends, and capital gains. Passive income comes from an activity you own but do not materially work in, most often rental real estate and silent partnership interests. The distinction determines which losses can offset the income.
Sometimes. If you actively participate and your modified adjusted gross income is under $150,000, the $25,000 special allowance lets you deduct rental losses against non-passive income, including salary, with the benefit phasing out between $100,000 and $150,000. Real estate professional status can remove the limit entirely.
No, it defers it. A properly executed 1031 exchange rolls the gain into the replacement property rather than canceling it, which postpones the tax rather than eliminating it.
No. They run on separate tracks. Capital losses offset capital gains and up to $3,000 of ordinary income a year. Passive losses offset passive income. Confusing the two is one of the most common and most expensive mistakes investors make.
The Bottom Line
Three buckets, and walls between them that decide which losses can touch which gains. A passive loss can’t erase a stock gain, a capital loss can, and a non-passive business loss reduces the income beneath the gain if it clears basis, at-risk, and the excess business loss cap. Get the classification right, and the rest is arithmetic. Get it wrong, and you’ll pay tax on a gain while a real loss sits idle.
Peter Ruh has spent more than 40 years helping Colorado families make decisions like these, and BlueBird Advisory is structured as an independent, fee-only fiduciary practice, which means our guidance isn’t tied to selling you a product. We look at the interaction between your real estate, your alternative investments, and your traditional portfolio the same way we look at everything else: as one coordinated plan, sized and timed to your situation.
Yields, prices, and book values cited above reflect late July and early August 2026 and change daily. This article is educational and is not a recommendation to buy or sell any security.
Let’s map your income buckets before year-end. Bring your holdings and last year’s return, and we will show you which losses are working, which are suspended, and what a complete picture makes possible. Schedule a consultation with Peter Ruh or explore our tax and financial planning approach.