The Move That Pays Nothing, So Nobody Sells It

Tax gain harvesting is selling an appreciated investment to lock in a long-term capital gain on purpose, in a year your income is low enough that the federal rate on that gain is zero, then buying the same fund right back. You pocket no cash and you change no allocation. What you walk away with is a higher cost basis on shares you still own, bought with tax dollars you never paid.

That last clause is why you have probably never had it pitched to you. There is no product here, no recurring fee, no annual invoice. The whole maneuver is a few clicks in a brokerage account and a number you write down. An industry that earns its keep selling complexity has no reason to teach you the one tax move whose price tag is a flat zero.

I am going to teach it anyway, with 2026 numbers that reconcile to the dollar. This page used to be four, one per state, until I noticed they differed by a single paragraph. Tax gain harvesting is a federal mechanic that behaves identically in forty-one states and bends in only a couple, so the state detail rides in one section near the end instead of four separate URLs.

How Tax Gain Harvesting Works at the 0% Bracket

Long-term capital gains, meaning gains on assets you held more than a year, sit in their own federal rate schedule: 0 percent, then 15 percent, then 20 percent. The 0 percent band is the prize. For a single filer in 2026 it covers taxable income up to $49,450. For a married couple filing jointly the line is double that.

The mechanic that makes this confusing is stacking. Your long-term gains pile on top of your ordinary income, not underneath it: ordinary income fills the bottom of the stack first, the gains sit on top, and only the portion of gains that lands below the $49,450 line gets the 0 percent rate. Cross the line and every additional dollar of gain flips to 15 percent. There is no partial mercy on the dollars above it, but there is no penalty on the dollars below it either.

The other half of the trick is the rebuy. The wash-sale rule, the one that blocks you from claiming a loss if you repurchase within thirty days, applies to losses only; it does not touch gains. So you can sell appreciated shares at 10:00 and buy them back at 10:01, no waiting period, no disallowed anything, and the sale resets your basis to the new, higher price while the clock and the position carry on as if nothing happened. The IRS spells the gain rules out in Publication 550, where the wash-sale section is explicit that it covers losses.

A Worked Example That Reconciles to the Dollar

Take a single filer in 2026 with $30,000 of ordinary income from part-time work and interest. The standard deduction is $16,100, so her ordinary taxable income is $13,900. The 0 percent capital-gains ceiling is $49,450, which leaves $35,550 of room above her ordinary income before gains start getting taxed.

She owns an index fund with a large embedded gain. She sells enough shares to realize exactly $35,550 of long-term gain, then buys the fund right back at the same price. Her total taxable income is now $13,900 plus $35,550, which is $49,450, sitting precisely on the line, so federal tax on that harvested gain is zero. Her basis just stepped up by $35,550, and she still owns every share.

LineAmount
Ordinary income (part-time plus interest)$30,000
Less 2026 standard deduction (single)-$16,100
Ordinary taxable income$13,900
Room left under the 0% ceiling ($49,450 - $13,900)$35,550
Long-term gain harvested into that room$35,550
Total taxable income$49,450
Federal tax on the harvested gain$0

Run it again for someone with no ordinary income at all and the room is bigger, because the $35,550 in the table was only what survived after $30,000 of wages had already burned the standard deduction. With zero wages nothing burns it, so the deduction shelters the first $16,100 of gain by itself and the 0 percent band stretches $49,450 of taxable income on top of that. A single filer with no wages therefore realizes $65,550 of long-term gain and owes nothing, because gross gain minus the $16,100 deduction lands taxable income exactly on the $49,450 line. A married couple with no other income clears more than $130,000 the same way, and these are not loopholes; they are the printed brackets, used as written.

Why the Basis Step-Up Is the Whole Point

The dollars you harvest at 0 percent never get taxed again on the way up to that price. Say you bought a fund at $120,000 and it is worth $185,000, a $65,000 embedded gain. Harvest the whole thing in a zero-income year, rebuy at $185,000, and your new basis is $185,000, which means the embedded gain that would have cost you 15 percent later, roughly $9,800 in federal tax, is gone. You converted a future taxable gain into a settled one at a rate of nothing.

This is the mirror image of tax-loss harvesting, and it is the more valuable move for the person it fits. A loss harvester is banking deductions against a future tax bill. A gain harvester is erasing a future tax bill outright, at the only rate that can never be beaten. Do it in enough lean years and a portfolio's entire embedded gain can be laundered up to a basis near its market value, one 0 percent slice at a time.

Harvest or Convert: You Cannot Max Both

Here is the trap that the single-strategy articles never mention. Tax gain harvesting and the Roth conversion ladder both feed on the exact same resource: the empty low-income space in a given tax year. They are not complementary tools you stack. They are two diners at one table, and the table only seats so many.

A Roth conversion is ordinary income. It fills the bottom of the stack, the same bottom your harvested gains must clear to stay under the 0 percent line. Convert $40,000 from a traditional IRA and you have just pushed $40,000 of ordinary income underneath your gains, which shoves most of your harvest room above the $49,450 ceiling and into the 15 percent band. The conversion did not coexist with the harvest; it ate it.

The same crowding happens at the ACA subsidy cliff, which both moves climb toward from below. For 2026 coverage it sits at 400 percent of the federal poverty level, about $62,600 of MAGI for a single filer, and harvested gains count as MAGI just as conversions do. The cliff and the bracket are different tests, though: for the 0 percent bracket gains stack above conversion income, so a conversion is the more damaging of the two, while for the cliff every MAGI dollar counts flat, and for a subsidized retiree that cliff usually binds first. Whatever room exists under it the two strategies split; you do not get the cliff's worth of each, you get one budget, spent once.

So which wins a given year? Convert when your traditional IRA balance is the problem, when you are staring at decades of required distributions and an unknown future bracket; the conversion buys permanent tax-free growth and kills future RMDs. Harvest when your taxable brokerage account holds the embedded gains, when you have little or no pre-tax balance to convert, or when you are already going to sell shares for spending and might as well reset basis on the way. Most early retirees do some of each across a long timeline, sequencing year by year: convert in the years the traditional IRA balance is what scares you, harvest in the years the embedded gains are, and never hand one tool the whole budget on principle.

The Robo-Advisors Sell the Wrong Harvest

Now the part that should make you angry. Betterment, Wealthfront, and the rest of the automated-advice crowd have spent a decade marketing tax-loss harvesting as a flagship premium feature, the thing that supposedly justifies handing them your portfolio. Daily algorithmic loss harvesting, they say, the robot watching your account so you do not have to. They will not shut up about it.

They are nearly silent on tax-gain harvesting, which is the move that actually matters for a low-income early retiree. Follow the incentive. Loss harvesting generates a deduction, which sounds like a feature you would pay for; gain harvesting generates a zero-rate basis reset, which is free and requires you to be poor on paper that year, which most of their fee-paying customers are not. One story sells a subscription, the other sells nothing, so it stays off the homepage.

Look at what the loss-harvesting feature is even worth. The IRS lets you deduct net capital losses against ordinary income at $3,000 a year, which at a 22 percent marginal rate is worth $660; the rest of any harvested loss just shuffles your basis around for a deferral, not a savings. Meanwhile the platform charging 0.25 percent on a $500,000 account collects $1,250 every single year, climbing as the balance grows. You are paying $1,250 in fees to capture a tax feature whose headline benefit caps near $660, so the math runs backward.

The free version is the one they buried: in your lean years, harvest gains yourself, at 0 percent, in the same brokerage account, with no robot and no fee. The credit for the honest framing goes to the Mad Fientist, whose tax-gain-harvesting writeups put real numbers on this years before the apps existed, and to Michael Kitces, whose research on capital-gains bracket management is free and rigorous if you skip past the advisory practice attached to it. The Bogleheads wiki page on the subject is the plain-English reference, ungated, no subscription. The information was never scarce; the marketing budget just pointed the other way.

What the State Line Actually Changes

Everything above is federal. The federal 0 percent rate is the engine, and for most of the country it is the entire story, because most states either have no income tax or grant capital gains some break. The state layer earns one section, not four, and the only state on this page where it genuinely reshapes the decision is California.

California: The 0% Federal Bracket Buys You No State Break

California does not have a preferential capital-gains rate. It taxes long-term gains as ordinary income, at brackets running from 1 percent up to 12.3 percent, plus the 1 percent surcharge over $1 million that makes the famous 13.3 percent ceiling. So the entire premise of gain harvesting, that the rate on the gain is zero, is only half true for a Californian: the federal rate is zero, and the state rate is not.

Work the lean-year example again as a California resident. Harvest $35,550 of gain in a low-income year and the federal bill is still zero, but California taxes that $35,550 as ordinary income climbing its lower brackets, a state bill that runs from roughly $800 in a truly zero-other-income year to $1,500 or more once meaningful ordinary income stacks underneath it. The basis still steps up, so the move is not worthless; it is just far weaker than the brochure 0 percent implies, because California never offered the 0 percent in the first place. For a Californian, gain harvesting is a state-tax-now-for-federal-tax-later trade, and whether it pays depends on whether you expect to sell those shares in a higher combined bracket down the road.

Florida, Texas, Washington: The Federal Rate Is the Whole Rate

Florida, Texas, and Washington impose no state income tax. In all three, a gain harvested under the federal 0 percent ceiling costs exactly nothing, state and federal, full stop, and the brochure number is the real number.

Washington carries one asterisk worth naming honestly. The state levies a 7 percent excise tax on long-term capital gains above an inflation-indexed threshold that started at $250,000 in 2022 and has climbed past $270,000 since. A harvester working the 0 percent federal band realizes tens of thousands of gain, not hundreds of thousands, so almost nobody doing this strategy comes within sight of the Washington threshold. But it exists, and pretending it does not would be the same dishonesty I am accusing the apps of, so name it: if you ever harvest a quarter-million in gains in one Washington year, the excise tax is your problem, and under that it is not.

Where Gain Harvesting Is the Wrong Move

The contempt on this page is for the marketing, not for the move, and the move is not always right. Realized gains raise your MAGI, which can shrink or detonate an ACA premium subsidy worth thousands; if you are subsidized, price the harvest against the cliff before you price it against the bracket. A surprise dividend or a part-time bonus can shove your stacked gains over the $49,450 line you carefully aimed at, so leave a margin.

And in a down market there may be nothing to harvest. When prices fall below your basis, the gain you were going to reset is now a loss, and the correct tool flips to loss harvesting. A real plan keeps both moves on the bench and reads the year before swinging. The decision also leans on knowing your spending floor and your withdrawal math, which is what the safe withdrawal rate calculator and the FIRE number calculator are for; harvest room is leftover space under a ceiling, and you cannot find the leftover until you know the spending.

Questions That Survive Contact With a Brokerage Account

Can I really sell and rebuy the same fund the same minute?

Yes. The wash-sale rule applies only to losses, so there is no waiting period and no disallowance when you are realizing a gain. The sale resets your basis to the repurchase price, and your position and holding-period clock continue as if you had done nothing. IRS Publication 550 states the loss-only scope plainly.

How much gain can I harvest at 0% with no other income?

A single filer in 2026 can realize $65,550 of long-term gain fully at 0 percent: the $16,100 standard deduction shelters the first slice, and the 0 percent band runs to $49,450 of taxable income on top of that. A married couple filing jointly roughly doubles it. Any ordinary income you have eats into that room dollar for dollar from the bottom.

Does harvesting gains hurt my ACA subsidy?

It can. Harvested gains count toward MAGI, and MAGI sets your premium tax credit. For 2026 coverage the cliff sits near $62,600 for a single filer, and crossing it forfeits the entire credit. Size the harvest under the cliff first, then under the 0 percent bracket second, and treat the lower of the two as your real ceiling.

Should I harvest gains or run Roth conversions this year?

They compete for the same low-income room, so usually you pick. Convert when a large traditional IRA and future RMDs are the bigger threat. Harvest when the embedded gains live in your taxable account and you have little to convert. The full conversion mechanics are in the Roth conversion ladder guide.

Does this work inside my IRA or 401k?

No. Gains inside tax-advantaged accounts are deferred or already tax-free, so there is no basis to reset and nothing to harvest. The strategy lives entirely in taxable brokerage accounts.

Is California worth harvesting in at all?

Sometimes. California taxes the gain as ordinary income even when the federal rate is zero, so you are paying state tax now to erase a future federal gain. It pays only if you expect to sell those shares later in a higher combined bracket, and it is far weaker than the federal-only case in a no-tax state.

What if I need the cash, not just the basis reset?

Then skip the rebuy and keep the proceeds. Harvesting and spending are the same sale; the only difference is whether you buy back in. Selling appreciated shares for spending in a 0 percent year is itself a tax-free withdrawal, which is why a taxable account is such a clean bridge in early retirement. The total-return withdrawal logic covers why selling shares beats chasing dividends for this.

The Free Lunch Hiding in Your Own Brokerage

Two harvests, and the industry advertises the smaller one. Tax-loss harvesting is the feature with a marketing budget and a deduction capped at $660 of annual value behind a fee that starts at $1,250. Tax-gain harvesting is the feature with no marketing budget, no fee, and a benefit that can erase a five-figure future tax bill one zero-rate slice at a time. The free one is the bigger one.

The mechanics are public: Publication 550 for the gain rules, the Bogleheads wiki for the plain version, the Mad Fientist and Kitces for the worked math, all of it free and all of it older than the apps charging to repackage it. The federal 0 percent bracket does the heavy lifting, your state decides whether it keeps a cut, and California is the only one of these four that takes a meaningful bite. Find your lean years, measure the room under the cliff and the bracket, harvest into it, and rebuy. Nobody can invoice you for that, which is exactly why nobody told you about it.