Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Tax Tools / 0% capital gains harvesting
Tax Tool Analysis

0% Capital Gains Harvesting Analysis: How It Works, Who It Fits, and the Catch

exclusion deferral
Short answerLong-term capital gains are taxed at 0 percent federally to the extent your taxable income stays under $98,900 (married filing jointly) or $49,450 (single) in 2026. Harvesting means deliberately realizing gains up to that line each year, or spreading a sale over several years with an installment note so each year's gain lands in the 0 percent bracket. State tax still applies.

How the 0% bracket works

Long-term capital gains and qualified dividends are stacked on top of your ordinary taxable income. Under IRC 1(h)(1), the part of that stack that sits below the "maximum zero rate amount" is taxed at 0 percent; the part above it is taxed at 15 percent, then 20 percent. For 2026, Rev. Proc. 2025-32 section 3.03 sets the 0 percent ceiling at:

Filing status0% up to taxable income of15% up to
Married filing jointly$98,900$613,700
Head of household$66,200$579,600
Single$49,450$545,500
Married filing separately$49,450$306,850

These are taxable income figures, after the standard deduction ($32,200 joint in 2026) or itemized deductions. Ordinary income fills the bracket first, so the room left for 0 percent gains is the ceiling minus your ordinary taxable income.

There are two ways to use it:

  • Gain harvesting. Sell appreciated investments up to the line and buy them right back. The wash sale rule in IRC 1091 applies only to losses, so the repurchase simply resets your basis higher at no federal cost.
  • Metering a sale. Sell a larger asset on a Section 453 installment sale and set the principal schedule so each year's gain fits inside the 0 percent room.

Worked example (engine-computed federal tax)

Assumptions, labeled: married filing jointly, $60,000 of ordinary income (pension and IRA withdrawals, no Social Security yet), standard deduction, Texas residents (no state income tax), 2026 federal rates and brackets applied to every year. All gain is long-term capital gain on land with no depreciation. Interest on any installment note is ignored here; in real life it is ordinary income and uses some of the room. Federal tax is the extra tax caused by the gain, from our tax engine, including the 3.8 percent net investment income tax.

Gain recognized in the yearFederal tax on the gain
$71,100$0
$80,000$1,335
$100,000$4,335
$500,000$76,115 (including $11,780 NIIT)

With $60,000 of ordinary income and the $32,200 standard deduction, this couple has $71,100 of 0 percent room. Now take a $500,000 gain three ways:

How the $500,000 gain is recognizedTotal federal tax on the gain
All in one year (cash sale)$76,115
$100,000 a year for 5 years$21,675 ($4,335 a year)
$62,500 a year for 8 years$0

The longer schedule wins on tax, and you also earn interest on the unpaid balance. The trade-offs are waiting longer for your money and carrying the buyer's credit risk for longer, which is why the note terms and collateral matter. If the same couple lived in California, the $71,100 gain that costs $0 federally would still cost $3,593 in state tax in the engine, because California taxes capital gains as ordinary income. Try your own numbers in the estimator.

The catches that shrink the 0% room

  • Social Security. Capital gains count toward the provisional income that decides how much of your Social Security is taxable (IRC 86). Each dollar of gain can pull up to 85 cents of benefits into ordinary income, which uses up bracket room and can push gain out of 0 percent. Model it with your actual benefit.
  • Medicare IRMAA. Gains raise modified AGI, which sets Medicare Part B and D premiums two years later. A harvest that is free federally can still raise premiums.
  • ACA premium credits. For people under 65 buying coverage on the exchange, gains reduce the premium tax credit.
  • Depreciation recapture. On real estate, unrecaptured Section 1250 gain is taxed at ordinary rates up to 25 percent, never 0 percent, and on an installment sale it comes out of the payments first (Treas. Reg. 1.453-12). Section 1245 recapture on equipment is ordinary income taxed in full in the year of sale, even on an installment sale.
  • Note interest. Interest on an installment note is ordinary income and fills the bottom of the bracket before any gain does.
  • State tax. Most states have no 0 percent capital gains bracket.
  • Other phase-ins. Higher AGI can reduce the 2026 senior deduction (it begins to phase out above $150,000 of modified AGI for joint filers) and other AGI-based benefits.

Who it fits, and who it does not

Good fit:

  • Retirees between the end of their paycheck and the start of Social Security and required minimum distributions.
  • Sellers of land, a small rental or a small business who can wait several years for payment and have little other income.
  • Investors with a taxable brokerage account and a low-income year (sabbatical, business loss year, early retirement).
  • Residents of states with no income tax.

Poor fit:

  • High earners. Once ordinary taxable income passes the ceiling, there is no 0 percent room at all.
  • Sellers of large assets, where even a long schedule leaves most gain in the 15 or 20 percent brackets (a longer schedule still lowers the rate, it just does not reach zero).
  • People whose Social Security, IRMAA or ACA costs rise faster than the federal saving.

Protecting yourself when you stretch the schedule

An eight-year schedule that lands every dollar in the 0 percent bracket only works if the buyer pays for eight years. The tax plan and the credit plan have to be built together:

  • Down payment. A meaningful cash down payment gives the buyer real equity to lose. Remember that it is a payment too, so its gain counts in year one.
  • Security. A first-position deed of trust or mortgage on real estate, or a UCC lien on business assets, plus a personal guarantee from the buyer's owners when the buyer is an entity.
  • Note terms. Interest at or above the applicable federal rate, an amortization schedule that matches your bracket plan, acceleration on default and a due-on-sale clause, a cure period, and limits on prepayment if an early payoff would push gain out of the 0 percent band.
  • Collateral upkeep. Required property insurance naming you as loss payee, current property taxes, and periodic financial reporting.
  • Plan for default. If you have to take real property back, IRC 1038 limits the gain you recognize on the repossession.

See our seller financing analysis for the full checklist.

IRS stance and audit risk

This is the rate schedule working as written. The 0 percent bracket has been in the Code since 2008, and the One Big Beautiful Bill Act made the current bracket structure permanent. Gain harvesting is not a listed transaction or a transaction of interest, and the wash sale rule does not apply to gains. Installment reporting is the default for qualifying sales under IRC 453.

Where people get into trouble is around the edges: selling to a related party who resells within two years (IRC 453(e)), a note with interest below the applicable federal rate (which the IRS recharacterizes), or recapture reported as capital gain. Report sales on Form 6252 and Schedule D, and keep basis records for every lot harvested.

Costs and fees

  • Gain harvesting: trading costs are usually trivial; the main cost is your time or your CPA's time to plan the amount.
  • Installment sale: drafting the note, deed of trust or security agreement, title and escrow work, and note servicing if you use a servicer.
  • The economic cost of a long schedule is waiting for your money and carrying buyer credit risk, managed with a solid down payment, first-position security, and default and acceleration clauses.

How it compares with a Section 453 installment sale

They are partners, not rivals. The 0 percent bracket is the target; a Section 453 installment sale is the tool that lets a seller hit it with an asset too large to sell in one low-income year. Even when the gain is too large to reach zero, spreading it keeps more of it in the 15 percent band instead of 20 percent, and keeps more years under the $250,000 joint net investment income tax threshold, which is not indexed for inflation (IRC 1411).

The $5,000 Big Sale Tax Analysis models this path side by side with a Section 453 installment sale and the other options, including the payment schedule that fills the 0 percent band each year after Social Security, IRMAA and state tax.

What to know

The 0 percent bracket is real, but it is small and it is measured after all your other income. Social Security, required minimum distributions, note interest and depreciation recapture all use the room first. A schedule long enough to reach zero means waiting years for your money and relying on the buyer for that whole time. State income tax usually still applies, and a free federal harvest can still raise Medicare premiums or cut ACA credits.

Frequently asked questions

What is the 0% capital gains threshold for 2026?
Taxable income up to $98,900 for married filing jointly, $66,200 for head of household, and $49,450 for single or married filing separately (Rev. Proc. 2025-32, section 3.03). Long-term gain that fits under that line after ordinary income is taxed at 0 percent federally.
Can I sell stock at 0% and buy it back right away?
Yes. The wash sale rule (IRC 1091) applies only to losses. Selling at a gain and repurchasing immediately resets your basis higher, which reduces tax on a future sale.
Does the 0% bracket apply to the full gain or only part?
Only the part that fits under the threshold after your ordinary taxable income. Gain above the line is taxed at 15 percent (and 20 percent at higher levels), plus the 3.8 percent net investment income tax above $250,000 of modified AGI for joint filers.
Can an installment sale keep my gain in the 0% bracket?
Yes, if the principal received each year produces gain that fits in the remaining room. In our engine example, a $500,000 gain spread over eight years at $62,500 a year cost $0 in federal tax for a couple with $60,000 of other income, versus $76,115 in one year. Note interest and recapture use room first.
Does Social Security affect 0% capital gains?
Yes. Gains raise provisional income, which can make more of your benefits taxable. Those taxable benefits are ordinary income, so they use bracket room and can push gains out of the 0 percent band.
Do states tax capital gains in the 0% bracket?
Usually yes. Most states with an income tax tax capital gains as ordinary income. In our engine, a California couple with a $71,100 gain owed $0 federally but $3,593 to California.
How Hans helps: the $5,000 Big Sale Tax Analysis models this path side by side with every other option for your sale and ends with a written recommendation. See the analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.

Prefer email? Request the analysis by email.

Book a callCall Hans