Investing basics · Brokers and automated investing
Direct indexing: owning the index’s stocks to harvest tax losses
How direct indexing holds an index’s stocks in your own account, why that creates more tax losses to harvest than a fund, and its costs, minimums and tracking error.
On this page
An index fund gives you a whole market in one security. Direct indexing takes the fund apart: instead of buying shares of an S&P 500 ETF, you own the stocks of the index, or a sample of them, in your own account, in roughly the index's weights. A manager, usually software overseen by an investment adviser, keeps the holdings close to the index and trades them for you.
The main reason to do that is tax. A fund is one position; when the market rises, it has no losses for you to use. A portfolio of hundreds of stocks almost always has some that are below what you paid, even in a good year, and each of those can be sold to realize a capital loss that offsets gains elsewhere. This lesson explains how direct indexing works, shows on two years of real prices how many losses a small basket produced and how quickly they disappeared, and covers the costs, minimums and tracking error that come with it.
How it works
A direct indexing account is a separately managed account (SMA): securities held in an account in your name at a broker, managed by an adviser under an agreement with you. The process runs in four steps.
- Choose a benchmark. The S&P 500, a total-market index, an international index.
- Build the portfolio. Buy every stock in the benchmark, or for smaller accounts a sample of a few hundred chosen so that sector weights and other characteristics stay close. Fractional shares make small positions possible.
- Harvest. At regular intervals, often daily, the software scans each tax lot. When a lot is far enough below its cost, it sells it to realize the loss and buys a similar stock in the same industry, so the portfolio keeps its shape without breaking the wash-sale rule.
- Track. It rebalances toward the index as weights drift and when the index itself changes.
Because you own the stocks, you can also customize: leave out a company you work for and already own through stock grants, exclude an industry, or tilt toward a factor. Each customization moves the portfolio further from the index.
Why a basket finds more losses than a fund
An index fund is a single position. If the S&P 500 is up since you bought it, you have nothing to harvest. A portfolio of the same stocks behaves differently, because stocks spread out: in almost any period some fall while the index rises.
To see this on real prices, take 14 large US stocks, AAPL, AMZN, GOOGL, INTC, JNJ, JPM, KO, META, MSFT, NVDA, PG, T, UNH and XOM, and put $10,000 in each at the close on November 18, 2024: a $140,000 mini-index, equally weighted for simplicity. This is a teaching basket, not a real index or a recommendation.
At the low. The basket's lowest close came on April 8, 2025, during the tariff-driven sell-off, when it was worth $124,296, down 11.2% (SPY, the S&P 500 ETF, was down 15.6% in price over the same days). But the positions were spread widely: 12 of the 14 were below cost, from NVDA at −31.3% to JNJ at −3.1%, while KO (+10.6%) and T (+14.8%) were up. A fund holder had one loss of 11.2%. The basket holder could realize $18,243 of losses by selling only the losers, more than the basket's net loss of $15,704, because the two winners were not touched.
Two years on. By November 17, 2026 the basket was worth $188,547, up 34.7% (SPY up 24.5% in price). Only 2 lots were still below cost, UNH at −33.9% and T at −3.0%, for $3,696 of available losses. Most of the harvest opportunity had come in one drawdown and was gone within months.
The Tax-loss harvesting: how it works, the wash-sale rule and its limits lesson covers the deferral point and the wash-sale rule in detail.
Costs, minimums and tracking error
Fees. Direct indexing is an advisory service, so there is an annual fee on the assets, usually higher than an index ETF's expense ratio because the provider manages hundreds of positions per client. Compare that fee with the harvest it is likely to deliver after the first few years, not the first year alone.
Minimums. Each provider sets an account minimum. Lower minimums became possible with fractional shares and zero commissions; higher-touch services with more customization tend to have higher minimums. Check the firm's Form ADV brochure for the current figure.
Tracking error. A portfolio that samples the index, swaps harvested stocks for similar ones and excludes companies you chose to drop will not match the index exactly. Over a year the gap can be positive or negative. The more you customize, the larger it can get.
Complexity. Hundreds of positions mean hundreds of lines on the tax form 1099-B, and the wash-sale rule applies across all your accounts: if a direct-indexing account sells a stock at a loss and your IRA or another account buys it within 30 days, the loss can be disallowed.
Lock-in. After a few years most lots are above cost. Moving to a different strategy means either selling and realizing those gains or transferring hundreds of positions in kind.
Direct indexing compared with funds
| Feature | Index ETF | Direct indexing |
|---|---|---|
| What you own | Fund shares | The stocks themselves |
| Losses to harvest | Only when fund falls | Stock by stock |
| Customization | None | Exclusions and tilts |
| Tracking error | Very small | Larger, by design |
| Cost | Expense ratio | Advisory fee + trading |
| Paperwork | One position | Hundreds of tax lots |
A robo-advisor harvesting between two similar ETFs sits between the two: fewer opportunities than a stock basket, but far simpler.
Who it suits, and who it doesn't
It helps most when there are gains to offset: someone selling a business, a concentrated stock position or real estate, or with high capital gains every year, in a taxable account. It does nothing in an IRA or 401(k), where gains and losses are not taxed year by year. For a small taxable account with no gains elsewhere, the $3,000 yearly limit on offsetting income caps the benefit, and the fee may exceed it.
The SEC's April 2023 case against Betterment is a reminder that automated harvesting depends on code: the SEC found that undisclosed software changes and coding errors left more than 25,000 accounts with roughly $4 million less in potential tax benefits than they should have had.
How Finabase helps
Finabase does not run direct-indexing accounts. It can show the effect this lesson is built on: the market heatmap colors every stock in the index by its move, and on most days, even strong ones, a block of red appears next to the green. A Finabase portfolio records each purchase as its own lot with its date and cost, which is how you can see which holdings are below cost at any moment.
Frequently asked questions
What is direct indexing?
It is owning the individual stocks of an index in your own managed account instead of an index fund. A manager keeps the holdings close to the index and sells losing stocks to realize tax losses.
Is direct indexing better than an ETF?
Neither is better in general. Direct indexing can harvest more losses and allows exclusions, but it costs more, tracks the index less closely and adds paperwork; an ETF is cheap, simple and tax-efficient on its own. The difference depends on whether you have gains to offset.
How much does direct indexing save in taxes?
It depends on market swings, your gains and your tax rate. Most of the saving is a deferral, and it is largest in the first years and in falling markets: in this lesson's 14-stock example, 12 positions were below cost after the April 2025 drop, but only 2 two years later.
Does the wash-sale rule apply to direct indexing?
Yes. Selling a stock at a loss and buying it, or a substantially identical security, within 30 days before or after disallows the loss, including purchases in your other accounts. Managers avoid it by buying a different stock in the same industry.
Summary
Direct indexing holds an index's stocks in your own separately managed account, so each stock can be sold at a loss when it falls, even while the index rises. In a 14-stock example bought in November 2024, 12 lots were below cost at the April 8, 2025 low, offering $18,243 of losses, against 2 lots and $3,696 by November 2026. The benefit is mostly a tax deferral that fades as positions rise; the costs are an advisory fee, a minimum, tracking error and paperwork. It suits taxable investors with real gains to offset more than anyone else.
Check your understanding
4 questions on this lesson. Each answer comes with the reason, and nothing is scored.
The S&P 500 is up 10% since you invested. Why might a direct-indexing account still have losses to harvest when an S&P 500 ETF has none?
- Because direct indexing uses leverage
- Because individual stocks spread out, and some are below their purchase price even when the index has risen
- Because ETFs are not allowed to realize losses
Show the answer
B. Because individual stocks spread out, and some are below their purchase price even when the index has risen An ETF is one position with one cost basis. A basket of the index’s stocks has hundreds of lots, and in almost any period some of them fall while the average rises.
A manager sells a stock at a $5,000 loss and buys a similar company in the same industry. Years later both positions are sold. Why is the harvest mostly a deferral?
- Because the replacement stock has a lower cost basis, so more gain is taxed when it is sold
- Because the IRS reclaims harvested losses after five years
- Because the loss can only be used against ordinary income
Show the answer
A. Because the replacement stock has a lower cost basis, so more gain is taxed when it is sold The loss lowers tax now, but the money is reinvested at a lower basis. Unless the holding is never sold (held until death or donated), the gain shows up later.
In the lesson’s 14-stock basket, 12 lots were below cost at the April 2025 low but only 2 were by November 2026. What does that suggest?
- Harvest opportunities are steady every year
- Harvest opportunities cluster in drawdowns and shrink as positions rise above cost
- The basket was badly constructed
Show the answer
B. Harvest opportunities cluster in drawdowns and shrink as positions rise above cost After a recovery most lots sit above their purchase price, so there is little left to harvest. The benefit is largest early and in falling markets.
Your direct-indexing account sells a stock at a loss, and the same week your IRA buys that stock. What can happen?
- Nothing; the accounts are separate
- The wash-sale rule can disallow the loss
- The IRA purchase is taxed as a gain
Show the answer
B. The wash-sale rule can disallow the loss The wash-sale rule looks at purchases within 30 days before or after the sale across your accounts, IRAs included. The manager of one account cannot see the others.
Exercise
One task to do in Finabase. Nothing is graded or saved.
Open the market heatmap on a day the S&P 500 is up. Count roughly how many of the largest stocks are red. Then do the same on a day the index is down: how many large stocks are green?
Open the heatmapWhat you should find
Even on a clearly up day, a noticeable block of stocks is down, and on a down day some rise. That spread between individual stocks is what gives a direct-indexing account losses to harvest when an index fund has none.
Sources and further reading
- IRS — Publication 550, Investment Income and Expenses (wash sales)
- IRS — Topic No. 409, Capital gains and losses ($3,000 limit)
- SEC press release 2023-80 — Betterment tax-loss harvesting disclosures (2023-04-18)
- SEC — Investment Adviser Public Disclosure (Form ADV search)
- Finabase chart data — daily closes of 14 large US stocks and SPY, November 18, 2024 to November 17, 2026
