Tax Planning & Retirement

Tax-Loss Harvesting for Stock Investors (2026)

Published 14 June 2026 · Reviewed & signed by a licensed professional
Tax-loss harvesting for stocks - Tranzesta tax planning guide

If you hold individual stocks, ETFs, or mutual funds in a taxable brokerage account, tax-loss harvesting is one of the most reliable ways to keep more of your investment returns. By turning paper losses into real tax savings, you can reduce what you owe the IRS without changing the long-term shape of your portfolio. This guide explains how the strategy works specifically for stock and securities investors, where the rules can trip you up, and how to time it well.

Tax-loss harvesting is the practice of selling securities at a loss to offset capital gains and a limited amount of ordinary income, lowering your tax bill. You can use stock losses first against gains of the same type, then against other gains, and finally against ordinary income up to an annual limit, carrying forward anything unused.

What is tax-loss harvesting?

Tax-loss harvesting means intentionally selling an investment that has dropped below your purchase price (your cost basis) so the loss becomes “realized” and usable on your tax return. An unrealized loss, by contrast, is just a number on your statement and does nothing for you at tax time. Once realized, that capital loss reduces your taxable gains, and if losses exceed gains, a portion can offset your regular income.

For stock investors, this is powerful because markets are volatile. Even in a strong year, individual positions frequently dip below cost basis at some point. Harvesting those dips lets you bank a tax benefit while keeping your overall investment plan on track, often by reinvesting the proceeds into a similar (but not identical) holding.

Offsetting capital gains, then ordinary income

The IRS makes you net your gains and losses in a set order. First, losses offset gains of the same character: short-term losses against short-term gains, long-term losses against long-term gains. Any leftover loss then crosses over to offset the other category. If you still have a net capital loss after all of that, you may deduct a limited amount against ordinary income such as wages.

That ordinary-income offset is capped at a fixed annual dollar limit (lower if you are married filing separately). Because this figure ties to the tax year and can change, confirm the current limit on IRS.gov’s guidance on capital gains and losses before you rely on a number. The key point: ordinary-income offsets are deliberately limited, while gain offsets generally are not.

The wash-sale rule (and yes, it applies to stocks)

The single biggest pitfall is the wash-sale rule, and it absolutely applies to stocks and securities. A wash sale occurs when you sell a security at a loss and buy the same or a “substantially identical” security within 30 days before or after the sale, a 61-day window in total. When that happens, the IRS disallows the loss for that year.

The disallowed loss is not gone forever; it is added to the cost basis of the replacement shares, deferring the benefit until you sell those. But for harvesting purposes this year, a wash sale wipes out the deduction you were counting on. “Substantially identical” is the slippery phrase: buying back the exact same stock clearly triggers the rule, and so can swapping into an option or a near-twin fund. Review the details on IRS.gov’s explanation of wash sales and document your trades carefully.

Short-term vs. long-term ordering

Because short-term gains are taxed at higher ordinary rates while long-term gains enjoy preferential rates, the character of your gains and losses matters. The netting rules generally let your losses neutralize the most heavily taxed gains first within each category, which is exactly what you want. Effective tax-loss harvesting often means harvesting short-term losses to cancel out short-term gains, since that is where the highest tax drag usually sits.

When choosing which lots to sell, your broker’s cost-basis method (FIFO, specific identification, and so on) affects whether you realize a short-term or long-term loss. Specific identification gives you the most control, letting you target the exact shares that produce the most useful loss.

Carryforwards: losses that keep on giving

If your total net capital loss exceeds what you can use this year, the excess does not disappear. It carries forward to future tax years indefinitely, retaining its short-term or long-term character. Each year you can apply it against new gains and, again, up to the annual ordinary-income limit.

This makes a large harvested loss a multi-year asset. Investors who harvest aggressively during a market downturn sometimes build a carryforward “bank” that shelters gains for years afterward. Keep clean records, because you, not the IRS, are responsible for tracking the remaining balance.

When tax-loss harvesting helps and when it doesn’t

Harvesting helps most when you hold appreciated positions you plan to sell, expect significant capital gains, or face high ordinary income. It is also valuable in volatile markets where temporary dips are common. Pairing it with a thoughtful tax planning approach across the year compounds the benefit.

It helps less, or not at all, inside tax-advantaged accounts like IRAs and 401(k)s, where gains and losses are not taxed annually. It can also backfire if you are in a very low or zero capital-gains bracket, since you might be giving up a low-cost basis for little benefit. And it should never drive you into a portfolio you do not actually want to own.

Year-end timing and the December crunch

Capital gains and losses are tallied by the tax year, so the calendar drives the strategy. Many investors review their portfolios in November and December to harvest losses before December 31. But waiting until the final week is risky: thin holidays trading, settlement timing, and the 30-day wash-sale window can all interfere.

Start early. If you harvest a loss in late December and want to maintain exposure, remember the wash-sale clock runs 30 days after the sale into the new year, so an early-January repurchase of the same stock can still disallow your December loss. Spreading harvesting across the year, not just at year-end, often produces cleaner results.

A worked example

Suppose this year you have a $9,000 long-term capital gain from selling an ETF and a $4,000 short-term gain from a stock you flipped. Separately, a tech position you bought is down, showing a $7,000 unrealized loss. You sell it to harvest the loss, then immediately reinvest the cash in a different company in the same sector to stay invested without triggering a wash sale.

Your realized loss is short-term, so it first offsets your $4,000 short-term gain, eliminating it. The remaining $3,000 of loss then crosses over to reduce your long-term gain from $9,000 to $6,000. You have wiped out the highest-taxed gain entirely and shrunk the rest. If your loss had instead exceeded all your gains, the surplus could offset ordinary income up to the annual limit, with anything beyond that carried forward.

Mistakes to avoid (wash sale!)

The cardinal error is triggering a wash sale by repurchasing the same or a substantially identical security inside the 30-day window, including buys in your spouse’s account or your IRA, which the IRS treats as related. Other common mistakes:

  • Forgetting that automatic dividend reinvestment can quietly buy back shares and create a wash sale.
  • Harvesting losses inside retirement accounts, where they yield no current deduction.
  • Ignoring cost-basis lot selection and accidentally realizing the wrong type of loss.
  • Selling solely for tax reasons and abandoning a sound investment thesis.
  • Overlooking how harvested losses interact with business income; if you run a company, coordinate with your business deductions planning.

Working with your advisor

Because the netting rules, wash-sale window, and annual limits interact in ways that are easy to misjudge, a qualified tax professional or financial advisor is worth their fee here. They can model the after-tax impact, choose the right lots, and keep your harvesting aligned with your broader plan. They also help you avoid costly automation traps like dividend reinvestment-driven wash sales.

Frequently asked questions

How much can tax-loss harvesting save me on my taxes?

It depends on your gains, your tax bracket, and how much loss you realize. Tax-loss harvesting can fully offset your capital gains and then reduce ordinary income up to an annual limit, with the rest carried forward. The actual dollar savings equal the offset amount multiplied by your applicable tax rate.

Does the wash-sale rule really apply to individual stocks?

Yes. The wash-sale rule applies to stocks, ETFs, mutual funds, and options. If you buy the same or a substantially identical security within 30 days before or after selling at a loss, the IRS disallows the loss for the current year and shifts it into your replacement shares’ basis.

What counts as a “substantially identical” security?

Buying back the same stock is clearly substantially identical. Index funds tracking the very same index, or options and contracts on the same security, can also qualify. Switching to a genuinely different company or a fund tracking a different index generally does not, but the IRS has not published a bright-line list, so document your reasoning.

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

No. Gains and losses inside tax-advantaged retirement accounts are not reported annually, so there is no loss to harvest. Worse, buying a replacement security in your IRA can trigger a wash sale on a loss you took in your taxable account, permanently disallowing it.

What happens to losses I can’t use this year?

They carry forward indefinitely. Each future year you apply them against new capital gains and then against ordinary income up to the annual limit, keeping their short-term or long-term character until used up. Track the remaining balance carefully, as the responsibility is yours.

Ready to make your losses work for you?

Tax-loss harvesting can meaningfully cut your tax bill, but the wash-sale rule and netting order leave little room for error. Tranzesta’s US and UK tax specialists will review your portfolio, model the savings, and keep you compliant. Book a free consultation and start turning market dips into tax advantages.

Disclaimer: This article is for general informational purposes only and does not constitute tax, legal, or investment advice. Tax rules, limits, and thresholds change and depend on the tax year and your circumstances; always verify current figures on IRS.gov and consult a qualified professional before acting.

This article is general information, not personalised tax advice. Tax rules change and depend on your circumstances — speak to a qualified professional in the relevant jurisdiction before acting. Tranzesta serves clients across the US, UK & UAE.

Talk to a real, signing professional

AI precision, human accountability — across the US, UK & UAE.

Book a free consultation