Why harvest capital losses as part of tax planning?
Tax-loss harvesting is a targeted tax-planning tool that reduces the tax you owe by turning investment losses into a tax offset. Realizing losses lets you reduce or eliminate taxable capital gains in the same year, and if losses exceed gains you can apply up to $3,000 of net capital losses against ordinary income annually ($1,500 if married filing separately). Any remaining loss carries forward indefinitely until used. This strategy can lower current tax bills and improve after-tax returns without changing your long-term investment allocation when done thoughtfully (IRS, Topic No. 409; IRS, Pub. 550).
How capital losses are applied on your tax return
The IRS requires a two-step netting process:
- Net short-term gains and losses (assets held one year or less).
- Net long-term gains and losses (assets held more than one year).
- If one side is a net loss and the other a net gain, they offset each other; the result is your net capital gain or loss for the year.
If you end the year with a net capital loss, you can deduct up to $3,000 of that loss against ordinary income and carry the remainder forward (IRS, Topic No. 409). Realized gains and losses are reported on Form 8949 and summarized on Schedule D of Form 1040.
Practical techniques for harvesting losses
-
Year‑end review: Run a tax-aware review in October–December. Markets move quickly; reviewing holdings in the fourth quarter helps identify losses you can reasonably realize before year-end.
-
Tax‑lot selection: When you sell partial positions, choose which tax lots to sell. Prioritize lots with losses that offset short‑term gains first (short-term gains are taxed at higher ordinary rates). See strategies for selecting tax lots in our primer on optimizing tax lots: https://finhelp.io/glossary/optimizing-tax-lots-to-minimize-capital-gains/
-
Pairing gains and losses: Realize losses near the time you realize gains. If you expect a big taxable gain (e.g., sale of an appreciated holding), harvest losses beforehand to neutralize or reduce the tax impact.
-
Replace rather than repurchase (avoid wash sales): If you want to remain invested in a sector, buy a similar—but not “substantially identical”—security immediately after selling at a loss. For example, sell an S&P 500 fund and buy a total‑market or large‑cap ETF that isn’t the same fund. This keeps market exposure while preserving the loss. Note: the wash sale rule disallows a loss if you buy a substantially identical security within 30 days before or after the sale, or if your IRA or an account you control purchases the same security in that window (IRS, Pub. 550).
-
Use tax‑aware rebalancing: When you rebalance, harvest losses from underperforming taxable holdings first. Reinvest proceeds into vehicles that fit your strategic allocation but aren’t substantially identical to recently sold lots.
-
Consider tax‑efficient vehicles: Keep growth assets in tax-advantaged accounts (IRAs, 401(k)s) when appropriate. Losses inside tax-deferred or tax-exempt accounts generally don’t create deductible tax losses (they can matter for account bookkeeping or Roth conversions, but typically don’t generate tax-deductible losses on Form 1040).
Example scenarios (simplified)
-
Offset same-year gains: You sell Stock X and realize $15,000 in long-term capital gains. You also sell Stock Y at a $6,000 loss. After netting, your taxable gain is $9,000.
-
Exceeding gains: You realize $2,000 in gains and $8,000 in losses. You use $2,000 to fully offset gains, and then deduct $3,000 against ordinary income this year. The remaining $3,000 carries forward to future tax years.
These are simplified examples for illustration. Actual tax outcomes depend on your overall income, filing status, and the character (short- vs long-term) of gains and losses.
The wash sale rule — what to watch for
A wash sale occurs when you sell a security at a loss and buy a “substantially identical” security within 30 days before or after the sale (a 61‑day window counting the sale day). If a wash sale applies, the loss is disallowed for the current tax year and is added to the basis of the new position, effectively deferring the tax benefit until that replacement position is sold. The wash sale rule also applies across accounts you control, including IRAs and spouse’s accounts. (IRS, Pub. 550)
Avoiding wash sales requires documenting differences between securities (different fund families, different tickers, or a different exposure) or waiting more than 30 days before repurchasing the same ticker.
Advanced tactics and alternatives
-
Tax‑loss ladders: Systematically harvest losses each year while staying close to your target allocation. This reduces tax drag over time.
-
Harvesting with paired buys: Buy a similar but non‑identical ETF or mutual fund to keep market exposure; later rotate back after the 31‑day window if desired.
-
Strategic charitable giving: If you hold appreciated assets you plan to give, donate the appreciated asset itself instead of selling. Donating appreciated stock avoids realizing the gain and provides a charitable deduction if you itemize. Conversely, harvesting losses from other holdings can offset gains elsewhere.
-
Coordinate across income years: Sometimes it pays to time gains in low-income years where capital gains may be taxed at lower rates. See related content on timing capital gains: https://finhelp.io/glossary/capital-gains-harvesting-vs-tax-loss-harvesting/
Common mistakes and how to avoid them
-
Ignoring the wash sale rule: Rebuying the same or substantially identical security within 30 days can disqualify your loss. Track trades carefully, including across accounts.
-
Treating tax-loss harvesting as a substitute for investment strategy: Taxes are important, but harvesting should not derail your long-term allocation or increase risk through frequent speculative trading.
-
Overlooking short-term vs long-term character: A loss on a short‑term position offsets short‑term gains before it offsets long‑term gains; misaligning tax‑lot selection can leave you with a less favorable tax outcome.
-
Expecting immediate tax refunds from losses: If you have no gains and your losses are modest, you may only reduce ordinary income by up to $3,000 per year. The rest carries forward.
Recordkeeping and reporting
Keep accurate records of purchase dates, cost basis, and trade confirmations. Disallowed losses under the wash sale rule must be tracked and adjusted to the replacement lot’s basis. Report sales on Form 8949 and Schedule D; brokers typically send Form 1099‑B with details to help complete these forms (IRS guidance: Form 8949 and Schedule D).
When to get professional help
In my practice advising clients for over 15 years, tax‑loss harvesting yields the best results when coordinated with overall financial planning: projected income, major life events, charitable goals, and retirement distributions. If you have complex holdings, concentrated positions, or cross‑account trading, consult a CPA or CFP who understands taxable account tax rules and can model long‑term after‑tax outcomes.
Quick checklist before you harvest losses
- Did you confirm the holding’s loss relative to your cost basis and tax lots?
- Would realizing the loss change your long‑term investment plan?
- Will a replacement purchase trigger a wash sale?
- Have you considered using losses to offset known gains this year or carried forward?
- Are you tracking across all accounts you control (brokerage, spouse, IRAs)?
Useful resources and further reading
- IRS — Topic No. 409, Capital Gains and Losses: https://www.irs.gov/taxtopics/tc409
- IRS — Publication 550, Investment Income and Expenses: https://www.irs.gov/publications/p550
- FinHelp glossary: Capital Gains Harvesting vs. Tax‑Loss Harvesting: https://finhelp.io/glossary/capital-gains-harvesting-vs-tax-loss-harvesting/
- FinHelp glossary: Optimizing Tax Lots to Minimize Capital Gains: https://finhelp.io/glossary/optimizing-tax-lots-to-minimize-capital-gains/
Professional disclaimer: This article is educational and does not constitute personalized tax or investment advice. Tax laws change; consult a qualified tax professional or financial planner for guidance tailored to your situation.

