Tax-Loss Harvesting Strategy: The Wash Sale Rule, Direct Indexing, and Year-Round Optimization
How active tax-loss harvesting offsets capital gains, generates ordinary income deductions, and compounds after-tax investment returns over decades.
Tax-loss harvesting is one of the most consistently underused investment strategies in the U.S. tax code. Properly executed, harvesting losses systematically across a portfolio offsets capital gains, reduces ordinary income up to $3,000 per year, and compounds after-tax returns over decades. For taxpayers in higher tax brackets with substantial investment portfolios, the cumulative benefit can amount to hundreds of thousands of dollars over a multi-decade investing horizon.
The Mechanics of Tax-Loss Harvesting
Tax-loss harvesting involves selling investment positions at a loss to realize the tax loss while maintaining the investor's economic exposure to the asset class. The realized losses then:
• Offset realized capital gains (long-term losses against long-term gains; short-term losses against short-term gains).
• Excess losses offset ordinary income up to $3,000 per year.
• Excess losses beyond that carry forward indefinitely to future years.
The key is replacing the sold position with a similar (but not "substantially identical") position to maintain market exposure while waiting out the wash sale period.
The Wash Sale Rule (§1091)
The wash sale rule disallows a loss when the taxpayer purchases a "substantially identical" security within 30 days before or after the loss sale. The disallowed loss is added to the basis of the replacement security, deferring (rather than eliminating) the loss recognition.
What Triggers a Wash Sale
• Selling a stock at a loss and buying the same stock within 30 days.
• Selling a stock and buying a call option on the same stock within 30 days.
• Selling a mutual fund and buying the same fund (different share class typically NOT substantially identical).
• Loss sale in a taxable account followed by purchase in an IRA or 401(k) within the wash sale window (extends to all accounts).
• Spouse purchases the security within the window.
What Does NOT Trigger a Wash Sale
• Selling and buying a different ETF tracking similar (but not identical) index — e.g., selling SPY (S&P 500) and buying VOO (S&P 500) typically would be substantially identical, but selling SPY and buying IVV (Core S&P 500) might also raise issues.
• Selling and buying ETFs tracking different indices in the same asset class — e.g., selling SPY and buying VTI (Total Market).
• Selling individual stocks and buying ETFs in the same sector.
The Substantially Identical Standard
The IRS has not provided detailed guidance on what constitutes "substantially identical" securities. Common interpretations:
• Same security: substantially identical.
• Same issuer different class (preferred vs common): generally not substantially identical.
• Different ETFs tracking the same exact index: gray area, often treated as substantially identical.
• Different ETFs tracking different (but similar) indices: generally not substantially identical.
• Same company different exchanges: substantially identical.
Common safe replacement strategies:
• S&P 500 ETF → Total Stock Market ETF (or vice versa).
• One sector ETF → another similar sector ETF from a different provider tracking a different index.
• One bond fund → another bond fund with similar duration and credit profile.
Cryptocurrency Wash Sale Rules
Currently, cryptocurrency is NOT subject to the wash sale rule because it's classified as property (not a security). This means crypto investors can:
• Sell crypto at a loss.
• Immediately rebuy the same crypto.
• Realize the loss without 30-day waiting period.
This represents a significant tax-loss harvesting advantage for crypto investors. Multiple legislative proposals would extend the wash sale rule to crypto — making active harvesting in 2025 particularly valuable before potential legislative changes.
Year-Round vs Year-End Harvesting
Many investors think of tax-loss harvesting as a year-end activity. The data strongly favors year-round harvesting:
• Markets fluctuate continuously — opportunities arise throughout the year that may not exist at year-end.
• A position trading at a loss in March may have recovered by December.
• Year-end-only harvesting misses temporary drawdowns during the year.
• Continuous monitoring captures more total loss potential.
Studies suggest year-round harvesting can capture 2-3x more total losses than year-end-only execution.
Direct Indexing
Direct indexing — owning the individual stocks comprising an index rather than the index ETF — has become accessible to retail investors through automated platforms. Direct indexing provides:
• Position-level harvesting: Individual stocks within the index can be harvested separately, while the overall index exposure is maintained.
• Customization: Specific stocks can be excluded for ESG, sector, or other preferences.
• Charitable giving optimization: Lowest-basis lots can be donated; highest-basis lots retained.
• Continuous monitoring: Automated platforms scan for harvesting opportunities daily.
Direct indexing services (Frec, Wealthfront, Wealthfront Direct Indexing, Schwab Personalized Indexing, Fidelity Managed FidFolios) typically charge 0.40-0.50% annual management fee — often returning multiples of that fee through tax-loss harvesting capture.
The $3,000 Ordinary Income Offset
Excess capital losses (beyond capital gains) can offset up to $3,000 of ordinary income per year. For a taxpayer in the 32% federal bracket, this generates approximately $960 in annual federal tax savings — relatively small but compounding over years and decades.
Critically, the $3,000 limit has been fixed since the 1970s and is NOT inflation-adjusted. Sophisticated investors with large unrealized losses sometimes spread loss recognition over multiple years to maximize the $3,000 offset annually.
Carryforward Strategy
Capital loss carryforwards have indefinite life:
• Use first against current-year capital gains (no limit).
• Then offset up to $3,000 of ordinary income.
• Excess carries forward to next year.
For taxpayers with very large losses (from concentrated position sales, business sales, or other major events), carryforwards can offset gains for many years into the future.
Coordination With Roth Conversions
Capital losses do NOT offset ordinary income from Roth conversions (conversion income is ordinary, not capital). However, capital losses can offset capital gains realized in the same year as a conversion — providing flexibility to realize concentrated position gains during conversion years.
Tax-Gain Harvesting (The Opposite Strategy)
For taxpayers in the 0% long-term capital gains bracket (taxable income under $96,700 joint for 2025), the opposite strategy applies — realizing gains at no federal tax cost while resetting basis. Particularly valuable for:
• Retirees in low-income years.
• Taxpayers between jobs or on sabbatical.
• Children with appreciated UTMA/UGMA assets (subject to kiddie tax considerations).
Charitable Giving Coordination
For taxpayers planning charitable giving, donating appreciated securities (rather than selling and donating cash) provides:
• Full FMV charitable deduction (up to 30% of AGI for appreciated property).
• Avoidance of capital gains tax on the appreciation.
• Combined benefit often produces 100%+ "return" on the contribution from federal and state tax savings.
Estate Planning Coordination
Long-held appreciated positions held until death receive stepped-up basis to fair market value — eliminating accumulated capital gains entirely. This creates a strategic decision:
• Highly appreciated positions: Often optimal to hold until death (basis step-up).
• Loss positions: Optimal to harvest losses before death (no benefit from stepped-up basis on a loss).
Common Mistakes
• Triggering wash sales by inadvertently buying replacement securities through 401(k) or IRA contributions.
• Failing to harvest losses year-round (waiting only for year-end).
• Treating mutual fund share classes as not substantially identical without analysis.
• Spousal accounts triggering wash sales on the joint household basis.
• Not coordinating tax-loss harvesting with rebalancing decisions.
• Failing to track basis carefully (especially after corporate actions, stock splits, dividends).
• Missing tax-gain harvesting opportunities in low-income years.
Bottom Line
Tax-loss harvesting is one of the highest-value, lowest-effort investment optimization strategies available. For taxpayers with substantial taxable investment portfolios, systematic year-round harvesting (often through direct indexing platforms) typically produces 0.5-2.0%+ in annual after-tax return enhancement. Combined with proper coordination of wash sale rules, charitable giving, and estate planning, the cumulative benefit over a multi-decade investing horizon can amount to hundreds of thousands of dollars in tax savings.
Need Help With Your Taxes?
Schedule a free consultation to discuss your tax situation and discover strategies to minimize your tax burden.
Schedule Free Consultation →