VestedGrant
Find an advisor

Direct indexing

Also called direct indexing, custom indexing, separately managed account index, SMA indexing

Direct indexing means holding an index's individual stocks in a separately managed account rather than buying a fund. Selling individual losers creates capital losses that offset capital gains and up to $3,000 of ordinary income a year for 2026, with the rest carried forward. The wash-sale rule disallows a loss if substantially identical stock is bought within 30 days before or after.

Facts checked November 21, 2026 · Tax year 2026

Direct indexing holds the individual stocks that make up an index rather than shares of a single index fund, usually in a separately managed account with software handling rebalancing. Its main tax feature is loss harvesting at the security level: even in a year when the index rises, some individual stocks trade below their purchase price, and selling them creates capital losses. Those losses offset capital gains, then up to $3,000 of ordinary income each year ($1,500 married filing separately), and any excess carries forward. The account can also exclude specific stocks, such as an employer’s shares. Fees and minimums vary by provider.

Consider an engineer who sells shares from vested RSUs in 2026 for a $60,000 capital gain and moves $800,000 into a direct-indexed S&P 500 account. In this illustration the account harvests $72,000 of losses over the year. The losses offset the $60,000 gain, then $3,000 of ordinary income, and $9,000 carries forward to 2027. Note that the RSU income at vesting is wages, not capital gain, so harvested losses cannot offset it beyond the $3,000 limit.

A common mistake is ignoring the wash-sale rule across accounts. A loss is disallowed if substantially identical stock is bought within 30 days before or after the sale. Employer stock is a frequent trap: if the direct-index account sells the employer’s shares at a loss, an RSU vest or ESPP purchase of the same stock within that window can trigger the rule. Excluding the employer’s stock from the account avoids both the wash sale and added concentration.

Direct indexing matters when diversifying after an IPO, in years with large capital gains, and alongside gifts of appreciated shares to charity.

Sources

  1. IRS Topic no. 409, Capital gains and lossesirs.gov
    Supporting text
    the amount of the excess loss that you can claim to lower your income is the lesser of $3,000 ($1,500 if married filing separately)
  2. IRS Publication 550, wash sales: stock received as a bonus awardirs.gov
    Supporting text
    If you receive another bonus award of substantially identical stock within 30 days of the sale, you cannot deduct your loss on the sale.
  3. 26 U.S.C. § 1091 (Loss from wash sales of stock or securities)uscode.house.gov
    Supporting text
    within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date, the taxpayer has acquired (by purchase or by an exchange

Facts checked November 21, 2026 · Tax year 2026

Find a fee-only advisor