Skip to main content
ClearValueBooks
THEME · 1 BOOK

Tax-Loss Harvesting: Turning Portfolio Losses Into Tax Savings.

How selling at a loss strategically can increase after-tax wealth

Tax-loss harvesting is a strategy in which an investor sells a security that has declined in value to realize a capital loss, which can then be used to offset capital gains elsewhere in the portfolio or, if losses exceed gains, to offset up to $3,000 of ordinary income per year. Unused losses carry forward indefinitely to future tax years. The strategy does not eliminate the tax liability — it defers it — but that deferral is valuable because it extends the time money remains invested and compounding. The mechanics require attention to the wash-sale rule, an IRS rule that disallows a loss if the investor buys a "substantially identical" security within 30 days before or after the sale. An investor who sells an S&P 500 index fund at a loss and immediately repurchases the same fund cannot claim the loss. The practical workaround is to replace the sold security with a similar but not identical one — selling a Vanguard Total Stock Market fund and immediately purchasing a Schwab Total Stock Market fund keeps the market exposure intact while preserving the harvested loss. Tax-loss harvesting is most valuable for investors in high marginal income tax brackets, those with taxable brokerage accounts (it is irrelevant inside tax-advantaged accounts like IRAs and 401(k)s), and those who have substantial capital gains to offset. Robo-advisors including Betterment and Wealthfront have popularized automated daily tax-loss harvesting for retail investors. For investors managing their own portfolios, the most productive harvesting opportunities typically arise during market corrections, when positions that are broadly down can be rotated into equivalent ETFs without interrupting market participation.

Reviewed by ClearValue Editorial Team · Jun 28, 2026
◈ THE BOOKS

Featured on this theme

The Truth About Your Future
◈ FREQUENTLY ASKED

Questions about this theme

What is the wash-sale rule and how do investors work around it?

The wash-sale rule (IRS Section 1091) disallows a capital loss deduction if the investor purchases a "substantially identical" security within 30 days before or after the sale. The 61-day window (30 days before + day of sale + 30 days after) must be clear of repurchases of the same or substantially identical security. In practice, "substantially identical" has been interpreted narrowly by the IRS: two different ETFs tracking different but correlated indices (e.g., the S&P 500 vs. the total U.S. market) are generally not considered substantially identical, allowing investors to harvest the loss while maintaining essentially the same market exposure. The rule applies across all accounts the investor controls, so selling in a taxable account while a spouse's IRA repurchases the same fund can trigger a wash sale.

How much can tax-loss harvesting actually save an investor?

The benefit depends on three factors: the marginal tax rate on capital gains, the size of harvestable losses, and the time horizon over which deferred taxes remain invested. For a high-income investor in the 23.8% long-term capital gains bracket (20% federal + 3.8% net investment income tax), harvesting a $50,000 loss in a year with equivalent gains saves approximately $11,900 in taxes that year. If those avoided taxes remain invested for 20 years at 7%, the deferred amount grows to roughly $46,000 — a meaningful addition to after-tax wealth. The benefit is smaller for investors in lower tax brackets (0% long-term capital gains rate for many middle-income earners) and diminishes if the replacement securities significantly underperform the harvested ones.

Is tax-loss harvesting worth doing in a declining market if an investor plans to sell everything eventually?

Yes, provided the investor has taxable gains to offset or ordinary income above the $3,000 cap to reduce. When a portfolio is eventually liquidated, the harvested losses that carried forward will offset the final gains. The value lies in when taxes are paid rather than whether they are paid — deferring a tax bill by 10-20 years keeps that capital invested and compounding for the intervening period. The one scenario where harvesting can backfire is if the investor dies holding the replacement securities, because beneficiaries receive a stepped-up cost basis that erases the embedded gain — in which case the harvested losses provided no net long-term benefit while potentially introducing tracking error during the replacement period.

◈ KEEP READING

Explore the library

Curated lists

Best Books →

Editorial reading lists by audience and goal.

Reference

Glossary →

Plain-English definitions for terms in every book.

Editor

More from Brian →

Brian Kim's picks, takes, and the books that shaped the shelf.