Tax-Loss Harvesting in Retirement: Why the First Few Years Are Your Best Window
Tax-Loss Harvesting in Retirement
Most writing on tax-loss harvesting (TLH) is aimed at accumulators: working professionals with high incomes who want to offset gains in their taxable portfolios. The pitch is roughly correct, but it misses the better opportunity. The first several years of early retirement — when ordinary income is low, capital-gains brackets are wide, and Social Security and RMDs haven't yet crowded your bracket — are the most powerful window most retirees will ever have for this strategy.
The catch is that the same years create a quiet trap that sends the loss up in smoke: buying a substantially identical security inside your IRA while you're running a Roth conversion ladder. Most people don't connect those two operations and lose the deduction permanently.
Here is how the math actually works, and how to coordinate both.
The mechanics, briefly
Tax-loss harvesting is selling a taxable investment at a loss to generate a deductible loss — then buying a similar (but not identical) replacement to stay in the market.
The tax rules stack in a specific order:
- Capital losses offset capital gains first, dollar for dollar. Short-term losses first against short-term gains, then long-term, then cross-netting as needed. There is no dollar ceiling here.
- Net losses above your gains offset ordinary income, up to $3,000 per year. This cap has never been indexed for inflation since 1978. Against a $80,000 Roth conversion, that $3,000 matters but won't move the needle on its own.
- Any remaining net loss carries forward indefinitely. The carryforward retains its character (short-term or long-term) and applies in future years using the same stacking order.
If you're sitting on, say, $30,000 of unrealized losses, you don't get to deduct all $30,000 against your income this year. You harvest the losses, use them to offset this year's gains, claim the $3,000 ordinary income deduction, and bank the rest as a carryforward. That carryforward can be valuable — it's yours to deploy in any future year that has gains.
Why early retirement is the sweet spot
During accumulation years, most people are in the 22% or 24% brackets. TLH is useful, but so is just avoiding realizing gains.
In the first five to ten years of retirement, before Social Security starts and before Required Minimum Distributions begin after age 73, many retirees' taxable income drops dramatically. That's exactly the environment where TLH becomes most valuable:
The 0% long-term capital-gains bracket is wide. In 2026, you owe zero federal tax on long-term capital gains if your taxable income stays at or below $49,450 (single) or $98,900 (married filing jointly). If you've harvested losses from previous years and carry them forward, those carryforwards offset future gains — including gains you might realize inside the 0% bracket, where you'd have owed nothing anyway. Reserve carryforwards for years when gains would otherwise be taxed at 15% or 20%.
IRMAA thresholds create hard cliffs. The 2026 Medicare IRMAA surcharge kicks in at $109,001 MAGI for single filers and $218,001 for couples (based on 2024 income). The first surcharge adds roughly $81/month per person to your Part B premium. A net capital loss can reduce the MAGI you report — which matters when you're close to an IRMAA boundary. A harvested loss is one of the few tools that can shrink MAGI below a threshold that otherwise requires forgoing a Roth conversion.
The ACA subsidy cliff makes MAGI management urgent. If you retired before 65 and rely on marketplace insurance, the 400% FPL cliff costs you your entire subsidy at once. For 2026, that cliff falls at roughly $63,000 for a single person and $85,000 for a couple (HHS finalizes these numbers each year; verify at healthcare.gov before you plan around them). Capital gains count toward your ACA MAGI. A harvested loss that offsets realized gains can keep you on the right side of that cliff.
A worked example
Take a hypothetical couple — call them the Garcias — who retired at 60 in early 2026. They have a $1.4 million taxable brokerage account, no pension, and plan to claim Social Security at 67. Their annual spending is $72,000, funded by portfolio withdrawals.
In 2026 their income is roughly $36,000 in dividends and $36,000 in taxable account liquidations. They also want to Roth convert $30,000 in a low-income year before SS starts.
Their portfolio holds two bond ETFs that are down $18,000 combined from their cost basis following a rate-driven selloff. They sell both, immediately purchase a different bond ETF (same duration, different index provider) to stay invested, and harvest the $18,000 loss.
What those losses do for the Garcias in 2026:
| Item | Without TLH | With TLH |
|---|---|---|
| Capital gains (dividends + liquidations) | $36,000 | $36,000 |
| Harvested losses | — | −$18,000 |
| Net capital gains | $36,000 | $18,000 |
| Roth conversion | $30,000 | $30,000 |
| Ordinary income deduction (§1211) | — | −$0 (no net loss after gains) |
| Approximate taxable income | ~$66,000 | ~$48,000 |
| ACA MAGI (same) | ~$66,000 | ~$48,000 |
| Result | Above ~$63k cliff | Below ~$63k cliff |
The $18,000 in losses eliminated $18,000 of capital-gains income, dropping their MAGI below the ACA cliff. They keep their marketplace subsidies — worth several thousand dollars — and the $18,000 in losses carryforward to future years.
This is the real payoff: TLH in early retirement doesn't just save a bit of federal tax. It can unlock or protect subsidies worth multiples of the tax saving itself.
Coordinating TLH with Roth conversions
The common framing — "do TLH and Roth conversions in the same year" — needs precision. Capital losses cannot directly shelter Roth conversion income beyond the $3,000 cap. A conversion adds ordinary income to your return; net capital losses offset ordinary income only up to $3,000.
What TLH can do is offset gains you were planning to realize alongside a conversion. If you intended to harvest gains in the 0% bracket (rebalancing, resetting basis, liquidating appreciated shares for spending), TLH in the same year lets you net losses against those gains, preserving more room in your bracket for the Roth conversion.
The sequence that maximizes efficiency:
- Estimate your full-year income before any discretionary moves — dividends, interest, any planned liquidations.
- Identify harvesting candidates in your taxable account with the largest losses relative to position size.
- Harvest losses and immediately buy the replacement so you're not out of the market during a potential recovery.
- Model the Roth conversion amount against your IRMAA threshold and ACA MAGI — using the updated gain/loss picture.
- Convert accordingly, staying under the threshold that matters most (IRMAA for Medicare enrollees, ACA cliff for pre-65 retirees).
The IRA wash-sale trap
This is where Roth conversion ladders collide with TLH in a way that destroys value — and almost no one warns about it.
The wash-sale rule disallows a loss if you buy a "substantially identical" security within 30 days before or after the sale — in any account you own, including IRAs. Per IRS Revenue Ruling 2008-5, a purchase inside a traditional or Roth IRA within that 61-day window triggers the wash-sale disallowance. Worse: unlike a wash sale in a taxable account, where the disallowed loss is simply added to the new position's cost basis, a wash sale triggered by an IRA purchase results in the loss being permanently forfeited — there is no basis adjustment in the IRA to recover it later.
If you sell a losing S&P 500 ETF in your taxable account and your automated Roth conversion three weeks later rolls the money into a near-identical S&P 500 index fund inside the Roth, you may have just destroyed the entire harvested loss.
The fix is straightforward: for the 30 days bracketing any harvested loss, make sure the replacement position inside your IRA also avoids the substantially-identical security. In practice, this means holding different ETFs across taxable and tax-advantaged accounts during a TLH event — a total-market fund in the taxable account and an S&P 500 fund in the IRA, for example.
What to keep in mind
Tax-loss harvesting does not eliminate taxes — it defers and reshapes them. Your replacement security has a lower cost basis than the one you sold, so you've set up a larger taxable gain in the future. The bet is that the deferral is worth more than the future tax, which is almost always true when rates stay the same or fall, and when you have carryforwards to offset future gains.
In retirement, the strongest case for TLH is the bracket arbitrage: realizing losses now, when your income is low, and carrying them forward to years when gains would otherwise be taxed at 15–20% or push you over an IRMAA or ACA threshold.
Run your own numbers — the Roth conversion calculator lets you model the MAGI impact of a conversion alongside any capital gains you plan to realize, and the retirement income planner shows how the full picture — Social Security timing, RMDs, ACA premiums — evolves year by year. Granary integrates all of it into a single projection so the interactions are visible rather than hidden.
This post is planning education, not tax advice. Tax-loss harvesting, the wash-sale rule, and MAGI interactions are rule-intensive; consult a CPA or fee-only financial planner before implementing.
Want to run the math on yourself?
Granary models tax-aware withdrawals, Monte Carlo, and live what-if scenarios.
Try Granary →