Personal Finance

The Complete Guide to Tax-Loss Harvesting: Save Thousands on Your Investment Taxes Legally

Tax-loss harvesting can save high-income investors $5,000-$15,000 annually. Learn the strategy, the wash-sale rule, and how to implement it in your portfolio.

Updated 8 min read

Tax-loss harvesting is one of the most powerful yet underutilized strategies in personal finance. By strategically selling investments at a loss, you can offset capital gains, reduce your tax bill by thousands of dollars, and reinvest in similar assets to maintain your portfolio allocation. It is completely legal, endorsed by the IRS, and used by virtually every sophisticated investor and wealth manager.

How It Works: A Simple Example

Suppose you sold Stock A for a $10,000 profit (capital gain) and Stock B is currently sitting at a $7,000 loss. By selling Stock B, you realize the $7,000 loss, which offsets $7,000 of your $10,000 gain. You now only owe capital gains tax on $3,000 instead of $10,000. At a 20% long-term capital gains rate plus 3.8% net investment income tax, that saves you approximately $1,666 in taxes.

If your capital losses exceed your capital gains, you can deduct up to $3,000 of the excess against ordinary income. Any remaining losses carry forward to future tax years indefinitely. This means a large loss in one year can provide tax benefits for many years to come.

The Wash-Sale Rule: The One Trap to Avoid

The IRS wash-sale rule prohibits you from claiming a tax loss if you purchase a substantially identical security within 30 days before or after the sale. This means you cannot sell an S&P 500 index fund at a loss and immediately buy the same fund back. However, you can buy a different but similar fund — for example, selling Vanguard S&P 500 ETF (VOO) and buying iShares Core S&P 500 ETF (IVV). They track the same index but are not considered substantially identical.

When to Harvest Losses

The best time to harvest losses is throughout the year, not just in December. Market dips create harvesting opportunities that may not exist at year-end. Many robo-advisors like Betterment and Wealthfront automate daily tax-loss harvesting, claiming to add 0.5-1.5% in after-tax returns annually. For DIY investors, review your portfolio quarterly for harvesting opportunities.

Who Benefits Most

Tax-loss harvesting provides the greatest benefit to high-income investors in the 32-37% federal tax brackets with significant taxable investment accounts. It is less valuable in tax-advantaged accounts (IRAs, 401ks) where gains are already tax-deferred. The strategy also works best in volatile markets that create frequent loss opportunities. In a straight-up bull market with no pullbacks, there may be few losses to harvest.

Implementation Checklist

First, identify positions with unrealized losses in your taxable accounts. Second, determine if you have realized gains to offset. Third, sell the losing position and immediately purchase a similar but not identical replacement. Fourth, wait at least 31 days before repurchasing the original security if desired. Fifth, document everything for tax reporting. Sixth, consult a tax professional for complex situations involving multiple accounts or significant amounts.

tax-loss harvestingcapital gainswash sale ruletax strategyinvesting
Share

Stay Ahead of the Markets

Get expert analysis, market insights, and investment strategies delivered to your inbox. Free, no spam.