CashWise
CalculatorsLearnPricingLoginSign Up Free
Learnโ€บInvestmentโ€บTax-Loss Harvesting: Turn Investment Losses Into Tax Savings
intermediate9 min read

๐Ÿ’ธ Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings

Tax-loss harvesting turns investment losses into tax savings. Learn how it works, the annual limits, and the wash sale rule that trips people up.

Your portfolio is down $10,000 this year.

That sucks. But there's a silver lining:

You can use that $10,000 loss to save $3,700 in taxes.

It's called tax-loss harvesting. The IRS lets you deduct investment losses against gainsโ€”and even against your regular income.

Most investors ignore this. They leave thousands of dollars on the table.

Here's how it works, the wash sale rule that trips everyone up, and exactly when to use it.

What Is Tax-Loss Harvesting?

Tax-loss harvesting = selling investments at a loss to reduce your tax bill.

How it works:

You bought stock at $50,000.
It's now worth $40,000.
You sell it for $40,000.

You have a $10,000 capital loss.

The IRS lets you use this loss to:

  1. Offset capital gains (from other investments you sold for profit)
  2. Deduct $3,000/year against ordinary income
  3. Carry forward unused losses indefinitely

This turns a paper loss into a real tax benefit.

The Math: How Much You Save

Example 1: Offset Capital Gains

This year:

  • You sold Stock A for $20,000 profit (capital gain)
  • You sold Stock B for $10,000 loss (capital loss)

Net capital gain: $20,000 - $10,000 = $10,000

Tax owed (20% capital gains rate): $10,000 ร— 20% = $2,000

Without tax-loss harvesting:

  • Pay taxes on full $20,000 gain = $4,000

With tax-loss harvesting:

  • Pay taxes on net $10,000 gain = $2,000

Tax saved: $2,000


Example 2: Deduct Against Income

You have no capital gains this year, but you have $10,000 in losses.

IRS rule: You can deduct $3,000/year against ordinary income.

Year 1:

  • Deduct $3,000 against income
  • Tax bracket: 24%
  • Tax saved: $720

Year 2:

  • Deduct another $3,000
  • Tax saved: $720

Year 3:

  • Deduct another $3,000
  • Tax saved: $720

Year 4:

  • Deduct remaining $1,000
  • Tax saved: $240

Total tax saved: $2,400 over 4 years

Your $10,000 loss generated $2,400 in tax savings.

The Wash Sale Rule (This Trips Everyone Up)

Here's the catch: You can't immediately rebuy the same stock.

The Wash Sale Rule:

If you sell a stock at a loss and buy it back within 30 days before or after the sale, the IRS disallows the loss.

Example (WRONG WAY):

  • Dec 1: Sell Apple stock at $10,000 loss
  • Dec 15: Rebuy Apple stock
  • Result: Loss is disallowed. You can't claim it.

The 30-day window goes both directions:

  • 30 days before the sale
  • 30 days after the sale

Total danger zone: 61 days

How to avoid it:

Option 1: Wait 31 days to rebuy

  • Dec 1: Sell Apple
  • Jan 2: Rebuy Apple (31+ days later)
  • โœ… Loss is allowed

Option 2: Buy a similar but different fund

  • Sell VTI (Vanguard Total Market)
  • Immediately buy ITOT (iShares Total Market)
  • โœ… Loss is allowed (different fund, same market exposure)

This is the professional move.

Tax-Loss Harvesting Strategy

Here's how to do it properly:

Step 1: Identify losses

Look for investments down from your purchase price:

  • Stock bought at $50, now at $40 = $10 loss per share
  • Fund bought at $100, now at $85 = $15 loss per share

Step 2: Sell the losers

Execute the sale in your brokerage account.

Step 3: Immediately buy a similar investment

This keeps you invested while avoiding the wash sale rule.

Examples:

Sell ThisBuy This Instead
VTI (Vanguard Total Market)ITOT (iShares Total Market)
VOO (S&P 500)IVV (iShares S&P 500)
QQQ (Nasdaq)ONEQ (Nasdaq equivalent)
AppleMicrosoft (different company, same sector)

You maintain market exposure while capturing the loss.

Step 4: After 31 days, switch back (optional)

If you prefer your original investment, you can sell the replacement and rebuy the original after 31 days.

But honestly? Just stay in the replacement fund. It's functionally identical.

When Tax-Loss Harvesting Makes Sense

โœ… Use tax-loss harvesting if:

1. You have capital gains to offset

Sold stocks for profit this year? Harvest losses to offset those gains.

2. You're in a taxable brokerage account

Tax-loss harvesting only works in taxable accounts, not IRAs or 401ks.

3. You're in a high tax bracket

Higher bracket = bigger tax savings.

22% bracket: $3,000 deduction saves $660
37% bracket: $3,000 deduction saves $1,110

4. It's late in the year

Most harvesting happens in November-December (tax-loss harvesting season).

5. The market crashed

Bear markets create massive harvesting opportunities.


โŒ Skip tax-loss harvesting if:

1. You're in a retirement account (IRA, 401k)

No point. These accounts are already tax-advantaged.

2. You have no taxable income or gains

If you're in the 0% tax bracket, this doesn't help.

3. You'd trigger the wash sale rule

If you recently bought the stock, wait 30 days.

4. Transaction fees are high

On most modern platforms (Fidelity, Vanguard, Schwab), trades are free. But check.

Advanced Strategy: Tax-Loss Harvesting + Roth Conversion

You'll see this pitched as a power move: harvest $20,000 in losses, convert $20,000 from a Traditional IRA to a Roth IRA, and owe nothing.

It doesn't work that way.

A Roth conversion creates ordinary income. Capital losses can offset only $3,000 of ordinary income per year, so a $20,000 harvested loss covers just $3,000 of a $20,000 conversion. The other $17,000 of the conversion is taxed at your normal rate, and the unused $17,000 of loss carries forward.

That $3,000 deduction isn't extra, either: it reduces your ordinary income whether you convert or not. Pairing the two doesn't make a conversion tax-free.

What does work: use harvested losses against capital gains (dollar-for-dollar, no limit), and decide on Roth conversions separately, based on your tax bracket now versus in retirement.

Tax-Loss Harvesting Every Year

You don't need a market crash to harvest losses.

Even in good years, individual stocks fluctuate.

Example:

Your portfolio is up 15% overall. But:

  • Stock A: +30%
  • Stock B: +20%
  • Stock C: -10% โ† Harvest this

You can harvest Stock C's loss while your overall portfolio is up.

Then use that loss to offset gains from Stock A or B if you sell them.

This is why professionals harvest throughout the year, not just in crashes.

The Wash Sale Trap: Cross-Account Violations

Here's what trips people up:

The wash sale rule applies across all your accounts.

Example (WRONG):

  • Sell Apple at a loss in your taxable brokerage account
  • Your 401k automatically buys Apple the same day (rebalancing)
  • Wash sale violation

The IRS doesn't care that it's two different accounts.

Solution:

Don't hold the same stocks in multiple account types if you're planning to harvest losses.

Tax-Loss Harvesting Software

Robo-advisors automate this:

Betterment:

  • Automatic daily tax-loss harvesting
  • Claims to add 0.77%/year in after-tax returns

Wealthfront:

  • Daily tax-loss harvesting
  • Monitors wash sale rules across accounts

Schwab Intelligent Portfolios:

  • Automatic harvesting for balances >$50k

Manual is free. Robo-advisors charge 0.25-0.50% but automate everything.

Your choice: DIY for free, or pay for automation.

Common Mistakes to Avoid

Mistake 1: Violating the wash sale rule

Wait 31 days before rebuying, or buy a different fund immediately.

Mistake 2: Harvesting in retirement accounts

IRA/401k losses are not deductible. Only harvest in taxable accounts.

Mistake 3: Selling winners to offset

Don't realize gains just to offset losses. You're creating unnecessary taxes.

Mistake 4: Forgetting to reinvest

Sell โ†’ harvest loss โ†’ forget to buy replacement โ†’ miss market recovery

Always immediately reinvest in a similar fund.

Mistake 5: Ignoring state taxes

Some states don't allow capital loss deductions. Check your state rules.

The $3,000 Annual Limit

You can only deduct $3,000/year in net losses against ordinary income.

But: You can carry forward unused losses indefinitely.

Example:

2024: You harvest $15,000 in losses, no gains.

2024 taxes:

  • Deduct $3,000 against income
  • Carry forward $12,000

2025 taxes:

  • Deduct $3,000 against income
  • Carry forward $9,000

2026 taxes:

  • Deduct $3,000 against income
  • Carry forward $6,000

This $15,000 loss saves you taxes for 5 years.

Real Example: 2022 Market Crash

Investor: $100,000 portfolio, down 20% in 2022

Actions taken:

  • Sold all positions at $20,000 loss
  • Immediately bought equivalent index funds (avoid wash sale)
  • Maintained market exposure

Tax benefit:

2022: Offset $20,000 in capital gains from previous sales = $4,000 saved (20% rate)

A loss offsets capital gains dollar-for-dollar first. Only loss left over after that can be deducted against ordinary income, at $3,000/year. Here the full $20,000 was used against gains, so nothing remains to deduct.

Total tax savings: $4,000

The $20,000 loss generated $4,000 in tax benefits.

No gains to offset? The same $20,000 loss would instead be deducted against ordinary income at $3,000/year: $20,000 ร— 24% = $4,800 of savings, spread over about 7 years.

Plus, they stayed invested and captured the 2023 market recovery.

Should You Harvest Losses Now?

Ask yourself:

1. Are you in a taxable brokerage account?
If no โ†’ stop here.

2. Do you have positions down from purchase price?
If no โ†’ nothing to harvest.

3. Do you have capital gains to offset, or high taxable income?
If no โ†’ benefit is minimal.

4. Can you avoid the wash sale rule?
If no โ†’ wait 31 days or buy replacement fund.

If YES to all four โ†’ harvest those losses.

The Bottom Line

Tax-loss harvesting turns lemons into lemonade.

Market down? Great. Harvest the losses. Save on taxes.

The rules:

  • Only works in taxable accounts (not IRA/401k)
  • Can offset unlimited capital gains
  • Can deduct $3,000/year against income
  • Carry forward unused losses forever
  • Don't violate the wash sale rule (wait 31 days or buy different fund)

Most investors ignore this. You won't.

Before year-end, review your portfolio. Harvest losses. Save thousands in taxes.

It's legal. It's smart. It's what professionals do.


More Ways to Master Your Finances

Ready to take control of your money? Visit CashWise.app for:

  • Free financial calculators - No signup required
  • Portfolio tracking - Monitor your investments in one place
  • Stock backtesting - Test strategies with historical data
  • Educational resources - Guides on debt, investing, and retirement

Create a free account to save your calculations and track your progress.


Track Your Gains and Losses

Use the Investment Calculator to:

  • Calculate potential tax savings from harvesting losses
  • Model capital gains scenarios
  • Track your investment performance
  • Identify harvesting opportunities

Run your numbers before tax season ends.


Previous: How to Build a 3-Fund Portfolio
Next: Index Funds vs Individual Stocks - Why about 90% of professional stock pickers lose to index funds over 15 years (as of mid-2026).

Keep reading

  • How to Build a 3-Fund Portfolio (and Never Touch It)
  • Dividend Investing vs Growth Stocks: Which Wins?
  • Index Funds vs Individual Stocks: Which Builds More Wealth?

Run your own numbers in the compound interest calculator.

Frequently Asked Questions

What is tax-loss harvesting?

Tax-loss harvesting is selling investments at a loss to offset capital gains and reduce your tax bill. You can deduct up to $3,000/year in losses against ordinary income, and carry forward unused losses indefinitely.

What is the wash sale rule?

The wash sale rule prevents you from claiming a loss if you buy the same or substantially identical security within 30 days before or after the sale. You must wait 31 days or buy a different (but similar) fund to avoid this rule.

Is tax-loss harvesting worth it?

Yes, if you're in a taxable brokerage account with losses. You can save 15-37% of your losses in taxes (depending on tax bracket). However, it doesn't work in IRAs or 401ks since those are already tax-advantaged.

What's next for you

Get your daily Investor Briefing โ€” free to start.

Every market day, CashWise tells you what happened, what it means for your money, and what to do next. In plain English.

Market pulse โ€” what moved and why
Your exposure โ€” how it affects your portfolio
Your next move โ€” one concrete action
Start free โ€” no credit cardSee what's included โ†’

No hidden incentives ยท No ad revenue ยท No broker partnerships

๐Ÿงฎ

Ready to run your numbers?

Use our free calculator to see exactly how fast you'll reach your goal.

Try the Calculator โ†’
โ† Back to all lessons
CalculatorsLearnPricingSupportTermsPrivacyDisclaimer

ยฉ 2026 CashWise. No hidden incentives ยท No ad revenue ยท No broker partnerships