Tax-Loss Harvesting Explained: When It Helps and When It Doesn’t
Every year, investors pay more in capital gains taxes than they legally have to. Tax-loss harvesting is one of the most straightforward IRS-sanctioned strategies to fix that — yet it is frequently misunderstood, misapplied, or ignored entirely. This guide explains exactly how it works, walks through a concrete numbers example, flags the wash-sale rule pitfalls that trip up even experienced investors, and spells out the specific situations where the strategy genuinely saves money versus where it adds complexity for little or no reward.
This article is educational and does not constitute personalized tax or financial advice. Consult a qualified CPA or financial advisor before executing any tax strategy.
What Is Tax-Loss Harvesting?
Tax-loss harvesting is the practice of selling an investment that has declined in value in order to realize a capital loss, then using that loss to offset capital gains recognized elsewhere in your taxable portfolio. If your losses exceed your gains, you can apply up to $3,000 per year of the net loss against ordinary income, with any remaining balance carrying forward to future tax years indefinitely.
Two details separate tax-loss harvesting from simply “selling a loser”:
- You immediately reinvest the proceeds in a similar — but not identical — asset, so your market exposure is maintained. This is what distinguishes the strategy from locking in losses or timing the market.
- It only applies to taxable brokerage accounts. IRAs and 401(k)s are already tax-sheltered; selling inside those accounts generates no taxable event and therefore produces no harvestable loss.
Losses are classified the same way gains are: short-term (holding period under one year, taxed as ordinary income) or long-term (held one year or more, taxed at preferential capital gains rates of 0%, 15%, or 20%). Short-term losses offset short-term gains first, and long-term losses offset long-term gains first — an ordering the IRS enforces. Matching loss types to gain types maximizes the after-tax benefit.
How Tax-Loss Harvesting Works: A Step-by-Step Example
Here is a concrete walkthrough using round numbers drawn from Vanguard’s publicly available illustration.
Step 1 — Identify a Holding With an Unrealized Loss
You purchased a broad international ETF for $50,000. It is now worth $35,000, creating a $15,000 unrealized (paper) loss. The fund’s long-term thesis is intact, but the price is temporarily down.
Step 2 — Sell the Position Before December 31
You must sell before the last trading day of the calendar year for the loss to count in the current tax year. The $15,000 loss is now “realized” and reportable on Schedule D of your federal return.
Step 3 — Apply the Loss Against Realized Gains
Suppose you also sold a stock position earlier in the year and recorded a $25,000 long-term capital gain. Your $15,000 loss reduces that gain to $10,000 net. You owe long-term capital gains tax only on the $10,000, not the full $25,000.
Step 4 — Reinvest in a Similar but Not Identical Fund
Within a few days you reinvest the $35,000 proceeds into a comparable international equity ETF that tracks a different index. You remain fully invested, your asset allocation is preserved, and the IRS wash-sale rule (covered in detail below) is satisfied.
Larger Example: Estimated Savings of $4,800
Vanguard’s published example uses a $30,000 harvested loss against $25,000 in realized gains:
- The $25,000 gain is fully eliminated — $0 capital gains tax owed.
- The remaining $5,000 loss: $3,000 offsets ordinary income; $2,000 carries forward.
- At a 15% long-term capital gains rate and a 35% ordinary income rate, estimated federal tax savings total approximately $4,800 ($3,750 from avoided capital gains + $1,050 from the ordinary income deduction).
Unused losses carry forward to future tax years with no expiration date under current U.S. federal tax law.
The Wash-Sale Rule: The #1 Mistake to Avoid
The IRS wash-sale rule (IRC Section 1091) disallows a claimed capital loss if you purchase the same or substantially identical security within 30 days before or after the sale that generated the loss. The window is 61 days total — 30 days prior, the sale date, and 30 days after.
What “Substantially Identical” Means in Practice
- Selling the Vanguard S&P 500 ETF (VOO) and immediately buying the iShares S&P 500 ETF (IVV) — same index, likely treated as substantially identical. Loss is disallowed.
- Selling VOO and buying an ETF tracking the Russell 1000 — different index, broad overlap, but generally considered an acceptable swap by tax practitioners. Loss is preserved.
- Selling a mutual fund and buying its ETF share class of the same fund — same fund, same underlying assets. Loss is disallowed.
The Disallowed Loss Is Not Permanently Gone
If the wash-sale rule is triggered, the disallowed loss is added to the cost basis of the repurchased security. This defers the tax benefit rather than eliminating it entirely — you will realize it when the replacement security is eventually sold, assuming that sale does not also trigger a wash sale.
Wash-Sale Rules Span All Accounts You Control
This is one of the most frequently overlooked details: wash-sale rules apply across all accounts under your control, including your spouse’s accounts and your own IRAs. If you sell a stock at a loss in your taxable account and your spouse buys the same stock in her taxable or IRA account within the 61-day window, the IRS can disallow your loss.
Cryptocurrency Exception (As of 2026)
Under current law as of early 2026, cryptocurrency is not subject to wash-sale rules. An investor can sell Bitcoin at a loss and repurchase it immediately. Legislation to extend wash-sale rules to crypto has been proposed but has not yet been enacted. Monitor IRS guidance and congressional action if you hold crypto in taxable accounts.
➤ Free Guide: 5 Ways To Automate Your Retirement
When Tax-Loss Harvesting Genuinely Helps
The strategy delivers the most value in specific financial situations. Here are the clearest scenarios.
High Taxable Income
Investors in the 32%–37% ordinary income brackets or the 20% long-term capital gains bracket see the largest absolute dollar savings because each dollar of offset is worth more. A $10,000 long-term loss harvested by someone in the 20% LTCG bracket saves $2,000 in federal taxes; the same harvest saves $0 for someone in the 0% bracket.
You Are Already Rebalancing
If your portfolio is overweight in some areas and you plan to sell and rebalance anyway, check whether any of the positions you are trimming are sitting at a loss. Harvesting while rebalancing adds a tax benefit at no extra trading cost — the sale was happening regardless.
A Large Gain Event in the Same Year
Selling a business, rental property, or a concentrated stock position creates a large gain in a single tax year. Harvested losses directly offset those gains dollar-for-dollar, making this one of the highest-value use cases for the strategy.
Early-Stage Taxable Accounts
When a taxable account is relatively new, many positions are close to their original cost basis and more likely to dip below it during normal volatility. Harvesting opportunities are more abundant. As the account appreciates over decades, cost basis on replacement lots falls and “tax alpha decay” sets in — future harvesting becomes less productive.
Market Volatility Windows
Short-term price swings can push fundamentally sound holdings temporarily below your cost basis. Harvesting in these windows captures a tax benefit without sacrificing long-term exposure, provided you reinvest in a comparable asset immediately.
Robo-Advisor Automation
Platforms like Betterment, Wealthfront, and Empower scan portfolios daily — or more frequently — for harvesting opportunities. Research estimates this continuous approach can add approximately 0.1% to 1.5% in annualized after-tax return, depending on market conditions and contribution frequency. Manual, end-of-year harvesting cannot match that granularity.
When Tax-Loss Harvesting Doesn’t Help (Or Can Hurt)
The strategy is often promoted broadly, but it is irrelevant or counterproductive in several common situations.
You Are in the 0% Capital Gains Bracket
For 2026, married filers with taxable income below approximately $94,050 owe 0% federal tax on long-term capital gains. If you have no gains tax liability, harvesting losses offsets nothing meaningful. In this bracket, tax-gain harvesting (described in the next section) is typically more valuable.
Your Investments Are in Tax-Deferred Accounts Only
Selling inside a traditional IRA or 401(k) creates no taxable event. There are no capital gains to offset and no deductible losses to claim. Tax-loss harvesting has zero application to these accounts.
Short Holding Horizons
When you harvest a loss and buy a replacement security, the holding-period clock resets. If you sell the new position within 12 months — perhaps because it rebounds quickly — any gain is taxed as short-term income at rates up to 37%. The original tax benefit can be partially or fully reversed.
Transaction Costs Are High
Commission-based brokerages and funds with wide bid-ask spreads can erode or eliminate the net tax benefit. Most major retail brokers now offer commission-free ETF trades, but confirm your specific account’s fee structure before executing frequent harvesting transactions.
Mature, Highly Appreciated Portfolios
J.P. Morgan research describes “tax alpha decay” as an inherent feature of long-running harvesting accounts: as losses are captured and replacement securities are purchased at lower cost, the overall cost basis declines and future harvesting opportunities shrink. Harvesting is most productive in a portfolio’s early years and during sustained market drawdowns.
State Tax Complexity
Some states — California is a common example — impose their own capital gains rules that do not fully conform to federal treatment. The state-level benefit of harvesting may differ materially from the federal calculation. Run a combined federal-plus-state analysis before assuming the savings are as large as a federal-only estimate suggests.
Tax-Loss Harvesting vs. Tax-Gain Harvesting: Know the Difference
Tax-gain harvesting is the mirror-image strategy: intentionally realizing capital gains in a year when your effective tax rate is unusually low — during retirement, a sabbatical, or a year with large deductions. The goal is to reset your cost basis upward at a low or zero tax cost.
Practical Example for 2026
A married couple with $80,000 in taxable income in 2026 falls in the 0% long-term capital gains bracket. They can sell appreciated ETFs, realize up to roughly $14,000 in long-term gains at 0% federal tax, immediately repurchase the same shares (no wash-sale rule applies to gains), and lock in a permanently higher cost basis. When they eventually sell in a higher-income year, the taxable gain is smaller.
The two strategies are not mutually exclusive. Investors who experience significant income variation from year to year — business owners, retirees transitioning accounts, or those with one-time gain events — can alternate between them based on projected annual income. A CPA familiar with your full tax picture should confirm which applies in any given year, particularly if AMT exposure or state taxes are factors.
Automating Tax-Loss Harvesting: Robo-Advisors and DIY Tools
Robo-Advisors
Betterment and Wealthfront both offer automated tax-loss harvesting as a standard feature for taxable accounts, scanning daily for opportunities and executing trades automatically. Both charge approximately 0.25% of assets under management annually. Empower (formerly Personal Capital) offers tax optimization as part of its wealth management overlay, generally targeting higher account balances.
The core advantage of robo-advisors is frequency: daily scanning captures intraday and short-window losses that a manual year-end review will miss entirely.
Direct Indexing
Direct indexing platforms — available through Fidelity, Schwab, and Merrill for accounts typically starting at $100,000–$250,000 — hold individual constituent stocks rather than a single ETF. This creates far more granular harvesting opportunities because individual stocks within an index diverge in price even when the index itself is flat or rising. The strategy layers complexity and cost, so it is best evaluated with a financial advisor.
DIY Manual Harvesting
If you manage your own portfolio, a practical approach is to review your taxable accounts in October and November each year. Filter holdings by unrealized gain or loss, identify positions below your cost basis, and execute sales before December 31. Keep these steps in mind:
- Download your cost basis data from your brokerage before you start. Many brokers display this directly in the account dashboard.
- Identify a wash-sale-safe replacement before you sell. Do not sell without knowing exactly what you will buy.
- Document the dates and amounts of both the sale and the reinvestment. You will need this for your tax return.
- Confirm the loss settles in the current calendar year — settlement is typically T+1 for ETFs and T+2 for individual stocks, so plan your sell date accordingly.
J.P. Morgan Research: Lump-Sum vs. Gradual Funding
J.P. Morgan’s research found that investing the full amount at account opening produces more harvestable losses in roughly 55% of historical cases, primarily because a larger asset base is exposed to early drawdowns. However, gradual contributions work better in sustained bull markets by continuously refreshing the cost basis with new, higher-priced lots — preserving future harvesting opportunities as the account matures.
What to Do Next
Apply this framework before the December 31 deadline for tax year 2026:
- Log in to your taxable brokerage account today. Filter for positions with unrealized losses. Most major brokers display cost basis and unrealized gain/loss directly in the portfolio view.
- Estimate your 2026 realized capital gains. Add up sales, fund distributions, and any planned rebalancing to determine how much taxable gain you need to offset.
- Check your capital gains tax bracket. If your long-term capital gains rate is 0%, skip tax-loss harvesting and evaluate tax-gain harvesting instead. If your rate is 15% or 20%, harvesting becomes progressively more valuable.
- Identify wash-sale-safe replacements before you sell. Research ETFs tracking a different but correlated index. For example, if you hold a broad S&P 500 fund, an ETF tracking the Russell 1000 or the total U.S. market may serve as a temporary replacement.
- Evaluate robo-advisor options if you hold $50,000 or more in a taxable account. Compare Betterment and Wealthfront (each typically 0.25% AUM annually) against the cost of managing the account yourself. For accounts above $250,000, ask your advisor about direct indexing.
- Coordinate with your CPA before year-end — especially if you have a large capital gain event, AMT exposure, significant state tax liability, or are approaching the income threshold for the 0% capital gains bracket. Marginal rate calculations depend on your full tax picture, not just investment income.
Tax laws are subject to change. The figures, brackets, and thresholds cited in this article reflect U.S. federal tax law as understood in early 2026 and are used for illustrative purposes only. This content does not constitute personalized tax, legal, or investment advice.
