Somewhere out there is a tax bracket that lets you sell your winning stocks, pocket the gains, and hand exactly $0 to the IRS. It’s not a loophole. It’s not sketchy. It’s not something your CPA is going to raise an eyebrow at. It’s just… sitting there. Available. Legal. And almost completely ignored by people who would benefit from it the most.
That bracket is the 0% long-term capital gains rate, and if you’re newly retired, semi-retired, or living off a smaller income while your portfolio does the heavy lifting, you might be standing right in the middle of it without realizing it.
Let’s fix that.
Wait, There’s a Capital Gains Bracket That’s Just… Zero?
Yes. Long-term capital gains (profits on investments you’ve held more than a year) get taxed at 0%, 15%, or 20%, depending on your taxable income. Most people assume capital gains always get taxed, because, well, why wouldn’t they? Everything else does.
But Congress carved out a 0% rate for lower and middle incomes, and it’s stayed in place for years. For 2026, here’s where that 0% rate tops out:
- Single filers: taxable income up to about $49,450
- Married filing jointly: taxable income up to about $98,900
These numbers move up slightly every year with inflation, so don’t tattoo them on yourself, but they give you the shape of it.
Here’s the part that trips people up: that’s taxable income, which means it’s already after your standard deduction. For 2026, the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly. So in practice, a married couple could have something like $131,100 in total income (gains included) before they’d owe a single dollar in federal capital gains tax. That’s not a typo. That’s just how stacking works, which we’ll get to in a second.
Who Actually Lives in This Bracket?
If you’re picturing someone broke, think again. This bracket is practically built for the FI crowd. You’re the textbook example if:
- You’ve left full-time work and your only income is part-time, a side hustle, or nothing at all
- You’re living off a mix of cash, dividends, and portfolio withdrawals
- You haven’t started Roth conversions or Social Security yet
- Your net worth is high, but your taxable income is low
That last point is the magic trick of early retirement. Net worth and taxable income are not the same thing, and the gap between them is exactly where this strategy lives. You can be sitting on a portfolio worth seven figures and still have a low enough taxable income to qualify for 0% capital gains. The IRS taxes income, not net worth, and FIRE folks are uniquely good at having a lot of one and not much of the other.
How “Stacking” Works (This Is the Part You Need to Understand)
Capital gains don’t get taxed in a vacuum. They get stacked on top of your ordinary income, like the world’s least exciting layer cake.
Picture it this way. Your ordinary income (think interest, a part-time job, a little rental income) fills up the bottom of the cake first. Whatever room is left underneath the 0% threshold is where your capital gains can sit tax-free. Once your gains push your total taxable income past that threshold, the additional gains above the line start getting taxed at 15%, while the gains that fit below the line stay at 0%.
So you’re not trying to keep your gains small. You’re trying to fill up the empty space under the ceiling.
Tax-Gain Harvesting: The Strategy Hiding in Plain Sight
Most people have heard of tax-loss harvesting, selling losers to offset gains and shave down a tax bill. Tax-gain harvesting is the happier, less talked about cousin. Instead of selling losers, you intentionally sell winners while you’re in the 0% bracket, lock in the tax-free profit, and then immediately buy the same investment right back.
Yes, immediately. Unlike tax-loss harvesting, there’s no wash sale rule stopping you from repurchasing the same security right after you sell it for a gain. The wash sale rule only applies to losses. With gains, you can sell at 9:31 a.m. and buy it right back at 9:32 a.m. if you want to.
What does that actually accomplish? You reset your cost basis. Let’s say you bought a fund for $20,000 years ago and it’s now worth $50,000. That’s a $30,000 unrealized gain sitting there, and someday, somehow, you’re going to owe tax on it when you sell. But if you harvest that gain this year while you’re in the 0% bracket, you sell for $50,000, pay zero tax, and buy back in at $50,000. Your new cost basis is $50,000 instead of $20,000. That $30,000 gain just vanished from your future tax bill, permanently, for free.
It’s like getting a do-over on your cost basis without paying for it. The IRS doesn’t usually hand out do-overs, so when they do, you take it.
A Worked Example
Let’s make this concrete, because vague tax strategies aren’t all that helpful.
Meet Dana. Dana retired early at 45. She’s single, has no W-2 income, and lives mostly off a taxable brokerage account along with a little dividend income. This year, Dana has:
- $8,000 in qualified dividends
- The standard deduction of $16,100
Her 0% capital gains ceiling for 2026 is $49,450 in taxable income. After backing out her dividends, Dana has roughly $41,450 of room left under that ceiling before she’d cross into the 15% bracket.
That means Dana can sell up to about $41,450 worth of long-term capital gains this year (not total sale proceeds, the actual profit portion) and pay $0 in federal tax on it. If she’s got a fund where half the value is gain and half is original cost basis, she could sell roughly $82,900 worth of that fund, harvest the $41,450 gain tax-free, and immediately buy it right back.
Do that every single year for, say, 10 years leading into a more typical retirement income phase, and Dana could reset upward of $400,000 of embedded gains without paying a dime in federal capital gains tax. That’s not a rounding error. That’s a number that changes how much tax she owes for the rest of her life, because every dollar of basis she steps up now is a dollar she’ll never owe capital gains tax on later.
Compare that to someone who ignores the 0% bracket entirely, keeps working a bit too long, stays in the 15% or 20% bracket, and eventually sells that same appreciated stock down the road. They could be looking at tens of thousands of dollars in capital gains tax on gains that Dana harvested for free.
The Catches (Because There Are Always Catches)
This strategy is genuinely great, but it’s not a free-for-all. A few things to watch:
The gain itself counts toward the threshold. This trips people up constantly. You can’t just look at your income before the sale and assume you have room. The capital gain you’re harvesting is part of the calculation that determines whether you stay under the ceiling. Run the math before you sell, not after.
State taxes might still apply. The 0% federal rate doesn’t mean 0% everywhere. Plenty of states tax capital gains as ordinary income with no special break at all. Know your state’s rules before you assume this is entirely free.
It can mess with ACA subsidies. If you’re getting your health insurance through the marketplace, a big harvested gain adds to your modified adjusted gross income, which is exactly the number that determines your subsidy. Harvest too aggressively and you might save on capital gains tax while losing a few thousand dollars in health insurance subsidies. That’s not a win. Run both numbers together, not separately.
Don’t let the tail wag the dog. This is a tax optimization, not a reason to restructure your entire portfolio. If selling and rebuying triggers fees, disrupts an asset allocation you actually care about, or pulls you out of a fund with embedded tax advantages, weigh that against the benefit. Most of the time the math still favors harvesting, but it’s worth a sanity check.
The IRS doesn’t grade on a curve for partial years. If you retire mid-year and had a big paycheck for the first six months, your ordinary income for the year might already eat up most or all of your 0% bracket room. The strategy works best in years where your income is genuinely low for the whole calendar year, which is exactly why early retirement years are often the best window you’ll ever get.
The Bottom Line
The 0% capital gains bracket is one of the rare moments where the tax code rewards exactly the kind of life the FI community is building. Low spending, low taxable income, and a portfolio full of appreciated assets is precisely the combination that makes this strategy sing. Most people never get a meaningful window in this bracket because they’re either earning too much while working or pulling too much from tax-deferred accounts once they retire.
If you’re in or near that window right now, even for just a few years, it’s worth sitting down with your numbers and figuring out exactly how much room you have. Do this in November or early December, so you have a clearer idea of what your actual income for the year will be. It’s one of the few tax strategies out there that doesn’t require a clever trick, a loophole, or an aggressive interpretation of the rules. It just requires you to actually notice it’s there and use it before the window closes.
Free money doesn’t show up very often. When the tax code is the one offering it, take it.
This article is for general education and isn’t personalized tax advice. Capital gains thresholds, ACA subsidy calculations, and state tax treatment vary and change, so run your specific numbers with a CPA or fee-only financial planner before harvesting any gains.

Leave a Reply