Why tax‑loss harvesting matters across multiple accounts

Tax‑loss harvesting (TLH) turns unrealized declines into a taxable benefit by realizing losses in taxable accounts and using them to offset realized capital gains and up to $3,000 of ordinary income per year ($1,500 if married filing separately). Excess losses carry forward indefinitely until used. Coordinating TLH across taxable accounts — brokerage accounts, joint accounts, and trusts — lets you match losses to gains where they do the most tax work and avoid wasting opportunities. (IRS, Topic No. 409; IRS Publication 550: Investment Income and Expenses).

In my practice advising individuals and families, clients who track realized gains and tax lots year‑round see more consistent tax savings than those who wait until December. Proper coordination across accounts reduces surprises at tax‑time and preserves investment intent.

Sources: IRS, Topic No. 409 — Capital Gains and Losses (https://www.irs.gov/taxtopics/tc409), IRS Publication 550 (https://www.irs.gov/publications/p550).


How TLH works across different account types

  • Taxable brokerage accounts: Realized losses here are the primary tool for TLH. Losses first offset capital gains of the same type (short‑term with short‑term, long‑term with long‑term). Remaining losses offset gains of the other type, then up to $3,000 of ordinary income per year; excess carry forward.

  • IRAs and 401(k)s (tax‑advantaged accounts): Losses inside these accounts generally do not create a deductible capital loss on your tax return. Selling at a loss in an IRA or 401(k) doesn’t provide TLH benefits for taxable income. Worse, buying the same security in an IRA within the 30‑day wash‑sale window can permanently disallow the loss realized in your taxable account (see the wash‑sale section below).

  • Joint accounts, trusts, and accounts held by a spouse: Purchases in accounts you control or for which you and your spouse are treated as the same taxpayer for wash‑sale purposes can trigger the wash‑sale rule — you must coordinate across these accounts.


The wash‑sale rule: the most common and costly pitfall

The wash‑sale rule (Internal Revenue Code section 1091 and IRS guidance) disallows a loss if you buy “substantially identical” stock or securities within 30 days before or after the loss sale. Important practical points:

  • The 30‑day window is inclusive of the sale date — purchases 30 days before or after the sale can cause disallowance.
  • Purchases in your IRA or Roth IRA within the window can cause the loss to be permanently disallowed rather than deferred. The IRS guidance and practitioner literature warn that buying the same or substantially identical security in an IRA within 30 days after selling it at a loss in a taxable account generally eliminates the ability to claim that loss on your tax return.
  • The rule also applies across accounts you control, including accounts held by a spouse if you file jointly; purchases by the spouse can trigger a wash sale for your loss.

Practical consequence: if you sell an ETF in a taxable account to harvest a loss, and you buy an ETF tracking the same index in your IRA within the 61‑day window (30 days before/after), you could lose that deduction.

Reference: IRS Publication 550 and IRS Topic No. 409 (https://www.irs.gov/publications/p550; https://www.irs.gov/taxtopics/tc409).


Specific cross‑account examples and what to watch for

Example A — Simple offset across taxable accounts:

  • Account 1 (taxable): Realized gain $12,000 long‑term
  • Account 2 (taxable): Realized loss $7,000 long‑term
    Result: Net long‑term gain = $5,000; the $7,000 loss offsets the $12,000 gain. No wash sale issue if you buy different assets or wait 31 days.

Example B — Taxable account loss and IRA purchase (wash sale trap):

  • You sell XYZ stock at a $5,000 loss in your taxable account on June 1.
  • On June 15 you buy the same XYZ stock inside your IRA.
    Result: The $5,000 loss is disallowed for tax purposes, and because the replacement was bought in an IRA the disallowed loss generally cannot be added to the IRA basis — it’s effectively lost.

Example C — Coordinated harvesting across spouses:

  • Spouse A sells Fund A at a loss in a personal taxable account.
  • Spouse B buys the same fund in their taxable account within 30 days.
    Result: The sale can be a wash sale because the IRS treats spouse purchases as related transactions. Coordinate trades across spouses to avoid unintended disallowed losses.

Tactical steps to maximize TLH across multiple accounts

  1. Centralize tax‑lot data and realized gain/loss tracking
  • Use your custodian’s tax‑lot reports or dedicated software to consolidate realized and unrealized P/L across all taxable accounts. This is the single most effective step; without accurate lots you may miss or duplicate harvesting opportunities.
  1. Harvest year‑round, not just in December
  • Markets move year‑round. Capturing losses opportunistically reduces behavioral pressure and avoids tax‑loss clustering at year‑end. See our workflow for year‑round harvesting.
  1. Target short‑term losses first when you have short‑term gains
  • Short‑term gains are taxed at ordinary income rates. Use short‑term losses against short‑term gains first to produce the greatest tax saving per dollar of loss.
  1. Use substantially different but correlated replacements
  • To maintain market exposure while avoiding the wash‑sale rule, consider buying a different ETF or mutual fund with similar exposures rather than the exact same ticker (for example, an S&P 500 ETF from a different issuer or a total‑market fund instead of an S&P fund). Keep careful notes explaining why the replacement isn’t substantially identical.
  1. Coordinate with tax‑advantaged account activity
  • Do not repurchase the sold security in IRAs or 401(k)s within the 30‑day window. If you anticipate using TLH, pause automatic investments into identical securities in IRAs or 401(k) accounts for the required period.
  1. Mind the spouse and minor‑child accounts
  • The wash‑sale rule applies across related parties, including a spouse and certain trusts or accounts for minors. Coordinate trades to prevent inadvertent disallowance.
  1. Track disallowed losses and adjust basis when appropriate
  • When a wash sale does occur and the replacement was bought in a taxable account, the disallowed loss is added to the basis of the purchased securities (deferred). Track these adjustments carefully; custodians sometimes do not adjust basis correctly.
  1. Consider state tax implications and AMT/NII
  • State tax treatment of capital losses varies. Also, be mindful of the net investment income tax (NIIT) and alternative minimum tax (AMT) interactions when planning TLH for high‑income clients.
  1. Use loss carryforwards intentionally
  • If you expect years with large gains (e.g., home sale, RSU vesting, crypto disposition), conserving loss carryforwards can be strategic. You don’t always need to use all available losses in a single year.
  1. Work with a tax professional
  • Complex situations (multi‑state taxpayers, multiple custodians, concentrated positions, or large wash‑sale exposures) benefit from professional oversight. In my practice I frequently reconcile cross‑custodian lots to avoid duplicate harvesting and wash‑sale surprises at tax time.

Practical workflow checklist (quick reference)

  • Pull consolidated tax‑lot and realized gain reports from all taxable custodians.
  • Identify short‑term gains and match with short‑term losses first.
  • Check 30‑day windows before executing replacement buys in any account (taxable or tax‑advantaged).
  • Avoid buying ‘‘substantially identical’’ securities in any account you control during the 61‑day period centered on the sale.
  • Document the rationale for replacement investments and keep trade confirmations.
  • Reconcile basis adjustments and note any disallowed loss amounts for future tax reporting.

Realistic expectations and limitations

  • TLH reduces tax drag but does not change long‑term risk/return characteristics if replacements keep similar exposures.
  • TLH is most valuable when you have realized gains to offset or when you can defer ordinary income by offsetting $3,000 each year and carrying forward excess.
  • It’s not a substitute for sound asset allocation. Over‑harvesting or forcing trades solely for tax reasons can increase trading costs, tracking error, and portfolio drift.

Helpful internal resources


Final notes and professional disclaimer

Tax‑loss harvesting across multiple accounts can be a meaningful source of tax savings when executed carefully. The key is accurate lot tracking, strict wash‑sale avoidance across all accounts you control, and a process that preserves portfolio exposure without creating unintended tax consequences. In my experience working with long‑term investors, those who combine year‑round monitoring with clear trade rules outperform ad‑hoc harvesters in after‑tax return.

This article is educational and does not constitute tax, legal, or investment advice. For decisions tailored to your situation, consult a qualified tax professional or financial advisor.

Authoritative references: Internal Revenue Service — 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).