The tax code does not hand out many free lunches, but it does hand out this one: a married couple filing jointly in 2026 can realize long-term capital gains at a federal rate of exactly zero, as long as their taxable income, gains included, stays under $98,900. For single filers the ceiling is $49,450. Not deferred. Not reduced. Zero, with the basis reset to boot.
Most people who qualify for this never use it, for an understandable reason: they spent their whole working lives learning that realizing gains costs money, and the habit of not selling survives into the years when selling is suddenly free. Meanwhile, a smaller group uses it wrong, harvesting gains that are 0% on the tax return but expensive everywhere else on the household balance sheet. This article covers the mechanics, who actually has the window, and the fine print that separates a genuinely free harvest from one that quietly costs more than 15%.
How the 0% Bracket Actually Works
Long-term capital gains and qualified dividends run on their own rate schedule, separate from the ordinary brackets: 0% up to $49,450 of taxable income for single filers and $98,900 for joint filers in 2026, 15% up to $545,500 and $613,700 respectively, and 20% above that.
The part people get wrong is the phrase “taxable income.” The 0% rate is not about your gains being small, and it is not about your wages being small. It is about the combined stack. The mechanics work like this: your ordinary income (wages, interest, IRA withdrawals, pensions) fills the stack first, from the bottom. Your long-term gains and qualified dividends then stack on top. Wherever the gains sit in that stack determines their rate. Gains sitting below the $98,900 line are taxed at 0%; gains poking above it are taxed at 15%.
Two useful consequences fall out of the stacking picture. First, ordinary income is the enemy of the 0% bracket: every dollar of interest, IRA withdrawal, or Roth conversion income pushes the whole gains stack upward and shrinks the 0% room dollar for dollar. Second, gains can straddle the line. Realizing $100,000 of gain when you have $60,000 of room does not disqualify the whole gain; the first $60,000 is taxed at 0% and only the overflow at 15%. There is no cliff here, just a waterline.
One more piece completes the setup: the standard deduction sits underneath everything. In 2026 that is $32,200 for joint filers and $16,100 for singles, which means a retired couple with no other income could technically realize $131,100 of gains ($32,200 absorbed by the deduction, $98,900 filling the 0% bracket) and owe zero federal income tax. Taxpayers 65 and older stack additional deductions on top of that, including the temporary $6,000-per-person senior deduction that runs through 2028, though that one phases out at 6% of modified adjusted gross income above $75,000 for singles and $150,000 for joint filers.
What Tax-Gain Harvesting Is
Everyone has heard of tax-loss harvesting: selling losers to bank a deduction. Tax-gain harvesting is its mirror image and, in the right year, the better trade. You sell appreciated holdings while sitting in the 0% bracket, realize the gain at a federal cost of zero, and immediately buy the position back.
The immediate repurchase is the detail that surprises people, because it feels like it should be against the rules. It is not. The wash-sale rule exists to stop people from harvesting losses while keeping their position; it says nothing about gains. Sell a fund at 10:00 and rebuy it at 10:01, and the gain is realized, the 0% rate applies, and your cost basis resets to the new, higher price. Nothing about your portfolio has changed except the tax attribute.
That basis reset is the entire prize. The appreciation you harvested at 0% can never be taxed again; it is now basis. When you eventually sell for real, in a higher-income year or a 15% year, the taxable gain is measured from the new, higher starting point. Harvesting is, in effect, prepaying tax at a rate of zero. One mechanical footnote: the repurchased shares start a fresh holding period, so gains above the new basis need a year of holding before they qualify for long-term rates again. For a buy-and-hold position being harvested annually, that rarely matters, but it belongs in the plan.
The Math, on Real Numbers
Take a married couple, both 62, retired, living on savings while they delay Social Security. Their income for the year: $35,000 of IRA withdrawals and $10,000 of interest and dividends, for $45,000 of adjusted gross income. Subtract the $32,200 standard deduction and their taxable income is $12,800.
Their 0% room is the distance from $12,800 up to the $98,900 ceiling: $86,100. They can sell appreciated holdings carrying up to $86,100 of long-term gain, buy them right back, and owe no federal income tax on any of it. Done for five or six consecutive gap years, that is several hundred thousand dollars of appreciation permanently removed from their future tax bills, without changing their investments at all.
Run the same picture without the harvest and the gain does not disappear; it waits. It waits for a year when RMDs and Social Security have filled the stack, and then it comes out at 15%, plus whatever the extra income does to the taxation of their benefits. The 0% bracket room they had at 62 does not roll forward. Every year the low brackets sit unused, that capacity expires.
Who Actually Has the Window
The 0% bracket is not a strategy for low earners only; it is a strategy for low-income years, and high-net-worth households manufacture those on purpose. The classic windows:
The gap years. The stretch between retiring and the start of Social Security and RMDs is the same deliberately-low-income territory that drives Roth conversion timing in the gap years, and it is prime harvesting ground for exactly the same reason: the stack is nearly empty.
A sabbatical, a business-sale gap, or an early-retirement year where wages stop mid-year and the return shows an unusually short income stack.
Years when the portfolio, not the paycheck, decides income. A household living from a taxable brokerage account controls its own taxable income to a degree wage earners never do. That control is the raw material.
The window is a feature of the calendar, not the balance sheet. A couple with $4 million in assets and $45,000 of realized income has the same $86,100 of 0% room as anyone else; they simply have far more embedded gain waiting to use it.
The Fine Print: When 0% Is Not Actually Free
Here is the half of the analysis that turns a clever move into an expensive one when it is skipped. The 0% rate is a statement about one line of the tax return. Harvested gains still count as income almost everywhere else that matters, and the true marginal cost of a harvest is the sum of everything it touches.
The ACA cliff comes first. If you buy health insurance on the marketplace, harvested gains raise the MAGI that sets your premium tax credit, and in 2026 the subsidy cliff at 400% of the federal poverty level is back: one dollar over the line and the entire credit is gone. For an early-retiree couple, a “free” $86,100 harvest can vaporize five figures of subsidy. In subsidy years, harvesting is either sized carefully under the cliff or skipped entirely; the tax return’s 0% is beside the point.
Social Security taxation. Once benefits have started, gains count fully in the provisional income formula that phases benefits into taxation. Inside the phase-in zones, a dollar of “0%” gain can drag up to 85 cents of Social Security into taxable income, which is the same tax torpedo that complicates Roth conversions. Zero-rate gains that trigger taxable benefits are not zero-cost gains. The cleanest harvests happen before benefits begin.
Medicare premiums, two years later. From age 63 on, this year’s MAGI sets IRMAA surcharges at 65. A large harvest at 63 can buy a year of elevated Medicare premiums at 65, a real cost that never appears on this year’s return.
The senior deduction phase-out. For those 65 and older through 2028, harvest income runs through the 6% phase-out of the $6,000-per-person senior deduction, adding an effective drag on top of the nominal 0%.
The OBBBA wrinkle at the top of the bracket. A quirk worth knowing in 2026: OBBBA’s extra inflation adjustment to the 12% bracket pushed its ceiling ($100,800 joint, $50,400 single) above the 0% gains ceiling ($98,900 and $49,450). In that narrow band, roughly $1,900 wide for joint filers, a dollar of ordinary income is taxed at 12% while a dollar of gain is taxed at 15%. It is a small inversion, but it means “I’m in the 12% bracket, so my gains are free” is no longer exactly true at the bracket’s edge. The ceiling that governs gains is the gains ceiling, and precision at the line is the whole game.
State taxes. The 0% rate is federal. Texas households harvest state-tax-free, but the many families we work with in other states should check their state’s treatment, since several tax capital gains as ordinary income from the first dollar.
None of these kill the strategy. They define its true price, and the honest comparison is always true-cost harvest versus the alternative uses of the same bracket space.
Harvest or Convert: The Annual Either/Or
Which brings up the competition. Roth conversions and 0% gain harvesting want the same real estate: the empty space at the bottom of your bracket stack. Conversion income is ordinary income, it stacks beneath your gains, and every converted dollar pushes a dollar of gain toward the 15% line. In the overlap zone, converting while holding harvestable gains carries an effective cost of 27% (the 12% bracket rate plus 15% on the displaced gains). You generally cannot max out both in the same year; each year’s low-bracket space gets allocated to one job or the other.
Our lean, consistent with how we sequence retirement withdrawals more broadly: harvesting tends to win the year when the taxable account carries large embedded gains that will realistically be sold during your lifetime, and converting tends to win when the tax-deferred balance dominates the balance sheet and future RMDs are the bigger threat. Two refinements sharpen that. First, assets you genuinely expect to hold until death are poor harvesting candidates, because the basis step-up will erase those gains anyway; spending 0% room on them buys nothing your estate was not already getting. Second, the answer legitimately changes year to year, which is why we treat the harvest-versus-convert allocation as an annual modeling decision on actual numbers rather than a standing rule. The same logic applies when a net unrealized appreciation election drops a large low-basis stock position into the taxable account: those shares are exactly the kind of holding whose gains want to meet empty bracket space.
How We Think About It
The 0% bracket rewards a specific discipline: knowing, before December, what your taxable income is going to be and what you want occupying every dollar of the low brackets. That is a projection exercise, not an April exercise. Each fall we model the year’s stack for households in the window: ordinary income at the bottom, then the competing claims on the space above it, conversions, harvests, or deliberately nothing, priced at their true marginal cost including the ACA, Social Security, and Medicare effects. Some years the model says harvest to the ceiling. Some years it says the subsidy cliff makes the whole exercise too expensive and the gains should wait. The bracket is free; the decision still is not, and treating it as an automatic move is how a 0% rate ends up costing real money.
Common Questions
If I harvest more gain than my 0% room, is the whole gain taxed at 15%?
No. Gains straddle the line. The portion of the gain that fits under the $98,900 joint ($49,450 single) taxable-income ceiling is taxed at 0%, and only the overflow above it is taxed at 15%. There is no cliff in the rate schedule itself; the cliffs live elsewhere, in things like ACA subsidies.
Does the wash-sale rule stop me from buying the position right back?
No. The wash-sale rule applies only to realized losses. Harvested gains can be repurchased immediately, the same day, with no waiting period. The gain is realized, the 0% rate applies if you have the room, and your basis resets to the repurchase price. The one footnote: the new shares start a fresh one-year clock before their future appreciation qualifies as long-term.
Do qualified dividends get the 0% rate too?
Yes. Qualified dividends run on the same rate schedule as long-term gains, so they occupy the same stack and enjoy the same 0% treatment under the ceiling. They also consume 0% room, which is why the dividend yield of a taxable portfolio is part of the annual projection: dividends claim their bracket space whether you plan for them or not.
Should I harvest gains or do a Roth conversion this year?
It is a genuine either/or, because both strategies compete for the same low-bracket space and conversion income pushes gains toward the 15% line. Our lean: harvesting tends to win when large embedded gains in the taxable account will be sold during your lifetime; converting tends to win when the tax-deferred balance is the dominant asset and future RMDs are the bigger problem. The allocation is worth re-deciding every year on actual numbers.
Can I gift appreciated shares to my kids so they can sell in their 0% bracket?
Sometimes, but the kiddie tax stands in the way for younger children: investment income above a modest threshold for children under 19 (or under 24 if full-time students) is taxed at the parents’ rates, which defeats the purpose. For adult children genuinely in their own low brackets, gifted shares carry over your basis and holding period, and their sale can qualify for their 0% rate. That is a family-level planning decision with gift-tax reporting and financial-aid implications, so it deserves modeling rather than a rule of thumb.
