Investing

Tax-Loss Harvesting in 2026: Turn Investment Losses Into Tax Savings

Ad · Responsive
Tax-Loss Harvesting in 2026: Turn Investment Losses Into Tax Savings 2026 GUIDE · INVESTING Tax-Loss Harvesting Turn losses into tax savings Up to $3,000/yr 61-day wash window $10,000 loss → tax savings -$10,000 realized loss +$2,400 at 24% bracket MYCALCFINANCE.COM

Your portfolio just had a rough quarter, and one of your stock holdings is down 25%. Frustrating — but if you sell that loser at the right moment, the IRS will essentially write you a check. That is the core idea behind tax-loss harvesting: you turn paper losses inside a taxable brokerage account into a real reduction in this year's tax bill, while keeping your overall investment plan intact.

The arithmetic is straightforward, but the rules around which losses you can claim, in what order they offset gains, and the booby trap known as the wash sale rule trip up plenty of investors. This 2026 guide walks through every piece — with real numbers, the IRS-mandated netting order, the $3,000 ordinary-income cap, and a five-step playbook you can run before December 31.

What is tax-loss harvesting?

Tax-loss harvesting is the practice of selling an investment that has dropped in value to realize a capital loss, then using that loss to offset capital gains you have taken elsewhere in the year and to deduct up to $3,000 of ordinary income if any net loss remains. You typically reinvest the proceeds in a similar — but not "substantially identical" — security so your portfolio's overall risk and exposure stay roughly the same.

It only works inside taxable accounts (a regular brokerage account). Losses inside an IRA, Roth IRA, 401(k), or HSA never produce a deduction, because those accounts are already tax-sheltered. If you mostly invest through retirement plans, you have nothing to harvest.

Two things tax-loss harvesting is not:

  • It is not a "loss" in the everyday sense. The decline must be realized — you must actually sell. Holding a stock that is down does nothing for your taxes.
  • It is not a way to manufacture wealth. Harvesting is a tax-timing strategy. You have not created anything new; you have shifted the tax bill from this year to a future year, when the replacement holding eventually appreciates and you sell it.

How the math works: a $10,000 loss turned into $2,400 of savings

Suppose you are single, earn $130,000 of W-2 income, and sit in the 24% federal marginal bracket for 2026. During the year:

  • You sold one stock at a $7,000 short-term gain (held 9 months).
  • You sold a fund at a $10,000 long-term loss.

Here is what happens line by line on Schedule D:

  1. Net within categories first. No other short-term losses, so the short-term gain stays at $7,000. No other long-term gains, so the long-term loss stays at $10,000.
  2. Cross the categories. The $10,000 long-term loss wipes out the $7,000 short-term gain, leaving a $3,000 net long-term loss.
  3. Apply the $3,000 ordinary-income deduction. The remaining $3,000 reduces your ordinary income.

The dollars-and-cents impact:

Line itemWithout harvestingWith harvesting
Tax on $7,000 short-term gain (24%)$1,680 owed$0 (offset by loss)
Ordinary income reduced by $3,000 at 24%$720 saved
Total federal-tax difference$1,680 owed$2,400 saved

That is a real $2,400 reduction in this year's federal tax bill, plus state savings on top in most states. To project your own outcome at your marginal rate, plug the numbers into our Capital Gains Tax Calculator and our Tax Bracket Calculator.

The IRS-mandated netting order

The order in which gains and losses combine is not optional. The IRS requires this sequence on Schedule D, which is why short-term and long-term transactions are tracked separately on Form 8949.

StepRule
1Net all short-term losses against short-term gains.
2Net all long-term losses against long-term gains.
3If one category has a net loss and the other has a net gain, the net loss offsets the net gain.
4Any remaining net loss reduces ordinary income, capped at $3,000 ($1,500 if married filing separately).
5Any unused loss carries forward indefinitely, retaining its short-term or long-term character.

Why does the order matter? Short-term gains are taxed at ordinary rates (10% to 37% in 2026), while long-term gains are taxed at 0%, 15%, or 20%. So a long-term loss that ends up sheltering a short-term gain is far more valuable than the same loss sheltering a long-term gain. You do not get to pick the sequence — but understanding it helps you plan which positions to sell and which to hold.

The $3,000 ordinary-income cap (and why it stings)

The $3,000 annual deduction against ordinary income has not moved since it was set in 1978. According to IRS Topic No. 409, the cap is the lesser of $3,000 or your total net loss ($1,500 if you file married-filing-separately). It is not adjusted for inflation, so its real value has eroded by roughly 80% over four-plus decades.

Two practical consequences:

  • Harvesting a loss to offset a known capital gain is much more tax-efficient than harvesting it against ordinary income, because the loss-against-gain offset is uncapped.
  • Stockpiling huge unused losses is rarely "free money." A million dollars of carryforwards still drains at $3,000 per year against W-2 income unless you generate offsetting capital gains.

Capital loss carryforward: the unused portion lives on

If your total net loss exceeds $3,000 plus your gains, the IRS lets you carry the excess forward to future tax years indefinitely, with no expiration. The carried-forward amount keeps its character — short-term losses remain short-term losses, long-term losses remain long-term losses — and re-enters the netting waterfall the next year.

Example: in 2026 you realize a $30,000 long-term loss with no offsetting gains. You deduct $3,000 against ordinary income this year. The remaining $27,000 carries to 2027 and beyond.

  • If 2027 brings a $20,000 long-term gain, the carryforward wipes it out. You also deduct another $3,000 against ordinary income, and $4,000 rolls to 2028.
  • If 2027 brings only modest gains, you again deduct $3,000 — and the rest waits for a year with bigger gains.

Investors who took big losses in a bad market year can shield gains for a decade or more. Track the carryforward carefully — it is reported in Part III of Schedule D each year, and a missed entry is a missed deduction. For background on how the underlying rates differ, see our piece on short-term vs long-term capital gains.

The wash sale rule: the booby trap

The wash sale rule (IRS Section 1091) is the single biggest reason a harvested loss gets disallowed. The rule:

If you sell a security at a loss and buy a "substantially identical" security within 30 days before or 30 days after the sale, the loss is disallowed for the current year.

That is a 61-day window centered on the sale date. The disallowed loss is not gone forever — it is added to the cost basis of the replacement security, deferring (not eliminating) the deduction. But for the current year, your harvest produces zero tax benefit.

What counts as "substantially identical"

The IRS does not publish a formal list. In practice:

  • Same stock, same class — identical. Selling Apple and buying Apple is a wash sale.
  • Same mutual fund or ETF — identical.
  • Two ETFs that track the same index from different issuers (e.g., one S&P 500 fund swapped for another) — the IRS has not formally ruled these "substantially identical," and they are the workhorse of wash-sale-safe harvesting. The conservative move is still to swap to a fund tracking a different index (e.g., total US market instead of S&P 500).
  • Bonds with materially different issuer, coupon, or maturity — generally not identical.

Wash sales across accounts and family

The trap most people miss: wash sales apply across all accounts you and your spouse control — including IRAs and 401(k)s. If you sell a fund in your taxable account at a loss and your spouse's IRA buys the same fund seven days later through an automatic dividend reinvestment, that is a wash sale and the taxable-account loss is disallowed. According to the Schwab wash-sale primer, the basis-adjustment relief is even harsher in the IRA case: the disallowed loss is permanently lost, because IRA basis is not tracked the same way taxable-account basis is.

Before harvesting, audit:

  • Your taxable brokerage's automatic dividend reinvestment (DRIP) settings.
  • Any 401(k) target-date funds that hold the security.
  • Your spouse's accounts.
  • Recurring purchase plans (Acorns, M1, Robinhood recurring buys, payroll-deduction plans).

Crypto exception (for now)

As of April 2026, cryptocurrency is not subject to the wash sale rule. The IRS classifies digital assets as property rather than securities, so Section 1091 does not reach them. You can sell Bitcoin at a loss and rebuy it the same day. Congress has proposed closing this loophole multiple times, so verify current law before relying on it for the next tax year.

2026 brackets: who benefits most

The 0% long-term capital-gains bracket is unusually generous in 2026. According to the Tax Foundation's 2026 bracket summary, single filers pay 0% on long-term gains up to $49,450 of taxable income; married couples filing jointly, up to $98,900. The 15% rate runs up to $545,500 single / $613,700 joint; above that you hit 20% (plus the 3.8% Net Investment Income Tax for higher earners).

This shifts who should harvest:

  • 0% bracket investors — usually should not harvest losses against long-term gains, because those gains were not going to be taxed anyway. Harvest only to take the $3,000 ordinary-income deduction.
  • 15% bracket investors — harvesting losses against long-term gains saves 15 cents on every dollar of loss.
  • 20% / NIIT-exposed investors — harvesting can save 23.8% (20% LTCG + 3.8% NIIT). Highest payoff per dollar of loss.
  • Anyone with short-term gains — losses that absorb short-term gains save at your full marginal ordinary rate (up to 37%). This is the most valuable use of a loss.

A 5-step harvesting playbook

  1. Inventory unrealized losses by tax lot. In your brokerage, switch the cost-basis view to "specific identification" or "tax lot" view. You want to see each individual purchase, not just the average. A position that is flat overall may still contain individual lots with sizable losses.
  2. Check year-to-date realized gains and losses. Compare against your tax projection. The most efficient harvest matches loss size to your realized short-term gains first, then long-term gains, then up to $3,000 against ordinary income.
  3. Pick the replacement security first. Do not sell until you know what you are buying. Stay out of the market for 31+ days only if the price-risk does not bother you; otherwise buy a non-substantially-identical replacement on the same day.
  4. Audit the 30-day window in every account. Pause DRIPs, recurring buys, and any 401(k) rebalancing that touches the same security. Repeat for your spouse's accounts.
  5. Execute and document. Sell using "specific lot" so the brokerage realizes the highest-cost (largest loss) lots. Save the trade confirmations. After 31 days, you can swap back to the original holding if you wish.

Want to see what a $10k or $30k harvested loss is worth at your marginal rate? Run the scenario through our Investment Return Calculator to compare after-tax outcomes side by side.

When tax-loss harvesting does not help

  • You only have retirement-account losses. No taxable account, no harvest.
  • You are in the 0% LTCG bracket and have no short-term gains. Saving 0% × loss = $0.
  • The position has appreciated a lot since you bought it. You can only harvest unrealized losses. A $5,000 gain on the books cannot be harvested as a loss.
  • You are going to repurchase within 30 days anyway. The wash sale disallows the deduction.
  • Transaction costs eat the savings. Modern $0-commission brokers have largely removed this concern, but bid-ask spreads on thinly traded ETFs can still erode small harvests.
  • You will donate the appreciated position later. Donating appreciated stock to a qualified charity sidesteps capital-gains tax entirely and is often more tax-efficient than harvesting losses to offset the same gains.

Common mistakes

  • Forgetting reinvested dividends. A DRIP buy of $42 of a fund seven days after a tax-loss sale of the same fund will trigger a partial wash sale on a chunk of the loss.
  • Harvesting late in December and rebuying in early January. The 30-day window crosses tax years. Year-end harvests still need a 31-day gap.
  • Selling at a loss and gifting cash to your IRA the same week. If the IRA buys the same security, the loss is permanently disallowed — IRAs do not get the basis adjustment that taxable accounts do.
  • Ignoring state taxes. Most states tax capital gains at ordinary rates. Harvesting often saves both federal and state tax.
  • Trying to harvest a position you have held less than a year. Short-term and long-term losses are equally usable on Schedule D, but you may want to wait if doing so converts a future sale into a long-term gain. Run the math first.

Frequently Asked Questions

Is the $3,000 deduction limit per person or per return?

Per return. A married couple filing jointly shares one $3,000 cap; married filing separately, $1,500 each. The cap has not changed since 1978 and is not indexed for inflation.

How long can I carry a capital loss forward?

Indefinitely. Unused capital losses carry over to subsequent tax years until exhausted, retaining their short-term or long-term character each year.

Does the wash sale rule apply to ETFs?

Yes. Two ETFs from the same issuer tracking the same index are typically considered substantially identical. ETFs from different issuers tracking different indexes (e.g., S&P 500 vs total US market) are the standard wash-sale-safe replacement; swapping between two S&P 500 funds from different issuers is a grey area the IRS has not formally ruled on.

Can I harvest losses inside my Roth IRA or 401(k)?

No. Losses inside tax-advantaged accounts produce no deduction, because those accounts are already shielded from capital-gains tax. Tax-loss harvesting is exclusively a taxable-account strategy.

Does tax-loss harvesting work for cryptocurrency in 2026?

Yes, and crypto enjoys an additional advantage: the IRS classifies digital assets as property rather than securities, so the wash sale rule does not currently apply. You can sell Bitcoin or Ether at a loss and immediately rebuy. Congress has proposed extending Section 1091 to crypto, so this exception may not last.

If I have $20,000 of long-term gains and $25,000 of long-term losses, what happens?

The $25,000 in losses fully offset the $20,000 in gains, leaving a $5,000 net loss. You deduct $3,000 against ordinary income this year and carry the remaining $2,000 forward as a long-term loss to the next tax year.

Can I sell at a loss in December and buy back January 2 of the next year?

No — that is still inside the 30-day window. The wash sale rule looks at calendar days, not tax years. A December 5 sale, for example, would require waiting until at least January 5 of the following year before repurchasing the same security.

This article is for general informational purposes only and is not financial, tax, or investment advice. Tax rules and figures cited reflect IRS guidance and Tax Foundation summaries as of April 2026 and may change. Capital gains rates, contribution limits, and the wash sale rule's treatment of digital assets can be revised by Congress or the Treasury at any time. Consult a qualified tax professional or financial planner before making decisions about your portfolio.

Ad · Responsive