Tax-Loss Harvesting 2026 — How to Use Investment Losses to Reduce Taxes
Complete guide to tax-loss harvesting for the 2026 tax year. Learn how to strategically sell losing investments to offset capital gains, reduce ordinary income by up to $3,000 per year, and carry forward unused losses indefinitely — all while avoiding the wash-sale rule.
What Is Tax-Loss Harvesting
Tax-loss harvesting is a tax strategy that involves selling securities at a capital loss to offset capital gains realized from other investments. By intentionally realizing losses, you reduce your taxable capital gains — and if your losses exceed your gains, you can deduct up to $3,000 per year from your ordinary income ($1,500 if married filing separately).
This strategy is most commonly used by investors with taxable brokerage accounts who hold positions that have declined in value. Rather than simply holding a losing position and waiting for it to recover, you sell it, lock in the loss for tax purposes, and then reinvest the proceeds — potentially into a similar (but not substantially identical) investment to maintain market exposure.
Tax-loss harvesting does not eliminate the economic reality of a loss, but it reduces the after-tax cost of that loss by generating a tax benefit. For example, a $5,000 realized loss might save you $1,100 in taxes if you're in the 22% bracket and offsetting ordinary income, or even more if offsetting short-term capital gains taxed at higher rates.
Without tax-loss harvesting, a $5,000 unrealized loss sitting in your portfolio provides zero tax benefit. By realizing the loss, you convert it into a tax asset that can save you money this year, next year, or decades from now — carryforward losses never expire. This is why tax-loss harvesting is one of the most universally recommended tax strategies for taxable investment accounts.
How Tax-Loss Harvesting Works
The mechanics are straightforward, but the execution requires attention to the wash-sale rule (covered in detail below). Here is a step-by-step example that illustrates how tax-loss harvesting reduces your tax bill.
Worked Example
Imagine you have two investments in your taxable brokerage account:
- Stock A: Bought for $10,000, now worth $7,000 (unrealized loss of $3,000)
- Stock B: Bought for $15,000, now worth $20,000 (unrealized gain of $5,000)
Without harvesting: If you sell Stock B only, you realize a $5,000 gain. Assuming a 15% long-term capital gains rate, you owe $750 in tax. The $3,000 loss on Stock A remains unrealized and provides no benefit.
With harvesting: You sell both Stock B (realizing the gain) and Stock A (realizing the loss). Your net capital gain is now $5,000 - $3,000 = $2,000. At 15%, you owe only $300. The tax-loss harvesting saved you $450. Plus, you can reinvest the $7,000 from Stock A into a similar (but not identical) fund to stay in the market.
Capital losses offset capital gains on a dollar-for-dollar basis. Short-term losses offset short-term gains first, then long-term gains. Long-term losses offset long-term gains first, then short-term gains. This ordering matters because short-term gains are taxed at higher ordinary income rates (up to 37%), so offsetting them first maximizes your tax savings.
See how capital gains taxes affect your bottom line with our complete capital gains tax rates guide.
Offset Gains First, Then Income
When you have both capital gains and capital losses in the same tax year, the tax code requires you to apply losses in a specific order. Understanding this hierarchy is essential for maximizing your tax benefit.
The Netting Process
- Net short-term gains and losses — Combine all your short-term gains and short-term losses. If the result is a net short-term gain, it moves forward. If a net short-term loss, it carries over to step 3.
- Net long-term gains and losses — Combine all your long-term gains and long-term losses. If the result is a net long-term gain, it moves forward. If a net long-term loss, it carries over.
- Combine the results — If you have a net short-term gain and a net long-term loss (or vice versa), they offset each other. If both are gains, they are taxed separately (short-term at ordinary rates, long-term at preferential rates). If both are losses, you have a net capital loss.
- Apply to ordinary income — If your net capital loss exceeds zero, you can deduct up to $3,000 ($1,500 if MFS) against ordinary income. The remainder carries forward.
Why this order matters: Short-term capital gains are taxed at your marginal ordinary income rate (10%–37%). Long-term gains are taxed at preferential rates (0%, 15%, or 20%). Because the tax code prioritizes offsetting short-term gains with short-term losses first, harvested losses are most valuable when they offset short-term gains — potentially saving you up to 37% vs 20% on the same dollar amount.
The $3,000 Ordinary Income Limit
One of the most attractive features of tax-loss harvesting is the ability to deduct net capital losses against ordinary income — wages, salary, self-employment income, interest, and rental income. This deduction is capped at $3,000 per year ($1,500 for married filing separately).
This deduction is particularly valuable because ordinary income is taxed at higher rates than capital gains. If you are in the 24% federal bracket, a $3,000 deduction saves you $720 in federal taxes. Add state income tax (say 5%), and the total savings approach $870 — all from realizing losses you were already holding.
How the Limit Works
- If your net capital loss for the year is exactly $3,000, you deduct the full amount against ordinary income. No carryforward.
- If your net capital loss is $8,000, you deduct $3,000 this year and carry forward the remaining $5,000 to next year.
- If your net capital loss is $1,500, you deduct the full $1,500 (below the cap — you can deduct up to the cap, not exactly the cap).
If you have a large unrealized loss, you do not need to realize it all at once. You can strategically harvest losses each year to hit the $3,000 cap annually, spreading the tax benefit across many years. For a $30,000 loss harvested in chunks of $3,000 per year, you'd get a deduction for a full decade.
Wash-Sale Rule Explained
The wash-sale rule (IRS Section 1091) is the single most important restriction to understand when implementing tax-loss harvesting. Violating it can invalidate your entire loss — turning a planned tax benefit into no benefit at all.
What Is a Wash Sale?
A wash sale occurs when you sell a security at a loss and repurchase the same or substantially identical security within 30 days before or after the sale — a 61-day window total (30 days before, the day of sale, 30 days after).
When a wash sale occurs, the loss is disallowed for tax purposes. The disallowed loss is added to the cost basis of the replacement shares, effectively deferring (not eliminating) the loss. You will eventually realize the loss when you sell the replacement shares outside the wash-sale window.
What Counts as "Substantially Identical"?
The IRS has not provided a bright-line definition, but the general guidance includes:
- Same stock: Selling Apple (AAPL) and buying Apple back within 30 days = wash sale.
- Same ETF: Selling VOO (S&P 500 ETF) and buying VOO back = wash sale.
- Different class of same security: Selling one share class and buying another of the same company may be substantially identical.
- Options and derivatives: Selling stock and buying call options on the same stock within the window can trigger the rule.
- NOT a wash sale: Selling VOO (S&P 500) and buying VTI (total market) or IVV (different S&P 500 ETF issuer) is generally not considered substantially identical.
The IRA Trap
Buying substantially identical securities in an IRA (including a Roth IRA) within the wash-sale window will also trigger a wash sale — and the consequence is worse. Since IRAs do not allow losses to be deducted, the disallowed loss from your taxable account is permanently lost. Never buy the same security you sold at a loss in an IRA within 30 days.
| Scenario | Wash Sale? | Tax Consequence |
|---|---|---|
| Sell AAPL at loss, buy AAPL in taxable account 10 days later | Yes | Loss disallowed, added to basis of new shares |
| Sell AAPL at loss, buy AAPL in Roth IRA 5 days later | Yes | Loss disallowed permanently |
| Sell AAPL at loss, buy MSFT (different stock) next day | No | Loss allowed |
| Sell VOO at loss, buy VTI next day | Generally No | Loss allowed (different index) |
| Sell AAPL at loss, buy AAPL 31 days later | No | Loss allowed |
Tax-loss harvesting must account for the wash sale rule, which disallows losses if you buy a substantially identical security within 30 days before or after the sale.
Tax-Loss Harvesting vs Tax-Gain Harvesting
While tax-loss harvesting is the more common strategy, tax-gain harvesting is its opposite — and it can be equally valuable in the right circumstances.
Tax-Gain Harvesting
Tax-gain harvesting means intentionally realizing capital gains in years when your income is low enough to fall into the 0% long-term capital gains bracket. For 2026, the 0% bracket applies to single filers with taxable income up to approximately $47,000 and married couples up to approximately $94,000.
By realizing gains in low-income years, you increase your cost basis on the replacement shares — meaning less future gain (or a larger future loss) when you eventually sell. This strategy is most useful for:
- Investors who are between jobs or in a low-income year
- Retirees living off savings with limited other income
- Students or part-time workers with low taxable income
Which Strategy Should You Use?
| Strategy | Best For | When to Use |
|---|---|---|
| Tax-Loss Harvesting | Offsetting gains & reducing ordinary income | Any year with unrealized losses |
| Tax-Gain Harvesting | Filling the 0% capital gains bracket | Low-income years only |
| Both | Wash-sale aware — offset gains with losses | Portfolios with both winners and losers |
Need to estimate your taxable income? Use our tax refund calculator to determine your marginal rate and see how harvesting fits into your overall tax picture.
When to Harvest Losses (Year-End Strategy)
Tax-loss harvesting can be done at any time during the year, but most investors focus on the fourth quarter (October through December) for several practical reasons.
Why Year-End Is Prime Time
- Full picture available: By late in the year, you know your year-to-date realized gains and can calculate exactly how much loss you need to offset them.
- Mutual fund distributions: Many mutual funds distribute capital gains in November and December. Harvesting losses before these distributions can offset the tax impact.
- Market volatility: Year-end market movements often create loss-harvesting opportunities in sectors that underperformed.
- Tax planning window: Year-end is when most investors review their portfolio and make adjustments before the January 1 reset.
The 30-Day Calendar Trap
If you harvest a loss on December 15, the wash-sale rule means you cannot buy back the same security until January 14 or later. This is fine since you are simply waiting the required 31 days into the new year. However, if you harvest on December 1 and buy back on December 20 (only 19 days later), that is a wash sale — the loss is disallowed even though you did it all in the same calendar year.
Year-Round Harvesting
Some investors practice continuous tax-loss harvesting, scanning their portfolios monthly or quarterly for loss positions. This approach captures losses before they potentially rebound, and it smooths out the tax benefit over multiple years. Automated robo-advisors (discussed below) make this approach much more practical for the average investor.
Cryptocurrency Tax-Loss Harvesting
The IRS treats cryptocurrency as property, not currency, for tax purposes. This means every crypto trade, sale, or disposal is a taxable event — and losses are fully eligible for tax-loss harvesting.
Key Crypto Harvesting Rules
- Same rules apply: Crypto losses offset capital gains and up to $3,000 of ordinary income, just like stock losses. Unused losses carry forward indefinitely.
- Wash-sale rules do apply to crypto: As of 2026, the wash-sale rule applies to cryptocurrency. You cannot sell Bitcoin at a loss and buy Bitcoin back within 30 days. Prior to 2025, crypto had a wash-sale loophole — that has been closed by the One Big Beautiful Bill Act.
- Crypto-to-crypto trades: Trading Bitcoin for Ethereum is a taxable event. If Bitcoin is worth less than your cost basis at the time of the trade, you realize a loss.
- Cost basis method: For crypto, you can use specific identification (spec ID) to choose which lots to sell, maximizing your harvested losses. This is critical for tax efficiency.
Crypto-Specific Considerations
Cryptocurrency volatility creates abundant tax-loss harvesting opportunities. A coin that drops 70% may later recover — but if you harvested the loss during the downturn, you locked in a tax benefit. Just remember: harvesting a loss on a coin you believe in means you must wait 31 days to repurchase it, or buy a different cryptocurrency instead to maintain exposure.
Cryptocurrency tax-loss harvesting requires meticulous record-keeping. Each trade, transfer, and sale generates a tax lot. Without a crypto tax software or detailed spreadsheet, tracking cost basis across multiple exchanges and wallets is extremely difficult. The IRS has ramped up enforcement of crypto reporting, so accuracy is essential. See our complete crypto tax guide for more details.
Automated Robo-Advisor Harvesting
Many modern robo-advisors (Wealthfront, Betterment, and others) offer automated tax-loss harvesting as a feature. This technology continuously scans your portfolio for loss positions, executes harvests automatically, and reinvests the proceeds into similar ETFs to maintain your target asset allocation.
How Automated Harvesting Works
Robo-advisors use direct indexing or ETF pair trading to create tax-loss harvesting opportunities. With ETF pair trading, the robo-advisor holds a primary ETF (e.g., VOO for US large-cap) and a secondary ETF (e.g., IVV or SPY) that tracks a similar index. When VOO drops, the robo sells VOO at a loss and buys IVV — maintaining market exposure while realizing the loss.
Pros and Cons
| Pros | Cons |
|---|---|
| No manual effort required | Management fees (typically 0.25%–0.50% of AUM) |
| Harvests continuously, not just at year-end | Less control over which lots are sold |
| Automatic wash-sale avoidance via ETF pairs | Only available on the robo's selected ETFs |
| Tax-loss harvesting can boost after-tax returns by 0.5%–1.5% annually | Tax-loss harvesting benefits may decrease over time as losses accumulate |
For investors who prefer a hands-off approach and have account balances above the robo-advisor minimums (typically $500–$5,000), automated tax-loss harvesting can be a worthwhile feature — especially if the robo-advisor also handles rebalancing and dividend reinvestment.
Tracking Carryforward Losses
Capital losses that exceed your capital gains plus the $3,000 ordinary income deduction do not disappear. They carry forward indefinitely until fully used. However, you must track these carryforward losses carefully — the IRS does not do it for you.
How Carryforward Works
When you file your tax return, you report your capital gains and losses on Schedule D and Form 8949. If your net capital loss exceeds the $3,000 deduction limit, the remaining loss carries forward to the next tax year. The carryforward retains its character:
- Short-term carryforward: Must first offset short-term gains in the next year
- Long-term carryforward: Must first offset long-term gains
Practical Tracking Tips
- Keep your prior-year tax return: The carryforward amount is listed on Schedule D, Line 16 and Line 21.
- Use a spreadsheet: Track your cumulative carryforward by year, noting whether it is short-term or long-term.
- Check your brokerage: Many brokerages now track carryforward losses in their tax center, but always verify against your own records.
- No expiration: Unlike some tax attributes (such as charitable contribution carryforwards which have a 5-year limit), capital loss carryforwards never expire.
In 2026, you realize a net capital loss of $15,000. You deduct $3,000 against ordinary income on your 2026 return. The remaining $12,000 carries forward to 2027. In 2027, you have $4,000 in capital gains — you use $4,000 of the carryforward to offset them entirely, leaving $8,000. You can then deduct another $3,000 against 2027 ordinary income, leaving $5,000 to carry forward to 2028. Repeat until the loss is exhausted.
Frequently Asked Questions
As a tax content specialist, I base this tax-loss harvesting guide on IRS Sections 1211 (limitation on capital losses) and 1212 (capital loss carryback and carryforward), Section 1091 (wash sales), and IRS Publication 550 (Investment Income and Expenses). Tax-loss harvesting is one of the most straightforward yet underutilized tax strategies available to individual investors. The key is understanding the wash-sale rule and the ordering of loss application — those two concepts account for 90% of the mistakes I see in practice. I update this guide for each tax year as inflation adjustments and legislation change the relevant limits.
— Lead Tax Content Strategist, TaxCalcHQ
