Back to all articles
TaxFebruary 3, 2026·8 min read

Tax Loss Harvesting and Direct Indexing: A Guide for Concentrated Stock Holders

The Problem: A $380,000 Tax Bill You Can See Coming

You hold $2M in company stock with a cost basis of $400,000. Maybe it was acquired through RSU vests over several years, maybe through early exercise of stock options. Regardless, you have $1.6M in unrealized long term capital gains.

If you sell the entire position in a single year, the federal tax bill looks like this:

  • $1.6M in long term capital gains at 20% = $320,000
  • Net Investment Income Tax (NIIT) at 3.8% on the full amount = $60,800
  • Total federal tax: approximately $380,800

That is before state taxes. In California, add another $198,000 at the 13.3% top rate. The combined bill approaches $580,000 on a $2M sale.

You cannot eliminate this tax, but you can meaningfully reduce it. The two primary tools are tax loss harvesting and direct indexing, and the critical detail is that both require advance planning.

Tax Loss Harvesting: The Basics

Tax loss harvesting is straightforward. You sell investments that have declined in value to realize capital losses. Those losses offset capital gains dollar for dollar. If you realize $100,000 in losses and $100,000 in gains in the same year, your net taxable gain is zero.

After selling the losing position, you buy a similar (but not substantially identical) investment to maintain your market exposure. You sold Coca Cola at a loss, so you buy PepsiCo. You sold a total market ETF, so you buy a large cap growth ETF. The goal is staying invested in roughly the same part of the market while locking in the tax loss.

The Wash Sale Rule

The IRS prohibits you from claiming a loss if you buy a substantially identical security within 31 days before or after the sale. This means you cannot sell an S&P 500 ETF at a loss, buy the same ETF the next day, and claim the deduction. The 31 day window applies in both directions: 31 days before and 31 days after the sale.

Violating the wash sale rule does not create a permanent loss of the deduction. Instead, the disallowed loss gets added to the cost basis of the replacement shares. But it does defer the benefit, which defeats the purpose of harvesting in the year you need it.

Why Traditional Tax Loss Harvesting Falls Short

Here is the limitation most people miss: you can only harvest losses that exist in your portfolio. If you have a $500,000 diversified portfolio that is up 15% overall, the losses available for harvesting are small, perhaps $15,000 to $25,000 in individual positions that declined even as the broader market rose.

Against a $1.6M capital gain, $20,000 in harvestable losses saves you approximately $4,760 in federal tax (at the combined 23.8% long term rate). That is real money, but it barely dents the overall liability.

The problem compounds in strong market years. After a year where the S&P 500 gains 20%, virtually every position in a diversified ETF portfolio is up. There is nothing to harvest.

Direct Indexing: Tax Loss Harvesting on a Different Scale

Direct indexing solves the limitation above by giving you access to hundreds of individual loss harvesting opportunities instead of a handful.

Instead of buying a single S&P 500 ETF (which is one security with one cost basis), you buy all ~500 individual stocks in the index, weighted to match the index's performance. Your portfolio behaves identically to the S&P 500, but you now own 500 separate tax lots.

This matters because even in a strong market, individual stocks decline. In a year where the S&P 500 returns 18%, roughly 150 to 200 of the 500 constituent stocks will have posted losses at some point during the year. With direct indexing, you can sell each of those losers, realize the loss, and immediately replace them with similar stocks from the same sector.

The result: a direct indexing portfolio typically generates 5x to 10x more harvestable losses than an equivalent ETF portfolio in the same market environment. Academic and industry research consistently shows first year tax loss harvesting alpha of 1.5% to 4% of portfolio value, with declining (but still meaningful) benefits in subsequent years.

A Concrete Scenario

You establish a $1M direct indexing portfolio tracking the S&P 500. Over three years, the portfolio generates cumulative tax losses:

YearMarket ReturnLosses HarvestedCumulative Losses
Year 1+14%$75,000$75,000
Year 2+9%$45,000$120,000
Year 3+18%$30,000$150,000

Notice the declining harvesting benefit each year. This is expected: as replacement stocks are bought at lower cost bases, there are fewer new losses to harvest. But $150,000 in cumulative losses is still enormously valuable.

When you sell $500,000 of concentrated stock with $400,000 in embedded gains (cost basis of $100,000), you offset $150,000 of that gain with your accumulated losses. The tax savings: $150,000 x 23.8% = $35,700 in reduced federal tax. The remaining $250,000 in gains is still taxable, but you have cut the bill by more than a third.

Timing Is Everything: Start Before You Need It

This is the most important takeaway. Direct indexing losses accumulate over time. Starting a direct indexing portfolio the same quarter you plan to sell your concentrated stock provides almost zero benefit. The individual stock positions have not had time to move, so there are no losses to harvest.

The ideal timeline:

  • Two to three years before a planned liquidity event: establish the direct indexing portfolio
  • Ongoing: automated harvesting captures losses as they occur throughout the year
  • Year of the sale: deploy accumulated losses against the concentrated stock gain

If you know your company is approaching an IPO, a secondary sale window, or you are planning to leave and want to diversify, the clock starts now.

Layering Strategies: Getting From 23.8% to 12%

Direct indexing does not work alone. The most effective approach combines multiple strategies across multiple years:

  • Charitable giving of appreciated shares: donate $200,000 of company stock directly to a donor advised fund. You deduct the full market value, avoid capital gains entirely, and direct the funds to causes you care about. Tax savings: approximately $70,000 (income deduction) plus $47,600 (avoided capital gains tax).
  • Tax loss harvesting via direct indexing: offset $150,000 in gains as described above. Tax savings: $35,700.
  • Staged sales over two to three tax years: instead of selling $2M in one year, sell $700,000 per year over three years. This keeps each year's gain lower and can avoid triggering the highest federal bracket.
  • Qualified Opportunity Zone investment: reinvest a portion of gains into a QOZ fund to defer and partially reduce the tax on that portion.

On a $2M position, combining charitable giving ($200K donated), direct indexing losses ($150K offset), and staged sales can reduce the effective federal tax rate from 23.8% to the 12% to 15% range on the total position value. That is the difference between paying $380,000 and paying $215,000.

Who Direct Indexing Makes Sense For

Direct indexing is not for everyone. The math works in specific situations:

It makes sense when:

  • You have a taxable account of $250,000 or more to allocate to direct indexing (most platforms require $100K to $250K minimums)
  • You have a known future capital gains event (concentrated stock sale, real estate sale, business exit)
  • You have a two to three year runway before the liquidity event
  • You are in a high tax bracket (the value of each dollar of loss is proportional to your marginal rate)

It does not make sense when:

  • Your investable assets are primarily in tax deferred accounts (401k, IRA). There are no capital gains in these accounts, so there are no losses to harvest.
  • Your portfolio is under $100,000. The management fees and trading complexity are not justified by the tax savings.
  • You need the money within 12 months. There is not enough time for meaningful losses to accumulate.
  • You have no significant capital gains exposure. If you are not selling appreciated assets, harvested losses provide only $3,000 per year in ordinary income offset.

Costs to Consider

Direct indexing portfolios typically charge 0.20% to 0.40% in annual management fees, compared to 0.03% for a simple S&P 500 ETF. On a $1M portfolio, that is $2,000 to $4,000 per year in additional cost. The tax savings need to exceed these fees to justify the approach, and for concentrated stock holders planning a large sale, they almost always do.

The Bottom Line

A $1.6M capital gain does not have to generate a $380,000 tax bill. But reducing it requires planning that starts years before the sale. Direct indexing is the single most effective tool for generating the losses you need, and combining it with charitable giving and staged sales can cut your effective rate nearly in half.

The worst time to start thinking about tax loss harvesting is the year you sell. The best time is right now.


Stay informed

Get our latest insights on tax strategy, markets, and wealth planning delivered to your inbox.