The 0% Capital Gains Tax Strategy for Early Retirees

One of the most generous provisions in the federal tax code, hiding in plain sight. The 2026 thresholds, stacking math, and how to actually use it.

📖 10 min read · Published April 2026 · 2026 Tax Data

TL;DR

  • For 2026, long-term capital gains are taxed at 0% if your total taxable income (ordinary + gains) stays below $49,450 single or $98,900 married filing jointly.
  • Early retirees are uniquely positioned to use this. Most working professionals never see income low enough to qualify; you do, in your gap years between retirement and Social Security.
  • The strategy is called tax gain harvesting: deliberately sell appreciated stock, reset your basis higher with zero federal tax, then rebuy immediately if you want to keep the position. The wash sale rule does not apply to gains.

What the 0% Bracket Actually Is

The U.S. tax code taxes long-term capital gains and qualified dividends at preferential rates: 0%, 15%, or 20%, depending on your total taxable income. The 0% rate is the part that catches most people off guard. It exists, it's permanent (no scheduled sunset), and it applies to anyone whose total taxable income falls below the threshold.

Long-term capital gains are profits on assets held longer than 12 months. Short-term gains (under 12 months) get taxed as ordinary income. That holding period requirement matters for this strategy. If you bought the stock 11 months ago, wait one more month before selling.

For 2026, the brackets look like this:

LTCG RateSingle (Taxable Income)Married Filing Jointly (Taxable Income)
0%$0 to $49,450$0 to $98,900
15%$48,351 to $545,500$96,701 to $613,700
20%Above $545,500Above $613,700

Notice that the 0% threshold ($98,900 MFJ) is almost identical to the top of the 12% ordinary income bracket ($100,800 MFJ). That's not an accident, and it's why the layering math works the way it does.

How Income Stacks (Critical to Understanding This)

Federal tax doesn't treat all income the same way. There are two parallel systems running at once: ordinary income tax brackets and capital gains brackets. When you have both kinds of income, ordinary income fills the bracket space first, then gains stack on top.

Here's the order, dollar by dollar, from the bottom up:

  1. Ordinary income (wages, pension, interest, Social Security taxable portion, Roth conversions) goes through the standard deduction first, then climbs the 10%, 12%, 22%, etc. brackets.
  2. Long-term capital gains and qualified dividends sit on top. They have their own bracket schedule (0%, 15%, 20%) but the threshold is calculated on total taxable income, not just gains.

The practical consequence: every dollar of ordinary income reduces your 0% capital gains room by one dollar. If you've used $40,000 of ordinary income (after the standard deduction), you have only about $58,900 of MFJ space left for tax-free gains, not the full $98,900.

Mental model: Imagine pouring two liquids into a tall glass. Ordinary income goes in first and fills the bottom. Capital gains pour in second and float on top. The "0% gains" line is at $98,900 MFJ. Whatever capital gains stay under that line are tax-free. Anything above gets taxed at 15%.

Worked Example: Tax Gain Harvesting in Practice

Married couple, both 50, retired last year. They have:

Goal: realize as much capital gain as possible at 0% federal tax.

Step 1: Calculate ordinary income after standard deduction

ItemAmount
Interest income$3,000
Standard Deduction (MFJ)-$32,200
Taxable ordinary income$0 (the deduction more than absorbs the $3,000)

The standard deduction wipes out the ordinary income entirely. They have leftover deduction, but that doesn't help LTCG (the deduction reduces the income subject to ordinary tax brackets, not the LTCG threshold calculation).

Step 2: Calculate room for 0% gains

ItemAmount
0% LTCG threshold (MFJ)$98,900
Less: ordinary taxable income$0
Less: qualified dividends already realized$2,000
0% gain room remaining$96,900

Step 3: Execute the harvest

They sell enough VTI to realize exactly $96,900 in long-term gains. Federal tax on that gain: $0. Total federal tax for the year: also $0 (the qualified dividends fall under the threshold too).

The next morning, they buy VTI back at the same price. Their cost basis is now $96,900 higher than before. If they ever need to sell in the future when their income is higher, only the gains above the new basis will be taxable.

Why no wash sale problem? The wash sale rule applies only to losses, not gains. The IRS has no objection to you selling at a profit and immediately rebuying. They got their tax (in this case, zero), and the new basis is locked in.

Worked Example: When You Have Other Income

Same couple, but this year one of them has a $30,000 part-time consulting income (W-2). Recalculating:

ItemAmount
Wages$30,000
Interest$3,000
Total ordinary income$33,000
Standard Deduction (MFJ)-$32,200
Taxable ordinary income$800
0% LTCG threshold (MFJ)$98,900
Less: taxable ordinary income$800
Less: qualified dividends$2,000
0% gain room remaining$96,100

The $30,000 in wages reduced their tax-free gain harvest room by only $800 because the standard deduction absorbed most of it. This is why early retirees with low ordinary income, even with some part-time work, can still use the 0% bracket aggressively.

Plan Your Gain Harvest Year by Year

Model multiple years of gain harvesting alongside Roth conversions to optimize your full retirement tax picture.

Open BridgeToFI Calculator →

The Roth Conversion Conflict

Here's where the strategy gets interesting. Roth conversions count as ordinary income. Capital gains stack on top of ordinary income. So every dollar you convert to Roth pushes against your gain-harvest room.

You can't max out both in the same year. You have to choose.

Strategy2026 MFJ ConstraintTax on GainsBest For
Maximum gain harvest, no Roth conversion$98,900 in gains0%Retirees with large taxable accounts and small traditional balances
Maximum Roth conversion, no gain harvest$100,800 in conversionsn/a (no gains realized)Retirees with large traditional balances and small taxable accounts
Split: $49,450 conversion + $49,450 gainMixed0% on the gain portionBalanced account types

For most early retirees, the right answer depends on which account is larger. If the traditional IRA dominates your portfolio, prioritize Roth conversions while you can do them at low rates. If the taxable brokerage dominates and has years of unrealized gains, prioritize the harvest. There's no universal answer. The companion post on annual Roth conversion sizing covers the conversion side of this trade-off in depth.

The ACA Trap (Again)

If you're on a marketplace health plan, capital gains count toward your MAGI for ACA subsidy calculation. They do not get a special exemption. So a tax-free harvest at the federal level can still cost you thousands in lost premium tax credits.

For a 2-person household in 2026, the ACA cliff sits around $84,600 in MAGI. That's well below the $98,900 LTCG threshold for MFJ. If you're targeting both 0% federal LTCG and ACA subsidies, your real ceiling is the ACA cliff, not the tax bracket.

The interaction matrix is brutal: federal income tax says 0% on gains under $98,900. ACA says you lose subsidies above $84,600. State taxes don't care about the federal 0% bracket and tax gains as ordinary income in most states. NIIT (Net Investment Income Tax) adds 3.8% on investment income above $250,000 MFJ. The "best" tax-free harvest is the one that respects all four layers.

State Tax Reality

The 0% federal rate is a federal-only benefit. Most states tax capital gains as ordinary income, with no preferential treatment.

StateCapital Gains TreatmentEffective Combined Rate on $50K Gain
Texas, Florida, Tennessee, etc. (no income tax)None0%
Pennsylvania, North DakotaFlat rates 3.07% to 2.5%2.5% to 3.1%
Most statesSame as ordinary income3% to 7%
California, Hawaii, New YorkSame as ordinary income, top rates9.3% to 11%+

So a "0% federal tax" gain harvest in California can still cost you 9.3% in state tax. The strategy still beats paying 15% federal plus 9.3% state, but the marketing is misleading. Always run the math at your combined rate.

Step-by-Step Execution

If you've decided this year is a tax gain harvest year:

  1. October check-in. Estimate your year-end ordinary income. Add expected qualified dividends. Subtract from the 0% LTCG threshold. That's your max harvest size before December.
  2. Identify lots. In your brokerage account, look for specific lots with the highest unrealized long-term gains. Most brokerages let you choose specific lot identification rather than FIFO.
  3. Sell and rebuy. Place the sell order. The next trading day (or even later that day if you're using market orders carefully), buy back the same number of shares. Your cost basis on the new lot is the price you paid today.
  4. Document the basis change. Note the new cost basis for your records. Your brokerage's 1099-B at year-end will confirm the gain you realized and the new lot's purchase price.
  5. Repeat next year. The strategy is most powerful when you do it every year you qualify, ratcheting your basis higher and higher until you eventually withdraw the funds.

What Counts as "Long-Term"

The 0% rate applies only to long-term gains. The IRS defines long-term as held for more than one year. The clock starts the day after purchase. So if you bought on April 1, 2025, the gain becomes long-term on April 2, 2026, not April 1.

If you have a position that's almost long-term, wait. Selling at 11 months and 29 days means the entire gain gets taxed as ordinary income, which lands in your tax bracket. The difference between paying 0% on a $40,000 gain and paying 12% (or 22%) is $4,800 to $8,800 of avoidable tax. Patience pays.

What About Mutual Fund Distributions?

Mutual funds and some ETFs distribute capital gains to shareholders at year-end. These distributions count as long-term capital gains for tax purposes (assuming the fund held the underlying assets long enough), and they're added to your other income. They count toward your 0% threshold the same way as gains you intentionally harvested.

If you own actively managed funds in your taxable account, you may already be getting some 0%-bracket benefit without doing anything. Track these distributions in October so they don't surprise you and push your harvest target down.

The Big Caveat

This strategy works only when your income is genuinely low. If you have a pension, Social Security, large RMDs, or significant other income, the 0% bracket fills up fast. By the time most retirees hit their 70s, they have no 0% gain room left.

This is one more reason early retirees should aggressively use their gap years. Between the day you retire and the day Social Security or RMDs start, you have a window where your income is low and your taxable brokerage may have years of unrealized gains. That window closes. Permanently.

Key Takeaways

1. The 0% long-term capital gains bracket is real, permanent, and tailor-made for early retirees with low ordinary income.

2. Capital gains stack on top of ordinary income. Roth conversions and gain harvesting compete for the same bracket space; choose carefully.

3. The wash sale rule does not apply to gains. Sell, rebuy immediately, lock in higher basis.

4. Watch the ACA cliff and your state tax rate. The federal 0% rate doesn't cancel either of those.

5. Use the gap years between retirement and Social Security aggressively. The window closes once benefits and RMDs start.

Frequently Asked Questions

What is the 0% capital gains tax bracket for 2026?

For 2026, long-term capital gains are taxed at 0% if your total taxable income (ordinary income plus gains) stays below $49,450 for single filers or $98,900 for married filing jointly. Above those thresholds, gains are taxed at 15% up to higher income limits, then 20% at the top.

Can I sell stock at a profit and pay zero federal tax?

Yes, if the gain is long-term (held more than 12 months) and your total taxable income including the gain stays under the 0% threshold. The strategy works best for early retirees with low ordinary income, since ordinary income gets stacked first and uses up the threshold space before gains are layered on top.

How is tax gain harvesting different from tax loss harvesting?

Tax loss harvesting sells losers to offset gains and reduce taxes. Tax gain harvesting deliberately sells winners while you're in the 0% bracket to reset your cost basis higher with no federal tax owed. The wash sale rule does not apply to gains, so you can sell and immediately rebuy the same security to lock in the new basis.