Capital Gains vs Loss Harvesting: How to Decide (September 2026) Full Guide

Every December, investors face the same question: should I be selling winners or losers before the year ends? The answer depends on your tax bracket, your unrealized gains and losses, and what your income looks like this particular year. Understanding capital gains harvesting vs loss harvesting is the difference between a smart tax move and an expensive mistake.

These two strategies are mirror images of each other. One has you selling appreciated assets to lock in favorable tax rates. The other has you selling underwater positions to capture deductions. Both belong in a taxable brokerage account, and most investors will use each at different points in their lives.

I have spent years walking investors through this exact decision, and the confusion is always the same. People hear “tax-loss harvesting” and assume it is always the right move, or they hear about the 0% long-term capital gains bracket and wonder why everyone is not selling everything. The reality is that how to decide which applies this year comes down to a handful of factors you can evaluate in about fifteen minutes.

In this guide, I will break down both strategies, explain the offsetting rules and the wash-sale rule, clear up the common misconception about the $3,000 limit, and give you a step-by-step framework for deciding which approach fits your situation in 2026.

Capital Gains Harvesting vs Loss Harvesting: Key Differences at a Glance (2026)

The fastest way to understand the distinction is to see them side by side. Here is how the two strategies compare on the points that matter most.

Factor Capital Gains Harvesting Loss Harvesting
What you sell Appreciated assets (positions up in value) Underwater assets (positions down in value)
Goal Pay tax at favorable rates now to reset cost basis higher Generate losses to offset realized gains and reduce taxable income
Best when You are in the 0% long-term capital gains bracket or a low-income year You are in a high tax bracket or have large realized gains to offset
Wash-sale rule Does not apply — you can buy back immediately Applies — cannot rebuy the same or substantially identical security for 30 days
Tax outcome You realize and pay tax on a gain (possibly 0%) You realize a loss that reduces your tax bill
Account type Taxable brokerage accounts only Taxable brokerage accounts only

In short, capital gains harvesting means deliberately realizing a profit to pay little or no tax on it, while loss harvesting means deliberately realizing a loss to shrink your tax bill. Neither strategy works inside an IRA or 401(k), because those accounts are tax-deferred and gains or losses have no immediate tax consequence.

What Is Capital Gains Harvesting (Tax-Gain Harvesting)?

Capital gains harvesting, also called tax-gain harvesting, is the strategy of intentionally selling investments that have gone up in value so you can recognize the gain and pay tax on it at today’s rates. The goal is to pay a low tax now rather than a higher tax later.

Here is why that makes sense. Long-term capital gains (on assets held more than one year) are taxed at preferential rates of 0%, 15%, or 20%, depending on your taxable income. For 2026, if your taxable income falls below the threshold for the 0% bracket, you can sell appreciated shares, pay zero federal capital gains tax, and immediately buy them back. Your cost basis steps up to the current market price, which means less taxable gain in the future.

Consider a practical example. Suppose you bought $20,000 worth of an index fund years ago, and it is now worth $50,000. If your income places you in the 0% long-term capital gains bracket, you could sell the entire position, realize a $30,000 long-term gain, pay $0 in federal capital gains tax, and repurchase the fund the same day. Your new cost basis becomes $50,000. When you eventually sell again, only gains above $50,000 are taxable.

The beauty of tax-gain harvesting is that the wash-sale rule does not apply. You can sell a winner and buy it right back without any waiting period. That is not true when you harvest losses, as I will explain shortly.

What Is Loss Harvesting (Tax-Loss Harvesting)?

Loss harvesting, or tax-loss harvesting, is the opposite move. You sell investments that have dropped below your cost basis to realize the loss, then use that loss to offset capital gains and reduce your taxable income. The proceeds can be reinvested in a similar but not identical security to stay in the market.

The process works in a few clear steps. First, you identify positions trading below what you paid for them. Second, you sell those shares to lock in the realized loss. Third, you reinvest the proceeds in a different security that avoids the wash-sale rule. Finally, the realized loss goes to work on your tax return, offsetting any capital gains you realized during the year.

Here is an example. Imagine you have $10,000 in realized long-term gains from selling a stock earlier in the year, and you also hold a different position that is down $10,000. If you sell the underwater position, you generate a $10,000 long-term loss that wipes out your $10,000 gain entirely. You owe zero capital gains tax on that trade. You then reinvest the proceeds in a comparable fund so your money stays invested.

What trips people up is the reinvestment step. You cannot simply sell an S&P 500 fund at a loss and buy the same fund a minute later. The IRS considers that a wash sale, which disallows the loss. I will walk through the wash-sale rule in detail below, because it is the single biggest mistake investors make with this strategy.

How Offsetting Works: Gains, Losses, and the Matching Rules

Understanding how gains and losses offset each other is essential before you harvest anything. The IRS does not let you mix and match freely. There is a specific netting order, and it affects how much tax you actually save.

The matching rules work like this. Short-term losses first offset short-term gains, and long-term losses first offset long-term gains. Short-term gains and losses come from assets held one year or less, and they are taxed at your ordinary income rate. Long-term gains and losses come from assets held more than one year and qualify for the preferential 0%, 15%, or 20% rates.

After you net within each category, any remaining loss crosses over. If you have excess long-term losses after offsetting all long-term gains, those losses can then offset short-term gains, which are taxed at a higher rate. That crossover is valuable because you are using a loss to wipe out the most heavily taxed gains first.

Here is where it gets interesting for your planning. If your total losses exceed your total gains after all netting, up to $3,000 of the remaining net loss can offset ordinary income each year. Anything beyond that carries forward to future years indefinitely. This is the part most investors misunderstand, so let me address it head-on in the next section.

The Wash-Sale Rule Explained

The wash-sale rule is the guardrail that prevents investors from manufacturing artificial losses. It applies only to loss harvesting, not to gains harvesting, and violating it is the fastest way to turn a tax strategy into a tax headache.

Here is the rule in plain terms. If you sell a security at a loss, you cannot buy that same security or a substantially identical security within 30 days before or 30 days after the sale. That is a 61-day window centered on the sale date. If you violate the rule, the IRS disallows your loss. The disallowed loss gets added to the cost basis of the replacement shares, so it is not gone forever, but you lose the deduction for the current tax year.

“Substantially identical” is where people get into trouble. Selling one S&P 500 index fund and buying a different company’s S&P 500 index fund is generally considered acceptable by most tax professionals, because they are different funds tracking the same index. But selling an Apple share and buying another Apple share within the window is clearly a wash sale. Mutual funds from the same company tracking the same sector can be risky territory.

The safest approach is to sell a losing position and replace it with something correlated but clearly different. For example, sell a total stock market fund and buy an S&P 500 fund temporarily, or sell a US fund and rotate into an international fund. After 31 days, you can switch back to your original holding.

One more detail that catches people off guard. The wash-sale rule also applies to purchases made by your spouse, and it can apply to automatic dividend reinvestments. If your brokerage auto-reinvests a dividend into the same fund you just sold at a loss, that small purchase triggers a partial wash sale. Turn off auto-reinvestment before harvesting losses.

The $3,000 Ordinary Income Offset (and the Common Misconception)

This is the section I wish more people would read, because the $3,000 limit is the single most misunderstood part of tax-loss harvesting. Forum after forum is filled with confusion about what this number actually means.

Here is the truth. The $3,000 limit applies only after you have used your losses to offset all of your capital gains. If you have $50,000 in realized gains and $50,000 in harvested losses, the losses offset every dollar of those gains, and the $3,000 limit never comes into play. The limit is not a ceiling on how many losses you can harvest. It is a ceiling on how much net loss can flow through to offset ordinary wage and salary income.

So the rule works in this order. First, losses offset capital gains dollar for dollar with no limit. Second, if losses remain after wiping out all gains, up to $3,000 of the excess can offset ordinary income ($1,500 if married filing separately). Third, anything left over carries forward.

This is why investors with large portfolios and significant realized gains can benefit enormously from loss harvesting even though the $3,000 figure sounds small. If you realized $40,000 in short-term gains this year and you harvest $40,000 in losses, you just eliminated a tax bill that would have been taxed at your full ordinary income rate. The $3,000 number is irrelevant in that scenario.

Where the $3,000 matters is for investors who have no capital gains to offset. In that case, you are using net losses to reduce your taxable salary income by up to $3,000 per year. At a 24% marginal rate, that is roughly $720 in tax savings. Not life-changing for a single year, but it adds up when losses carry forward.

Carryforward Rules: What Happens to Unused Losses

One of the best features of tax-loss harvesting is that unused losses never expire. If your net capital losses exceed your gains plus the $3,000 ordinary income offset, the remainder carries forward to future tax years with no time limit.

Say you harvest $25,000 in net losses and have no realized gains. You use $3,000 to offset ordinary income this year, and $22,000 carries forward. Next year, you can use another $3,000 against ordinary income, or if you realize gains, the entire remaining $22,000 can offset those gains. The losses keep working for you until they are fully used.

This is particularly powerful for investors who expect to sell a business, exercise stock options, or realize large gains in a future year. Harvesting losses now builds a tax-loss bank that can shield those future gains. One forum user put it well: capital losses carry forward infinitely and can count against gains or income in future years, making early harvesting a long-term play.

Keep good records. Your broker reports carryforward losses on Schedule D, but tracking them yourself prevents errors, especially if you change brokers or account types over the years.

When Capital Gains Harvesting Makes Sense

Tax-gain harvesting is the right strategy in specific situations, and most of them involve being in a temporarily low income bracket. Here are the scenarios where selling winners is the smart move.

1. You are in the 0% long-term capital gains bracket. For 2026, if your taxable income falls below the 0% LTCG threshold, you can realize long-term gains and pay zero federal capital gains tax. This is common for retirees, students, part-year workers, or anyone between jobs. Sell your appreciated shares, pay nothing, and reset your cost basis higher.

2. You are in a low-income year. Maybe you took a sabbatical, started a business with little initial income, or had a year with large deductions. Your taxable income is temporarily low, which means your capital gains rate is temporarily low or zero. Locking in gains now at a reduced rate saves you from paying a higher rate when your income rebounds.

3. You want to reset your cost basis without tax cost. If your cost basis on a position is very low and you are in the 0% bracket, harvesting gains raises your basis to the current market price. This reduces the taxable gain when you eventually sell in a higher-income year, and it can reduce the impact of future capital gains tax rate changes.

4. You are managing a large concentrated position. If one holding has grown to dominate your portfolio and you want to diversify, a low-income year is the ideal time to sell part of it. You pay little or no tax on the gain and redeploy the proceeds into a more balanced allocation.

5. You expect tax rates to rise. If you believe capital gains rates will increase in the future, paying today’s rate, especially if it is 0%, is a reasonable hedge. This is speculative, but worth considering if you are already in a position where harvesting makes sense for other reasons.

When Loss Harvesting Makes Sense

Tax-loss harvesting shines when you are in a high tax bracket or when you have already realized gains during the year. Here are the scenarios where selling losers is the better play.

1. You are in a high tax bracket. The higher your marginal rate, the more valuable every dollar of deduction. An investor in the 37% bracket saves significantly more from a $10,000 loss than one in the 12% bracket. Loss harvesting is inherently more impactful for high earners.

2. You have realized capital gains to offset. This is the most common trigger. If you sold a property, exercised stock options, or rebalanced a portfolio and triggered gains, harvesting losses can neutralize the tax impact. The offsetting happens dollar for dollar with no $3,000 limitation.

3. You want to rebalance without triggering taxes. Portfolio rebalancing often requires selling appreciated assets, which creates taxable gains. If you also have losing positions, harvesting those losses can offset the gains from rebalancing your winners, letting you reposition your portfolio tax-efficiently.

4. You want to build a tax-loss bank for future years. Even if you do not have gains this year, harvesting losses and carrying them forward creates a reserve. When you eventually sell a business, retire and draw down taxable assets, or realize large gains, your accumulated losses shield that income.

5. You have a large portfolio where even small percentage declines create meaningful losses. An investor with a $500,000 taxable portfolio who experiences a 10% market correction has $50,000 in potential losses to harvest. At that scale, the tax savings easily justify the effort, even factoring in the $3,000 ordinary income limit.

How to Decide Which Applies This Year: A Step-by-Step Framework

This is the heart of the matter. Most guides explain each strategy in isolation but never tell you how to choose between them for your specific situation this year. Here is the decision framework I use, broken into five steps.

Step 1: Check your taxable income and capital gains bracket for 2026. Pull up your projected taxable income for the year, including wages, business income, dividends, and any realized gains. Compare it against the 2026 long-term capital gains bracket thresholds. If your income falls in the 0% LTCG bracket, capital gains harvesting is your primary opportunity. If you are in the 15% or 20% bracket, loss harvesting likely delivers more value.

Step 2: Review your realized gains and losses year-to-date. Log into your brokerage account and check your year-to-date realized gains and losses. If you already have significant realized gains, you need harvested losses to offset them. If you have no realized gains and minimal income, you are a candidate for gains harvesting.

Step 3: Inventory your unrealized positions. Make two lists. On one side, note every position trading above its cost basis and the size of the unrealized gain. On the other, note every position trading below its cost basis and the size of the unrealized loss. This tells you what raw material you have to work with.

Step 4: Run the numbers for each strategy. If you harvest gains in the 0% bracket, calculate how much basis you can reset tax-free. If you harvest losses, calculate how much you can offset against existing gains, plus the $3,000 ordinary income deduction, plus any carryforward from prior years. Compare the actual dollar tax savings of each approach.

Step 5: Consider whether you can do both. These strategies are not mutually exclusive. You might harvest gains on some positions because you are in the 0% bracket on long-term holdings, while simultaneously harvesting losses on short-term positions to offset short-term gains taxed at ordinary rates. Sophisticated investors often use both in the same year across different parts of their portfolio.

A few additional factors to weigh in your decision. Think about state taxes, because some states do not follow federal capital gains brackets or loss treatment. Consider whether harvesting gains and resetting your basis could trigger higher Medicare premiums through IRMAA surcharges, since capital gains count toward modified adjusted gross income. And if you expect a major life event next year, such as retirement or selling a business, that future income picture should influence whether you harvest gains or bank losses now.

When in doubt, the simplest rule of thumb is this: in a low-income year, harvest gains to lock in low rates; in a high-income year, harvest losses to drive down your tax bill. Most investors alternate between the two over time as their income fluctuates.

FAQs

What is the difference between tax-gain harvesting and tax-loss harvesting?

Tax-gain harvesting means selling appreciated assets to realize gains at favorable tax rates, often paying 0% if you are in the lowest long-term capital gains bracket. Tax-loss harvesting means selling underwater assets to realize losses that offset capital gains and up to $3,000 of ordinary income. The two are mirror-image strategies used in different income scenarios.

When should I harvest capital gains instead of losses?

Harvest capital gains when your taxable income places you in the 0% long-term capital gains bracket, during a temporarily low-income year, or when you want to reset your cost basis higher without owing tax. This strategy lets you pay little or no tax now on gains that would be taxed more heavily in a higher-income future year.

Is tax-loss harvesting worth it for smaller amounts?

Tax-loss harvesting is most valuable when you have realized capital gains to offset, because losses offset gains dollar for dollar with no dollar limit. If you have no gains, you can only use $3,000 per year against ordinary income, which at a 24% bracket saves about $720. For small portfolios with no gains, the effort may not be worth the limited savings.

What is the wash sale rule for tax-loss harvesting?

The wash-sale rule prohibits buying the same or a substantially identical security within 30 days before or 30 days after selling it at a loss. If you violate this rule, the IRS disallows the loss for the current tax year and adds it to the cost basis of the replacement shares. The rule applies to purchases by you or your spouse, including automatic dividend reinvestments.

How much do you need to benefit from tax-loss harvesting?

There is no strict minimum, but the strategy becomes clearly worthwhile when you have realized gains to offset or when your portfolio is large enough that normal market volatility generates losses exceeding $3,000. For portfolios under $50,000 with no realized gains, the annual tax savings from the $3,000 ordinary income offset are modest, though carryforward losses can add value over time.

Conclusion

Deciding between capital gains harvesting vs loss harvesting does not require a crystal ball. It requires knowing your current tax bracket, your realized gains and losses for the year, and the unrealized positions sitting in your portfolio. Once you have those three pieces of information, the right strategy usually becomes obvious.

If you are in a low-income year or the 0% long-term capital gains bracket, harvest gains to lock in a zero or reduced rate and reset your cost basis. If you are in a high bracket or have realized gains to offset, harvest losses to drive down your tax bill and build a carryforward reserve. In many years, you can do both across different positions.

The rules are consistent, but your income is not. Revisit this decision every year, because a sabbatical year and a bonus year call for opposite strategies. And when the numbers get complicated, a conversation with a tax professional or fee-only financial advisor is worth far more than the fee. The smartest tax move is always the one matched to your specific situation in 2026.

Leave a Comment