The Basic Mechanics of Tax-Loss Harvesting
Tax-loss harvesting means selling an investment that has declined in value to realize the loss for tax purposes, then immediately reinvesting in a similar (but not identical) holding to maintain your market exposure. The loss you realize reduces your tax liability without reducing your portfolio's overall market position. Capital losses offset capital gains first - short-term losses against short-term gains, long-term losses against long-term gains, with cross-netting allowed after same-type netting. If you have $20,000 in capital gains and harvest $15,000 in losses, you owe tax on only $5,000. If your losses exceed your gains in a given year, up to $3,000 of the excess can offset ordinary income. Any remainder carries forward indefinitely to future tax years - building what planners call a loss bank. In retirement, this loss bank becomes particularly valuable because it can be deployed strategically in years when you have large capital gains from rebalancing, required minimum distributions that push income higher, or other events that spike your tax bill.
Key Stat: Long-term capital gains are taxed at 0%, 15%, or 20% depending on income. In 2026, a married couple with taxable income below $100,800 pays 0% on long-term gains. Tax-loss harvesting can help retirees stay in that 0% zone by offsetting gains that would otherwise push them above it.
How Loss Harvesting Interacts With Social Security Taxation in Retirement
Here is where loss harvesting in retirement produces an outsized return. The $3,000 ordinary income deduction from harvested losses reduces your adjusted gross income. Lower AGI directly reduces your combined income calculation for Social Security taxation purposes (combined income equals AGI plus nontaxable interest plus half of Social Security). Even $3,000 less in AGI can shift the percentage of your Social Security benefits subject to tax. For a married couple whose combined income sits at $46,000 - in the 85% taxation zone above the $44,000 threshold - reducing AGI by $3,000 drops combined income to $43,000, just under the threshold where only 50% of benefits are taxable. Depending on their Social Security benefit amount, this threshold shift could reduce taxable Social Security income by several thousand dollars. That $3,000 ordinary income deduction effectively produces $3,000 plus $2,550 in additional income shielded from tax (the 85-cent-per-dollar SS interaction) - a combined tax benefit on $5,550 of income rather than just $3,000.
The Wash-Sale Rule: The One Rule You Must Follow
The wash-sale rule prohibits repurchasing the same or a substantially identical security within 30 days before or after the sale that generates the loss. Violating the wash-sale rule disallows the loss entirely - the deferred loss gets added to the basis of the repurchased shares, but you cannot claim it in the current year. In practice, this means selling a fund that has declined and replacing it with a similar but different fund. Selling an S&P 500 index fund and buying a total stock market fund does not violate the wash-sale rule. Selling a Vanguard S&P 500 fund and immediately buying a Fidelity S&P 500 fund that tracks the same index is debatable and best avoided. Selling individual stock and buying a diversified ETF that holds it is generally acceptable. The rule applies to accounts you control, including your spouse's accounts - so a spouse cannot buy the same security within the wash-sale window in their own account.
- Review taxable portfolio for unrealized losses annually in October or November before year-end
- Identify replacement holdings that maintain similar market exposure without violating the wash-sale rule
- Apply harvested losses against current-year capital gains first, then carry forward
- Track the $3,000 ordinary income deduction limit and carry-forward losses on Schedule D
- Model how a $3,000 deduction affects combined income for Social Security taxation
- Check whether loss harvesting keeps your MAGI below an IRMAA threshold - quantify the value
Direct Indexing: Automated Loss Harvesting for Larger Portfolios
Standard index funds and ETFs cannot be tax-loss harvested at the individual security level - you can only harvest a gain or loss on the fund itself. Direct indexing solves this by holding the individual stocks of an index directly in your account, allowing the manager to harvest losses on individual positions throughout the year while maintaining the overall index exposure. This approach typically requires a minimum investment of $250,000-$500,000 and costs 0.20-0.40% annually in management fees - more than a simple index ETF but far less than actively managed funds. For retirees in high brackets with large taxable portfolios, the additional harvesting opportunities can more than offset the fee premium. Several major brokerages now offer direct indexing platforms, and the space has grown significantly in recent years.
Loss Harvesting as Part of a Broader Tax Minimization Plan
Tax-loss harvesting works best as one component of a coordinated tax strategy rather than a standalone tactic. Combined with Roth conversions (which benefit from lower AGI in the harvesting year), charitable giving (which also reduces AGI), and deliberate withdrawal sequencing, loss harvesting can be a meaningful contributor to multi-year tax reduction. For retirees with both a taxable account and traditional retirement accounts, loss harvesting addresses the taxable bucket while Roth conversions address the tax-deferred bucket. Indexed Universal Life Insurance, for comparison, avoids the capital gains issue entirely because cash value growth inside a life insurance policy is not subject to capital gains tax or wash-sale rules. IUL is not a substitute for tax-loss harvesting - it serves a different function - but the two can coexist in a portfolio where the taxable account is managed with loss harvesting discipline and the insurance component provides a capital-gains-free accumulation channel.
The IUL Solution: Cash value inside an Indexed Universal Life Insurance policy does not generate capital gains, dividends, or interest income that appears on your tax return. It is completely outside the tax-loss harvesting framework - there is nothing to harvest because there are no taxable events. This matters for retirement planning because it means IUL accumulation does not create the gains that require harvesting in the first place. For retirees who want to minimize the complexity of annual tax management, a meaningful IUL component reduces the portion of the portfolio subject to capital gains mechanics altogether. Tax-loss harvesting remains important for the taxable brokerage portion of the portfolio - IUL simply shrinks the portion that needs it.
Want to see how a tax-free retirement strategy would work in your situation? Explore your options here.