Tax Strategy Guide

The 0% capital gains bracket: how retirees sell stock tax-free in 2026

There is a bracket in the tax code where long-term investment gains are taxed at zero — not deferred, not reduced, but genuinely untaxed at the federal level. Most people never use it because they don’t know it exists or assume it’s only for the poor. In reality, a married couple can have a six-figure gross income and still sell appreciated stock tax-free in 2026. For retirees in their low-income years, it’s one of the most powerful and overlooked moves available.

$98,900
2026 taxable income under which a married couple pays 0% on long-term gains ($49,450 single)
IRS / NewsNation
0%
Federal tax on long-term gains and qualified dividends harvested inside the bracket
IRS
23.8%
Top federal rate on long-term gains (20% + 3.8% NIIT) — the spread you’re avoiding
Reed CPA
No wash sale
You can sell at a gain and rebuy the same day to reset basis — the wash-sale rule only blocks losses
IRS

1. The bracket almost nobody uses

Long-term capital gains — profits on investments held more than a year — get their own special tax schedule, separate from the rates on wages and pensions. That schedule has three rates: 0%, 15%, and 20%. Everyone knows about the 15%. Almost nobody plans around the 0%, even though it’s sitting right there at the bottom of the same schedule.

Here’s why it matters so much for retirees: the 0% rate isn’t a poverty provision. In 2026, a married couple with taxable income up to $98,900 pays nothing in federal tax on long-term gains that fit under that ceiling. Because taxable income is measured after the standard deduction, that couple can have a gross income comfortably into six figures and still harvest gains tax-free. The difference between using this bracket and ignoring it can be the difference between a 0% and a 23.8% rate on the same dollar of gain.

The opportunity in one line

If your taxable income is low in a given year — common in early retirement — you can sell appreciated stock, pay zero federal tax on the gain, and reset your cost basis higher, all in the same afternoon.

2. How the brackets work in 2026

The IRS adjusted the thresholds up about 2.7% for 2026. Here’s the full long-term capital gains schedule:

RateSingle (taxable income)Married filing jointly
0%Up to $49,450Up to $98,900
15%$49,451 – $545,500$98,901 – $613,700
20%Above $545,500Above $613,700

Two numbers make this usable. First, taxable income is after deductions — the 2026 standard deduction is $32,200 for joint filers and $16,100 for singles, and it comes off before you hit these thresholds. Second, the head-of-household 0% ceiling is $66,200. So a married couple taking the standard deduction could have roughly $131,000 of gross income ($98,900 + $32,200) before gains start getting taxed — a far higher bar than most people assume. And thanks to recent law, these rates were made permanent, so the planning runway is long.

3. Tax-gain harvesting: sell, pay 0%, rebuy

The strategy that exploits this bracket is called tax-gain harvesting, and it’s the mirror image of the better-known tax-loss harvesting. In a low-income year, you deliberately sell appreciated long-term holdings so the gain lands in the 0% bracket. You pay no federal tax on it — and then you can immediately buy the same investment right back.

Why rebuy? Because the sale resets your cost basis to today’s higher price. That permanently shrinks the taxable gain you’ll owe whenever you sell for real — possibly years later in a higher-income year when gains would be taxed at 15% or more. You’ve effectively laundered the gain through the 0% bracket and kept your market position intact. Critically, the wash-sale rule doesn’t apply to gains — it only blocks loss deductions on a rebuy within 30 days — so there’s no waiting period when harvesting gains.

Sell appreciated stock → gain taxed at 0% → rebuy immediately → basis resets higher → smaller taxable gain forever after

4. The stacking trap

The single most common mistake is forgetting that gains stack on top of your ordinary income when the IRS decides which rate applies. Your 0% room isn’t the whole $98,900 — it’s $98,900 minus your ordinary taxable income. If a married couple already has $70,000 of taxable ordinary income (pension, interest, taxable Social Security), only about $28,900 of gains fit in the 0% bracket. Realize more than that, and the excess spills into the 15% bracket.

Worse, the gain you realize is itself part of the income that determines the rate. Sell too much and you push your own gains out of the 0% zone. The discipline is to calculate your headroom first, harvest only up to it, and leave a small buffer for any income you under-estimated. The calculator below does exactly this math.

Measure twice, sell once

Run your numbers before December, not after. A gain realized on December 30 versus January 2 can land in completely different brackets — and once the year closes, the chance to use that year’s 0% room is gone for good.

5. Find your 0% headroom

Enter your filing status, your taxable ordinary income (after the standard deduction), and the gains you’re considering. The calculator shows how much room you have at 0%, how much of your gain that covers, and the federal tax on any overflow.

Your numbers

Your income minus the 2026 standard deduction ($32,200 MFJ / $16,100 single / $24,150 HOH). Exclude the gains themselves.

How your realized gain gets taxed

Taxed at 0% Taxed at 15%

0% headroom

$0

Gain taxed at 0%

$0

Federal tax on gain

$0

Federal long-term capital gains only, using 2026 thresholds. Ignores state tax, the 3.8% NIIT, IRMAA, ACA subsidies, and Social Security taxation effects, any of which can change the real cost. Not tax advice — project your full return with a CPA before selling.

6. The federal gap years

For federal retirees, the value of this bracket is real but more constrained than for a private-sector early retiree — and understanding why is the key to using it well. The 0% room is the gap between the bracket ceiling and your ordinary taxable income, and the FERS pension fills part of that gap before you sell a single share. A retiree with a $60,000 pension has far less 0% room than one with no pension at all.

That makes timing everything. The widest window opens in the gap years — after you retire but before you claim Social Security and before required distributions begin at 73. In those years your ordinary income may be just the pension, leaving meaningful 0% room for harvesting. Once Social Security and RMDs switch on, that room often closes for good. The same gap years are also prime territory for Roth conversions, so the two strategies compete for the same limited bracket space — you’ll need to decide which use of that low-income room is more valuable for you.

The federal sequencing question

Your low-income gap years are a scarce resource. Harvesting gains at 0% and converting to Roth both want that same bracket space — map several years ahead so you spend it on whichever saves you more.

7. The catches: IRMAA, ACA, NIIT, state tax

A gain taxed at 0% federal can still cost you elsewhere, because realizing it raises your income for several other tests. Before harvesting, check each of these:

Watch out forWhy a 0% gain can still bite
Medicare IRMAARealized gains raise your AGI two years before they hit your premiums. A big harvest can push you over an IRMAA threshold and raise Part B and D costs.
ACA subsidiesIf you buy Marketplace health insurance before Medicare, extra income can shrink or eliminate your premium tax credit.
Social Security taxationMore income can increase the share of your Social Security benefit that’s taxable.
The 3.8% NIITAbove $250,000 MAGI joint / $200,000 single, gains face an extra 3.8% — though that’s well above the 0% bracket, so it mainly matters for large harvests.
State income taxMany states tax capital gains as ordinary income with no 0% bracket of their own. Federal 0% doesn’t mean state 0%.

8. A year-by-year playbook

Used well, the 0% bracket isn’t a one-time trick — it’s a recurring annual move during your low-income years. A simple cadence:

Each fall, estimate your ordinary taxable income for the year. Subtract it from the 0% ceiling ($98,900 joint in 2026) to find your headroom, then trim a buffer so a year-end surprise doesn’t push you over. Harvest gains up to that buffered headroom, rebuying immediately to reset basis. Repeat every year you remain under the ceiling. Over a stretch of gap years, you can reset the basis on a large chunk of a taxable portfolio entirely tax-free — quietly erasing gains that would otherwise be taxed at 15% or 23.8% later. Coordinate it with your withdrawal order so the pieces reinforce rather than fight each other.

9. Frequently asked questions

What is the 0% capital gains tax bracket?

The 0% bracket is the income range in which long-term capital gains and qualified dividends are taxed at a federal rate of zero. Long-term gains have their own three-rate schedule — 0%, 15%, and 20% — separate from ordinary income rates. For 2026, if your total taxable income (including the gains) stays under $98,900 for a married couple filing jointly or $49,450 for a single filer, the gains that fall under that ceiling are taxed at 0%. It is one of the most underused planning tools in the tax code, especially valuable for retirees with low-income years before Social Security and required distributions begin.

How much can I make and still pay 0% on long-term gains in 2026?

For 2026 the 0% long-term capital gains rate applies to taxable income up to $98,900 for married couples filing jointly, $49,450 for single filers, and $66,200 for heads of household. Taxable income is your income after subtracting the standard deduction, which in 2026 is $32,200 for joint filers and $16,100 for singles. Because the standard deduction comes off first, a married couple could have well over $130,000 of gross income and still fit gains into the 0% bracket. Remember that the gains themselves count toward that ceiling — they stack on top of your ordinary income.

What is tax-gain harvesting?

Tax-gain harvesting is the deliberate selling of appreciated long-term investments in a year when your income is low enough that the gains fall in the 0% bracket. You sell the asset, recognize the gain at 0% federal tax, and can immediately repurchase the same investment. The result is a higher cost basis with no tax cost, which reduces the taxable gain whenever you eventually sell for good. It is the mirror image of tax-loss harvesting, and the early-retirement years before Social Security and required distributions are the prime window for it, because that is usually when taxable income is lowest.

Can I sell and immediately rebuy the same stock to reset my basis?

Yes. The wash-sale rule, which prevents you from claiming a loss if you rebuy within 30 days, applies only to losses — not to gains. When you are harvesting gains, you can sell an appreciated holding and buy it back the same day with no waiting period and no penalty. Your cost basis resets to the new, higher purchase price. This is what makes tax-gain harvesting so efficient: you reset your basis upward at 0% tax while keeping your market position essentially unchanged.

Why is the 0% bracket harder for federal retirees to use?

Because the FERS pension fills up the 0% bracket with ordinary income. The 0% headroom is the gap between the bracket ceiling and your ordinary taxable income, and a federal pension can consume much of that gap before you realize a single dollar of gains. A private-sector early retiree with little ordinary income may have the entire bracket available; a federal retiree with a sizable pension may have only a small slice. The window is widest before you claim Social Security and before required distributions begin, so federal retirees who want to use this strategy should plan it carefully into those specific gap years.

Sources
  1. NewsNation, “IRS unveils 2026 capital gains tax rates”
  2. CNBC, “How much you can make in 2026 and still pay 0% capital gains”
  3. Kiplinger, “IRS Updates Capital Gains Tax Thresholds for 2026”
  4. Reed Corporation CPA, “2026 Capital Gains Tax Brackets”
  5. USTax Tools, “2026 Capital Gains Tax Rates”
  6. Doeren Mayhew, “IRS Releases 2026 Cost-of-Living Adjustments”