In 30 seconds
Tax-loss harvesting means deliberately selling a losing investment to capture a tax deduction against gains you have realized elsewhere. You immediately reinvest in something similar so your portfolio stays invested, but the new position carries a lower cost basis — so you are deferring tax, not erasing it. The honest caveat: in a steadily rising market, you will eventually run out of losses to harvest. The strategy's real power emerges when the deferred gain is ultimately taxed at a lower rate, donated to charity, or eliminated entirely through a stepped-up basis at death. Scale matters — larger, more granular portfolios generate more harvesting opportunities, which is one reason direct indexing has attracted significant attention.
What Tax-Loss Harvesting Actually Is
Every diversified portfolio contains some positions that have gained in value and some that have not. Tax-loss harvesting is the disciplined practice of selling the losers — positions where the current market price is below the cost basis (what you originally paid, adjusted for any prior transactions) — to realize a capital loss on paper. That realized loss can then offset capital gains recognized elsewhere in the portfolio, reducing the investor's taxable income for the year.
The proceeds from the sale are not left in cash. They are almost immediately reinvested into a different security that provides similar economic exposure — a fund tracking a comparable index, for example, or a stock in the same industry. This keeps the portfolio invested and preserves the family's intended market exposure while the tax loss is captured.
Done consistently, this practice can generate meaningful tax savings year after year. But understanding why it works, and where it does not, is essential before evaluating whether it belongs in a broader capital gains planning strategy.
The Wash-Sale Concept
There is a significant rule that constrains the reinvestment step. Tax law generally disallows a claimed loss if the investor purchases a "substantially identical" security within a window surrounding the sale — roughly thirty days before or after. This is commonly called the wash-sale rule. If triggered, the disallowed loss is not lost forever; it is added to the basis of the new position, pushing the tax consequence into the future. But it defeats the near-term purpose of harvesting the loss.
Navigating the wash-sale concept requires care. Selling a technology index fund and immediately buying a different technology index fund tracking a nearly identical index may or may not constitute a wash sale — the answer depends on facts and interpretations that a qualified tax professional must evaluate. The safer path is generally to substitute a security that provides similar but genuinely distinct economic exposure. Families evaluating this strategy should work with their CPA and investment adviser to define an appropriate substitution policy before executing any trades.
The wash-sale rule applies across all accounts a taxpayer controls, not just the single account where the trade is made. Buying back the same security in an IRA shortly after selling it at a loss in a taxable account, for instance, can trigger complications. A qualified CPA must evaluate any particular family's situation.
Why This Is a Deferral, Not a Free Lunch
The most important concept to internalize about tax-loss harvesting is this: it almost always defers tax rather than eliminating it. When you sell a losing position and reinvest, the replacement position carries a lower cost basis — because you paid less for it than you paid for the original (which declined). When you eventually sell the replacement position, you will recognize a larger gain than you would have recognized had you simply held the original through its recovery.
Think of it as borrowing from the IRS interest-free. You keep money in your portfolio today that would otherwise have gone to taxes, that money compounds, and you pay the tax later. Over many years, this deferral can be genuinely valuable — but it does not make the gain disappear.
The strategy is also subject to a practical ceiling. In a market that rises steadily for many years, losses become harder to find. If every position in the portfolio has appreciated significantly, there is nothing left to harvest. Families sometimes experience this after a long bull market: the harvesting opportunities that existed in earlier, more volatile years have been exhausted, and the portfolio now carries large embedded gains with relatively few offsets available.
Where the Real Economic Value Lives
If tax-loss harvesting is "just" a deferral, why do families with substantial wealth pay so much attention to it? The answer lies in three potential sources of genuine, permanent value — not just timing.
Rate Arbitrage
Tax rates on capital gains can vary based on holding period, type of income, the investor's overall income in a given year, and legislative changes over time. If a family harvests a loss today — effectively recognizing a deduction at a higher rate environment — and eventually pays tax on the deferred gain during a year when rates are lower (perhaps in retirement, or after a change in law), the net result is a permanent reduction in lifetime taxes paid, not merely a deferral. This is not guaranteed; rate environments change in both directions. But it is a realistic scenario that families and their advisers often model.
Charitable Disposition
If an appreciated replacement position is ultimately donated to a donor-advised fund or directly to a qualified charity, the embedded gain is never recognized by the donor. The family receives a charitable deduction for the fair market value of the asset, and the gain simply evaporates from a tax perspective. Tax-loss harvesting can be an important input into this strategy: by using losses to offset gains elsewhere, the family preserves appreciated assets that can later be directed to charitable purposes, maximizing the philanthropic impact per dollar.
Step-Up in Basis at Death
Under current rules, assets held at death receive a step-up in basis to fair market value at that time, which eliminates embedded gains for income tax purposes. If a family intends to hold appreciated positions until death rather than sell them during life, the deferred gain from tax-loss harvesting may never be recognized at all — it simply disappears at the step-up. This makes the original deferral permanent. A qualified estate planning attorney and CPA should evaluate how this interacts with a family's broader estate plan.
Scale and the Role of Direct Indexing
Traditional mutual funds do not allow harvesting at the individual security level — the fund makes its own buy-and-sell decisions, and the investor simply holds fund shares. Exchange-traded funds are more tax-efficient but still do not give the investor control over the underlying positions.
Direct indexing changes this. In a direct indexing account, the investor owns the individual securities that make up an index directly, rather than a fund that holds them. Because the investor controls each position, losses can be harvested at the individual stock level — even in years when the index as a whole has risen, because different stocks within the index will have diverged. Some may be down even when the overall basket is up.
This granularity dramatically increases the supply of harvesting opportunities. A portfolio holding hundreds of individual stocks will almost certainly contain some losers at any given moment, whereas a portfolio holding a handful of funds may have little or nothing to harvest when markets are broadly positive. For families with substantial taxable portfolios, this is one of the most frequently cited arguments for evaluating direct indexing as a potential structure. Potential advantages include greater harvesting volume, customization for existing concentrated positions, and the ability to exclude securities already held elsewhere. Potential disadvantages include higher operational complexity, minimum account sizes, and tracking error relative to the target index.
The relationship between harvesting and rebalancing is also worth noting. Rebalancing — the periodic process of returning a portfolio to its target allocation — naturally creates selling activity. Coordinating rebalancing with harvesting opportunities, rather than treating them as separate exercises, can improve after-tax outcomes. Similarly, asset location decisions — which assets to hold in taxable versus tax-deferred versus tax-exempt accounts — interact with harvesting strategy in ways that reward careful coordination across the whole portfolio.
Limits, Risks, and Common Mistakes
Tax-loss harvesting is a tool, not a strategy in itself. Families and their advisers sometimes fall into patterns that undermine its value.
- Letting the tax tail wag the investment dog. Harvesting a loss only makes sense if the reinvestment maintains a coherent investment strategy. Selling a position and substituting something economically very different — just to avoid the wash-sale rule — can introduce unintended risk.
- Ignoring transaction costs. Each harvesting trade incurs some cost. In accounts with limited assets or infrequent, large positions, transaction costs and the administrative burden of tracking many small lots can outweigh the tax benefit. Scale matters.
- Harvesting short-term gains against long-term losses. Capital losses generally offset capital gains of the same character first. A long-term loss harvested to offset a short-term gain may be valuable, but the arithmetic deserves attention. A CPA should model the actual benefit before trades are executed.
- Forgetting about state taxes. Some states do not conform to federal capital gains treatment, or apply different rates. The benefit of federal harvesting may be partially or fully offset by state tax outcomes in certain jurisdictions. State residency and domicile considerations matter here.
- Assuming the deferral is risk-free. If tax rates rise significantly before the deferred gain is recognized, the strategy could, in extreme scenarios, produce a worse outcome than simply paying the original tax. This is a real if uncommon risk that advisers sometimes model in sensitivity analyses.
- Failing to track basis across accounts. Families with multiple custodians, trusts, and entities can inadvertently trigger wash sales or lose track of adjusted basis. Consolidated record-keeping is essential.
Questions Worth Asking
When evaluating tax-loss harvesting as part of a broader plan, families often find it useful to work through questions such as these with their advisers:
- What is our likely holding period for the replacement positions, and what does that imply for when the deferred gain will be recognized?
- Do we have charitable intentions that might allow us to donate appreciated replacement positions later, converting the deferral into a permanent benefit?
- How does our estate plan treat embedded gains — do we expect assets to pass with a step-up in basis?
- Are we coordinating harvesting across all taxable accounts, including those held in trust or by related entities, to avoid inadvertent wash sales?
- Does our portfolio structure — funds versus individual securities — actually provide enough harvesting opportunities to justify the administrative overhead?
- How are we measuring the after-tax benefit, net of transaction costs and any tracking error introduced by substitutions?
These are not simple questions, and the answers depend heavily on individual circumstances. A qualified CPA and investment adviser must evaluate any particular family's situation before drawing conclusions.
Tax-loss harvesting works best as a long-term discipline embedded in portfolio management, not as an end-of-year scramble. Families that integrate it into their investment process from the start — coordinated with rebalancing, asset location, and estate planning — tend to capture the most durable benefits.
Technical considerations
For attorneys, CPAs, trustees, and investment professionals — the coordination points and doctrines practitioners weigh on this topic.
Practitioners advising families on tax-loss harvesting should be attentive to several coordination and compliance considerations that can materially affect outcomes:
- Wash-sale aggregation across related parties. The wash-sale prohibition applies not only to the taxpayer's own accounts but potentially to accounts of spouses and entities the taxpayer controls. Inadvertent repurchases through an IRA, a grantor trust in which the taxpayer is treated as the owner for income tax purposes, or a partnership in which the taxpayer holds a controlling interest may trigger disallowance. Counsel should map all related-party accounts before establishing a harvesting protocol.
- Grantor trust status and attribution. Because a grantor trust is treated as the grantor for income tax purposes, transactions between the grantor and the trust do not recognize gain or loss, but the wash-sale attribution question in this context deserves specific analysis. An estate planning attorney and CPA should coordinate.
- Specific identification of tax lots. The ability to maximize harvested losses depends on the ability to specify which tax lots are being sold. Advisers should confirm that custodians support lot-level identification and that default accounting methods (FIFO, average cost) have been appropriately overridden where permitted. Errors in lot selection can produce unintended gains rather than losses.
- Net investment income surtax interaction. Capital losses offset gains that may otherwise be subject to the net investment income tax, in addition to regular income tax. The combined effective rate matters for modeling the actual benefit of harvesting.
- Section 1091 disallowance mechanics. When a wash sale does occur, the disallowed loss is added to the basis of the replacement security and the holding period of the original position is tacked on. Practitioners should confirm their portfolio management or tax systems correctly track these adjustments, particularly when harvesting at scale across hundreds of positions in a direct indexing account.
- Alternative minimum tax. For taxpayers subject to the alternative minimum tax, capital loss deductions interact with AMT calculations in ways that can reduce or eliminate the expected benefit. AMT exposure should be modeled before significant harvesting activity.
- Passive activity and at-risk rules. Losses from passive activities can only offset passive income; ensuring that harvested losses qualify as non-passive — or that there is adequate passive income to absorb passive losses — is a distinct analysis.
Questions families ask
Does tax-loss harvesting actually save me money, or does it just delay the tax?
In most cases it is primarily a deferral — you pay the tax later rather than now, because the replacement position carries a lower cost basis. The genuine, permanent savings arise when the deferred gain is ultimately taxed at a lower rate than the original loss was worth, donated to charity (eliminating the gain entirely), or erased by a stepped-up basis at death. Whether those outcomes are likely in your situation is a question for your CPA and financial adviser.
What happens if I accidentally trigger the wash-sale rule?
The loss you tried to harvest is disallowed for the current year, and instead it is added to the cost basis of the new position you purchased. You have not lost the loss permanently — it will reduce your gain when you eventually sell the replacement position — but you have lost the near-term tax benefit you were trying to capture. Your tax reporting and basis records must reflect the adjustment accurately, which is one reason careful execution and good record-keeping are important.
Why do I keep hearing about direct indexing in connection with tax-loss harvesting?
Direct indexing means owning the individual securities that make up an index rather than a fund that holds them. Because you control each position, you can harvest losses at the stock level — even in years when the overall index is up, some individual stocks within it will have declined. This creates far more harvesting opportunities than holding a single fund, where you can only harvest if the fund itself is down. The trade-off is greater complexity and higher minimum investment thresholds, which is why this approach tends to be discussed in the context of larger taxable portfolios.
Can I harvest losses every year indefinitely?
Not without limit. In a rising market, positions appreciate over time and the supply of available losses shrinks. After a prolonged bull market, many portfolios find themselves with large embedded gains and few harvesting opportunities remaining. The strategy is most productive in volatile markets and in the early years of a portfolio when positions are closer to their cost basis. Thinking of harvesting as an ongoing discipline rather than an annual event — capturing losses opportunistically whenever they appear, rather than only at year-end — tends to extend the useful life of the strategy.
Sources & method: written from the editorial method described on the Methodology page; reviewed against the date shown above. No individualized advice; verify current law and figures with qualified professionals. Methodology · Editorial Policy



