Tax-Loss Harvesting: How to Use Investment Losses to Reduce Your Tax Bill
Tax-loss harvesting is one of the most powerful yet underutilized tax optimization strategies available to individual investors. The strategy turns one of investing's most painful experiences — watching a position decline in value — into a tax benefit that can save thousands of dollars annually and hundreds of thousands over a lifetime of investing.
The core concept is simple: when you sell an investment at a loss, that loss can offset capital gains from other investments, reducing your tax liability. If your losses exceed your gains, up to $3,000 of net losses can be deducted against ordinary income each year, and excess losses carry forward to future years indefinitely.
Effectively implemented over a lifetime of investing, tax-loss harvesting can add 0.5-1.5% annually to after-tax returns — potentially worth hundreds of thousands of dollars for a substantial portfolio.
How Tax-Loss Harvesting Works
Step 1: Identify positions with unrealized losses in your taxable brokerage account. (Tax-loss harvesting is irrelevant for tax-advantaged accounts like IRAs and 401ks, where transactions don't create immediate tax consequences.)
Step 2: Sell the losing positions, realizing the capital loss. The loss becomes a recognized tax loss you can use to offset gains.
Step 3: Immediately reinvest the proceeds in a similar but not identical investment that maintains your target asset allocation and market exposure. (The wash-sale rule, explained below, prevents you from buying back the identical security.)
Step 4: Apply the harvested losses against capital gains when you file taxes:
- First offset short-term losses against short-term gains (taxed at ordinary income rates, 22-37%)
- Then offset long-term losses against long-term gains (taxed at preferential rates, 0-20%)
- Net remaining losses offset each other
- Up to $3,000 of net losses offset ordinary income
- Additional net losses carry forward to future tax years
The Wash-Sale Rule: The Critical Constraint
The IRS prohibits tax-loss harvesting on "wash sales" — transactions where you sell a security at a loss and purchase a "substantially identical" security within 30 days before or after the sale.
If you violate the wash-sale rule, the loss is disallowed (though it is added to the cost basis of the replacement security, so it's deferred rather than permanently lost).
What triggers the wash-sale rule:
- Selling VTI (Vanguard Total Market ETF) at a loss and buying VTI within 30 days — wash sale
- Selling SPY and buying VOO within 30 days — likely a wash sale (both track the S&P 500)
- Selling Apple stock and buying Apple stock within 30 days — wash sale
What generally does NOT trigger the wash-sale rule:
- Selling VTI and buying ITOT (different fund, different index, similar exposure) — generally safe
- Selling SPY and buying SCHB (different index, broader market) — generally safe
- Selling an S&P 500 fund and buying a total market fund — generally safe
- Selling one sector ETF and buying a different sector — safe
Note: The IRS has never formally defined "substantially identical" for ETFs. The general consensus among tax professionals is that ETFs tracking different indices from different providers are not substantially identical, even if they have high correlation.
How Much Can Tax-Loss Harvesting Save?
The tax savings depend on your tax bracket, the amount of losses harvested, and how the losses are applied.
Example 1: Offsetting capital gains You sell Apple stock with a $20,000 long-term capital gain. You also sell a sector ETF with a $20,000 loss. The loss offsets the gain, saving you 20% capital gains tax on $20,000 = $4,000 in taxes.
Example 2: Offsetting ordinary income You harvest $10,000 in losses with no capital gains this year. You deduct $3,000 against ordinary income (save $660 at 22% bracket), carrying $7,000 forward to next year.
Lifetime impact: For a $500,000+ taxable portfolio that is actively managed and tax-loss harvested over 20-30 years, the cumulative tax savings can reach $50,000-$200,000 depending on market volatility and tax brackets.
Tax-Loss Harvesting Strategies by Portfolio Type
Individual Stock Portfolio
Easiest to harvest without wash-sale concerns — simply sell the individual losing stock and buy a different company (even in the same sector). The sector exposure is maintained without violating wash-sale rules.
ETF Portfolio
Requires pairs of similar-but-not-identical ETFs. Common harvesting pairs:
- VTI ↔ ITOT (or SCHB)
- VOO ↔ IVV (or SPLG)
- VEA ↔ IEFA
- VWO ↔ IEMG
- BND ↔ AGG
When to Harvest
The best time to tax-loss harvest is during significant market declines — when many positions are temporarily underwater. During a 20-30% market correction, aggressive harvesting can lock in substantial tax benefits while maintaining market exposure through the subsequent recovery.
Don't wait until year-end. Many investors only harvest in December, missing opportunities that occurred earlier in the year. Review taxable positions any time you observe significant unrealized losses.
Tax-Loss Harvesting Misconceptions
Misconception 1: You're selling good investments for bad ones. You are not permanently selling anything. You are temporarily substituting a similar but not identical investment while maintaining essentially the same economic exposure and market return.
Misconception 2: Tax-loss harvesting just defers taxes rather than eliminating them. Partially true. Harvesting losses lowers your cost basis, so when you eventually sell the replacement position, you'll have a larger gain. However, if you hold until death, heirs receive a stepped-up basis and the deferred tax liability disappears. Even if you do eventually pay, the time value of money makes deferring taxes valuable.
Misconception 3: It's only worth doing for large portfolios. Harvesting $10,000 in losses saves $2,200 at a 22% income tax bracket. This is meaningful for investors at virtually any portfolio size with taxable positions.
Misconception 4: It's too complicated. For an index fund investor, it requires maintaining a list of paired ETFs and executing trades during market declines. The mechanics are simple. The discipline is the challenge.
Invest Daily Pro's AI Tax Advisor identifies tax-loss harvesting opportunities within your portfolio, calculates projected tax savings, and recommends specific replacement securities that maintain your target allocation while avoiding wash-sale violations.
You're reading about tax strategies. See how much you could save this year.
Describe your situation and the AI identifies your highest-impact tax moves: tax-loss harvesting windows, Roth conversion opportunities, QBI deductions, and more.
Get This Analysis in Your Inbox Every Morning
Join 12,500+ investors who receive our daily market briefing with institutional-grade analysis, key developments, and actionable strategy - delivered before the opening bell.
Essential Reading: Top Investor Guides
Our most comprehensive guides - start here to build a complete investing foundation.
Market Basics
Stock Market Fundamentals: How Markets Work, Reading Charts, and Technical Analysis
Portfolio Strategy
Portfolio Management Masterclass: Asset Allocation, Diversification, and Rebalancing
Retirement
The Complete Retirement Planning Guide: 401(k), IRA, Roth, and FIRE Strategy
Dividend Income
The Ultimate Guide to Dividend Investing: How to Build a Safe Income Portfolio
Valuation
The Complete Guide to Stock Valuation: How to Calculate Intrinsic Value
Financial Statements
How to Read a Balance Sheet Like a Professional Analyst
Monetary Policy
Understanding the Federal Reserve: How Monetary Policy Actually Works
Real Estate
Real Estate Investment Trusts (REITs): A Complete Investor's Guide
Options & Hedging
Options Basics: How to Use Derivatives to Protect Your Portfolio
Investor Psychology
