
Most people assume that when they sell an investment for a profit, Uncle Sam gets a cut. And usually, that's true. But there's a perfectly legal bracket in the tax code that lets certain investors pay exactly zero federal tax on their long-term capital gains — and the income thresholds just went up for 2026.
If you've been sitting on stocks, ETFs, or mutual funds that have grown nicely, this could be one of the most powerful (and overlooked) tax moves available to you right now.
What Is the 0% Capital Gains Bracket?
Long-term capital gains — profits from selling investments you've held for more than a year — are taxed at three federal rates: 0%, 15%, or 20%. Which rate applies depends on your taxable income, not your total income.
That distinction matters a lot. Your taxable income is what's left after you subtract the standard deduction (and any other above-the-line deductions) from your gross income. So even if you earn a decent salary, the standard deduction alone can push a chunk of your gains into that 0% zone.
For 2026, the IRS bumped up the thresholds thanks to inflation adjustments under the One Big Beautiful Bill Act. Here are the numbers, according to IRS guidance released in late 2025:
2026 Long-Term Capital Gains Thresholds
- Single filers: 0% rate on taxable income up to $49,450
- Married filing jointly: 0% rate on taxable income up to $98,900
- Head of household: 0% rate on taxable income up to $66,250
That's an increase from 2025, when the single filer threshold was $48,350 and the married-filing-jointly threshold was $96,700. It's not a dramatic jump, but every extra dollar of headroom counts when you're planning a sale.
Who Can Actually Use This?
You might be thinking, "Great, but I make too much money for this." Maybe — but maybe not. A few groups are especially well-positioned:
Retirees and Early Retirees
This is the sweet spot. If you've left the workforce (or gone part-time) and your primary income comes from Social Security, Roth IRA withdrawals, or a modest pension, your taxable income could easily fall under the threshold. According to Fidelity, retirees who strategically shift withdrawals toward Roth accounts can free up enough bracket room to absorb significant capital gains at the 0% rate.
Single-Income Households
If one spouse works and the other doesn't (or earns very little), married couples filing jointly have nearly $99,000 of taxable income space before any capital gains tax kicks in. That's a wide lane.
People in Transition Years
Took a sabbatical? Got laid off midyear? Went back to school? Any year where your earned income drops significantly could be a window to harvest gains at 0%.
Young Earners Just Starting Out
If you're in your twenties or thirties earning a modest salary and you started investing early, you might have gains in a taxable brokerage account that you can harvest right now at 0% — and reset your cost basis for the future.
The Tax-Gain Harvesting Strategy
You've probably heard of tax-loss harvesting — selling losers to offset gains. Tax-gain harvesting is the opposite, and it's arguably more exciting: you intentionally sell winners when you're in the 0% bracket.
Here's how it works:
Step 1: Estimate your taxable income for the year. Take your expected gross income, subtract the 2026 standard deduction ($16,100 for single filers, $32,200 for married filing jointly), and see how much room you have before hitting the 0% threshold.
Step 2: Identify investments in your taxable brokerage account with unrealized long-term gains.
Step 3: Sell enough shares so that your total taxable income (including the gains) stays under the threshold.
Step 4: Immediately repurchase the same investment if you want to keep holding it.
That last step is the real beauty of this strategy. Unlike tax-loss harvesting, there's no wash sale rule for gains. You can sell and rebuy the same stock or fund the same day. What you've done is reset your cost basis to the current, higher price — meaning future gains are calculated from that new starting point. You've essentially locked in tax-free profit and reduced your future tax bill.
A Quick Example
Let's say you're married filing jointly, your combined W-2 income is $60,000, and you take the standard deduction of $32,200. Your taxable income before any investment sales is $27,800.
You have $98,900 - $27,800 = $71,100 of room in the 0% bracket.
If you have an index fund with $50,000 in unrealized long-term gains, you could sell enough shares to realize those gains, pay zero federal capital gains tax, and immediately repurchase. You just saved $7,500 compared to paying the 15% rate — and that money stays compounding in your portfolio.
Watch Out for These Traps
This strategy is powerful, but it's not bulletproof. A few things can trip you up:
The Net Investment Income Tax (NIIT)
Even if your capital gains fall in the 0% bracket, there's a separate 3.8% surtax on net investment income if your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). For most people using the 0% bracket, this won't be an issue — but if you have other investment income, rental income, or a surprise windfall, keep an eye on it.
State Taxes Still Apply
The 0% rate is a federal benefit. Many states tax capital gains as ordinary income. According to the Tax Foundation, only nine states have no income tax at all. If you live in California, New York, or another high-tax state, you could still owe state tax even when your federal bill is zero. Factor that into your planning.
Gains Can Push You Out of the Bracket
This is the most common mistake. Your capital gains themselves count as taxable income. If you sell too much, the gains can push you past the threshold, and the portion above the line gets taxed at 15%. You don't lose the 0% rate on the gains below the threshold — capital gains "stack" on top of ordinary income — but careful math is essential.
Impact on Other Benefits
Higher reported income (even from 0%-taxed gains) can affect Affordable Care Act premium subsidies, Medicare premium surcharges (IRMAA), and the taxability of Social Security benefits. If you're on any income-tested program, model the full impact before pulling the trigger.
How to Put This Into Practice
You don't need a financial advisor to take advantage of this (though one can help with complex situations). Here's a practical checklist:
Mid-Year Checkup
Around June or July, estimate your full-year taxable income. If you're tracking under the threshold, start identifying harvest candidates.
Use Specific Lot Identification
When selling, tell your brokerage to sell specific tax lots — typically the ones with the largest gains and the lowest cost basis. Most online brokerages let you select this during the sell process.
Keep Records
Track the date of sale, proceeds, cost basis, and gain for each transaction. Your brokerage's year-end 1099-B will capture this, but having your own records helps with planning.
Don't Let the Tax Tail Wag the Dog
Just because you can sell at 0% doesn't mean you should if there's a good reason to hold. Transaction costs, portfolio disruption, and the emotional temptation to tinker can work against you. The best use case is when you planned to rebalance anyway, or when you're sitting on big legacy gains you want to chip away at over multiple low-income years.
The Bottom Line
The 0% capital gains bracket is one of the most underused tools in the tax code. With the 2026 thresholds at $49,450 for single filers and $98,900 for married couples, millions of Americans — especially retirees, career-changers, and lower-to-middle-income investors — can sell appreciated investments without paying a dime in federal capital gains tax.
The key is planning ahead. Know your numbers, time your sales for low-income years, and use tax-gain harvesting to reset your cost basis while you're in the bracket. A few hours of tax planning now could save you thousands of dollars over a lifetime of investing.
If there's one takeaway, it's this: don't assume you owe taxes on every investment gain. Check the brackets, do the math, and keep more of what you've earned.
Get Smarter With Your Money
Join 10,000+ readers getting weekly tips on budgeting, investing, and building wealth — no spam, just actionable advice.
Free forever. Unsubscribe anytime.