Skip to main content

Tax-Gain Harvesting in the 0% Bracket: How Business Owners With a Low-Income Year Can Sell, Rebuy, and Reset Basis Tax-Free Before December 31

Published 13 min readMike ThriftMike Thrift
Tax-Gain Harvesting in the 0% Bracket: How Business Owners With a Low-Income Year Can Sell, Rebuy, and Reset Basis Tax-Free Before December 31
On this page

Your business had a slow year, and the numbers on your profit-and-loss statement sting. Here is the part nobody tells you: a low-income year opens a tax window that high earners would pay good money to access. If your taxable income lands low enough, you can sell appreciated stock, pay zero federal tax on the gain, buy the exact same shares back minutes later, and permanently erase that gain from your future tax bill. The maneuver is called tax-gain harvesting, and the deadline is December 31.

This is the mirror image of tax-loss harvesting. Loss harvesting sells losers to bank a deduction; gain harvesting sells winners when your bracket makes the gain free. Both leave your portfolio allocation untouched. But only one of them permanently deletes tax instead of deferring it, and only one of them has no wash-sale waiting period. If 2026 is your dip year — a startup year, a down year, a sabbatical, or the calm before retirement distributions begin — this strategy deserves an hour of your attention before the calendar runs out.

What Tax-Gain Harvesting Actually Is​

The mechanics fit in one sentence: sell an appreciated asset you have held for more than a year, realize the gain in a year your income sits inside the 0% capital-gains bracket, and immediately repurchase the same asset at the current price.

Three things happen at once. First, the gain is taxed at 0% federally, so the sale costs you nothing. Second, your cost basis resets to the higher repurchase price, which shrinks the taxable gain you will owe whenever you eventually sell for real. Third, your portfolio does not change at all — same shares, same allocation, same investment thesis. The only thing that moved is your tax basis, and it moved in your favor.

The immediate rebuy is what surprises people, because loss harvesting forbids it. The wash-sale rule blocks you from claiming a loss if you buy a substantially identical security within 30 days before or after the sale. But that rule applies to losses only. There is no wash-sale rule for gains. You can sell an index fund at 10 a.m. and buy it back at 10:05 a.m., and the IRS has no complaint — the gain is real, the new basis is real, and the 0% rate applies if your income qualifies.

The benefit is permanent, not deferred. When you harvest a $30,000 gain at 0% and reset your basis $30,000 higher, that $30,000 never comes back as taxable income. At a future 15% capital-gains rate, you just saved $4,500, plus whatever your state would have taken. Loss harvesting, by contrast, usually just moves tax into the future, because the replacement shares carry a lower basis. Gain harvesting is the rare strategy that makes tax vanish entirely.

How the 0% Bracket Works in 2026​

The 0% rate on long-term capital gains is not a loophole or a special election. It is the bottom bracket of the capital-gains rate schedule, and it applies automatically when your taxable income is low enough. For 2026, the thresholds are:

Filing status0% rate up to15% rate up to20% above
Single$49,450$545,500$545,500
Married filing jointly$98,900$613,700$613,700
Head of household$66,200$579,600$579,600
Married filing separately$49,450$306,850$306,850

Four details make or break the strategy, and every one of them trips people up.

The threshold applies to taxable income, not gross income. Taxable income is what remains after subtracting the standard deduction ($16,100 single, $32,200 joint, $24,150 head of household for 2026) or your itemized deductions. A single filer with $60,000 of gross income and the standard deduction has $43,900 of taxable income — inside the 0% bracket with room to spare.

Gains stack on top of your other income. Your ordinary income — wages, business profit, interest — fills the bracket first, and harvested gains sit on top of it. Headroom equals the threshold minus your taxable income before harvesting. If you are married filing jointly with $60,000 of taxable income before any sales, your headroom is $98,900 minus $60,000, or $38,900 of gains at 0%.

The standard deduction stacks with the bracket. If your only income is the gain itself, the standard deduction effectively extends the tax-free zone. A married couple with no other income can realize about $131,100 of long-term gains ($32,200 standard deduction plus $98,900 of 0% bracket) and owe zero federal income tax. A single filer in the same position gets about $65,550 ($16,100 plus $49,450). These are the theoretical maximums; most harvesters have other income that eats into the room.

Only long-term gains and qualified dividends qualify. Assets held more than a year get the 0%/15%/20% treatment. Anything held a year or less produces short-term gain taxed as ordinary income — no 0% bracket, no harvesting benefit. Qualified dividends share the same preferential brackets, which means dividends you already received this year have consumed some of your 0% room. Check your year-to-date dividends before sizing the harvest.

Why Business Owners Get the Best Windows​

Salaried workers rarely control their taxable income in a given year. Business owners do — or at least, life hands them the dips. The classic harvesting windows:

The startup or loss year. Heavy upfront spending, slow early revenue, or a deliberate investment year can leave your Schedule C or pass-through income near zero or negative. A business loss reduces the income that fills your bracket, leaving more 0% room for gains.

The down year. A lost client, a soft market, or a pivot that paused revenue creates the same opening without any planning. The instinct is to ignore investing when business is slow; the tax code rewards the opposite.

The transition year. Selling a business, winding one down, taking a sabbatical, or spending a gap year between ventures often produces the lowest taxable income of your career. Retiring early — after earned income stops but before Social Security and required minimum distributions begin — creates a similar multi-year window that pairs beautifully with both gain harvesting and Roth conversions.

The big-deduction year. Large equipment purchases expensed under Section 179, bonus depreciation, or unusually high itemized deductions can depress one year's taxable income enough to open harvesting room you will not see again.

One coordination warning: Roth conversions compete for the same low-bracket room. Every dollar you convert fills the bracket that harvested gains would have used, and vice versa. Both are good uses of a low-income year, but you cannot spend the same bracket space twice. Run the numbers on the split before committing to either — in general, harvesting at a guaranteed 0% beats converting at 12% if you must choose, but the right answer depends on your future rate expectations.

How to Execute Before December 31​

The trade date controls the tax year, not the settlement date, so a sale executed on December 31 counts for 2026. Still, do not aim for the last afternoon of the year — brokerages get busy, mistakes get harder to fix, and mutual fund trades in particular need lead time. Work through these steps in early December at the latest.

1. Estimate your 2026 taxable income without the harvest. Project business profit or loss, wages, interest, and any gains already realized. Subtract the standard deduction or expected itemized deductions. This is your baseline — the number the harvest stacks on top of.

2. Compute your headroom. Subtract the baseline from your filing status's 0% threshold. That is the maximum gain you can harvest federally tax-free. Leave a cushion of a few thousand dollars: year-end surprises — a larger-than-expected mutual fund capital-gain distribution, a late K-1 adjustment, an accounting correction — can push you over the line, and while the excess is taxed at only 15%, the point of the exercise is 0%.

3. Confirm every lot is long-term. The one-year clock runs from the day after purchase to the sale date. In a brokerage showing multiple purchase lots, specify the long-term lots when you sell — most brokers let you choose specific identification online. Do not let the default method (often average cost for mutual funds, FIFO elsewhere) accidentally sell short-term shares into the harvest.

4. Sell, then rebuy immediately. Place the sale, wait for the fill, and repurchase the same security. Same ticker, same fund, same share count if you like. There is no waiting period and no substitute-security dance. If you prefer, you can use the moment to rebalance — harvest the gain and redirect the proceeds into a different holding — but a straight rebuy keeps the strategy pure.

5. Mind mutual fund distribution season. Many funds pay annual capital-gain distributions in December. Buying a fund just before its ex-dividend date hands you a taxable distribution on shares you held for days. If you are harvesting out of and back into a mutual fund, check its distribution calendar and time the rebuy for after the distribution, or harvest with ETFs (which rarely distribute gains) instead.

6. Document everything. The gain still gets reported — sale proceeds on Form 8949, flowing to Schedule D — even though the tax is zero. Save trade confirmations showing sale and repurchase prices, keep a note of which lots you sold, and verify in January that your brokerage updated the cost basis to the new higher number. When Form 1099-B arrives, reconcile it against your records before filing. A 0% gain reported wrong is still a notice from the IRS waiting to happen.

A Worked Example With Real Numbers​

Take a married couple filing jointly. Their 2026 business income, after expenses and the standard deduction, leaves them with $60,000 of taxable income before any investing moves. Their 0% threshold is $98,900, so their headroom is $38,900.

They own an index fund bought years ago for $50,000, now worth $95,000 — a $45,000 unrealized gain. In early December they sell $38,900 worth of gain (a partial sale; the exact share count depends on the per-share gain) and immediately rebuy the same fund. The $38,900 gain stacks onto their $60,000 baseline for $98,900 of total taxable income — exactly at the top of the 0% bracket. Federal tax on the harvest: zero.

Their fund basis is now $38,900 higher than before. When they eventually sell those shares in a normal year, the taxable gain will be $38,900 smaller. At a 15% future rate, that is $5,835 of federal tax permanently avoided, plus state savings. They paid no federal tax to get it, their portfolio never changed, and the whole exercise took twenty minutes plus the bookkeeping.

A single filer can run the same play at smaller scale. With $40,000 of baseline taxable income against a $49,450 threshold, the headroom is $9,450 — a $9,450 gain at 0% that saves $1,418 at a future 15% rate. Small harvests are still worth doing; the paperwork is identical and the savings compound across years if your low-income window lasts more than one.

Mistakes That Shrink or Erase the Savings​

Harvesting short-term gains. The 0% bracket never applies to assets held a year or less. A gain on shares bought eleven months ago is taxed at your ordinary rate no matter how low your income is. Verify holding periods lot by lot before selling.

Forgetting state taxes. Most states with an income tax treat capital gains as ordinary income with no preferential bracket. Your 0% federal harvest can still generate a state bill at your full marginal state rate. That rarely kills the strategy — paying 5% now to avoid 15% federal plus 5% state later is still a win — but price it in before you sell. A handful of states conform to the federal preference or exempt gains; know your state's rule.

Overshooting the bracket. Harvesting too much pushes the excess into the 15% bracket. That is a modest error, not a disaster — 15% is still cheap — but it means you paid tax you could have avoided by leaving a cushion. Worse is overshooting by enough to matter for other provisions, which brings us to the next three.

Blowing up ACA premium tax credits. Harvested gains raise your adjusted gross income even when taxed at 0%, and ACA subsidies key off MAGI. A harvest that pushes you over a subsidy cliff can cost thousands in lost premium tax credits — far more than the capital-gains tax you saved. If anyone in your household buys insurance on the exchange, model the subsidy effect before harvesting a dollar.

Taxing your Social Security benefits. More AGI can push more of your Social Security benefits into taxable territory. Early-retirement harvesters coordinating with benefit timing should check the provisional-income math.

Tripping the kiddie tax in a child's account. Harvesting gains inside a custodial account is legitimate, but a child's unearned income above a modest annual threshold gets taxed at the parents' rate. Small harvests in a child's account stay clean; large ones can defeat the purpose.

Ignoring qualified dividends already received. Dividends paid earlier in the year already occupy part of your 0% room. Pull your year-to-date dividend totals from your brokerage before finalizing the harvest size.

None of these pitfalls requires abandoning the strategy. They require a spreadsheet, twenty minutes, and the discipline to leave a margin of safety.

Track the Harvest Like an Auditor Is Watching​

A gain taxed at 0% still creates a paper trail, and the basis reset only pays off if your records prove it. Log each harvest the day you execute it: security name, lots sold with original purchase dates and basis, sale price and date, repurchase price and new basis. When the 1099-B arrives in January, confirm the proceeds match your log and — critically — that the brokerage is carrying the new stepped-up basis forward, not the old one. Basis errors compound silently for years and surface at the worst possible moment: the eventual sale, when the overstatement costs you real money. Good records also make multi-year harvesting trivial to repeat, since each year's headroom math starts from last year's ending basis. For a refresher on keeping investment records organized alongside your business books, the recordkeeping guidance in /docs/ is a solid starting point.

Keep Your Harvest on the Books​

As you turn a low-income year into permanent tax savings, the paperwork is what makes it stick — trade confirmations, lot histories, updated basis figures, and a 1099-B reconciliation, all preserved where you can find them years later. Beancount.io offers plain-text accounting that's transparent, version-controlled, and AI-ready, so every harvest lives in your ledger exactly as the IRS will see it. Get started for free and see why developers and finance professionals are switching to plain-text accounting.

Source: https://beancount.io/blog/2026/10/08/tax-gain-harvesting-zero-percent-bracket-low-income-year-guide

Published: October 8, 2026