Key Takeaways
- Tax-loss harvesting lets you offset capital gains by selling investments at a loss, reducing your taxable income.
- You can deduct up to $3,000 of net capital losses against ordinary income per year, with excess losses carried forward indefinitely.
- The IRS wash-sale rule prohibits repurchasing a "substantially identical" security within 30 days before or after a loss sale.
- Average estimated tax savings from loss harvesting have grown from $2,400 in 2018 to $7,800 in 2024, driven by market volatility.
- Combining tax-loss harvesting with tax-advantaged accounts maximizes your overall tax efficiency strategy.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is a strategy where investors sell securities that have declined in value to realize a capital loss. That loss is then used to offset capital gains elsewhere in your portfolio—or even reduce ordinary income. The result? A lower tax bill, and potentially a larger refund at year-end.
This isn't a loophole. It's a fully legal, IRS-recognized approach that sophisticated investors have used for decades. And with the rise of automated investing platforms, it's now accessible to everyday investors too. If you're building a diversified investment portfolio on a budget, tax-loss harvesting is one of the most powerful tools in your financial toolkit.
How Tax-Loss Harvesting Actually Works
Here's a simplified example: Suppose you bought 100 shares of Company A at $50 each (total: $5,000). The price drops to $35. You sell and realize a $1,500 capital loss. That loss can be used to:
- Offset capital gains dollar-for-dollar from other investments you've sold at a profit.
- Reduce ordinary income by up to $3,000 per year if your losses exceed your gains.
- Carry forward any remaining losses to future tax years with no expiration.
After selling, you reinvest the proceeds into a similar (but not identical) asset to maintain your market exposure. This is critical—if you buy back the same stock within 30 days, you trigger the wash-sale rule and lose your deduction.
Understanding the Wash-Sale Rule
The IRS wash-sale rule (Section 1091) disallows a tax loss if you buy a "substantially identical" security within 30 days before or after the sale. This applies to:
- Stocks and bonds
- Options and warrants on the same security
- Mutual funds with near-identical holdings
However, ETFs tracking different but similar indexes generally do not trigger wash-sale rules. For example, selling the Vanguard S&P 500 ETF (VOO) and buying the iShares Core S&P 500 ETF (IVV) is typically considered acceptable, since these are issued by different companies—though tax professionals debate the edge cases.
Pro tip: Cryptocurrency is not currently subject to wash-sale rules under U.S. law, making it especially flexible for loss harvesting purposes—though legislation may change this.
Short-Term vs. Long-Term Capital Losses: What's the Difference?
Not all losses are created equal. The IRS treats short-term losses (assets held under one year) and long-term losses (assets held over one year) differently:
- Short-term losses first offset short-term gains, which are taxed as ordinary income (up to 37%).
- Long-term losses first offset long-term gains, taxed at preferential rates (0%, 15%, or 20%).
Short-term losses are generally more valuable because they shield income taxed at higher rates. When harvesting, prioritize selling assets held less than a year if you have significant short-term gains to offset.
Average Annual Tax Savings from Loss Harvesting
The estimated tax savings from tax-loss harvesting strategies have grown significantly over recent years, driven by increased market volatility and broader investor adoption of the technique.
| Year | Average Tax Savings (USD) | Year-over-Year Change |
|---|---|---|
| 2018 | $2,400 | — |
| 2019 | $2,850 | +18.8% |
| 2020 | $3,600 | +26.3% |
| 2021 | $4,200 | +16.7% |
| 2022 | $5,100 | +21.4% |
| 2023 | $6,300 | +23.5% |
| 2024 | $7,800 | +23.8% |
Source: AI-generated estimate for illustrative purposes only. Individual results vary based on portfolio size, tax bracket, and market conditions.
Step-by-Step Tax-Loss Harvesting Strategy
Step 1: Review Your Portfolio for Losses
At least quarterly—and especially during market downturns—scan your taxable brokerage accounts for positions sitting at a loss. Focus on positions where the loss is meaningful (typically $500+) relative to transaction costs.
Step 2: Calculate Your Net Capital Gain Position
Before selling anything, tally your realized gains for the year. If you've already taken $10,000 in gains, you know how much loss harvesting is beneficial. Use your brokerage's tax center or consult a CPA for accuracy.
Step 3: Execute the Sale and Reinvest Immediately
Sell the losing position and immediately reinvest in a comparable (non-identical) security. This keeps you fully invested while locking in the tax loss. Time in the market matters—don't sit in cash for 30 days waiting to repurchase.
Step 4: Document Everything
Keep records of purchase dates, cost basis, sale prices, and reinvestment decisions. Your brokerage should issue a 1099-B, but your own records provide backup and help you track carry-forward losses year to year.
Step 5: Report on Your Tax Return
Capital gains and losses are reported on IRS Schedule D. Net losses up to $3,000 flow to your Form 1040 as a deduction against ordinary income. Excess losses carry forward to the next tax year automatically.
Combining Tax-Loss Harvesting with Tax-Advantaged Accounts
Tax-loss harvesting only applies to taxable brokerage accounts—not IRAs, 401(k)s, or other tax-sheltered vehicles. But the two strategies work powerfully in tandem. You can read our complete guide to tax-advantaged retirement accounts to understand how to allocate assets optimally across account types.
A common approach: hold tax-efficient index funds in taxable accounts (easier to harvest) and place higher-turnover, dividend-heavy investments inside IRAs or 401(k)s where gains aren't taxable annually.
Automated Tax-Loss Harvesting Tools
Robo-advisors like Betterment and Wealthfront offer automated tax-loss harvesting as a core feature, scanning your portfolio daily and executing harvests when thresholds are met. For self-directed investors, Betterment's Tax Loss Harvesting+ feature provides a strong benchmark for what automation can deliver.
If you prefer a DIY approach, pairing your strategy with AI-powered investment portfolio tools can help you identify loss-harvesting opportunities and maintain your target allocation simultaneously.
Common Mistakes to Avoid
- Triggering the wash-sale rule by repurchasing the same ETF too quickly.
- Harvesting losses in tax-advantaged accounts where the deduction has no effect.
- Ignoring state taxes —some states don't allow capital loss deductions, reducing the benefit.
- Over-trading to generate losses, which increases transaction costs and disrupts your investment strategy.
- Forgetting carry-forward losses from prior years, which can be applied to current-year gains.
Frequently Asked Questions
Can I harvest losses in my IRA or 401(k)?
No. Tax-loss harvesting only benefits taxable brokerage accounts. Losses inside tax-deferred or tax-exempt accounts have no impact on your annual tax bill because gains and losses inside these accounts are not reported on your personal return each year.
How much can I deduct in capital losses per year?
You can offset unlimited capital gains with capital losses. If your losses exceed your gains, you can deduct up to $3,000 of the remaining net loss against ordinary income annually. Any losses beyond $3,000 carry forward to future tax years indefinitely.
Does tax-loss harvesting only make sense during market downturns?
Not exclusively. Even in bull markets, individual holdings within a portfolio can decline. Regular portfolio reviews throughout the year often reveal harvesting opportunities regardless of overall market direction. The strategy is most powerful during volatile or bear market periods.
What is a "substantially identical" security under the wash-sale rule?
The IRS hasn't fully defined this term, but it generally includes the same stock, bonds, or mutual funds. Switching between ETFs from different providers tracking similar (but not identical) indexes is typically considered acceptable. Always consult a tax professional for borderline cases.
Can I use tax-loss harvesting on cryptocurrency?
Yes, and it's currently more flexible than stocks. As of 2024, the IRS wash-sale rule does not apply to cryptocurrency, meaning you can sell a crypto asset at a loss and immediately repurchase it. However, proposed legislation may change this in coming years—stay updated via the IRS Virtual Currency guidance.




Comments
No comments yet. Be the first to share your thoughts.