Direct Indexing Tax Loss Harvesting: How It Works and What It Is Worth
How direct indexing tax loss harvesting works, the wash-sale rules that quietly delete the benefit, what a harvested loss is actually worth at 23.8%, and whether it beats the fee.
July 2026 · Indexes
Educational only · Never places a trade
Direct indexing tax loss harvesting works by owning the individual stocks of an index so you can sell the ones that fall, book the loss, and replace them with something similar to keep your market exposure. An index fund cannot do this because the winners and losers net out inside the wrapper. In a normal year the technique surfaces harvestable losses worth roughly 1% to 2% of the portfolio, which at the top combined federal long-term rate of 23.8% is worth about 0.24% to 0.48% of the account in deferred tax. That is the entire case for direct indexing. Everything else is a preference.
It is also the part people most often get wrong, because the tax code has three rules that quietly delete the benefit if you ignore them. Educational content only, not investment or tax advice. Confirm anything here with your own CPA.
How does tax loss harvesting work in direct indexing?
The mechanism depends on a fact people underrate: an index can go up while a large share of its members go down. In a year the S&P 500 returns 10%, it is normal for well over a hundred of its constituents to end the year lower than they started. If you hold one fund, that dispersion is invisible to you. If you hold 200 individual positions, every one of those losers is a lot you can sell.
The loop looks like this:
- Scan for lots trading below cost basis. Managed providers do this daily. Doing it yourself, quarterly is realistic and captures most of the value.
- Sell the loser and realize the loss. The loss is now on your tax return, not just on your screen.
- Buy a replacement that is not substantially identical. Usually another company with similar sector and factor exposure, so your index still behaves like the index.
- Wait out the 30-day window before buying the original back, if you want it back at all.
Step three is where the real skill sits. Sell one large-cap software name and buy another, and your tracking error against the index widens a little. Do that a hundred times and your "index" is drifting somewhere you did not intend. This is the tradeoff nobody advertises: every harvest buys you tax value and sells you a little bit of index fidelity.
What are the tax loss harvesting rules?
Three rules do most of the damage. They are not obscure, but they interact in ways that surprise people.
The wash sale rule. Under IRC Section 1091, if you buy the same or a substantially identical security within 30 days before or after selling at a loss, the loss is disallowed for now and added to the basis of the replacement shares. Note that it is a 61-day window in total, not 30, because it runs both directions from the sale.
It follows you across accounts, including your spouse's. The window is not per-account. If you sell a stock at a loss in your taxable brokerage account and your spouse's account buys it inside that window, the IRS treats it as a wash sale. This is the single most common way DIY harvesters lose deductions they thought they had banked, usually via an automatic reinvestment or a 401(k) contribution nobody was thinking about.
The IRA version is worse than a delay. Ordinarily a disallowed wash-sale loss is only deferred: it rides along in the basis of the replacement shares and you get it back eventually. Under Revenue Ruling 2008-5, if the replacement is bought inside an IRA, the loss is disallowed and your IRA basis is not increased. An IRA has no outside basis to step up, so the deferred loss has nowhere to go. It is gone permanently. The same applies to a purchase in your spouse's IRA.
That last one deserves emphasis because it inverts the usual intuition. A wash sale in a taxable account costs you timing. A wash sale into an IRA costs you the deduction, forever.
What is a harvested loss actually worth?
Losses are not cash. They offset gains, and their value depends entirely on what you have to offset.
| What the loss offsets | Rate it saves | Annual limit |
|---|---|---|
| Long-term capital gains | Up to 23.8% (20% plus the 3.8% net investment income tax) | No limit |
| Short-term capital gains | Your ordinary rate, up to 40.8% | No limit |
| Ordinary income, after gains are exhausted | Your ordinary rate | $3,000 a year ($1,500 if married filing separately) |
| Nothing this year | Nothing yet | Carries forward indefinitely |
The $3,000 cap is the detail that deflates a lot of enthusiasm. If you have no capital gains to offset, a $40,000 pile of harvested losses drips out at $3,000 a year against ordinary income and takes over a decade to use. Meanwhile you have been paying 0.40% a year on the account that generated them. Harvesting is worth real money to someone who realizes gains regularly. It is worth very little to a buy-and-hold investor with no gains, which describes more people than the marketing admits.
The other trap is decay. Harvesting is front-loaded: in year one, plenty of lots sit below cost. By year seven, if the market has done what it usually does, most of your positions are deep in the green and there is almost nothing left to harvest. The fee, of course, does not decay. Studies of tax alpha typically show the benefit concentrated in the early years and thinning steadily after that, which is why "1% to 2% a year" is best read as an average across a cycle rather than a rate you can count on annually.
Is direct indexing tax loss harvesting worth the fee?
Run the subtraction rather than trusting the pitch. Direct indexing costs 0.09% to 0.40% a year at the major providers versus roughly 0.03% for an S&P 500 ETF, so call the premium 0.06% to 0.37%.
| Taxable account | Extra fee at 0.40% | Tax value of a 1.5% harvest at 23.8% | Net |
|---|---|---|---|
| $100,000 | $370 | $357 | Break-even at best, and only with gains to offset |
| $500,000 | $1,850 | $1,785 | Still roughly break-even |
| $500,000 at a 0.09% provider | $300 | $1,785 | Clearly positive |
Notice what the table says. At a 0.40% provider the harvest roughly pays the fee and no more, so the customization is what you are actually buying. At a 0.09% provider the math works comfortably. The provider you pick matters more than whether direct indexing is a good idea in the abstract, which is why the direct indexing fees and minimums are worth comparing line by line before you commit.
And the whole thing collapses to zero inside an IRA or 401(k). There are no annual taxable gains in a retirement wrapper, so there is nothing to harvest and nothing to offset. If most of your money is in retirement accounts, this technique is not for you, whatever the fee.
Can you do tax loss harvesting yourself?
Yes, and at a modest number of positions it is genuinely manageable. Quarterly, you review lots below basis, sell them, buy a sensible replacement, and write down the 30-day window so you do not trip it. Most brokers show unrealized gain and loss per lot, which is the only data you strictly need. At year end the realized losses appear on your 1099-B and flow onto Schedule D, and if your return is otherwise straightforward you can handle the filing without a CPA as long as your lot records are clean.
What makes it hard is not the selling. It is knowing what to sell and what to buy back so the basket still tracks the thing you wanted to own. That is a design question, and it is answerable before you risk a dollar: decide the universe, decide the weighting rule, decide what an acceptable replacement looks like, and test whether the design holds up. You can backtest the index you have designed against real market history first, then implement it wherever you custody your money.
The honest summary: harvesting is real, it is worth roughly 0.24% to 0.48% a year to someone with gains to offset, it decays over time, and it is worth nothing to a retirement-account investor. If you are in the group it suits, the arithmetic is straightforward and it favors the cheapest provider who will do it properly. If you are not, an index fund at 0.03% is the better product and you should stop reading about this.
Build your index and see how it backtests
Bundle stocks or crypto into your own weighted index, backtest it against real market history, and track it against the S&P 500 or BTC. Educational and informational only, and Indexes never places a trade.