Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / 0% bracket stacking
The 0% bracket, stacked

How to Qualify for 0% Capital Gains Tax When You Are Still Working

Short answerA single filer pays 0% federal tax on long-term gain while taxable income stays at or below $49,450 in 2026 (Rev. Proc. 2025-32), about $65,550 of total income after the $16,100 standard deduction. Every dollar of above-the-line deduction raises that line a dollar. Stack them and spread the sale, and in our example the federal tax caused by a $185,000 gain falls to $0.

What "qualify" really means: a line you can move

There is no application and no form. Long-term gain is taxed at 0% to the extent your taxable income, gain included, stays at or below $49,450 for a single filer or $98,900 for joint filers in 2026 (Rev. Proc. 2025-32).

Add the $16,100 single standard deduction and the line is about $65,550 of total income for a single filer, $131,100 for a couple. Most writing stops there and says to hope your income is low.

A working seller can do more than hope. Total income is a number you partly control, and every dollar you pull out of it above the line lifts the room for 0% gain by a dollar (2026 rules).

That is the idea of this page: stack the deductions you already have access to, then spread the sale so each year fits under the higher line. For the 15% and 20% bands (Rev. Proc. 2025-32), the NIIT and the other thresholds, see the main hub at capital gains; for the plain version of 0% harvesting, see 0% capital gains harvesting.

The stacking ladder: from $25,550 of room to about $63,500

Take a single owner under 50 with $40,000 of net self-employment profit and no other income. Before any gain, the room under the 2026 line is the $65,550 of total income minus what that profit already uses. Every figure below is arithmetic from the cited 2026 limits, not an engine result.

StepDeductionOrdinary income leftRoom for 0% gain
Standard deduction onlynone$40,000$25,550
Half of self-employment tax (IRC 164(f))$2,826$37,174$28,376
Solo 401(k) employee deferral ($24,500 limit for 2026, IRS news release IR-2025-111)$24,500$12,674$52,876
Solo 401(k) employer profit sharing (about 20% of net earnings after the SE tax deduction, IRS Publication 560, 2026)$6,196$6,478$59,072
HSA, self-only coverage ($4,400 for 2026, Rev. Proc. 2025-19)$4,400$2,078$63,472

Result: the room for 0% gain rises from $25,550 to $63,472, nearly two and a half times, using four moves most self-employed owners have never combined. Family HSA coverage lifts the HSA limit to $8,750 for 2026 (Rev. Proc. 2025-19), and age 55 or older adds $1,000. At 50 or older the 401(k) catch-up adds $8,000 for 2026, so $32,500 of employee deferral in all (IR-2025-111).

The next rungs: what else raises the line

  • Self-employed health insurance (IRC 162(l)). Premiums for you and your family are deductible above the line, limited to the profit of the business that pays them. It is not an extra contribution, so it only helps if you pay premiums.
  • Traditional IRA ($7,500 for 2026, plus $1,100 at 50 or older, IR-2025-111). Deductible only within the active-participant phase-out ($81,000 to $91,000 of MAGI for a single filer in 2026, IRC 219(g)). A Solo 401(k) makes you an active participant, and MAGI includes the gain, so this works in a spread year and usually fails in a one-year spike.
  • Cash balance or defined benefit plan (IRC 404, 415(b)). For an owner with high profit this is the big lever, deductions well above the 401(k) limits, but it needs a plan actuary, a multi-year commitment and real earned income to support it.
  • Charitable. A non-itemizer deduction of $1,000 single or $2,000 joint is allowed starting 2026 (IRC 170(p), added by Public Law 119-21). Larger gifts of appreciated assets to a donor-advised fund can be bunched into one year; see donor-advised funds.
  • Itemizing. If mortgage interest, property tax and gifts exceed the $16,100 standard deduction, the excess lifts the line. Bunch them into the gain years.
  • Capital losses. Losses offset gain dollar for dollar before it reaches the bracket test; see tax-loss harvesting.
  • Prepay deductible business expenses in the last operating year, and for rental real estate use the passive loss allowance of up to $25,000 that phases out between $100,000 and $150,000 of AGI (IRC 469(i)).

The ceiling: contributions need earned income, and the sale is not earned income

Retirement deductions are capped by compensation, and for a self-employed person that means net earnings from self-employment (IRC 401(c)(2), 219(f)(1)). A gain from selling a business interest or a building is capital gain, not earnings, so it supports no contribution at all.

That is why our owner stops at about $37,922 of deductions on $40,000 of profit: the profit is spent. A W-2 employee with a $120,000 salary has more room to defer, but also a higher starting line to climb out of.

It also means the ladder only works for people who are still earning. If the sale ends the business and the paycheck, there is no profit left to shelter, which is the situation the plain 0% bracket page covers (2026 thresholds).

Why spreading the sale is half of the answer

Look at the four examples. The same $185,000 gain in one year costs $34,025 in total tax, of which $23,918 is federal and $950 is the 3.8% net investment income tax, because total income of $225,000 passes the $200,000 single threshold, which is not indexed (IRC 1411, 2026).

Spread over four years with no planning, the bill drops to $21,578. Add the ladder and it is $9,158, a difference of $24,868 against the one-year sale. All of what remains in $9,158 is Illinois, whose flat tax on the gain the engine charges whatever the federal line.

The one-year column with the same deductions (the fourth example) still costs $27,387. Moves without spreading cannot fit a $185,000 gain under a $63,472 line. The mechanism that makes spreading possible is the installment method of IRC 453: tax follows the payments. See installment sale and seller financing for the note terms that make the payments safe to wait for.

Traps that quietly shrink the room

  • The 20% QBI deduction. The IRC 199A deduction (2026) is limited to 20% of taxable income minus net capital gain. Once you push ordinary income near zero, there is almost nothing left to take 20% of, so do not count on it as a rung.
  • Section 1245 recapture. Gain on depreciated equipment is ordinary income, and IRC 453(i) puts it in the year of sale even if the buyer pays over several years. It sits on top of your ordinary income and eats the room. See recapture on an installment sale.
  • Interest on the note. The interest portion is ordinary income, so a larger note pushes more ordinary income into each year.
  • The deferral years. In 2026 a 401(k) deduction defers tax on the contribution to a later year; it does not erase it. That is a good trade when you fund it at 0% today and the withdrawal is at a lower rate later, and a poor one if it is not.

A short checklist before you set the schedule

  1. List this year's profit or salary and every rung above that you can reach.
  2. Compute the line: $65,550 for single, $131,100 for joint, plus each deduction (2026, Rev. Proc. 2025-32).
  3. Divide the gain by the room to see how many years a seller note needs to run.
  4. Confirm the recapture and interest that will land in each year.
  5. Have your CPA confirm the plan documents, the IRA phase-out and the state treatment before signing a note. For a sale already in motion, see capital gains tax on the sale of a business and how to reduce it.

Run your own numbers in the calculator on this page, or get the Big Sale Tax Analysis at /analysis/.

What to know

This is a planning picture, not a promise. The ladder assumes steady profit, a single filer under 50 and 2026 limits; later years use projected tables. Retirement deductions are deferrals, a cash balance plan commits you to funding it for years, and the IRA deduction can vanish when MAGI rises.

A seller note carries buyer credit risk, and state tax still applies to every dollar of gain. Your CPA should confirm each step before you rely on it.

How much tax does this sale cause? A worked example

Single filer, Illinois, $40,000 of net business profit, sells a business interest for a $185,000 long-term gain in one year. Standard deduction, no other planning. Same owner, same $185,000 gain collected as $46,250 a year from 2026 through 2029 on a seller note, still $40,000 of profit each year.

Same four-year schedule. Each year the owner takes the deductions in the ladder below ($37,922 in total), leaving $2,078 of ordinary income. The engine applies the 2026 standard deduction to that $2,078.

Same $37,922 of deductions, but the whole $185,000 gain lands in one year. Shows that the moves alone do not do it.

Engine runOne-year sale, no movesSame gain over four yearsFour years plus pre-tax movesOne-year sale plus the same moves
Filing statusSingleSingleSingleSingle
StateIllinoisIllinoisIllinoisIllinois
Tax years1441
Other income (wages, pension, interest) per year$40,000$40,000$2,078$2,078
Long-term capital gain$185,000$185,000$185,000$185,000
Federal income tax on the sale$23,918$12,420$0$18,229
Net investment income tax (3.8%)$950$0$0$0
State income tax on the sale$9,158$9,158$9,158$9,158
Total tax caused by the sale$34,025$21,578$9,158$27,387
Effective rate on the gain18.4%11.7%5.0%14.8%
Gain kept after these taxes$150,975$163,423$175,843$157,613

Computed November 11, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

How much tax would you owe? Run your own numbers

Federal on the sale$23,918
NIIT$950
State$9,158
Total tax, held over a year$34,025
Effective rate18.4%
If held one year or less$50,792

2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules (California on the FTB 2026 schedules).

What was sold and years held only matter in a few states: Washington exempts real estate, Ohio and New Mexico treat a business sale differently, Arizona subtracts 25% for assets bought after 2011 and Oklahoma deducts gain on Oklahoma property held 5 years or more.

Tax shown is the tax caused by the sale. Excludes local taxes other than Maryland's county tax (3.2% used). Tick the active-owner box if you materially participate in the business. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

Hans Goldstein
Enrolled Agent, admitted to practice before the IRS

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

How to qualify for 0% capital gains tax?
Hold the asset more than a year and keep taxable income, gain included, at or below $49,450 single or $98,900 joint in 2026 (Rev. Proc. 2025-32). If you are still working, above-the-line deductions such as Solo 401(k) deferrals, an HSA and half of self-employment tax raise that line dollar for dollar.
What is the income limit for 0% capital gains tax?
For 2026 the 0% rate applies to taxable income up to $49,450 for single filers, $66,200 for head of household and $98,900 for joint filers (Rev. Proc. 2025-32). Taxable income is after the standard deduction ($16,100 single), so total income can be about $65,550 for a single filer.
How to qualify for 0% long-term capital gains tax if I sell a business?
Spread the gain over several years with an installment note under IRC 453, so each year's gain fits under the line, and cut ordinary income with pre-tax moves. Recapture on equipment and any ordinary-income portion of the price still land in the sale year (IRC 453(i)) and use up room.
Can a retirement plan contribution lower my capital gains tax?
It can lower the tax rate on gain indirectly. A deductible contribution reduces ordinary income, which leaves more of the 0% band for the gain to fill. It only works with earned income: the gain from a sale does not count as compensation (IRC 401(c)(2), 219(f)(1)).
Does the 0% bracket depend on my state?
No. The federal 0% rate is separate. Some states, such as Illinois at a flat 4.95% in 2025, still tax the full gain. In our example the entire remaining bill after the planning is Illinois tax. Check the page for your state under /capital-gains/state/.
Why does selling in one year ruin the 0% bracket?
A large gain in one year sits above the 0% line and is taxed at 15% or 20% (Rev. Proc. 2025-32, 2026), and it can also trigger the 3.8% NIIT above $200,000 single. Spreading it keeps each year small, and deductions raise the line each year.
How Hans helps: the Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

Start with a free scope call: a short call to see whether the Big Sale Tax Analysis is worth it for your sale. No obligation.

Prefer email? Request the analysis by email.

You talk to Hans Goldstein. Enrolled Agent, admitted to practice before the IRS.

Book a free scope callCall Hans