Tax documents, calculator, and notebook on a desk — capital gains harvesting in the 0% bracket planning materials

Capital Gains Harvesting in the 0% Bracket: The Tax Move That Resets Your Cost Basis for Free in 2026

If you have a taxable brokerage account and your total income lands under roughly $65,550 single or $131,100 married this year, there’s a move the IRS quietly hands you every January 1 — and almost no one uses it. It’s capital gains harvesting in the 0% bracket, and in 2026 it lets eligible investors realize long-term gains, reset their cost basis upward, and pay zero federal tax on the move.

The popular tax move everyone hears about is its opposite: tax-loss harvesting. Banks, robo-advisors, and finance Twitter have spent a decade selling it. But for households in the 0% long-term capital gains bracket — a wider group than most people realize — capital gains harvesting is the cleaner, simpler, and often more valuable tax play. This post lays out why, the 2026 math, when it beats tax-loss harvesting, and the four catches that can erase the benefit if you’re not careful.

This article is part of our Investing Guide — a comprehensive overview of the topic with related deep dives.

The Popular Advice: Tax-Loss Harvesting Gets All the Attention

Open any brokerage app in December and you’ll see the same prompt: “Review your portfolio for tax-loss harvesting opportunities.” Schwab, Fidelity, and Vanguard all push it. The pitch is straightforward — sell positions with unrealized losses, use those realized losses to offset capital gains (and up to $3,000 a year against ordinary income), and replace the holding with something economically similar.

It’s a perfectly fine move when the conditions line up. We’ve broken it down at length in our deep dive on tax-loss harvesting for portfolios under $50K, and in our piece on sequencing tax-loss harvesting against Roth conversions. The math works when you’re in a higher tax bracket, when markets have given you genuine losses to harvest, and when you’ll have offsetting gains in the same year or future years.

But here’s the part the marketing skips: tax-loss harvesting helps you most when you least need it — when you’re a high earner in the 22%+ bracket with a six-figure taxable account and a down year in markets. If you’re in a low-income year, or your account is small, or markets have grinded higher and you don’t have meaningful losses to harvest, the headline benefit shrinks fast. The $3,000 annual cap against ordinary income at a 12% marginal rate is worth $360 — real money, but not the game-changer the pitch implies.

The Underrated Counterpart: Capital Gains Harvesting in the 0% Bracket

Capital gains harvesting in the 0% bracket is the mirror image of tax-loss harvesting, and almost no one talks about it. The mechanic is simple: if your taxable income (after the standard deduction) falls within the 0% long-term capital gains bracket for the year, you can sell appreciated positions, realize the gain at a federal rate of 0%, and immediately repurchase the same security at the new higher basis.

The wash-sale rule, which blocks tax-loss harvesting from being abused by instant repurchase, does not apply to capital gains. The IRS explicitly limits the wash-sale rule to losses (see IRS Publication 550). You can sell a position with a gain on Tuesday and buy it back Tuesday afternoon. The cost basis resets upward, and your future taxable gain is permanently reduced.

I started running this math in my own taxable brokerage a few years back, mostly out of curiosity about whether the move was worth the hassle. As a software engineer who likes optimizing systems, I’d been auto-rebalancing my three-fund portfolio for years without thinking about basis. Then I had a low-income gap year between contracts and realized I’d had over $20,000 of unrealized gains sitting in a total market index fund — and I could have lifted my basis on a chunk of it for zero federal tax. The honest answer: yes, it’s worth it, but only in specific years, and the discipline matters more than the move itself.

The 2026 Math: Who Actually Qualifies for the 0% Bracket

The 2026 numbers, set by the IRS in Revenue Procedure 2025-32, are the most generous they’ve ever been. Here’s the structure for long-term capital gains and qualified dividends:

Filing status 0% bracket ends at taxable income of 2026 standard deduction Effective gross income ceiling for 0% rate
Single $49,450 $16,100 $65,550
Married filing jointly $98,900 $32,200 $131,100
Head of household $66,200 $24,150 $90,350

That last column is the part to pay attention to. The 0% bracket is measured against taxable income, not gross income. After the standard deduction is subtracted, a single filer can earn up to roughly $65,550 in gross wages plus realize long-term gains all the way up to the bracket ceiling — and still pay 0% federal tax on those gains. For married couples, the ceiling pushes well above the U.S. median household income (around $80,610 in 2025 per the Census Bureau, with 2026 figures expected slightly higher).

That means the 0% bracket isn’t a niche edge case for the unemployed. It’s relevant for early-career single filers, dual-low-earner couples, retirees living off taxable accounts before Social Security kicks in, sabbatical years, parental leave years, layoff years, and households with one stay-at-home partner. The Tax Policy Center estimates a meaningful share of U.S. households fall under the joint 0% threshold in any given year, but very few harvest gains intentionally.

A Walk-Through: $42,000 Income, $18,000 of Unrealized Gains

Numbers make this concrete. Imagine a single filer earning $42,000 in W-2 wages in 2026 with $50,000 in a taxable brokerage account holding a total stock market index fund. The position has $18,000 of unrealized long-term gains (cost basis $32,000, current value $50,000).

Their 2026 taxable income from wages, after the standard deduction, is $42,000 − $16,100 = $25,900. The 0% long-term capital gains bracket runs all the way up to $49,450 of taxable income. That leaves headroom of $49,450 − $25,900 = $23,550 of long-term gains that can be realized at 0% federal tax.

Since their unrealized gain is $18,000 — well within that $23,550 headroom — they can sell the entire position, immediately rebuy it, and pay $0 in federal capital gains tax. Their cost basis resets from $32,000 to $50,000. The future $18,000 of gain they would have eventually owed tax on is gone. If they later sell in a year when they’re in the 15% bracket, they save $18,000 × 15% = $2,700 in future federal tax, in exchange for two clicks today.

If their wages had been higher — say $58,000 — the standard deduction would leave $41,900 in taxable income, and the 0% headroom would shrink to $7,550. They could still harvest $7,550 of gains tax-free; the rest would be taxed at the 15% rate. So the move isn’t binary. You harvest up to the bracket ceiling, no further.

When Capital Gains Harvesting Beats Tax-Loss Harvesting

The two strategies don’t compete head-to-head most years, because they’re designed for different situations. But there’s a clean way to decide which to prioritize:

Your situation Better move Why
Low-income year, gains in taxable account Capital gains harvesting Permanently resets basis at 0% tax cost
High-income year, realized gains present Tax-loss harvesting Offsets gains taxed at 15–20%
High-income year, no losses available Neither — focus on tax-advantaged accounts No leverage available this year
Retired, drawing only from taxable Capital gains harvesting Likely in 0% bracket; harvest every year
Down-market year, high income, losses present Tax-loss harvesting Locks in losses for offset against future gains

Said differently: tax-loss harvesting is a high-income, market-decline move. Capital gains harvesting is a low-income, market-grind-up move. Most retail investors hear about the first because brokerages can automate and market it. The second requires the investor to actually run the math on their bracket — which is why it stays underused.

For households planning a Roth conversion ladder or weighing other tax sequencing decisions, both strategies often play out across multiple years. Our piece on tax-loss harvesting vs. Roth conversions walks through the sequencing logic when both moves are available.

The Four Catches That Can Erase the Benefit

This is where the contrarian take needs honesty. Capital gains harvesting is powerful in the 0% bracket, but the move has real edges that trip up first-timers.

1. State taxes still apply. The 0% federal rate doesn’t shield you from state capital gains tax. California, New Jersey, and several other states tax long-term gains as ordinary income — sometimes at rates above 9%. If you’re in a high-tax state, calculate the state hit before pulling the trigger. Texas, Florida, Tennessee, Washington (no income tax) and Pennsylvania (no LTCG tax distinction worth the complexity) leave the move clean.

2. ACA marketplace subsidies are income-tested. If you buy health insurance through HealthCare.gov, your realized capital gains push up your Modified Adjusted Gross Income (MAGI). Even if the gains are federally tax-free, the subsidy clawback can cost more than the harvest saves. Run the numbers against your premium tax credit before harvesting if you’re on a marketplace plan.

3. Social Security taxation thresholds. For retirees, realized gains count toward provisional income, which determines what percentage of Social Security benefits become taxable. A “free” capital gains harvest can quietly cause up to 85% of Social Security benefits to flip into taxable. The Bogleheads wiki maintains a detailed walk-through of the interaction.

4. State and federal aid programs. Realized gains can affect FAFSA calculations, Medicaid eligibility (in expansion states using MAGI), and certain state property tax circuit breakers. The federal capital gains rate is 0%; the second-order effects often are not.

None of these are dealbreakers for most filers, but they’re the reason the move isn’t a one-click default. The post-mortem of every botched harvest I’ve heard about traced back to one of these four.

When the Standard Advice (Just Do Tax-Loss Harvesting) Is Right

To be fair to the conventional wisdom: if you’re a dual-income household earning well into six figures, working full-time, and your taxable account is invested in broad-market funds that have appreciated 15–20% over the past few years, capital gains harvesting offers you nothing. You’re not in the 0% bracket and you won’t be in the 0% bracket until retirement. Tax-loss harvesting is the right play because it’s the only play available in your income strata.

The conventional wisdom is also right for investors whose primary tax goal is feeding tax-advantaged space: maxing 401(k) and Roth IRA contributions, executing the backdoor Roth IRA, or using a mega backdoor Roth if the plan allows it. These usually move more after-tax dollars than capital gains harvesting in any single year, and they compound over decades. Capital gains harvesting is a complement to the tax-advantaged stack, not a replacement.

Where the standard advice is wrong is in treating tax-loss harvesting as universally optimal and dismissing the 0% bracket as a fringe case. The 0% bracket is real, it’s growing in 2026, and for the right filer it produces a permanent reduction in future tax liability — which compounds.

Want to see how much a reset cost basis adds to your long-term portfolio?

Try Our Investment Growth Calculator →

Key Takeaways

Capital gains harvesting in the 0% bracket lets eligible filers realize long-term gains at zero federal tax and immediately repurchase the same security — no wash-sale rule applies to gains.

2026 thresholds are the most generous to date. Single filers with taxable income up to $49,450 (roughly $65,550 gross after the $16,100 standard deduction) and joint filers up to $98,900 ($131,100 gross) pay 0% federal tax on long-term gains.

The move is the mirror of tax-loss harvesting. TLH wins in high-income, market-decline years; capital gains harvesting wins in low-income, market-up years. Most households see both situations across a working lifetime.

Four watch-outs: state capital gains tax, ACA subsidy clawback, Social Security taxation, and means-tested benefit eligibility. Each can erase the benefit if ignored.

Run the math each December. A two-minute calculation — gross income minus standard deduction, compared to the bracket ceiling — tells you whether the move is on the table for the current year. Brokerages will not prompt you, because they cannot see your full tax situation.

Photo by Kelly Sikkema on
Unsplash

Chris Steve

Written by Chris Steve

Chris Steve is a software engineer with a deep interest in personal finance, behavioral economics, and AI. He started Money & Planet to share clear, research-backed money guides — the kind that explain the math instead of pushing products. His writing focuses on long-term wealth building, the psychology behind spending and investing decisions, and the practical tools regular people can use to make smarter financial choices.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *