Home/Decisions/Tax-loss harvesting

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

HoldingCost BasisCurrent ValueGain/(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.

Annual harvest calendar

When NOT to harvest (or delay harvesting)

Tax benefit scenarios (taxable brokerage account)

ScenarioRealized GainHarvested LossTaxable Capital GainTax 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

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.

Rebalance your allocation ↗ Calculate fee impact ↗

More on this topic

Tax on income and investments