Tax-Loss Harvesting
Tax-Loss Harvesting
Market downturns feel like bad news - and in terms of portfolio value, they are. But for investors with taxable brokerage accounts, a decline in value creates a specific and actionable tax planning opportunity called tax-loss harvesting. Used correctly, it can add meaningful after-tax returns to your portfolio without changing your long-term investment strategy.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of selling an investment that has declined in value to realize a capital loss, then immediately reinvesting the proceeds in a similar (but not identical) investment to maintain your market exposure.
The realized loss can be used to:
Offset capital gains dollar-for-dollar. If you sold one investment for a $10,000 gain and harvested a $10,000 loss elsewhere in your portfolio, your net taxable gain is $0.
Offset up to $3,000 of ordinary income per year if your losses exceed your gains. Any remaining losses carry forward indefinitely to future tax years.
A Concrete Example
Imagine you hold two positions in your taxable account in November:
Position A: An international index fund now worth $18,000, purchased for $25,000. Unrealized loss of $7,000.
Position B: A technology ETF you sold earlier in the year for a $5,000 long-term capital gain.
By selling Position A before year-end, you realize a $7,000 loss. That loss offsets your $5,000 gain completely - eliminating that tax liability - and the remaining $2,000 loss offsets $2,000 of ordinary income. You immediately reinvest the proceeds in a different international index fund to maintain your intended allocation.
The result: you maintain essentially the same portfolio, the same market exposure, and the same long-term strategy - but you have legally eliminated a tax bill.
The Wash-Sale Rule
The IRS anticipated this strategy and created the wash-sale rule to prevent abuse. The rule states that if you sell a security at a loss and buy a substantially identical security within 30 days before or after the sale (a 61-day window total), the loss is disallowed for tax purposes.
What counts as substantially identical is not always clear-cut, but clear examples include:
Selling a Vanguard S&P 500 ETF and buying the identical fund back within 30 days - disallowed.
Selling a Vanguard S&P 500 ETF and buying a Fidelity S&P 500 ETF - likely disallowed, as they track the same index.
Selling a Vanguard S&P 500 ETF and buying a Vanguard Total U.S. Market ETF - generally considered acceptable, as they track different indexes with different compositions.
Short-Term vs. Long-Term Losses
Losses are characterized the same way as gains - as short-term (asset held one year or less) or long-term (held more than one year). The netting rules are specific:
Short-term losses first offset short-term gains (taxed at ordinary income rates). Long-term losses first offset long-term gains (taxed at preferential rates). Excess losses in either category then offset gains in the other category. The ordering matters because short-term gains are taxed at higher rates - harvesting losses against short-term gains is more valuable than offsetting long-term gains.
When Tax-Loss Harvesting Is Most Valuable
The strategy provides the greatest benefit when:
You are in a high marginal tax bracket, making every dollar of deferred or eliminated gain more valuable.
You have realized significant capital gains in the same tax year that need to be offset.
You are in a period of market volatility, which creates more loss-harvesting opportunities across more positions.
You have a long time horizon, so the deferred tax liability has more time to grow before eventually being paid.
Limitations to Understand
Tax-loss harvesting does not eliminate taxes - it defers them. The replacement investment now has a lower cost basis, so when it is eventually sold, the gain will be larger. The benefit is time value: you are delaying a tax payment, allowing that capital to remain invested and compounding in the interim.
It is also only relevant in taxable accounts. Inside a 401(k) or IRA, gains and losses have no annual tax consequences.
Key Takeaway
Tax-loss harvesting is one of the few strategies that generates a guaranteed tax benefit at no cost to your long-term investment exposure. It requires attention, discipline, and an understanding of the wash-sale rule - but for investors in taxable accounts with meaningful portfolios, it is a legitimate and powerful tool for improving after-tax returns.