If you've ever watched your portfolio dip into the red and thought, "well, at least I can use this somehow," you're already thinking like a savvy investor. Tax loss harvesting with ETFs is one of the most powerful — and most underutilized — strategies available to everyday investors. It turns temporary losses into real, tangible tax savings without forcing you to abandon your long-term investment strategy. In this guide, we'll walk you through exactly how it works, the rules you need to follow, and how to do it correctly so the IRS doesn't come knocking.
Tax loss harvesting is the practice of selling an investment that has declined in value to realize a capital loss, which can then be used to offset capital gains elsewhere in your portfolio — or even reduce your ordinary income. The key is that after selling, you immediately reinvest the proceeds into a similar (but not identical) investment, so your overall market exposure stays intact.
ETFs, or exchange-traded funds, are particularly well-suited for this strategy. Because there are hundreds of ETFs tracking similar indexes and asset classes, investors have a wide selection of replacement securities to choose from. This flexibility makes ETF tax loss harvesting far easier to execute than harvesting losses with individual stocks or mutual funds.
Let's put some real numbers to this concept so you can see why it's worth your attention. Suppose you invested $20,000 in an S&P 500 ETF and its value dropped to $16,000 — a $4,000 loss on paper. By selling the position and harvesting that $4,000 loss, you can use it to offset $4,000 in capital gains from another investment you sold earlier in the year.
If those gains were long-term capital gains taxed at 15%, you just saved yourself $600 in federal taxes. If they were short-term gains taxed at your ordinary income rate — say 24% — you saved $960. And if you don't have gains to offset? You can still use up to $3,000 of the harvested loss to reduce your ordinary income each year, carrying forward any remaining losses indefinitely into future tax years.
Over a lifetime of investing, these annual savings can compound significantly. Some research suggests that consistent tax loss harvesting can add 0.5% to 1.5% in after-tax returns annually, which translates to tens of thousands of dollars over a 30-year investment horizon.
Here's where most people trip up. The IRS has a rule specifically designed to prevent investors from gaming the system with artificial losses. It's called the wash-sale rule, and understanding it is absolutely critical before you start harvesting losses with ETFs.
A wash sale occurs when you sell a security at a loss and then purchase a "substantially identical" security within 30 days before or after the sale. That's a 61-day window total — 30 days before the sale, the day of the sale, and 30 days after. If you trigger a wash sale, your loss is disallowed for tax purposes, meaning you can't claim it on your return.
The phrase substantially identical is where things get nuanced. The IRS has never published a comprehensive list of what is and isn't substantially identical, but general guidance and court cases have established some useful principles:
The substantially identical question is genuinely one of the trickiest parts of tax loss harvesting with ETFs. When in doubt, consult a tax professional, especially if you're dealing with large dollar amounts.
The easiest way to navigate this is to swap between ETFs that track similar — but not identical — indexes. For example:
The goal is to maintain your intended asset allocation and market exposure while avoiding the wash-sale trap. You can always swap back to your original ETF after the 31-day waiting period has passed, though keep in mind that if the market has recovered significantly by then, the timing may no longer be favorable.
Now let's put it all together into a practical, actionable process you can follow whenever market conditions present an opportunity.
Log into your brokerage account and review your taxable investment accounts. Look for ETF positions where your current value is below your cost basis. Your brokerage should display this information directly — look for terms like "unrealized gain/loss" or "cost basis." Focus on your taxable accounts; tax loss harvesting has no benefit in tax-advantaged accounts like IRAs or 401(k)s because gains and losses in those accounts don't affect your annual tax return.
Not every small loss is worth harvesting. You'll want to factor in transaction costs and the potential tax savings. A general rule of thumb: if the tax savings are at least a few hundred dollars, it's probably worth the effort. For a 24% tax bracket investor, a $2,000 loss against short-term gains saves $480 — meaningful for most people. A $200 loss saving $48 might not be worth the complexity, depending on your situation.
Before you sell, know exactly what you're buying. Research ETFs in the same asset class that track a different index. For example, if you're harvesting a loss in the Schwab U.S. Large-Cap ETF (SCHX), you might consider replacing it with a Vanguard Total Stock Market ETF (VTI) or a Fidelity total market fund. Make sure you understand the differences in holdings, expense ratios, and tracking methodology.
Sell your losing ETF position and immediately use the proceeds to buy the replacement ETF. The reason to do this on the same day — or even within minutes — is to avoid being out of the market. If stocks surge 3% on the day you're sitting in cash, you've potentially cost yourself more than you saved in taxes. Many brokerages allow you to sell and buy simultaneously or in rapid succession.
Your new ETF position starts with a fresh cost basis at the price you paid. Keep records of when you purchased the replacement ETF and at what price. This matters for future tax calculations. Also note that your holding period resets — if you sell the replacement ETF within a year, any gains will be taxed as short-term rather than long-term.
If you'd like to return to your original ETF, set a reminder for 31 days after your sale. You can then swap back if you prefer your original holding. Or you might find you're perfectly happy with the replacement ETF, in which case there's no need to swap back at all.
When tax season arrives, your brokerage will send you a Form 1099-B showing your realized gains and losses. You'll report capital losses on Schedule D of your federal tax return. If your losses exceed your gains, remember you can deduct up to $3,000 against ordinary income and carry forward the rest to future years.
Even experienced investors make errors with tax loss harvesting. Here are the most common pitfalls to watch out for:
Market volatility is your friend when it comes to tax loss harvesting with ETFs. The best opportunities typically arise during broad market corrections, sector-specific downturns, or periods of high volatility. Many investors make it a habit to scan their portfolios whenever the market drops 5% or more, or at least once per quarter.
Year-end is a popular time for tax loss harvesting, but waiting until December can be a mistake. If you wait until late November or December to act, you might find that the market has already recovered from its lows, eliminating the loss you wanted to harvest. The best approach is to monitor your portfolio throughout the year and act when meaningful losses appear.
If doing this manually sounds like a lot of work, you're not wrong — but there are solutions. Several robo-advisors, including Betterment and Wealthfront, offer automated tax loss harvesting as a feature. These platforms monitor your portfolio daily and execute harvesting trades automatically when the tax savings cross a meaningful threshold. For investors with larger portfolios who don't want to manage this process manually, automated harvesting can be a genuinely valuable tool.
That said, it's still important to understand the mechanics even if you automate. You'll want to verify that your robo-advisor is properly avoiding wash sales, especially if you hold similar ETFs in other accounts that the platform doesn't manage.
Tax loss harvesting with ETFs is one of those rare strategies where a little effort yields real, after-tax benefits without requiring you to change your investment thesis or take on additional risk. By systematically converting paper losses into tax savings — while staying fully invested through smart ETF swaps — you're essentially getting the IRS to subsidize your investment strategy. The key is to understand the wash-sale rule, take the substantially identical question seriously, and execute trades thoughtfully rather than reactively. Done right, this strategy can meaningfully improve your long-term wealth accumulation, one well-timed trade at a time.
Use our free tax loss harvesting calculator to see exactly how much you could save.
Try the Calculator →This article is for educational purposes only and does not constitute tax or investment advice. Consult a qualified tax professional before making investment decisions.