Tax-Loss Harvesting: Turn Investment Losses Into Tax Savings
Learn how tax-loss harvesting works, the wash-sale rule, how to use harvested losses to offset gains and income, and when this strategy makes the most sense.
The Strategy That Profits From Paper Losses
In 2022, the S&P 500 fell over 18%. For most investors, that was painful. For tax-aware investors, it was an opportunity worth tens of thousands of dollars. Tax-loss harvesting — strategically selling investments at a loss to generate tax benefits — is one of the few techniques that can turn a portfolio decline into a measurable financial gain. Studies suggest consistent tax-loss harvesting can add 0.5% to 1.5% in after-tax returns annually.
The Mechanics: How It Actually Works
The process involves three steps:
- Step 1 — Identify: Find investments in your taxable account sitting at a loss relative to your cost basis (what you paid for them).
- Step 2 — Sell: Realize the loss by selling those securities. This locks in the tax loss on paper into an actual recognized loss.
- Step 3 — Replace: Immediately reinvest the proceeds into a similar (but not substantially identical) security to maintain your market exposure while the loss is being recognized.
The IRS treats capital losses as first offsetting capital gains of the same type (short-term against short-term, long-term against long-term). After netting gains and losses within each category, net losses can offset gains in the other category. Any remaining net loss offsets up to $3,000 of ordinary income per year. Losses beyond $3,000 carry forward indefinitely to future tax years.
Short-Term vs. Long-Term: Why It Matters
| Loss Type | Held Less Than 1 Year | Held More Than 1 Year |
|---|---|---|
| What it offsets first | Short-term capital gains (taxed as ordinary income) | Long-term capital gains (preferential tax rates) |
| Tax rate offset | Up to 37% (depending on income bracket) | Up to 20% (plus 3.8% NIIT for high earners) |
| Value of $10,000 loss | Up to $3,700 in tax savings | Up to $2,380 in tax savings |
Short-term losses are generally more valuable because they offset income taxed at higher ordinary rates. Prioritize harvesting short-term losses against short-term gains whenever possible.
The Wash-Sale Rule: The Critical Restriction
The IRS wash-sale rule prohibits claiming a tax loss if you buy a "substantially identical" security within 30 days before or after the sale — a 61-day window total. This prevents investors from selling an investment purely for the tax loss and immediately buying it back.
Violations of the wash-sale rule don't eliminate the loss — they defer it. The disallowed loss is added to the cost basis of the repurchased security, meaning you'll eventually recognize it when you sell that security. But in the meantime, you lose the current-year tax benefit.
How to Stay Compliant While Maintaining Exposure
- Sell Vanguard S&P 500 ETF (VOO) and buy iShares S&P 500 ETF (IVV) — different funds tracking the same index are not substantially identical
- Sell a Total US Market fund and buy an S&P 500 fund — covers approximately the same stocks but is a different fund
- Sell individual stock and buy a sector ETF — eliminates concentration but maintains sector exposure
- Wait 31 days and repurchase the original security
Mutual funds from the same family tracking the same index (e.g., two Vanguard S&P 500 funds) could be considered substantially identical. Use different fund families or ETFs vs. mutual funds to be safe.
Tax-Loss Harvesting in Practice: A Scenario
An investor has the following situation in November:
- Realized short-term gains: $25,000 (from selling appreciated stock earlier in the year)
- Taxable income bracket: 32%
- Portfolio holding: Technology ETF purchased for $80,000, now worth $60,000 (a $20,000 unrealized loss)
By selling the technology ETF and purchasing a different-but-similar technology ETF immediately:
- $20,000 loss offsets $20,000 of short-term gains
- Tax saving: $20,000 × 32% = $6,400
- Market exposure maintained through similar fund
- Cost basis in new fund: $60,000 (the loss is deferred, not eliminated)
When Tax-Loss Harvesting Makes the Most Sense
| Situation | High Value? | Reason |
|---|---|---|
| High ordinary income year with short-term losses | Very High | Maximum rate offset |
| Large realized capital gains in same year | Very High | Direct dollar-for-dollar offset |
| Low income year approaching | Lower | Future losses may offset higher-rate gains |
| Tax-deferred accounts (IRA, 401k) | Not Applicable | No taxable gains or losses in these accounts |
| Securities held at a gain | Not Applicable | Can't harvest gains as losses |
Robo-Advisors and Automated Harvesting
Platforms like Betterment, Wealthfront, and Schwab Intelligent Portfolios offer automated daily tax-loss harvesting. Algorithms scan portfolios daily for harvesting opportunities, execute trades, and replace with similar securities — far more frequently than most individuals do manually. For high-net-worth taxable accounts, this automation can add meaningful after-tax value over time.
The limitation: automated systems still require users to avoid wash-sale violations in other accounts (traditional or Roth IRA, 401k) holding the same or substantially identical securities.
Disclaimer: Tax-loss harvesting has specific IRS rules and tax implications that vary by situation. This article is for educational purposes only. Consult a qualified tax professional before implementing any tax strategy.
Related Articles
taxes
1099 Contractor Taxes: Quarterly Payments, Safe Harbor, and Schedule C
Independent contractors must pay estimated taxes quarterly and file Schedule C. Learn 2024 deadlines, safe harbor rules, 1099-NEC vs. 1099-MISC differences, and penalty avoidance.
9 min read
taxes
Bonus Depreciation 2024: 60% Rate, Phase-Down Schedule, and Qualified Property
Bonus depreciation drops to 60% in 2024, 40% in 2025, and 20% in 2026. Learn qualified property rules, anti-churning provisions, and how to plan around the phase-down.
9 min read
taxes
Capital Gains Tax Explained: Rates, Rules, and How to Minimize It
Understand how capital gains tax works, the difference between short-term and long-term rates, special rules for home sales, and legal strategies to reduce your bill.
9 min read
taxes
Charitable Giving and Taxes: Deductions, Donor-Advised Funds, and QCDs
Donating to charity can reduce your tax bill significantly — if you use the right strategies. Learn how charitable deductions work, how donor-advised funds amplify benefits, and what qualified charitable distributions offer retirees.
9 min read