Fact-checked by the MyFinancial101 editorial team
Quick Answer
A tax loss harvesting strategy sells underperforming investments to realize capital losses that offset taxable gains, reducing your current-year tax bill. The strategy works best in higher tax brackets: short-term gains face a maximum federal rate of 40.8%, and investors who start harvesting early can capture up to 80% of cumulative lifetime tax savings within the first five years.
A tax loss harvesting strategy is the deliberate sale of a losing position in a taxable brokerage account to generate a realized capital loss, which is then used to offset capital gains, and up to $3,000 of ordinary income per year. Critically, the goal is not to exit the market; the investor immediately reinvests in a similar but not identical security to preserve their market exposure while manufacturing a tax asset. According to J.P. Morgan Private Bank research, nearly 80% of a portfolio’s cumulative tax savings from loss harvesting are realized within the account’s first five years.
The strategy is powerful, but it is a deferral tool, not permanent tax elimination. Harvesting lowers your cost basis in the replacement security, which means the embedded gain grows and must eventually be recognized. The honest case for doing it anyway rests on the time value of deferred tax dollars and, for some investors, the real possibility that the gain is never recaptured at all.
Key Takeaways
- Nearly 80% of cumulative tax savings from loss harvesting accrue within the first five years of an account, per J.P. Morgan Private Bank.
- Short-term capital losses offset gains taxed at up to 40.8% federal (including NIIT), versus 23.8% for long-term gains, a 17-percentage-point spread that makes loss character a material dollar decision.
- The wash sale window is 61 days total (30 days before the sale through 30 days after), and automatic dividend reinvestment can trigger it silently without any manual trade.
- Daily harvesting generates approximately 30 basis points more annualized tax alpha than monthly harvesting, per J.P. Morgan Asset Management.
- Direct indexing harvests roughly 1.9x to 2.1x more losses over 10 years than ETF-based robo-advisor approaches, though it requires minimums of $5,000–$100,000 and annual fees of 0.10%–0.25%.
- The IRS classifies cryptocurrency as property, not securities, meaning the wash sale rule does not apply to crypto, making immediate repurchase after a loss sale currently permissible under IRS Notice 2014-21.
What Tax Loss Harvesting Actually Does (and What It Doesn’t)
Tax loss harvesting converts an unrealized paper loss into a realized tax deduction without forcing you out of your intended market position. You sell the losing asset, claim the loss on your tax return, and reinvest proceeds in a correlated but distinct security. The IRS permits this because you have genuinely changed your holding, but the practical effect is that your portfolio direction stays intact.
The framing most articles skip: every harvest reduces the cost basis of your replacement position by the amount of the loss you claimed. That embedded gain will eventually be taxed when you sell, unless the asset is donated to charity, passed to heirs with a stepped-up cost basis at death, or permanently offset by future losses. For investors planning to leave appreciated assets to heirs, this matters enormously. Heirs receive a step-up in basis to fair market value at the date of death, meaning the deferred capital gain is eliminated entirely. In that scenario, the “you just defer, not eliminate” objection simply does not apply.
Two hard boundaries define where this works. First, it is only available in taxable brokerage accounts. Losses inside a traditional IRA or 401(k) cannot be deducted because those accounts do not generate taxable gains in the first place. Second, buying back the same security inside an IRA after harvesting it in a taxable account permanently disallows the loss, a consequence explained in more detail in the wash sale section below. If you are still building your investment foundation, the guide on how to start investing with zero experience covers the account types that make this strategy possible.
Key Takeaway: Tax loss harvesting is a deferral tool, not a free lunch. It reduces current taxes by lowering cost basis, meaning the gain resurfaces later, unless the asset is donated or passed through an estate. J.P. Morgan Private Bank found nearly 80% of cumulative savings accrue within the first five years.
How Short-Term vs. Long-Term Losses Change the Math
Not all harvested losses are equal, and the sequencing of which losses to use first is a material dollar decision. Short-term losses (from assets held under one year) offset short-term gains that are taxed at ordinary income rates, up to 40.8% at the federal level when the 3.8% Net Investment Income Tax (NIIT) applies. Long-term gains top out at 23.8% including NIIT. That 17-percentage-point spread means a $10,000 short-term loss harvested against a short-term gain saves roughly $1,700 more in federal tax than the same loss applied against a long-term gain.
The IRS capital gain netting sequence governs how losses apply. Short-term losses offset short-term gains first; long-term losses offset long-term gains first. Only after netting within each category do the remaining amounts cross over. Investors who understand this hierarchy can deliberately prioritize harvesting short-term losses in portfolios with active trading or frequent RSU vesting, where short-term gain exposure is highest.
When losses exceed gains in a tax year, the excess offsets up to $3,000 of ordinary income annually. Any remaining balance carries forward indefinitely with no expiration. One important clarification: the carryforward does not grow or compound. A $50,000 loss carryforward is worth exactly $50,000 in future deductions regardless of how many years pass before you use it, which is why deploying losses in higher-rate years is preferable to letting them sit unused.
Worth understanding clearly: Short-term capital losses are worth more than long-term losses on a dollar-for-dollar basis because they offset gains taxed at up to 40.8% versus 23.8% for long-term gains. Prioritizing short-term loss harvests, following the IRS netting sequence, can produce materially larger tax savings than harvesting indiscriminately.
Mastering the Wash Sale Rule: The Mistake That Kills More Harvests
The wash sale rule disallows a loss deduction when you buy a “substantially identical” security within a 61-day window: 30 days before the sale, the sale date itself, and 30 days after. Most investors understand the post-sale restriction but miss that purchases made up to 30 days before the sale also trigger it, a trap that bites December harvesters who bought shares in early November.
Silent Triggers Most Guides Miss
The most dangerous wash sale triggers are the ones that happen automatically. If you sell a mutual fund at a loss but Dividend Reinvestment (DRIP) is still active on that fund, an automatic share purchase the following week creates a wash sale with no conscious action on your part. The fix is straightforward but specific: pause DRIP on the target security before executing the harvest. Similarly, a spouse purchasing the same security in their own account, including an IRA, can trigger a wash sale on your taxable account loss.
The IRA dimension has a consequence that competitors rarely explain clearly. There are two distinct scenarios. If a wash sale is triggered entirely within an IRA, the disallowed loss is permanently lost, it cannot be added to basis because IRA basis works differently than taxable account basis. If the wash sale is triggered between a taxable account and an IRA (you harvest in taxable, spouse buys in IRA), the loss is disallowed in the taxable account but the cost basis in the IRA is not adjusted either. Either way, the deduction is gone.
The IRS has never published a definitive list of “substantially identical” securities, which creates meaningful gray area for ETF swaps. Practical swaps with documented precedent include replacing SPY with a Russell 1000 ETF, swapping a Nasdaq-heavy fund for a broad total market fund, or replacing a single technology stock with a sector ETF like XLK. These substitutions maintain similar market exposure while clearly changing the specific holding.
The detail most guides omit: The wash sale window spans 61 days total, not just 30 days post-sale, and DRIP activity can silently trigger it without any manual trade. Pausing dividend reinvestment on the target security before harvesting is a concrete step that prevents this; IRS Publication 550 governs the full rule.
| Harvesting Vehicle | Harvest Level | Typical Minimum | Annual Fee |
|---|---|---|---|
| DIY Brokerage | Lot-level (manual) | No minimum | 0% |
| Robo-Advisor (Wealthfront) | ETF-level (automated daily) | $500 | 0.25% |
| Robo-Advisor (Schwab) | ETF-level (automated) | $50,000 for TLH feature | 0% |
| Direct Indexing | Stock-level (automated daily) | $5,000–$100,000 | 0.10%–0.25% |
Timing: Why Year-End Is the Wrong Mental Model
A year-round discipline captures significantly more value than a December scramble. Even in strong bull markets, individual stocks within a broad index decline regularly. In 2024, roughly 35% of S&P 500 constituent stocks lost money even as the index itself returned approximately 25%, creating over 175 distinct harvesting opportunities across the calendar year. Waiting until December means most of those windows had already closed.
According to J.P. Morgan Asset Management analysis, a daily harvesting approach delivers approximately 30 basis points of additional annualized tax alpha compared to a monthly approach. That gap accumulates meaningfully over time, particularly in accounts that compound over decades.
Harvesting losses early in the year adds a compounding dimension: the deferred tax dollars are reinvested for a full 12 months rather than weeks. A January harvest on a $100,000 taxable gain at a 32% rate frees up roughly $32,000 to remain invested through the year. A December harvest captures the deduction but removes that reinvestment runway.
Year-end execution carries its own risks that erode real savings. December trading volume spikes can widen bid-ask spreads on less liquid ETFs. Mutual funds typically distribute capital gains in October and November, and a distribution can trigger a new taxable event that partially offsets a harvest executed just days later. The 30-day pre-sale window also means December harvests require checking all purchases made back to early November. Taxes and planning intersect in more ways than most investors realize; the overview at Tax Season Is Closer Than You Think provides useful context on deadlines and preparation.
The compounding case for acting earlier: Daily harvesting generates 30 basis points more annualized tax alpha than monthly harvesting, per J.P. Morgan Asset Management. Treating harvesting as a year-round practice, triggered by quarterly rebalancing, RSU vest dates, and sector drops, captures far more value than a single year-end sweep.
Direct Indexing vs. Robo-Advisor vs. DIY: Choosing the Right Vehicle
The right harvesting vehicle depends on your account size, tax bracket, and willingness to manage lot-level accounting. Each approach harvests losses at a different resolution, and that resolution difference translates directly into dollar outcomes.
DIY in a Self-Directed Brokerage
DIY harvesting is appropriate for investors who understand specific lot identification, can manually track the 61-day wash sale window across all household accounts, and hold a concentrated or sector-specific portfolio. The advantage is zero additional cost. The risk is human error: a missed DRIP setting or a spouse’s purchase in a linked IRA can silently disallow the loss with no immediate notification.
Robo-Advisors and Direct Indexing
Robo-advisors like Wealthfront and Betterment automate ETF-level harvesting, swapping correlated funds within wash sale rules without manual intervention. Wealthfront’s 2025 results showed that clients with a risk-score 8 Classic portfolio had an average harvesting yield of 7.86% of portfolio value, translating to estimated tax savings of 1.97%–3.93% depending on their tax rate. The limitation of ETF-based approaches is structural: they miss stock-level dislocations within the index because the fund is treated as a single unit.
Direct indexing, owning the individual stocks that comprise an index, removes that constraint. Algorithms can harvest at the stock level continuously, and simulation data suggests direct indexing harvests approximately 1.9x to 2.1x more losses over a 10-year period compared to ETF-based robo-advisor approaches. Parametric Portfolio Associates alone harvested over $8.8 billion in losses across equity direct indexing accounts in 2025, generating a potential tax benefit exceeding $3.3 billion. The trade-off is higher minimums (typically $5,000–$100,000 depending on the platform) and management fees of 0.10%–0.25% annually. For investors managing investments alongside other income streams, pairing a direct indexing strategy with insights on prioritizing retirement savings can optimize the overall tax picture.
On the direct indexing trade-off: Direct indexing harvests approximately 1.9x–2.1x more losses over 10 years than ETF-based robo-advisors, but requires a minimum of $5,000–$100,000 and fees of 0.10%–0.25%. Wealthfront’s 2025 data shows ETF-level harvesting still produced meaningful results for retail investors who lack the minimums for direct indexing.
Who Actually Benefits, and When the Strategy Backfires
Tax loss harvesting delivers its clearest value to investors in the 32% federal bracket or above, those with substantial short-term gains from active trading or RSU vesting, and those who plan to donate appreciated securities or pass assets through an estate. In all three scenarios, the deferred gain either faces a lower rate later or is never recaptured at all.
One scenario where the strategy backfires deserves explicit attention, because almost no personal finance article addresses it. If an investor harvests a loss today at a 15% long-term capital gains rate but will realize the embedded gain later at a higher rate, due to income growth, portfolio appreciation pushing them into a higher bracket, or potential future legislative changes, the math produces negative tax arbitrage. The harvest actually costs money on a present-value basis. This is not a theoretical edge case; it applies to younger investors early in their earning years who are likely to be in higher brackets at peak accumulation.
Investors in the 0% long-term capital gains bracket ($96,700 for married filing jointly in 2025) get no immediate benefit from harvesting losses. Their optimal move is the opposite: tax-gain harvesting, selling appreciated securities to reset cost basis higher while paying zero federal capital gains tax, then immediately repurchasing. There is no wash sale restriction on gains, which makes this completely clean.
Cryptocurrency presents a distinct current opportunity. The IRS classifies crypto as property rather than securities under IRS Notice 2014-21, meaning the wash sale rule does not apply. An investor can sell Bitcoin or Ethereum at a loss and immediately repurchase, something impossible with equities. Legislation to close this gap has been proposed repeatedly, but as of this writing it has not passed. This is a genuine planning advantage for crypto holders that equity-only guides consistently omit. For those who want context on crypto’s broader risk profile, the breakdown of cryptocurrency investment risks and benefits is worth reviewing alongside any harvesting plan.
The bracket risk that most guides ignore: Tax loss harvesting can produce negative returns if losses are harvested at a 15% long-term rate today but the embedded gain is realized later at a higher rate, a scenario that applies to investors early in their careers. The strategy’s value is highest for those in the 32%+ bracket or those with estate and charitable planning in their financial picture.
Case Study: Two Investors, Same Loss, Different Outcomes
Abstract principles become concrete when applied to real numbers. Consider two investors, both holding a $40,000 unrealized loss in a taxable account in the same tax year, whose circumstances produce dramatically different results from the same tax loss harvesting strategy.
Investor A is a 52-year-old surgeon earning $620,000 annually. Her marginal federal income tax rate is 37%, and the 3.8% NIIT applies to her investment income. She has $55,000 in short-term capital gains from RSU vesting earlier in the year. She harvests the $40,000 loss in March, immediately reinvesting in a correlated but distinct ETF. The loss offsets $40,000 of her short-term gains, which would otherwise have been taxed at 40.8% (37% + 3.8%). Her immediate federal tax savings: $16,320. She plans to pass the replacement position to her heirs, meaning the embedded gain will receive a stepped-up basis at her death and the deferred tax is permanently eliminated. For Investor A, the tax loss harvesting strategy functions as a near-permanent tax reduction, not merely a deferral.
Investor B is a 28-year-old software engineer earning $145,000. His current marginal federal rate is 22%, and his long-term capital gains rate is 15%. He has no realized gains this year, so the $40,000 harvested loss offsets $3,000 of ordinary income immediately and carries forward $37,000. The $3,000 deduction saves him $660 in federal taxes this year. The carryforward is valuable but time-sensitive in a different way: he expects his income to roughly double by his mid-40s. If he realizes the embedded gain in the replacement security at a 23.8% long-term rate twenty years from now, he will pay more tax on that gain than he saved today, a negative present-value outcome even after discounting. His better move in the current year may be tax-gain harvesting on appreciated positions while his rate is low, not loss harvesting.
The contrast is instructive. The same $40,000 loss produces a $16,320 immediate tax benefit for Investor A and a $660 benefit for Investor B, with opposing long-term implications. Tax bracket, gain character, time horizon, and estate intentions all determine whether the strategy adds or destroys value on a lifetime basis.
Action Plan: Implementing a Tax Loss Harvesting Strategy
The following steps move from diagnosis to execution and are sequenced to prevent the most common errors before they occur.
- Confirm account eligibility first. Tax loss harvesting is only available in taxable brokerage accounts. Audit your accounts and identify which positions are held in taxable accounts versus IRAs or 401(k)s before doing anything else.
- Determine your tax bracket and gain character. Pull your most recent tax return and identify your marginal ordinary income rate and your capital gains rate. Identify any existing short-term gains from RSU vesting, active trading, or mutual fund distributions. This determines which losses are worth harvesting first and whether the strategy has positive present value for your situation.
- Scan for unrealized losses across all taxable positions. Most brokerage platforms display unrealized gain/loss by lot. Sort by loss amount and note whether each position is short-term or long-term. Prioritize short-term losses against short-term gains per the IRS netting sequence.
- Pause DRIP on any position you intend to harvest. Do this before placing the sell order. A single automatic dividend reinvestment after the sale date can silently disallow the loss you are about to claim.
- Identify your replacement security before selling. Confirm the replacement is clearly distinct from the sold security, different fund family, different index, or different underlying composition. Document your reasoning in case of audit. Do not buy back the same security or a substantially identical one within 30 days in any household account, including spousal IRAs.
- Execute the sale and reinvest the same day. Reinvesting immediately preserves market exposure and avoids the risk of being out of the market during a recovery. Use specific lot identification at your brokerage to control which shares are sold and ensure you are harvesting the intended loss.
- Set a 31-day calendar reminder. After the wash sale window closes, you may choose to switch back to your original security if preferred. Mark the date and review whether the replacement still meets your allocation needs.
- Track carryforwards and deploy them strategically. If your harvested losses exceed your gains and the $3,000 ordinary income deduction limit, record the carryforward amount. Plan to deploy it in years with higher income or larger realized gains rather than letting it sit unused.
Frequently Asked Questions
What is tax loss harvesting in simple terms?
Tax loss harvesting is selling an investment that has declined in value to lock in that loss on your tax return, then immediately buying a similar investment to stay in the market. The realized loss offsets taxable gains elsewhere in your portfolio, reducing what you owe the IRS in the current year.
Does tax loss harvesting actually save money, or does it just delay the tax?
Both, depending on your situation. For most investors, it is primarily a deferral: the harvested loss lowers your cost basis in the replacement security, so you pay the tax later when you sell. The financial benefit comes from keeping those deferred tax dollars invested in the interim. For investors who donate appreciated securities to charity, or who pass assets to heirs and receive a stepped-up basis at death, the deferred gain may never be taxed at all, making harvesting a genuine permanent reduction in some cases.
What is the wash sale rule, and how do I avoid triggering it?
The wash sale rule disallows your loss deduction if you purchase a “substantially identical” security within 61 days of the sale: 30 days before, the day of, or 30 days after. To avoid it, pause automatic dividend reinvestment on the position before selling, ensure no household account (including a spouse’s IRA) buys the same security within that window, and reinvest in a clearly distinct security, such as a different fund tracking a different index.
Can I tax loss harvest in my IRA or 401(k)?
No. Tax loss harvesting only works in taxable brokerage accounts. Retirement accounts like IRAs and 401(k)s do not generate taxable gains or losses in the normal sense, so there is no mechanism to claim a deduction. Selling at a loss inside an IRA simply reduces the account balance with no tax benefit.
How much can I deduct from tax loss harvesting each year?
Harvested losses first offset capital gains dollar for dollar with no cap. If losses exceed gains, you can deduct up to $3,000 of ordinary income annually. Any remaining losses carry forward indefinitely to future tax years, retaining their full face value, though they do not compound or grow while waiting to be used.
Is tax loss harvesting worth it if I’m in a low tax bracket?
Probably not in most cases, and it can actually backfire. If your long-term capital gains rate is currently 0% or 15%, harvesting losses now reduces your cost basis and creates an embedded gain you will pay taxes on later, potentially at a higher rate. Investors in low brackets are often better served by tax-gain harvesting instead, selling appreciated positions to reset their basis higher while paying little or no current tax.
What is the difference between tax loss harvesting and tax-gain harvesting?
Tax loss harvesting sells losing positions to generate a deductible loss. Tax-gain harvesting does the opposite: it sells winning positions intentionally to realize gains at a low or zero rate, then immediately repurchases the same security to reset the cost basis higher. There is no wash sale rule for gains, so the repurchase can happen the same day. Tax-gain harvesting is most valuable for investors temporarily in the 0% long-term capital gains bracket.
Does the wash sale rule apply to cryptocurrency?
Not currently. The IRS classifies cryptocurrency as property, not a security, under IRS Notice 2014-21, which means the wash sale rule does not apply. An investor can sell Bitcoin or Ethereum at a loss and repurchase immediately with no 30-day waiting period. Legislation to extend the wash sale rule to crypto has been introduced but has not passed as of early 2026. This is a genuine and time-limited planning advantage for crypto holders.
What is direct indexing, and is it better than a robo-advisor for tax loss harvesting?
Direct indexing means owning the individual stocks that make up an index rather than holding a single ETF. This allows algorithms to harvest losses at the stock level continuously, capturing dislocations that an ETF-level approach misses entirely. Simulation data suggests direct indexing harvests roughly 1.9x to 2.1x more losses over 10 years than ETF-based robo-advisors. The trade-off is that direct indexing typically requires a minimum of $5,000–$100,000 and charges annual fees of 0.10%–0.25%, while robo-advisors like Wealthfront start at $500 with a flat 0.25% fee.
When is the best time of year to harvest tax losses?
Year-round, not just December. Waiting until year-end means most loss opportunities have already closed, since individual stocks fluctuate throughout the calendar regardless of where the broader index finishes. Harvesting earlier in the year also extends the period that deferred tax dollars remain invested. December harvests carry additional risks: wider bid-ask spreads on less liquid securities, mutual fund capital gain distributions that can partially offset a harvest, and the 30-day lookback window that catches November purchases.
Sources
- J.P. Morgan Private Bank – Here’s How to Make Your Tax-Loss Harvesting Strategy Do More for You
- J.P. Morgan Asset Management – Continuous Tax-Loss Harvesting Yields More Potential for Tax Savings
- IRS Topic No. 409 – Capital Gains and Losses
- IRS Publication 550 – Investment Income and Expenses (including Wash Sales)
- IRS – Virtual Currencies (Notice 2014-21)
- Wealthfront – Tax-Loss Harvesting Results 2025
- Charles Schwab – Tax-Loss Harvesting and Understanding Wash Sales
- Fidelity – Tax-Loss Harvesting: How It Works
- Vanguard Research – Tax-Loss Harvesting: A Portfolio and Wealth Planning Perspective
- Parametric Portfolio Associates – Tax-Loss Harvesting Insights
- Morningstar – The Ins and Outs of Tax-Loss Harvesting
- Kiplinger – Tax-Loss Harvesting: What It Is and How It Works
- Betterment – How Tax-Loss Harvesting Works


