Decision Guide · Reviewed 3 October 2026
Sell losses to offset gains, reduce taxable income, and maintain portfolio allocation—every tax year.
Tax-loss harvesting is one of the few tax-reduction strategies available to any investor with a taxable account. Selling underwater securities to capture losses can cut this year's tax; much of the benefit is a deferral, because the replacement holding carries a lower cost basis. The key is discipline and wash-sale awareness.
The core strategy
Harvest losses: Sell any security trading below cost basis. Capture the capital loss. Immediately buy a similar but not substantially identical asset (buying the same one within 30 days triggers the wash-sale rule). Result: you've locked in a tax loss while maintaining your portfolio.
Offset gains: Use captured losses to offset any capital gains (long-term or short-term) you've realized during the year. Dollar-for-dollar reduction in taxable capital gains. The capital gains calculator shows the tax a given gain would trigger, and so how much a harvested loss could save.
Reduce ordinary income: Losses exceeding gains deduct against ordinary income, up to $3,000 a year ($1,500 if married filing separately). Excess losses carry forward to later years.
Scenario: $1M portfolio with diversified holdings
| Holding | Cost Basis | Current Value | Gain/(Loss) |
|---|---|---|---|
| Total Market ETF | $150,000 | $152,000 | +$2,000 |
| Tech Sector ETF | $200,000 | $175,000 | −$25,000 |
| Individual Dividend Stock | $100,000 | $95,000 | −$5,000 |
| Bonds ETF | $300,000 | $298,000 | −$2,000 |
| International Stocks | $250,000 | $280,000 | +$30,000 |
Tax-loss harvesting example
Year gains realized: Sold the whole international position ($280K), realizing its $30K long-term gain (tax: $4,500 at 15%).
Without harvesting: Taxable gain = $30,000 → Tax = $4,500
With harvesting: Sell tech sector (−$25K loss) and dividend stock (−$5K loss) = −$30,000 losses. Use $30K losses to offset $30K gain = $0 taxable gain → Tax = $0. Save: $4,500.
How to reinvest without wash-sale violation: After selling the tech sector ETF, immediately buy a different tech ETF (or broad market) to maintain allocation. Same for the individual stock—buy a similar dividend stock or a dividend ETF.
How to execute safely (avoid wash-sale penalties)
Wash-sale rule: If you sell a security at a loss, you cannot buy the same or "substantially identical" security within 30 days before or after (61-day window total). A violation disallows the loss and adds it to the new cost basis (delayed tax benefit, not eliminated). Exceptions: if the replacement is bought in your IRA or Roth IRA, the loss is not added to any basis and is effectively lost; purchases by your spouse also count.
- Exact same ticker (QQQ)? Wait more than 30 days or buy a different ETF (e.g. VGT, a different tech-heavy fund).
- Same individual stock (Apple)? Sell Apple, wait 30 days, or buy a tech ETF instead.
- Same sector/type? Different tickers are not automatically safe: the IRS looks at all the facts. VTSAX and VTI are two share classes of the same total-US-stock fund, so they are likely to be treated as substantially identical. Be careful.
- Safest approach: Sell at loss on Monday. Buy a different fund (same asset class, different manager/holdings) on Tuesday. Wait the full 30 days before repurchasing the original fund if desired.
Annual harvest calendar
- September–November: Identify underwater positions (losses > 5% of cost basis). Prioritize largest unrealized losses.
- November–December: Execute harvests. Reinvest immediately in similar (but not identical) holdings.
- January–February: Stay out of originally harvested securities during the 30-day window. Monitor for wash-sale risks.
- March–December: Resume normal rebalancing and reinvesting.
- Year-end: Tally all gains and losses for tax reporting. Your broker sends Form 1099-B; you report sales on Form 8949 and Schedule D.
When NOT to harvest (or delay harvesting)
- No gains to offset: If you've realized no capital gains, harvesting only offsets $3K ordinary income (rest carries forward). Benefit is reduced but still valuable.
- Within tax-advantaged accounts: Losses and gains in 401k/IRA don't trigger capital gains tax. Harvesting is pointless (no tax benefit). But your losses are also irrelevant—account is tax-deferred anyway.
- Short-term replacement gains: The replacement holding starts a new holding period, so if it rises and you sell within a year, the gain is short-term (taxed at ordinary rates).
- Concentrated positions (25%+ of portfolio): Harvesting forces diversification, which may be good for risk management but reduces your hedge position. Consider tax cost vs. diversification benefit.
Tax benefit scenarios (taxable brokerage account)
| Scenario | Realized Gain | Harvested Loss | Taxable Capital Gain | Tax at 15% |
|---|---|---|---|---|
| No harvest | $50,000 | $0 | $50,000 | $7,500 |
| Harvest $30K loss | $50,000 | $30,000 | $20,000 | $3,000 |
| Harvest $50K loss | $50,000 | $50,000 | $0 | $0 |
| Harvest $70K loss | $50,000 | $70,000 | $0 ($20K net loss: $3K vs. ordinary income, $17K carried forward) | $0 cap gains + $3K ord. income reduction |
Tools to track and plan
- Your broker's unrealized gain/loss report
- Spreadsheet model comparing tax benefit vs. transaction costs (commissions, if any, and bid-ask spreads)
- Mark harvested securities and 30-day windows on a calendar to avoid wash-sale violations
Disclaimer: Tax-loss harvesting has complex wash-sale and timing rules. Consult a tax professional (CPA/tax attorney) before implementing, especially for large portfolios or complicated scenarios. This is educational information, not tax advice.