Key Takeaways
- Tax-loss harvesting lets you sell losing positions to offset dividend income and capital gains, reducing your tax bill
- The wash sale rule prevents you from buying a "substantially identical" security within 30 days before or after the sale
- You can harvest up to $3,000 in net losses per year against ordinary income, with unlimited carryforward
- Substitute similar (but not identical) dividend stocks to maintain portfolio exposure while harvesting losses
Disclaimer: This is educational content, not tax advice. Consult a qualified tax professional for guidance on your specific situation.
Tax-loss harvesting is a strategy where you sell investments at a loss to offset taxable gains or income elsewhere in your portfolio. For dividend investors, this technique is especially valuable because dividend income creates a recurring tax liability every year. By strategically realizing losses, you can reduce or eliminate the tax on your dividend income, effectively keeping more of every payment.
The strategy is straightforward in concept: sell a stock that has declined below your purchase price, book the capital loss, and use it to offset your taxable dividends or other gains. The complication comes from the wash sale rule, which limits your ability to immediately repurchase the same stock. Mastering this rule — and knowing which substitute stocks to use — is the key to effective tax-loss harvesting.
How Tax-Loss Harvesting Works
Suppose you own 200 shares of a utility stock that you bought at $60 per share ($12,000 total). The stock has fallen to $50 ($10,000 current value), giving you a $2,000 unrealized loss. Meanwhile, your portfolio has generated $8,000 in taxable dividend income this year.
By selling the utility stock, you realize the $2,000 loss. This loss offsets $2,000 of your dividend income, reducing your taxable dividend income from $8,000 to $6,000. At a 15% qualified dividend tax rate, this saves you $300. At a 32% ordinary income rate (for REIT dividends), the savings would be $640.
Capital losses are applied in a specific order: first against capital gains of the same type (short-term losses offset short-term gains, long-term losses offset long-term gains), then against gains of the other type, and finally up to $3,000 per year against ordinary income. Any remaining losses carry forward to future tax years indefinitely.
The Wash Sale Rule
The IRS wash sale rule disallows a loss deduction if you purchase a "substantially identical" security within 30 days before or after the sale. This creates a 61-day window (30 days before, the sale date, and 30 days after) during which you cannot buy back the same stock or a substantially identical one.
What counts as "substantially identical" is not precisely defined in the tax code, but the IRS has provided guidance:
- Same stock or security: Clearly a wash sale. Selling KO and buying KO within 30 days triggers the rule.
- Options on the same stock: Buying a call option on a stock you just sold at a loss can trigger a wash sale.
- Mutual funds tracking the same index: Selling one S&P 500 index fund and buying another from a different provider is a gray area. Many tax advisors consider this substantially identical.
- Different stocks in the same sector: Selling Coca-Cola (KO) and buying PepsiCo (PEP) is generally NOT a wash sale because they are different companies, even though they are in the same industry.
Substitute Stock Pairs for Dividend Investors
The key to effective tax-loss harvesting without giving up market exposure is using substitute stocks — different companies in the same sector with similar dividend characteristics. Here are common pairs that dividend investors use:
- Consumer staples: Coca-Cola (KO) ↔ PepsiCo (PEP)
- Pharma: Johnson & Johnson (JNJ) ↔ Pfizer (PFE) or Abbott Labs (ABT)
- Utilities: Duke Energy (DUK) ↔ Southern Company (SO)
- REITs: Realty Income (O) ↔ NNN REIT (NNN)
- Banks: JPMorgan (JPM) ↔ Bank of America (BAC)
- Telecom: Verizon (VZ) ↔ AT&T (T)
- Dividend ETFs: VYM ↔ SCHD (different indexes, not substantially identical)
After selling the losing position, immediately purchase the substitute. After the 31-day window passes, you can swap back to the original stock if you prefer it. Many investors simply keep the substitute permanently and move on.
Timing Considerations for Dividend Stocks
Be mindful of ex-dividend dates when harvesting losses. If you sell a stock right before its ex-dividend date, you give up that quarter's dividend. Conversely, if you buy a substitute stock just before its ex-dividend date, you receive an immediate dividend payment — but it may be non-qualified if you do not hold the substitute for 61 days.
Also consider that selling a stock resets the holding period for dividend qualification purposes. If you harvest a loss and repurchase the stock after 31 days, the new shares start a fresh holding period. Any dividend received within the first 61 days of the new holding period will be ordinary (non-qualified) rather than qualified.
Year-End Harvesting Checklist
- Review all positions in November: Identify lots with unrealized losses.
- Calculate your year-to-date dividend income: Know how much taxable dividend income you need to offset.
- Check for wash sale conflicts: Ensure you have not purchased the same security within the prior 30 days.
- Execute harvesting trades by late December: Sales must settle by December 31 to count for the current tax year. With T+1 settlement, trades executed on December 30 will settle on December 31.
- Purchase substitutes immediately: Do not leave the money in cash — reinvest to maintain your dividend income stream.
- Document everything: Record the dates, amounts, and rationale for each trade in case of an IRS inquiry.
When Not to Harvest
Tax-loss harvesting is not always the right move. Avoid harvesting if you are in the 0% qualified dividend tax bracket and have no capital gains to offset — you would be selling for no tax benefit. Also be cautious about harvesting a long-term loss to offset short-term gains if you expect to have short-term losses later that would do the same job. Finally, do not let tax strategy override investment logic: if a stock has fallen for temporary reasons and you believe in its recovery, selling purely for the tax loss may cost you more in missed appreciation than the tax savings are worth.
Frequently Asked Questions
Does the wash sale rule apply across accounts?
Yes. If you sell a stock at a loss in your taxable account and buy the same stock in your IRA within 30 days, the wash sale rule still applies. The loss is disallowed and, worse, the basis adjustment goes to the IRA where it provides no future tax benefit. Coordinate across all your accounts.
Can I harvest losses on dividend ETFs?
Absolutely. Selling VYM at a loss and buying SCHD is a common harvest pair. They track different dividend indexes and are not substantially identical, despite both being U.S. dividend ETFs. The same logic applies to selling one REIT ETF and buying another.
How much can I save with tax-loss harvesting?
Savings depend on your tax bracket and the size of your losses. An investor in the 32% bracket who harvests $10,000 in losses against ordinary dividend income saves $3,200 in federal tax. Over a 30-year investing career, regularly harvesting losses can add 0.5% to 1.0% per year in after-tax returns.