Learn›Investment›Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings
intermediate3 min read

💸 Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings

Your portfolio is down $10,000. You can use that loss to save $3,000+ on taxes. Here's how tax-loss harvesting works—and the wash sale rule that trips everyone up.

Reading time: 3 minutes

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 This | Buy This Instead | |-----------|------------------| | VTI (Vanguard Total Market) | ITOT (iShares Total Market) | | VOO (S&P 500) | IVV (iShares S&P 500) | | QQQ (Nasdaq) | ONEQ (Nasdaq equivalent) | | Apple | Microsoft (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

Here's a power move:

Step 1: Harvest $20,000 in losses

Step 2: Convert $20,000 from Traditional IRA to Roth IRA

Result:

The Roth conversion creates $20,000 in taxable income.
Your harvested losses offset that $20,000.

Net taxes owed: $0

You just moved $20,000 into a Roth IRA tax-free.

This is advanced, but incredibly powerful.

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)

2023-2028: Deduct $3,000/year against income (24% bracket) = $4,320 saved over 6 years

Total tax savings: $8,320

The $20,000 loss generated $8,320 in tax benefits.

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 96% of stock pickers lose to index funds.

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.

🧮

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