Tax-Loss Harvesting: The Complete Practitioner Guide to Systematic Capital Loss Optimization
Tax-loss harvesting is the deliberate realization of capital losses to offset capital gains and reduce taxable income. Done systematically, it can reduce a client's annual tax liability by $5,000–$50,000+ while maintaining the same investment exposure. This guide covers the wash-sale rule, short-term vs. long-term loss sequencing, the $3,000 ordinary income offset, loss carryforward strategy, and the interaction with NIIT.
The Mechanics of Tax-Loss Harvesting
Tax-loss harvesting works by selling securities that have declined in value below their cost basis, realizing a capital loss. That loss is then used to offset capital gains realized elsewhere in the portfolio — or, if losses exceed gains, up to $3,000 of ordinary income per year. The investor immediately reinvests the proceeds in a similar (but not substantially identical) security to maintain market exposure, so the economic position is preserved while the tax loss is captured.
The key constraint is the wash-sale rule under IRC §1091, which disallows a loss if the taxpayer purchases the same or substantially identical security within 30 days before or after the sale. The disallowed loss is not permanently lost — it is added to the basis of the replacement security — but the timing of the loss deduction is deferred. Practitioners must understand the wash-sale rule thoroughly to implement tax-loss harvesting effectively without inadvertently triggering it.
The tax benefit of harvesting a loss depends on the tax rate that would otherwise apply to the gain being offset. A $50,000 loss that offsets a $50,000 short-term capital gain taxed at 37% saves $18,500 in federal tax. The same $50,000 loss offsetting a $50,000 long-term capital gain taxed at 20% (plus 3.8% NIIT) saves $11,900. The highest-value harvesting targets are short-term gains, which are taxed as ordinary income at rates up to 37%.
The Wash-Sale Rule: What Triggers It and How to Avoid It
The wash-sale rule under IRC §1091 disallows a loss on the sale of stock or securities if the taxpayer acquires "substantially identical" stock or securities within the 61-day window (30 days before the sale, the day of the sale, and 30 days after). The rule applies to purchases in any account — including IRAs, Roth IRAs, and accounts held by a spouse. A common mistake is harvesting a loss in a taxable account while an automatic dividend reinvestment plan (DRIP) in an IRA purchases shares of the same security within the wash-sale window.
Wash-Sale Scenarios: Triggered vs. Safe
| Action | Wash-Sale Triggered? | Why |
|---|---|---|
| Sell VTI (Vanguard Total Market ETF), buy ITOT (iShares Core S&P Total Market ETF) same day | Debated — likely safe | Different ETFs tracking different indices; IRS has not ruled definitively on ETF substitutes |
| Sell SPY (S&P 500 ETF), buy VOO (Vanguard S&P 500 ETF) same day | Likely triggered | Both track the S&P 500 index — substantially identical |
| Sell Apple stock, buy Apple stock 31 days later | Safe | Outside the 30-day window |
| Sell Apple stock in taxable account; IRA DRIP purchases Apple within 30 days | Triggered | IRA purchases count for wash-sale purposes |
| Sell mutual fund, buy ETF tracking same index | Likely triggered | Substantially identical if tracking the same index |
Safe Substitution Strategies
The most reliable approach is to replace the harvested position with a fund that tracks a different but correlated index. For example: sell a large-cap US equity fund tracking the S&P 500 and replace it with a fund tracking the Russell 1000 or the CRSP US Large Cap Index. The correlation is high (typically 0.98+), so the economic exposure is nearly identical, but the securities are not substantially identical for wash-sale purposes. Practitioners should maintain a list of approved substitution pairs for each asset class to streamline the harvesting process.
Short-Term vs. Long-Term Loss Sequencing
The netting rules under IRC §1222 require that capital losses be applied in a specific sequence: short-term losses first offset short-term gains, and long-term losses first offset long-term gains. If losses in one category exceed gains in that category, the excess offsets gains in the other category. This sequencing has important planning implications.
A long-term capital loss used to offset a short-term capital gain is "wasted" in the sense that it offsets income that would have been taxed at ordinary rates (up to 37%) rather than long-term rates (up to 20%). Conversely, a short-term loss used to offset a long-term gain is more valuable than expected. Practitioners should model the netting sequence before executing harvesting transactions to ensure losses are applied in the most tax-efficient manner.
The optimal strategy is to harvest short-term losses to offset short-term gains (saving up to 37% in tax), and to carry long-term losses forward to offset future long-term gains or to use the $3,000 ordinary income offset. If a client has both short-term and long-term losses available, prioritize realizing the short-term losses first.
The $3,000 Ordinary Income Offset and Loss Carryforward
Under IRC §1211(b), if a taxpayer's net capital losses exceed their capital gains in a given year, up to $3,000 of the excess loss can be deducted against ordinary income. Any remaining loss carries forward to future years indefinitely under IRC §1212(b). The carryforward retains its character — short-term losses carry forward as short-term, long-term losses as long-term.
The $3,000 limit has not been adjusted for inflation since 1978, making it increasingly inadequate for clients with significant loss carryforwards. A client with $100,000 of loss carryforward would need 33+ years to fully utilize it through the ordinary income offset alone. The practical strategy is to use the carryforward to offset capital gains in future years — particularly in years when the client has a large capital gain event (business sale, real estate sale, large portfolio rebalancing).
Practitioners should track loss carryforward balances for all investment clients and proactively identify years when the carryforward can be deployed against large gains. A client with a $200,000 loss carryforward who is planning to sell a business in two years can potentially eliminate the entire capital gain from the business sale.
Tax-Loss Harvesting and NIIT
Capital losses reduce net investment income (NII) for NIIT purposes. A $50,000 capital loss harvested against a $50,000 capital gain reduces NII by $50,000, saving 3.8% × $50,000 = $1,900 in NIIT in addition to the regular capital gains tax savings. For clients subject to NIIT, the combined tax rate on capital gains is 23.8% (20% LTCG + 3.8% NIIT), making tax-loss harvesting even more valuable. The $3,000 ordinary income offset does not reduce NII — only capital gain offsets reduce NII.
Practitioner FAQ
Frequently Asked Questions
Build a Year-Round Tax-Loss Harvesting Program for Your Clients
Systematic harvesting requires monitoring, wash-sale tracking, and coordinated execution across all accounts. Our practitioners build and manage the complete program.
Get a Harvesting Analysis