Investor reviewing financial documents and charts for tax-loss harvesting strategy
| |

Tax-Loss Harvesting in 2026: When to Sell, Swap, and Save

Tax-Loss Harvesting in 2026: When to Sell, Swap, and Save

Tax-loss harvesting is the investing move that sounds more complicated than it is: you sell an investment at a loss, use that loss to reduce your taxable gains, and then reinvest in a similar but not identical position so your portfolio stays on track.

For 2026, the decision is less about whether tax-loss harvesting is legal and more about whether it is actually worth doing. The answer depends on your account type, your gains, your tax bracket, the wash-sale rule, and whether the replacement investment keeps your plan intact.

This guide keeps the focus practical. You will see when harvesting losses can help, when it can backfire, how the $3,000 deduction cap works, how carryforwards work, and what to watch with ETFs, index funds, and crypto. This is educational, not personal tax advice, so run big moves past a tax professional before you trade.

What Tax-Loss Harvesting Means

Tax-loss harvesting means intentionally realizing a capital loss in a taxable brokerage account. If you bought an ETF for $10,000 and it is now worth $8,500, selling it creates a $1,500 realized loss. That loss can offset realized capital gains from other investments.

The key word is realized. A loss on paper does not count until you sell. Once you sell, the loss can reduce your tax bill if it offsets gains or, after gains are covered, part of your ordinary income.

Tax-loss harvesting usually matters in taxable brokerage accounts. It usually does not help inside a 401(k), IRA, Roth IRA, HSA, or 529 plan because those accounts already have special tax treatment. Selling at a loss inside a Roth IRA does not give you a normal capital loss deduction.

The 2026 Decision Rule

A simple rule works for most investors: harvest only when the tax benefit is meaningful and the replacement investment keeps your portfolio aligned with your plan.

  • Good candidate: you have a taxable loss, realized gains to offset, and a clean replacement fund.
  • Possible candidate: you have no gains, but you can use up to $3,000 of net capital losses against ordinary income.
  • Weak candidate: the tax savings are tiny, trading costs are annoying, or the replacement investment changes your risk too much.
  • Bad candidate: you are likely to trigger a wash sale, abandon your investment plan, or sell an investment you still believe is the best fit.

If you are still building your investing plan, start with the basics first. Our guide to how to invest in index funds explains the long-term foundation. Tax-loss harvesting is an optimization layer on top of a plan, not a replacement for one.

How Capital Losses Offset Gains

Capital losses first offset capital gains. Short-term losses offset short-term gains, and long-term losses offset long-term gains. If one side has extra losses left over, those losses can then offset the other type of gain.

That order matters because short-term gains are usually taxed at ordinary income rates, while long-term gains get preferential capital gains rates for many taxpayers. A short-term loss used against a short-term gain can be more valuable than the same loss used against a lower-taxed long-term gain.

Example: you sell one stock for a $4,000 short-term gain and another ETF for a $4,000 short-term loss. The loss can wipe out the gain. If your marginal tax rate is 24%, that could avoid about $960 of federal tax before considering state taxes and other details.

Now say you have a $4,000 long-term gain and a $4,000 loss. The tax savings may be smaller if your long-term capital gains rate is 15%, but it can still matter. The value of the harvest is tied to the tax rate on the gain you offset.

The $3,000 Deduction Cap

If your capital losses are larger than your capital gains, you can usually deduct up to $3,000 of the remaining net capital loss against ordinary income each year. If you are married filing separately, the limit is generally $1,500.

Example: you realize $10,000 of losses and $4,000 of gains. The first $4,000 of losses offsets the gains. You have $6,000 of net capital loss left. You can deduct $3,000 against ordinary income this year and carry the remaining $3,000 forward.

The deduction can be valuable, but it is not unlimited. Harvesting a huge loss does not mean you can immediately erase a huge salary. The tax code spreads unused net capital losses over future years through carryforwards.

How Carryforward Rules Work

Unused net capital losses generally carry forward until they are used. The carryforward keeps its character as short-term or long-term, which matters when it offsets gains in future years.

Imagine you harvest a $25,000 loss during a rough market year and have no capital gains. You may use $3,000 against ordinary income this year, then carry $22,000 forward. Next year, if you realize $12,000 of gains, the carryforward can offset those gains first. If anything remains, you may again use up to $3,000 against ordinary income.

Carryforwards are one reason tax-loss harvesting can still be useful even when you do not have gains today. You are creating a tax asset that may help later, especially if you expect to rebalance, sell concentrated stock, or fund a major goal from a taxable account.

Wash-Sale Rule Basics

The wash-sale rule is the biggest trap. If you sell an investment for a loss and buy the same or a substantially identical security within the 61-day window, the loss can be disallowed. That window covers 30 days before the sale, the sale date, and 30 days after the sale.

A disallowed wash-sale loss usually gets added to the cost basis of the replacement shares instead of disappearing forever. Still, it means you do not get the deduction when you expected it, which can wreck the point of harvesting.

The tricky phrase is substantially identical. The IRS does not publish a perfect list for every ETF pair, so investors have to use judgment. The closer two funds are, the more careful you should be.

Wash-Sale Examples

Clear wash sale: you sell Apple stock at a loss and buy Apple stock back five days later. That is the same security inside the wash-sale window.

Likely wash sale: you sell VOO at a loss and immediately buy more VOO in another brokerage account. The rule can apply across accounts, including your spouse’s account if you file jointly.

Retirement account danger: you sell VOO at a loss in a taxable account and your IRA buys VOO during the wash-sale window. That can create an especially ugly result because the taxable loss may be disallowed without a useful basis adjustment in the IRA.

Dividend reinvestment mistake: you sell an ETF at a loss, but automatic dividend reinvestment buys a tiny amount of the same ETF a week later. Even small reinvestments can create wash-sale headaches. Turn off dividend reinvestment before harvesting if it could interfere.

Similar ETF gray area: you sell VOO and buy SPY immediately. Both track the S&P 500. Even though they are issued by different providers, many tax pros would treat that as too close for comfort. Our SPY vs VOO comparison explains how similar those funds are.

ETF and Index Fund Replacement Examples

The goal is not to sell stocks and sit in cash for 31 days. The goal is to stay invested while avoiding a substantially identical replacement. Here are examples investors often consider, with the important caveat that you should confirm your own tax position.

Sold at a lossRiskier replacementCleaner replacement ideaWhy it matters
VOOSPY or IVVVTISPY, IVV, and VOO all track the S&P 500. VTI tracks the total U.S. stock market.
VTIITOT or SCHBVOO plus an extended-market fundTotal-market funds can be very similar. Splitting exposure may create more distance.
QQQQQQMA broad growth ETF with a different indexQQQ and QQQM track the same Nasdaq-100 index.
Total international ETFAnother fund tracking the same indexA developed-markets ETF plus an emerging-markets ETFDifferent index construction can help avoid identical exposure.
Examples are educational, not tax advice. Fund indexes, holdings, and IRS interpretation matter.

For broad U.S. equity exposure, the VTI vs VOO comparison is useful because those funds overlap heavily but do not track the exact same index. For fund structure basics, read ETFs vs mutual funds.

Crypto Tax-Loss Harvesting

Crypto tax-loss harvesting is popular because crypto can be volatile and the wash-sale rule has historically applied to stocks and securities, not spot crypto. As of 2026, that means a Bitcoin or Ethereum loss may be easier to harvest than a stock loss, though Congress could change the rules.

Example: you bought Bitcoin at $80,000 and it falls to $65,000. Selling can realize the loss. If you still want crypto exposure, current wash-sale rules may allow you to buy back, but you should document the transaction and understand that broker reporting and tax rules are still evolving.

There are two big crypto cautions. First, fees, spreads, and slippage can eat into the benefit. Second, every trade creates records you need to track. If you trade often, use good tax software and keep exchange reports. For newer investors, our guides on how to buy crypto and DCA into Bitcoin cover the investing side before the tax optimization side.

When Tax-Loss Harvesting Helps Most

Tax-loss harvesting tends to help most in a few specific situations.

  • You sold winners in a taxable account and owe capital gains tax.
  • You are rebalancing a portfolio and can harvest losses while staying invested.
  • You have short-term gains from trading, employer stock, or concentrated positions.
  • You expect future gains and want a loss carryforward ready.
  • You have a taxable brokerage account with broad index funds that have clean replacement options.

If you are tracking investment performance, the stock gain calculator can help estimate gains and losses before you decide what to sell. If you are building positions over time, the dollar-cost averaging calculator can help you model ongoing contributions after the harvest.

When Not to Harvest

Tax-loss harvesting is not automatically smart. Sometimes the best move is to do nothing.

  • Do not harvest inside retirement accounts. Losses in IRAs and 401(k)s usually do not create normal capital loss deductions.
  • Do not harvest if it breaks your allocation. Saving a little tax is not worth changing your risk profile by accident.
  • Do not harvest into a fund you would never hold otherwise. A poor replacement can cost more than the tax benefit.
  • Do not harvest if transaction costs and spreads are bigger than the expected savings. This matters more with thinly traded ETFs and crypto.
  • Do not harvest right before a planned charitable gift. Donating appreciated shares can be better than selling losers, depending on your situation.
  • Do not harvest without checking automatic buys. Recurring investments and dividend reinvestments can accidentally trigger wash sales.

Also be careful if you are in the 0% long-term capital gains bracket. In that case, harvesting a long-term loss may be less valuable than expected because the gains you offset may already have a very low federal tax rate.

A Simple Tax-Loss Harvesting Checklist

  1. Confirm the account is taxable.
  2. Estimate your unrealized loss.
  3. Check realized gains for the year.
  4. Look for short-term gains first because they may be taxed at higher rates.
  5. Choose a replacement investment that is similar enough for your plan but not substantially identical.
  6. Turn off automatic dividend reinvestment for the security you are selling.
  7. Check spouse and retirement accounts for recent or upcoming purchases.
  8. Place the trades and save confirmations.
  9. Track the loss, any carryforward, and the replacement fund’s basis.

For IRS background, see the IRS discussion of capital gains and losses. The IRS source is dry, but it is useful for confirming the high-level rules before you make a taxable move.

Tax-Loss Harvesting Example

Say you invested $20,000 in a taxable brokerage account. Your S&P 500 ETF position is down to $17,000, so you have a $3,000 unrealized loss. You also sold a different fund earlier in the year with a $2,000 long-term gain.

You sell the losing ETF and buy a total-market ETF that tracks a different index. The $3,000 loss first offsets your $2,000 gain. You have $1,000 of net capital loss left, which may offset ordinary income for the year. You stayed invested, avoided selling into cash for a month, and reduced your taxable income.

Now change the numbers. If the loss were $12,000 and the gain were $2,000, then $2,000 offsets the gain, $3,000 may offset ordinary income, and the remaining $7,000 generally carries forward. That carryforward can be useful in a future year when you rebalance, sell winners, or take profits.

Frequently Asked Questions

Is tax-loss harvesting worth it in 2026?

Tax-loss harvesting can be worth it when you have taxable investment losses, realized gains to offset, or ordinary income that can use up to $3,000 of net capital losses. It is usually less useful inside retirement accounts because gains and losses there are already tax-deferred or tax-free.

Can I tax-loss harvest index funds?

Yes, but the replacement fund matters. Selling VOO and immediately buying SPY is risky because both track the S&P 500. A broader replacement such as VTI may be easier to defend because it tracks the total U.S. market instead of the exact same index.

Does the wash-sale rule apply to crypto?

As of 2026, the wash-sale rule is generally written for stocks and securities, not spot crypto. That means crypto losses may have more flexibility, but tax law can change and traders should document every transaction carefully.

How much ordinary income can capital losses offset?

After capital losses offset capital gains, up to $3,000 of remaining net capital losses can offset ordinary income each year for most taxpayers. Married filing separately taxpayers are generally limited to $1,500.

What happens to unused tax losses?

Unused net capital losses generally carry forward to future tax years. You can use them later to offset capital gains and then up to the annual ordinary income limit until the carryforward is used up.

Bottom Line

Tax-loss harvesting is useful when it lowers taxes without pulling your portfolio away from your investment plan. The strongest use cases are taxable accounts with real losses, gains to offset, clean replacement funds, and good records.

The weakest use cases are tiny losses, questionable wash-sale swaps, retirement accounts, and trades that make you less diversified. In 2026, the best approach is boring and practical: harvest when the math is worth it, avoid substantially identical replacements, document everything, and keep investing for the long run.

Similar Posts