If you hold stocks or funds in a regular taxable brokerage account, there is a legal move sitting inside it that the IRS wrote into the code itself: tax-loss harvesting. You sell a position that is underwater, immediately buy a similar (but not identical) fund to stay invested, and keep the paper loss as a tax asset you can spend for years. Investors who applied this approach during the 2022 drawdown, when the S&P 500 fell 19.95% between January 3 and December 30 of that year, stayed invested by switching tickers, realized the paper loss, and could draw it down against gains in later years.
How the Swap Actually Works
Where the Rule Lives in the Code
Who Can Do This, Who Cannot
Running the Play in 2026
- The first step is pulling an unrealized gain/loss report from the brokerage and flagging every lot trading below its cost basis.
- Next comes selecting a replacement fund that tracks a different index. A common pair is a total-market ETF swapped for an S&P 500 ETF, or a large-cap growth fund swapped for a Nasdaq-100 fund. The index differs while the exposure remains similar.
- The losing lots are then sold, and the replacement buy is placed the same day, keeping the position in the market.
- At least 31 days should pass before repurchasing the original ticker if a return to it is planned.
- At tax time, the sale is reported on Form 8949 and Schedule D. Losses first offset capital gains, then up to $3,000 of ordinary income, then carry forward.
With the 10-year Treasury at 4.69%, deferring a tax bill and keeping that capital compounding in the market carries measurable value.
Traps That Void the Whole Thing
The wash-sale rule is the big one. If the taxpayer (or a spouse or an IRA) buys a substantially identical security within 30 days on either side of the sale, the loss is disallowed and tacked onto the cost basis of the replacement lot. Two share classes of the same fund almost certainly count. Two ETFs tracking the same index are a gray area the IRS has never fully defined. Dividend reinvestment on the sold fund inside another account can silently trigger a wash sale. The loss is a deferral: the replacement fund now has a lower cost basis, so a later sale at a gain means tax on the larger spread. The benefit comes from time, tax-bracket arbitrage, and the step-up in basis at death.
Contact [email protected] for any questions or corrections.