Investment Strategy

Tax-Loss Harvesting: Complete Strategy Guide for Investors

By Editorial Team — reviewed for accuracy Updated
Last reviewed:

Data Notice: Figures, rates, and statistics cited in this article are based on the most recent available data at time of writing and may reflect projections or prior-year figures. Always verify current numbers with official sources before making financial, medical, or educational decisions.

This article is for educational purposes and does not constitute financial advice. Consult a licensed financial professional for personalized guidance.

Tax-Loss Harvesting: Complete Strategy Guide for Investors

Tax-loss harvesting is one of the most powerful — and most misunderstood — tools in a taxable investor’s toolkit. At its core, the strategy is simple: sell investments that are currently at a loss to offset capital gains (and up to $3,000 of ordinary income) on your tax return. The savings compound over time. Academic research suggests systematic tax-loss harvesting can add ~0.5-1.5% in after-tax returns annually for investors in higher tax brackets, depending on market volatility and portfolio size.

This guide explains exactly how tax-loss harvesting works, the critical wash sale rule you must follow, year-end and year-round strategies, which automated platforms handle it best, and when the strategy makes sense for your situation.

What Is Tax-Loss Harvesting?

Tax-loss harvesting is the practice of deliberately selling an investment that has declined in value below your cost basis (the price you originally paid) to realize a capital loss. That realized loss can then be used on your tax return to:

  1. Offset capital gains — dollar for dollar, losses cancel out gains. Short-term losses offset short-term gains first (which are taxed at your ordinary income rate, up to ~37% in 2026), and long-term losses offset long-term gains (taxed at ~0%, ~15%, or ~20% depending on income).
  2. Deduct against ordinary income — if your losses exceed your gains, you can deduct up to $3,000 per year ($1,500 if married filing separately) against ordinary income like wages or business income.
  3. Carry forward indefinitely — unused losses beyond the $3,000 annual cap carry forward to future tax years with no expiration. A large loss in a down market can provide tax benefits for years to come.

A Simple Example

You bought 100 shares of a broad market ETF at $200/share ($20,000 total). The market drops and they’re now worth $170/share ($17,000). You sell, realizing a $3,000 loss. You immediately buy a similar — but not “substantially identical” — ETF to stay invested in the market.

On your tax return, that $3,000 loss offsets $3,000 of capital gains or ordinary income. If you’re in the 24% federal tax bracket, that’s ~$720 in tax savings. If it offsets short-term gains taxed at 37%, the savings jump to ~$1,110. Meanwhile, your money stays fully invested in the market.

How Tax-Loss Harvesting Works: Step by Step

Step 1: Identify Positions with Unrealized Losses

Review your taxable brokerage accounts (not retirement accounts — losses in IRAs and 401(k)s have no tax benefit) for any position where the current market value is below your cost basis. Most brokerages show unrealized gain/loss in the account dashboard.

Focus on positions with meaningful losses — a $50 loss on a small holding is not worth the transaction and tracking cost.

Step 2: Sell the Losing Position

Execute the sale to realize the loss. Be mindful of lot selection: if you purchased shares at different times and prices, you can choose which specific lots to sell (specific identification method) to maximize the loss. Your broker’s tax lot selection tool lets you pick the highest-cost-basis lots.

Step 3: Replace with a Similar (Not Identical) Investment

To maintain your asset allocation and market exposure, immediately buy a replacement investment that provides similar but not “substantially identical” exposure. For example:

  • Sell the Vanguard S&P 500 ETF (VOO) at a loss, buy the Schwab U.S. Broad Market ETF (SCHB) or iShares Core S&P 500 ETF (IVV) as a replacement
  • Sell Vanguard Total International (VXUS) at a loss, buy iShares Core MSCI International (IXUS)
  • Sell an individual stock at a loss, buy a sector ETF that provides similar exposure

Step 4: Wait 30 Days Before Repurchasing the Original

After 30 days, you can sell the replacement and repurchase your original holding if you prefer it. Many investors simply keep the replacement, since broad index funds tracking similar benchmarks produce nearly identical returns.

Step 5: Record Everything for Tax Filing

Your broker issues a 1099-B reporting the sale. Losses are reported on Schedule D and Form 8949. Keep records of the replacement purchase and the dates to prove wash sale compliance.

The Wash Sale Rule: The Critical Constraint

The wash sale rule (IRS Section 1091) is the single most important rule in tax-loss harvesting. It states: if you sell a security at a loss and buy a “substantially identical” security within 30 days before or after the sale, the loss is disallowed.

This creates a 61-day window (30 days before the sale + the sale day + 30 days after) during which you cannot purchase the same or substantially identical security.

What Counts as “Substantially Identical”?

The IRS has never published a definitive list, but guidance and court precedent establish:

  • Same stock or bond — obviously identical. Selling Apple and buying Apple within 30 days triggers a wash sale.
  • Same mutual fund or ETF — selling Vanguard S&P 500 (VOO) and buying Vanguard S&P 500 (VOOIX, the mutual fund share class) is substantially identical.
  • Options on the same security — selling a stock at a loss and buying a call option on the same stock within 30 days triggers a wash sale.

What is generally not considered substantially identical:

  • Different index funds tracking different indexes — VOO (S&P 500) and VTI (Total Stock Market) track different indexes and are generally considered different enough, though this is a gray area.
  • Sector ETFs vs. broad market ETFs — clearly different.
  • Individual stocks vs. ETFs containing that stock — selling Apple stock at a loss and buying a tech ETF that holds Apple is generally safe, as the ETF is diversified.

Wash Sale Traps to Avoid

  • Automatic dividend reinvestment (DRIP): If your sold position had DRIP enabled and a dividend reinvests within the 30-day window, that small purchase triggers a partial wash sale. Turn off DRIP before harvesting.
  • Spouse’s accounts: Wash sale rules apply across your spouse’s accounts if filing jointly. You sell VOO at a loss, and your spouse buys VOO the next day — wash sale.
  • IRA purchases: Buying the same security in your IRA within 30 days of selling it at a loss in a taxable account triggers a wash sale — and the loss is permanently disallowed (it does not add to the IRA basis).
  • 401(k) contributions: If your 401(k) target-date fund buys the same fund you just harvested a loss on, this may trigger a wash sale. This area is murky and often goes undetected, but be aware.

Year-End Tax-Loss Harvesting Strategies

The December Harvest

The most common approach: review your portfolio in late November or early December for any positions sitting at a loss. Sell before December 31 to realize the loss in the current tax year. This is straightforward but leaves money on the table — losses that existed in March or July may have recovered by December.

Pair Gains and Losses

If you realized significant capital gains earlier in the year (from selling a property, exercising stock options, or rebalancing), December is your last chance to offset those gains. Calculate your net gains for the year and harvest enough losses to zero them out — or bring them down to the long-term capital gains rate threshold.

Harvest Even Without Gains

Even if you have no capital gains to offset, harvest up to $3,000 in losses to deduct against ordinary income. At a ~32% marginal rate, that’s ~$960 in savings. Carry forward any excess for future years.

Year-Round Tax-Loss Harvesting: The Better Approach

Sophisticated investors and robo-advisers don’t wait until December. They monitor portfolios continuously and harvest losses whenever they appear — often after market dips of ~5% or more. Research from Wealthfront suggests that year-round harvesting captures ~2-5x more losses than December-only harvesting, because many losses appear mid-year during volatility and reverse by year-end.

How to Implement Year-Round Harvesting Manually

  1. Set calendar reminders to review positions monthly
  2. After any market drop of ~5% or more, check your portfolio for harvestable losses
  3. Keep a spreadsheet tracking your wash sale windows — the 61-day exclusion periods for each security
  4. Track replacement positions so you know when the 30-day window has passed and you can swap back if desired

This is tedious, which is exactly why automated platforms have become popular.

Automated Tax-Loss Harvesting Platforms

Several robo-advisers and brokerage platforms now automate the entire tax-loss harvesting process. They monitor daily, execute swaps automatically, track wash sale windows, and handle the recordkeeping.

Wealthfront

Wealthfront pioneered automated tax-loss harvesting for retail investors. Their system scans portfolios daily and harvests losses whenever the tax benefit exceeds transaction costs. They use a pre-defined set of replacement ETFs for each asset class. Wealthfront claims their system generates ~1.0-2.0% in additional after-tax returns annually for typical clients, though actual results vary by market conditions and tax bracket. Management fee: ~0.25% of assets annually.

For accounts above ~$100,000, Wealthfront offers “Direct Indexing” — buying individual stocks instead of ETFs to create hundreds of additional harvesting opportunities from individual stock movements.

Betterment

Betterment offers tax-loss harvesting on all taxable accounts at no additional cost beyond their standard ~0.25% management fee. Their system harvests losses at both the asset-class level (swapping between similar ETFs) and performs portfolio-wide tax coordination across your taxable, IRA, and 401(k) accounts to place the most tax-inefficient assets in tax-advantaged accounts.

Betterment estimates their tax-coordinated portfolio approach adds ~0.48% annually in after-tax value, with tax-loss harvesting adding an additional ~0.77% — though these figures are modeled estimates and individual results vary.

Vanguard Digital Advisor

Vanguard’s robo-adviser (minimum ~$3,000, fee ~0.20%) includes basic tax-loss harvesting that swaps between Vanguard ETFs. Less aggressive than Wealthfront or Betterment, but lower fees and backed by Vanguard’s scale.

Schwab Intelligent Portfolios

Schwab’s robo-adviser is fee-free (no advisory fee) and includes tax-loss harvesting for accounts over ~$50,000. The trade-off: Schwab allocates a meaningful portion to cash (held in Schwab’s bank), which creates a drag on returns.

Fidelity Go

Fidelity’s managed account service (no fee under ~$25,000, then ~0.35%) includes basic tax-loss harvesting with automatic replacement of Fidelity index funds.

When Tax-Loss Harvesting Makes Sense

Tax-loss harvesting is not a universal strategy. It works best in specific situations:

Ideal Candidates

  • High-income earners in the ~32-37% federal brackets — the tax savings per dollar of harvested loss are largest
  • Investors with significant taxable brokerage accounts ($100,000+) — more positions mean more harvesting opportunities
  • Investors who realized large capital gains from stock sales, real estate, or option exercises — harvested losses directly offset these gains
  • Long time horizons — more years of compounding the tax savings

When It May Not Be Worth It

  • Low tax brackets — if you’re in the ~10-12% bracket, the tax savings per harvested dollar are small, and the complexity may not be worth it
  • Small taxable accounts — limited positions and small dollar amounts mean limited opportunities
  • Investors planning to donate or bequeath appreciated holdings — donated stock avoids capital gains entirely, and inherited stock gets a stepped-up basis, so harvesting losses today to defer gains you’ll never pay anyway is counterproductive
  • Frequent traders — the wash sale tracking becomes a nightmare and the compliance risk increases

Tax Deferral, Not Tax Elimination

An important nuance: tax-loss harvesting primarily defers taxes rather than eliminating them. When you sell a losing position and buy a replacement, your new cost basis is lower. When you eventually sell the replacement at a profit, you’ll owe capital gains tax on a larger gain. However, deferral is still valuable because:

  • A dollar saved today is worth more than a dollar paid in the future (time value of money)
  • You may be in a lower tax bracket when you eventually realize the gain (in retirement, for example)
  • Gains may qualify for the ~0% long-term capital gains rate if your income drops sufficiently
  • You may donate the appreciated replacement to charity and avoid the gain entirely
  • The stepped-up basis at death eliminates deferred gains for your heirs

For a detailed breakdown of how capital gains tax rates interact with harvesting strategy, see the capital gains tax rules on Taxo.

Common Mistakes to Avoid

Harvesting Losses in Retirement Accounts

Losses realized inside IRAs, 401(k)s, or other tax-deferred accounts have zero tax benefit. Only harvest in taxable brokerage accounts.

Ignoring State Taxes

If you live in a high-tax state (California at ~13.3%, New York City at ~12.7% combined state and city), the benefit of harvesting is significantly larger than federal-only analysis suggests. A $10,000 harvested loss in the ~37% federal + ~13% state bracket saves ~$5,000 in taxes.

Forgetting About Net Investment Income Tax

High earners pay an additional 3.8% net investment income tax (NIIT) on capital gains above certain thresholds ($200,000 single, ~$250,000 married). Harvested losses offset gains subject to NIIT, making the effective savings even larger.

Over-Harvesting and Basis Erosion

Aggressively harvesting every small loss creates dozens of low-basis replacement positions. If your life circumstances change and you need to liquidate, you’ll face a large concentrated tax bill. Harvest strategically, not compulsively.

Tax-Loss Harvesting Checklist

  • Review taxable accounts for unrealized losses (monthly or after market drops)
  • Identify positions with losses exceeding ~$500 (below this, the benefit may not justify the effort)
  • Check the wash sale calendar — ensure you haven’t purchased the same security in the prior 30 days
  • Turn off DRIP on any position you plan to harvest
  • Select specific high-cost-basis tax lots for sale
  • Buy a similar but not substantially identical replacement immediately
  • Record the sale date, loss amount, replacement security, and 30-day window end date
  • Report on Schedule D and Form 8949 at tax time
  • Carry forward unused losses exceeding the $3,000 annual cap

Key Takeaways

Tax-loss harvesting is a proven strategy for improving after-tax returns in taxable accounts. The mechanics are simple — sell losers, buy similar replacements, deduct the losses — but the execution requires discipline around the wash sale rule and consistent monitoring. For investors with $100,000+ in taxable accounts and income in the higher brackets, the annual benefit of ~0.5-1.5% in additional after-tax returns compounds meaningfully over decades. Automated platforms like Wealthfront and Betterment have made the strategy accessible to investors who don’t want to manage it manually, typically for ~0.25% annually in advisory fees — a cost that’s usually well below the tax savings generated.

The bottom line: if you have a taxable brokerage account and you’re not harvesting losses, you’re likely leaving money on the table every year.

Additional Resources

  • Capital gains tax strategies on Taxo — comprehensive guide to capital gains rates, brackets, and planning strategies
  • IRS Publication 550, Investment Income and Expenses — official wash sale rule guidance
  • IRS Publication 551, Basis of Assets — understanding cost basis and adjustments