Fact-checked by the The Finance Tree editorial team
Quick Answer
A tax-loss harvesting strategy lets investors sell underperforming assets to realize losses that offset taxable gains, reducing their IRS tax bill. In July 2025, the strategy remains one of the most powerful legal tools available — investors can offset up to $3,000 of ordinary income per year after netting all capital gains and losses.
A tax-loss harvesting strategy is the deliberate sale of investments that have declined in value to generate a capital loss, which the IRS allows you to use to offset capital gains or ordinary income. According to IRS Topic 409, capital losses can fully offset capital gains of any size, making this one of the most efficient tools in a taxable brokerage account. The strategy does not eliminate taxes permanently — it defers them — but the time-value benefit can meaningfully compound over decades.
With equity markets experiencing significant volatility in 2025, more investors have taxable losses available to harvest than at any point since 2022. Understanding the mechanics now can save you thousands before year-end.
How Does a Tax-Loss Harvesting Strategy Actually Work?
Tax-loss harvesting works by selling a depreciated security, booking the loss on your tax return, and immediately reinvesting the proceeds in a similar — but not identical — asset to maintain market exposure. The harvested loss first offsets any realized capital gains you have for the year. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income annually, with any excess carried forward indefinitely.
The most important rule governing this strategy is the wash-sale rule, established under IRS Publication 550. It prohibits repurchasing the same or a “substantially identical” security within 30 days before or after the sale. Violating the wash-sale rule disallows the loss entirely, negating the tax benefit.
Short-Term vs. Long-Term Capital Losses
The type of loss you harvest matters. Short-term losses (assets held under one year) must first offset short-term gains, which are taxed at ordinary income rates up to 37%. Long-term losses offset long-term gains taxed at 0%, 15%, or 20%. Strategically, harvesting short-term losses is typically more valuable because it offsets higher-rate income.
Key Takeaway: Tax-loss harvesting offsets capital gains dollar-for-dollar and shelters up to $3,000 of ordinary income per year, per the IRS capital loss rules. Unused losses carry forward indefinitely, making the strategy valuable even in low-gain years.
How Do You Avoid Triggering the Wash-Sale Rule?
You avoid the wash-sale rule by replacing a sold security with one that is similar in market exposure but legally distinct — not “substantially identical.” Selling a broad S&P 500 index fund and buying a total market index fund from a different provider, for example, maintains your equity exposure while keeping your harvested loss intact.
Practically, investors commonly swap between comparable ETFs: selling the Vanguard S&P 500 ETF (VOO) and purchasing the iShares Core S&P 500 ETF (IVV), or selling a sector fund and replacing it with a comparable fund tracking a slightly different index. The IRS has not published a definitive list of what qualifies as “substantially identical,” so most financial advisors recommend sticking to funds tracking different indexes with different methodologies.
Robo-Advisors and Automated Harvesting
Platforms like Betterment and Wealthfront automate tax-loss harvesting daily, scanning portfolios for harvestable losses and executing trades automatically. For investors who want a hands-off approach, our guide to the best robo-advisors for hands-off investing covers which platforms offer the most sophisticated harvesting features.
Key Takeaway: Replacing a sold fund with a similar but non-identical ETF — such as swapping VOO for IVV — preserves market exposure and satisfies the IRS wash-sale rule. Robo-advisors automate this process daily, removing the manual burden from investors.
| Scenario | Tax Rate Applied | Estimated Annual Tax Savings |
|---|---|---|
| $10,000 short-term gain offset | 37% (top ordinary rate) | $3,700 |
| $10,000 long-term gain offset | 20% (top long-term rate) | $2,000 |
| $3,000 ordinary income offset | 24% (middle bracket) | $720 |
| $50,000 loss carryforward | 20% (long-term rate) | Up to $10,000 over time |
Who Benefits Most from a Tax-Loss Harvesting Strategy?
Investors in higher tax brackets gain the most from tax-loss harvesting because the rate differential between their ordinary income and capital gains is largest. A taxpayer in the 37% federal bracket harvesting a $10,000 short-term loss saves $3,700 in federal taxes alone — compared to $1,000 for someone in the 10% bracket.
The strategy is also most valuable for investors with large taxable brokerage accounts, significant realized gains in a given year, or plans to rebalance a portfolio. If you hold investments only inside a 401(k) or IRA, tax-loss harvesting does not apply — those accounts are already tax-deferred or tax-free.
“Tax-loss harvesting is most powerful when it’s systematic, not reactive. Investors who harvest opportunistically throughout the year — not just in December — capture significantly more value than those who treat it as an afterthought.”
For investors mapping longer-term wealth accumulation, pairing this strategy with structured financial planning is essential. If you are working through your core investing milestones, our breakdown of financial goals to set in your 30s provides a helpful framework for where tax-loss harvesting fits into a broader plan.
Key Takeaway: Investors in the 37% federal bracket can save up to $3,700 per $10,000 of harvested short-term losses, according to IRS capital loss rules. The strategy only applies to taxable accounts — not 401(k)s or IRAs.
What Are the Most Common Tax-Loss Harvesting Mistakes?
The most costly mistake is triggering the wash-sale rule by repurchasing the same fund within the 30-day window — this disallows the loss entirely and wastes the opportunity. Many investors also make the error of harvesting long-term gains to buy back short-term positions, inadvertently converting future long-term gains (taxed at 0–20%) into short-term gains (taxed at up to 37%).
A second major mistake is ignoring state income taxes. States like California tax capital gains as ordinary income at rates up to 13.3%, according to the California Franchise Tax Board. This makes harvesting even more valuable for California residents, but also means the blended tax math changes by state.
Transaction Costs and Tracking Complexity
Frequent trading to harvest losses can generate transaction costs and create significant record-keeping obligations. The IRS requires accurate cost basis tracking for every lot sold. Most major brokers — including Fidelity, Charles Schwab, and Vanguard — now track cost basis automatically, but investors using multiple platforms must reconcile records manually.
Tax-loss harvesting is one of several strategies that compound in value when paired with overall expense reduction. Reviewing your broader financial picture — including hidden fees quietly draining your bank account — can amplify total savings beyond just the investment tax benefit.
Key Takeaway: The wash-sale rule and state tax rates — as high as 13.3% in California per the California Franchise Tax Board — are the two variables most investors overlook. Accurate cost basis tracking via your broker is essential to executing the strategy cleanly.
When Should You Execute a Tax-Loss Harvesting Strategy?
The best time to harvest losses is continuously throughout the year — not just in December. Market downturns in February, April, or August all create harvesting windows that a year-end-only approach misses entirely. According to Charles Schwab’s tax planning research, investors who harvest systematically throughout the year capture meaningfully larger benefits than those who act only at year-end.
Year-end is still important, however. Before December 31, you should tally all realized gains for the year and identify positions currently at a loss. If you have net gains, harvesting before the calendar year closes is the only way to use those losses in the current tax year.
Integrating Harvesting With Portfolio Rebalancing
Tax-loss harvesting pairs naturally with annual portfolio rebalancing. When trimming overweight positions — a process detailed in how to track your net worth and investment allocation — you can simultaneously identify underweight positions sitting at a loss and harvest them as part of the same transaction sequence.
If you also work from home and run side income, harvesting losses can interact with home office tax deductions and self-employment income in ways worth discussing with a Certified Public Accountant (CPA) before filing.
Key Takeaway: Systematic year-round harvesting outperforms December-only approaches, per Charles Schwab’s research. Pairing harvesting with annual rebalancing creates a tax-efficient process that captures losses at every market dip, not just before December 31.
Frequently Asked Questions
Does tax-loss harvesting actually save money, or just defer taxes?
It primarily defers taxes, but deferral has real monetary value. Keeping money invested longer — instead of paying taxes today — allows that capital to compound. The longer the deferral period, the greater the effective savings, especially in higher tax brackets.
Can I use tax-loss harvesting in a Roth IRA or 401(k)?
No. Tax-loss harvesting only applies to taxable brokerage accounts. Roth IRAs and 401(k)s are tax-advantaged accounts where gains are already sheltered — losses inside those accounts cannot be deducted on your tax return.
How much can I deduct from ordinary income using harvested losses?
The IRS caps the ordinary income deduction at $3,000 per year ($1,500 if married filing separately). Any excess losses carry forward to future tax years without expiration, per IRS Topic 409.
What is the wash-sale rule and how long does it last?
The wash-sale rule disallows a capital loss if you buy the same or substantially identical security within 30 days before or after the sale — a 61-day total window. The disallowed loss is added to the cost basis of the repurchased security instead of being deducted immediately.
Does tax-loss harvesting work if I have no capital gains this year?
Yes. If you have no gains to offset, harvested losses can still reduce up to $3,000 of ordinary income in the current year. All remaining losses carry forward and can offset future gains or income in subsequent tax years.
Should I hire a professional to manage tax-loss harvesting?
For large taxable portfolios — generally above $250,000 — working with a fee-only financial advisor or CPA can pay for itself. For smaller portfolios, robo-advisors with automated harvesting features offer a cost-effective alternative without requiring manual tracking.
Sources
- IRS — Topic No. 409: Capital Gains and Losses
- IRS — Publication 550: Investment Income and Expenses
- Charles Schwab — The Case for Tax-Loss Harvesting
- California Franchise Tax Board — Deductions for Individuals
- Morningstar — Tax-Loss Harvesting Explained
- Fidelity — Tax-Loss Harvesting: How It Works
- Investopedia — Tax-Loss Harvesting: Definition, How It Works



