Last updated: July 24, 2026
Quick Answer
In 2026, a single filer with taxable income up to $49,450 pays 0% federal tax on long-term capital gains, and the threshold is $98,900 for married couples filing jointly. Because taxable income is calculated after the standard deduction, a single filer can earn roughly $65,550 gross and still pay nothing on stock gains.
Key Takeaways
- The 0% rate is not a deduction or a credit. It is an actual tax rate of zero on long-term gains, and far more households qualify than realize it.
- Taxable income means gross income minus your standard or itemized deduction. Add the 2026 standard deduction to the threshold and the real gross income limits are about $65,550 single and $131,100 married filing jointly.
- Your capital gain stacks on top of your ordinary income when the IRS checks which bracket you land in. This is the single most common miscalculation.
- The wash sale rule applies to losses, not gains. You can sell a stock at a profit and buy it back the same day, which resets your cost basis higher at zero tax cost.
- The strategy only works in taxable brokerage accounts. Gains inside an IRA or 401(k) are irrelevant here.
The 2026 Numbers
Long-term capital gains, meaning profits on assets you held more than one year, are taxed at their own rates rather than your ordinary income rate.
| Filing status | 0% rate | 15% rate | 20% rate |
|---|---|---|---|
| Single | Up to $49,450 | $49,451 to $545,500 | Above $545,500 |
| Married filing jointly | Up to $98,900 | $98,901 to $613,700 | Above $613,700 |
These are taxable income figures, not gross income. That distinction is where most people stop reading and conclude the 0% bracket does not apply to them.
What that actually means in gross income
Taxable income is what remains after you subtract your standard or itemized deduction. For 2026 the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly, both made permanent by the tax law signed in July 2025.
Add them together:
| Filing status | 0% taxable income limit | 2026 standard deduction | Approximate gross income limit |
|---|---|---|---|
| Single | $49,450 | $16,100 | ~$65,550 |
| Married filing jointly | $98,900 | $32,200 | ~$131,100 |
A married couple can bring in roughly $131,000 of total income, including the gains themselves, and owe zero federal tax on their long-term stock profits. That is not a niche scenario. That is a large share of American households.
If you itemize, or you have above-the-line deductions such as HSA contributions or deductible IRA contributions, your gross ceiling is higher still.
The Stacking Rule That Trips Everyone Up
Here is the mechanic that causes most miscalculations, and it is worth reading twice.
Your long-term capital gain does not get evaluated in isolation. It sits on top of your ordinary income, and the combined total determines how much of the gain falls in the 0% bracket.
Think of the 0% bracket as a bucket with a fixed capacity. Your ordinary income fills it first. Whatever space is left is how much gain you can realize tax free.
Example 1: A retired couple
They take $50,000 from a pension and IRA withdrawals. No other income.
- Ordinary income: $50,000
- Minus standard deduction: $32,200
- Taxable ordinary income: $17,800
Room remaining in the 0% bracket: $98,900 minus $17,800 = $81,100
They can realize $81,100 in long-term capital gains and owe zero federal tax on all of it.
Example 2: A single filer still working
She earns $60,000 in wages and wants to sell $20,000 of appreciated stock she has held for three years.
- Wages: $60,000
- Minus standard deduction: $16,100
- Taxable ordinary income: $43,900
Room remaining in the 0% bracket: $49,450 minus $43,900 = $5,550
So $5,550 of her gain is taxed at 0%, and the remaining $14,450 is taxed at 15%, for $2,167.50 in federal tax.
She still benefits, but only partially. If she had run the numbers first, she might have split the sale across two tax years, or waited for a lower income year.
The lesson: calculate your remaining room before you sell, not after. Once the trade executes, the tax year is locked.
Note that qualified dividends receive the same preferential rates and also fill the bucket. If you hold dividend-paying funds in a taxable account, count those.
Tax Gain Harvesting: The Move Most Investors Do Not Know Exists
If you have room in the 0% bracket and you do not need the money, there is still a reason to sell. It is called tax gain harvesting, and it works because of a rule asymmetry almost nobody knows about.
The wash sale rule does not apply to gains.
Most investors know that if you sell a stock at a loss and buy it back within 30 days, the IRS disallows the loss. That rule, under Internal Revenue Code Section 1091, exists specifically to stop people from manufacturing artificial losses. It says nothing about gains, because the IRS has no reason to discourage you from voluntarily paying tax.
So you can sell a stock at a profit and buy it back the same afternoon, with no waiting period and no disallowance.
Why would you do that? Because it resets your cost basis higher, permanently, at zero tax cost.
Worked example
You bought $10,000 of an index fund years ago. It is now worth $30,000. You have $25,000 of room in your 0% bracket this year.
- Sell the position. You realize a $20,000 long-term gain.
- It fits inside your 0% room, so you owe $0 in federal tax.
- Buy the same fund back immediately. You now own it with a $30,000 cost basis instead of $10,000.
Ten years later it is worth $60,000 and you sell in a year when you are in the 15% bracket.
- Without the reset: taxable gain of $50,000, tax of $7,500
- With the reset: taxable gain of $30,000, tax of $4,500
You saved $3,000 for the cost of two trades and no tax whatsoever. Repeat it annually across a long low-income stretch and the numbers get large.
Practical execution note: because you are buying back immediately, you carry a few minutes of market exposure risk between the sell and the buy. In a volatile market, place the buy order promptly. Some investors buy a very similar but not identical fund instead, which sidesteps the timing gap entirely and is perfectly legal, since the substantially identical restriction only concerns losses.
Who Actually Qualifies
The 0% bracket is not just for low earners. It shows up in specific life situations, often temporarily, and the window closes.
Early retirees before Social Security and RMDs. This is the biggest one. Someone who retires at 62 and delays Social Security to 70 has roughly eight years of unusually low taxable income. Financial planners treat this window as prime territory for exactly this strategy.
Anyone between jobs, on sabbatical, or in a gap year. A few months of unemployment can drop your annual taxable income below the threshold.
Business owners in a down year. A temporary revenue dip creates room that will not exist next year.
Households with unusually large deductions. A big charitable contribution or substantial medical expenses can push taxable income down enough to open the bracket.
Students, recent graduates, and part-time workers with appreciated stock from a gift, an inheritance, or early investing.
Parents gifting appreciated stock to adult children in lower brackets. The child inherits your cost basis, and if they are in the 0% bracket, they can sell with no federal tax. Watch the kiddie tax rules for younger dependents, which can pull the gain back to the parents’ rate.
Five Traps That Can Wipe Out the Benefit
This is where honest coverage separates from the rest, because the 0% rate can cost you money if you trigger something else.
1. The Social Security taxation cascade. This is the big one for retirees. The share of your Social Security benefits subject to income tax depends on a formula that includes your capital gains. Realizing gains can push more of your benefits into taxable territory, which means a “0%” capital gains harvest can produce an effective marginal rate approaching 40% on the surrounding income. Advisors who work in this area chart it out before executing for exactly this reason. If you receive Social Security, model this specifically or get help doing so.
2. ACA premium subsidies. If you buy health insurance through the marketplace, your subsidy is calculated from modified adjusted gross income. Capital gains count. A gain harvest that looks free federally can cost thousands in lost premium credits.
3. State income tax. Most states tax capital gains as ordinary income and have no equivalent of the federal 0% bracket. A harvest that is free federally may not be free in your state. Check your state’s treatment before you execute. If you live in a state with no income tax, this trap does not apply.
4. The Net Investment Income Tax. A 3.8% surtax applies to investment income once modified AGI exceeds $200,000 for single filers or $250,000 for married filing jointly. Notably, these thresholds are not adjusted for inflation, so they catch more people every year. If you are anywhere near them, this is not a 0% conversation.
5. Miscounting the stacking. Covered above, and worth repeating because it is the most common error. Your gain counts toward your own taxable income. If you realize a gain large enough to push you past the threshold, only the portion below the line gets the 0% rate.
Two related items: IRMAA, the Medicare premium surcharge, is calculated from income two years prior, so a large harvest at 63 can raise your Medicare premiums at 65. And if you are receiving any income-tested benefit, model the interaction before you sell.
Gain Harvesting vs Roth Conversion: They Compete
If you are in a low-income year, you have limited room in the low brackets, and two strategies want to use it.
A Roth conversion moves money from a traditional IRA to a Roth, paying ordinary income tax now in exchange for tax-free growth and withdrawals forever. Gain harvesting realizes capital gains at 0% to reset your basis.
They draw on the same bracket space. Fill it with a Roth conversion and you have less room for gains, and vice versa.
The general planning view among advisors is that Roth conversions usually take priority, because they shield decades of future growth from tax entirely, while gain harvesting only shields appreciation that has already happened. But this depends heavily on your age, the size of your traditional IRA balances, your expected future income, and your heirs’ tax situations.
This is genuinely a situation where paying a CPA or fee-only planner for a few hours of modeling is likely to return more than it costs.
How to Execute It
Do the projection in November. By mid-November you have a clear view of your full-year income, which is what makes the calculation reliable. Guessing in June leads to overshooting.
Execute in December, but before mutual fund distributions. Funds typically distribute capital gains in late December, and those distributions land in your taxable income and consume your bracket room. Harvest ahead of them.
Use specific lot identification. When you sell, most brokerages default to first in, first out, which sells your oldest and often most appreciated shares. If you want to control exactly how much gain you realize, choose specific lots at the time of sale. Every major brokerage supports this, but you usually have to select it deliberately rather than accepting the default. Your cost basis records matter here, so make sure they carried over correctly if you have ever transferred accounts between brokerages.
Confirm the holding period. Only gains on assets held more than one year qualify. Short-term gains are taxed as ordinary income and get no preferential rate. Check your purchase dates before selling.
Keep the records. Document the sale and repurchase, and keep your broker’s cost basis reporting. If your basis records are incomplete, that is worth fixing before you build a strategy on top of them.
Frequently Asked Questions
What is the 0% capital gains bracket for 2026?
For 2026, single filers with taxable income up to $49,450 and married couples filing jointly with taxable income up to $98,900 pay 0% federal tax on long-term capital gains.
How much can I earn and still pay no capital gains tax?
Because taxable income is calculated after deductions, a single filer taking the $16,100 standard deduction can have gross income around $65,550, and a married couple taking the $32,200 standard deduction can have around $131,100, and still fall within the 0% bracket.
Do capital gains count toward my taxable income?
Yes. Long-term gains stack on top of your ordinary income when determining which bracket applies. This is why realizing a large gain can push part of it out of the 0% bracket and into the 15% bracket.
What is tax gain harvesting?
Deliberately selling appreciated investments in a year when your taxable income falls within the 0% long-term capital gains bracket, then usually repurchasing them, in order to reset your cost basis higher at no tax cost.
Does the wash sale rule apply to capital gains?
No. The wash sale rule under Section 1091 disallows losses when you repurchase within 30 days. It does not apply to gains, so you can sell at a profit and buy back immediately.
Do I have to wait 30 days to buy back a stock I sold at a gain?
No. The 30-day restriction only applies to losses. There is no waiting period when you sell at a profit.
Does the 0% capital gains rate apply in my state?
Usually not. Most states tax capital gains as ordinary income and have no equivalent 0% bracket. Check your state’s rules before assuming a harvest is tax free.
Does this work inside my 401(k) or IRA?
No. Gains inside tax-advantaged retirement accounts are not taxed as they occur, so there is nothing to harvest. The strategy applies only to taxable brokerage accounts.
Can I gift appreciated stock to a family member in a lower bracket?
Yes. The recipient generally takes your cost basis, and if their taxable income falls in the 0% bracket, they can sell with no federal capital gains tax. Kiddie tax rules can apply to dependent children and may tax the gain at the parents’ rate.
This article is for informational purposes only and is not tax, legal, or investment advice. Tax outcomes depend on your complete financial picture, including Social Security, health insurance subsidies, state residency, and retirement account balances. Consult a CPA or fee-only financial planner before executing a capital gains strategy. Figures reflect 2026 federal thresholds and change annually.
