What is tax loss harvesting and how can timing limit its benefits?
Tax loss harvesting means selling investments that have lost value in a taxable account to realize a loss you can use against realized capital gains and, if losses exceed gains, up to $3,000 of ordinary income per year ($1,500 if married filing separately). Any excess loss can be carried forward indefinitely to future tax years (IRS Topic 409; IRS Pub. 550). Unlike retirement accounts, losses in tax‑deferred or tax‑exempt accounts generally provide no current tax benefit.
This article explains the timing rules, practical constraints, and tradeoffs that determine whether harvesting produces real after‑tax gains. In my practice as a financial planner, clients often overestimate the tax savings while underestimating wash‑sale risk, trading friction, and the behavioral impact of changing a portfolio during volatile markets.
Core timing rules that matter
-
Wash sale window (30 days): The IRS disallows a loss deduction if you buy “substantially identical” stock or securities within 30 days before or after the sale. That creates a 61‑day window (30 days before + day of sale + 30 days after) to avoid repurchasing the same security if you want the loss to be deductible (IRS Pub. 550).
-
Year‑end realization: Losses must be realized (sale settled) in the tax year you want to use them to offset that year’s gains. For most brokerage accounts, the trade date (not settlement date) determines the tax year; confirm with your broker and tax advisor.
-
Holding period and tax rates: Short‑term losses offset short‑term gains first (taxed at ordinary rates); long‑term losses offset long‑term gains next. Where possible, match short‑term losses against short‑term gains to neutralize the most heavily taxed gains.
-
Cross‑account wash sale risks: The wash sale rule applies across all accounts you control and, in many cases, your spouse’s accounts. Buying the same or substantially identical security in an IRA within the wash sale window can permanently disallow the loss (it won’t be added to the IRA basis), so be cautious when trading across account types.
Sources: IRS Tax Topic 409 and Publication 550 (wash sales).
Practical constraints that reduce harvesting value
- Opportunity cost and market timing
Harvesting locks in a realized loss and removes market exposure. If you exit a security and the market rebounds, you’ll have to wait 31 days (or choose a non‑identical replacement) to regain similar exposure without triggering a wash sale. During that time you may miss gains, or you may pay higher transaction costs to substitute a similar ETF or stock.
- Transaction costs and bid‑ask spreads
Commissions are mostly gone at retail brokers, but bid‑ask spreads, price impact, and tax lot selection work can eat into the benefit—especially with small loss amounts. Net tax savings should exceed trading costs and any loss of expected market return.
- Substantially identical ambiguity
The IRS hasn’t given a precise definition for “substantially identical.” Swapping two funds from the same family (say, two S&P 500 ETFs) can be risky. Many planners prefer switching to a different index fund or a diversified ETF with similar exposure but not materially identical holdings to avoid disputes.
- Wash sales across related accounts
A common mistake is buying a replacement fund in an IRA or a spouse’s account within 30 days. That can disallow the deduction permanently, not merely defer it. I’ve seen clients lose a large deduction because they repurchased the same holding in their IRA immediately after selling it in a taxable account.
- State tax differences
State rules vary. Some states follow federal treatment; others have quirks. Check state rules before assuming the same benefit.
- Recordkeeping and reporting complexity
Accurate tax lot accounting (specific identification vs FIFO) is essential. If you don’t specify tax lots when trading, brokers often use FIFO, and you may unintentionally realize short‑term gains instead of long‑term gains or losses.
Practical replacement strategies
-
Use similar but not “substantially identical” ETFs: For example, sell a large‑cap U.S. total‑market fund and buy a different large‑cap or total‑market ETF from another issuer to maintain market exposure without triggering a wash sale.
-
Use broad‑market or factor‑tilted substitutes: Move from a sector ETF to a broader allocation or from a single‑country ETF to a global fund with similar beta.
-
Maintain cash if market timing or transaction costs are high: Accept the short‑term tracking error if the tax benefit doesn’t justify the risk/expense.
Timing strategies: year‑end vs year‑round harvesting
-
Year‑end clean‑up: Many investors do a tax‑loss harvest late October–December to lock losses against the year’s gains. This is useful when you have a clear view of realized gains for the year.
-
Year‑round opportunistic harvesting: Markets are volatile; harvesting when losses appear can allow you to lock them in while avoiding large year‑end scrambling. Many large custodians and robo advisers offer automated year‑round harvesting.
-
Coordinate with realized gains: If you plan to sell a holding for cash or rebalance into taxable events, use losses to offset gains in the same transaction window to minimize overall tax liability.
FinHelp internal resources: For more on operational techniques and replacement choices, see our guide “Tax‑Loss Harvesting: How to Realize Losses Without Losing Market Exposure” and the practical walkthrough “Tax‑Loss Harvesting: A Practical Guide.”
- Tax‑Loss Harvesting: How to Realize Losses Without Losing Market Exposure: https://finhelp.io/glossary/tax-loss-harvesting-how-to-realize-losses-without-losing-market-exposure/
- Tax‑Loss Harvesting: A Practical Guide: https://finhelp.io/glossary/tax-loss-harvesting-a-practical-guide/
Example: quick math
Assume you have a $10,000 long‑term capital gain and a potential $8,000 harvested long‑term loss. If your long‑term capital gains tax rate is 15%, the tax on the $10,000 gain is $1,500. After applying the $8,000 loss, your net gain is $2,000 and tax is $300 — a $1,200 tax savings. Subtract trading costs and potential tracking error; if those exceed $1,200, the harvest wasn’t beneficial.
Also remember: if losses exceed gains, up to $3,000 annually can offset ordinary income. The rest carries forward.
Tax lot selection and reporting
-
Specific identification: Instruct your broker which lots you’re selling (longest‑held lots first to capture long‑term treatment). Wrong lot selection can accidentally realize short‑term gains that are taxed at higher rates.
-
Form 8949 and Schedule D: Report sales on Form 8949 and summarize on Schedule D. Provide your CPA with a detailed trade ledger so wash sales and basis adjustments are handled properly.
Common mistakes I see in practice
- Triggering wash sales by buying replacements in IRAs or across spouse accounts.
- Chasing small losses where trading costs exceed tax benefit.
- Forgetting to specify tax lots and losing long‑term treatment.
- Harvesting without considering future tax planning (e.g., Roth conversions in low‑income years).
When harvesting is not worthwhile
- When losses are small and trading friction consumes the expected tax benefit.
- When the taxable account is small relative to the rest of your portfolio and the operational effort creates behavioral risks.
- When rebalancing and portfolio drift suggest other tax‑aware moves (e.g., moving growth assets into tax‑advantaged accounts) are higher priority.
Practical checklist before you harvest
- Confirm realized gains for the year and target which losses will offset the highest‑taxed gains.
- Check the 30‑day wash sale window across all accounts (taxable, IRAs, HSAs) and your spouse’s accounts.
- Decide on a replacement security that is not substantially identical but preserves desired exposure.
- Estimate trading costs and possible tracking error; compare to expected tax savings.
- Document tax lot instructions with your broker.
- Keep records for tax reporting and discuss with your tax advisor.
Professional disclaimer
This article is educational and not individualized tax advice. Tax law changes and individual circumstances vary; consult a qualified tax professional or CPA before implementing tax‑loss harvesting strategies. For IRS guidance see Tax Topic 409 and Publication 550.
Sources and further reading
- IRS, Tax Topic 409: Capital Gains and Losses: https://www.irs.gov/taxtopics/tc409
- IRS Publication 550, Investment Income and Expenses (wash sale rules): https://www.irs.gov/forms-pubs/about-publication-550
- SEC, Investor Bulletin on capital gains and taxes
Related FinHelp articles:
- Harvesting Losses Across Taxable and Tax‑Deferred Accounts: https://finhelp.io/glossary/harvesting-losses-across-taxable-and-tax-deferred-accounts/
- Tax‑Loss Harvesting: A Practical Guide: https://finhelp.io/glossary/tax-loss-harvesting-a-practical-guide/
In my practice, careful coordination of timing, tax lots, and replacement securities usually separates tax‑smart harvesting from a costly mistake. Treat harvesting as one tool in a larger tax and investment plan rather than a knee‑jerk tax hack.

