Most diversified portfolios rely on Exchange-Traded Funds (ETFs) or mutual funds. For the majority of investors, the standard approach is straightforward: buy, hold, and pay the capital gains tax when the investment is eventually sold. However, for certain high-income brackets or specific portfolio structures, understanding the mechanics of tax-loss harvesting and direct indexing becomes relevant.
The core concept relies on a specific feature of the tax code: an investment that has declined in value can be utilized to reduce a current tax liability.
When an investment is sold for less than its purchase price (its cost basis), the investor realizes a capital loss. The IRS allows these losses to offset capital gains realized in the same tax year. If total losses exceed total gains, individuals can use up to $3,000 of the remaining loss to offset ordinary income ($1,500 if married filing separately). Any losses beyond that limit are carried forward to offset gains in future tax years indefinitely.
The financial impact depends entirely on the investor’s tax bracket. For example, in 2026, long-term capital gains face federal rates of 0%, 15%, or 20%. High earners are also subject to the 3.8% Net Investment Income Tax (NIIT) once adjusted gross income exceeds $200,000 for single filers or $250,000 for married couples. Consequently, a capital loss that offsets a gain taxed at the maximum combined rate of 23.8% provides a higher immediate tax savings than one offsetting a gain at the 15% rate.
The math of tax-loss harvesting becomes difficult when using standard index funds.
If an investor owns a single S&P 500 ETF, and the index rises 12% over the year, the value of the ETF increases accordingly. There is no net loss to realize. However, within that index, dozens of individual corporate components likely experienced significant declines during those same twelve months. Because the investor owns a single pooled security rather than the underlying equities, the gains of the winning stocks mask the losses of the losing stocks. The investor cannot isolate and sell only the declining components.
Direct indexing replicates the index by purchasing the underlying fractional or full shares of the individual companies directly within the investor’s personal brokerage account. Instead of owning one fund ticker, the investor owns hundreds of individual stock positions.
This structural difference alters how losses are harvested. In a year where the broad index gains 12%, a direct indexing account will still contain individual stocks currently trading below their purchase price. The strategy involves systematically selling those specific underwater positions to capture the tax loss, while simultaneously purchasing highly correlated replacement securities to maintain the account’s target market exposure.
A common application for this structure involves managing concentrated stock risk. For example, an investor holding a large, low-basis position from a business sale or corporate compensation may want to diversify out of that position over time. Selling the concentrated shares triggers significant capital gains. If paired with a direct indexing account, the systematic losses generated by the broader index can be used to offset those specific gains, lowering the net tax bill for that calendar year.
The IRS prevents investors from claiming a loss if they repurchase the same asset immediately. Under the wash-sale rule, a loss is disallowed if the investor purchases the same security, or one considered “substantially identical,” within a 61-day window—defined as 30 days before the sale, the day of the sale, and 30 days after the sale.
This rule applies across all accounts under the same household, not just the account where the sale occurred. Common triggers for accidental wash sales include:
Tax-loss harvesting does not eliminate tax liability; it defers it.
When a losing stock is sold and replaced with a similar security to maintain market exposure, the new security carries a lower cost basis. If the market recovers, the eventual sale of that replacement security will trigger a larger capital gain than if the original stock had simply been held.
The strategy effectively trades a current tax obligation for a future tax obligation. The primary financial utility of this trade is twofold:
Direct indexing provides the structural framework necessary to harvest granular losses within an index, a mechanism that standard pooled funds cannot replicate. However, the strategy requires ongoing administrative management to avoid wash sales across household accounts, introduces higher tracking error relative to the benchmark index, and often carries higher management fees than low-cost ETFs. Whether the tax alpha offsets these costs depends on an investor’s specific income tier, cash flow needs, and broader portfolio composition.
IAPD Website
Privacy Policy
Contact:
cw@willcoxwealthmanagement.com
978.888.3012
PO BOX 12225
Denver, CO 80212
cw@willcoxwealthmanagement.com
978.888.3012
PO BOX 12225
Denver, CO 80212
Firm Disclosure