Home / Insights / Tax Planning

Capital Gains Brackets and Harvesting Gains at 0% in 2026

Tax Planning5 min readUpdated September 2026

Key Takeaways

Most articles about capital gains are about avoiding tax. This one is about the opposite: deliberately realizing gains because the tax on them is zero. The capital gains brackets include a 0 percent rate at the bottom, and for the right household in the right year, that rate opens a window to reset the cost basis of appreciated investments at no federal cost.

That window is more common than it sounds. Physicians and executives rarely qualify while working, but many of them retire a decade before Social Security and required minimum distributions begin, and in those years their taxable income can be very low. Couples with a spouse stepping out of the workforce, business owners in a lean year, and professionals taking a sabbatical see the same thing. This guide explains how the brackets work, how to calculate your room, how to harvest gains cleanly, and where the side effects are. It is educational, not individualized advice.

How the Capital Gains Brackets Work

Long-term capital gains, meaning gains on investments held more than one year, and qualified dividends are taxed at three rates: 0, 15, and 20 percent. The rate depends on your taxable income, which is income after deductions, not gross income. For 2026 the 0 percent rate applies up to $49,450 of taxable income for single filers, $98,900 for married couples filing jointly, and $66,200 for heads of household. The 15 percent rate runs from there to roughly $545,000 single and $614,000 joint, and 20 percent applies above that. The IRS lists the current figures in Topic 409, Capital Gains and Losses.

The key mechanic is stacking. Ordinary income such as wages, interest, pension payments, and IRA withdrawals fills the brackets first. Long-term gains and qualified dividends sit on top. If your ordinary taxable income is $40,000 on a joint return, the first $58,900 of long-term gains falls in the 0 percent bracket and anything above that is taxed at 15 percent. Gains do not push your ordinary income into a higher bracket, but ordinary income does push gains into higher capital gains brackets.

Short-term gains, meaning investments held one year or less, get no special rate. They are taxed as ordinary income. Gain harvesting only works with long-term holdings.

Calculating Your 0 Percent Capital Gains Room

Start with all expected ordinary income for the year: salary, self-employment income, interest, nonqualified dividends, pension and IRA withdrawals, and the taxable share of Social Security. Subtract your deductions. For 2026 the standard deduction is $16,100 for single filers and $32,200 for joint filers, with additional amounts for those 65 and older. The result is your ordinary taxable income. Subtract that from the 0 percent ceiling and you have your room.

Example: a married couple retired at 58 with $45,000 of pension income and $8,000 of interest. Ordinary income is $53,000, less the $32,200 standard deduction, for taxable income of $20,800. Their 0 percent room is $98,900 minus $20,800, or $78,100. They can realize $78,100 of long-term gains and qualified dividends this year and pay no federal tax on them.

Note that dividends from their taxable account already use part of that room, since qualified dividends are taxed at capital gains rates and are counted in the stack. If the couple receives $12,000 of qualified dividends, the room for harvested gains is $66,100. Realize more than that and every additional dollar is taxed at 15 percent, which is still a reasonable rate but no longer free.

Who typically qualifies

The 0 percent bracket is out of reach for most working professionals, but several life stages open it up.

Try it: the free Wealth Checkup takes a couple of minutes and shows you where you stand. Or explore tax planning at Attend.

How Tax Gain Harvesting Works

Tax gain harvesting is the mirror image of tax-loss harvesting. Instead of selling losers to capture a deductible loss, you sell winners to capture a gain that is taxed at 0 percent, then buy the same investment back. Your holding is unchanged, but your cost basis is now the current price. When you eventually sell in a higher-income year, the gain is smaller and the tax is lower.

There is no wash sale rule for gains. The wash sale rule only disallows losses when you repurchase within 30 days. You can sell an index fund at 10 a.m. and buy it back at 10:05 a.m. and the gain is fully recognized. Some people wait a day for the settlement to clear, but it is not required.

Consider $100,000 of a fund with a $40,000 basis. Harvested at 0 percent, the $60,000 gain costs nothing federally and the basis becomes $100,000. Ten years later, with the fund worth $180,000 and the owner now paying 15 percent on gains plus the 3.8 percent surtax, selling produces $80,000 of gain instead of $140,000. The harvest saved $60,000 of gain at 18.8 percent, or about $11,300, for a few minutes of effort. The same logic applies to shares you plan to give to children, since gifted stock carries your basis with it.

Which lots to sell first

Sell the lots with the lowest cost basis, because they carry the most gain per dollar sold, and confirm with your custodian that specific lot identification is set before the trade. Do not harvest short-term lots. If you also hold positions with losses, decide deliberately whether to harvest those separately, since a realized loss offsets the gain and uses up 0 percent room you could have spent on gains. In a 0 percent year, losses are usually better saved for a higher-income year.

Gain Harvesting Versus Roth Conversions

A low-income year is valuable, and gain harvesting competes for it with another strategy: converting traditional IRA money to Roth. Both use the same bracket space, and they interact. A Roth conversion is ordinary income, so it fills the bottom brackets and pushes your capital gains up the stack. Convert $50,000 and you lose $50,000 of 0 percent gain room.

The choice depends on what you save. A conversion taxed at 10 or 12 percent avoids a future withdrawal taxed at 22 percent or more, a savings of 10 to 15 points on each dollar. Harvesting a gain at 0 percent avoids a future gain taxed at 15 or 18.8 percent. The numbers are similar, so most households do some of each: convert enough to fill the 12 percent ordinary bracket, then harvest gains with whatever 0 percent capital gains room remains. Our guide to Roth conversions explains the conversion side, and modeling the combination each fall is the practical way to decide.

Side Effects of Realizing Gains at 0 Percent

A 0 percent federal rate does not mean a 0 percent cost. The gain still counts as income for every calculation that starts with adjusted gross income, and some of those calculations have steep cliffs.

A Year-End Process for Harvesting Gains

Because the room depends on the full year's income, the best time to harvest is late in the year, when your ordinary income is nearly known but you still have time to trade.

The capital gains brackets reward people who pay attention to timing. A low-income year, whether it comes from early retirement, a career pause, or a lean year in a business, is an opportunity to permanently reduce the tax on investments you were going to hold anyway. The federal rate is zero, the state cost is modest, and the only real risk is ignoring the side effects on benefits and subsidies. Our tax planning service runs this analysis for clients every fall, alongside Roth conversions and charitable timing, and the retirement planning work we do for people in their late 50s and early 60s often starts with exactly this question.

Frequently Asked Questions

What are the 0 percent capital gains thresholds for 2026?

The 0 percent rate applies to taxable income up to $49,450 for single filers, $98,900 for married couples filing jointly, and $66,200 for heads of household in 2026. These figures are taxable income after deductions, and long-term gains stack on top of ordinary income to determine which bracket they fall in.

Does the wash sale rule apply when harvesting gains?

No. The wash sale rule only disallows losses on securities repurchased within 30 days. Gains are always recognized, so you can sell an appreciated holding and buy it back immediately. The only result is a higher cost basis.

Can I harvest gains and still do a Roth conversion in the same year?

Yes, but they share the same bracket space. A Roth conversion is ordinary income that fills the lower brackets first and pushes gains upward. Many households convert up to the top of the 12 percent bracket and then harvest gains with the remaining 0 percent room.

Are qualified dividends taxed at 0 percent too?

Yes. Qualified dividends use the same 0, 15, and 20 percent brackets as long-term capital gains and count toward the same stack. Dividends you receive during the year reduce the room available for harvested gains.

Is a 0 percent gain really free?

Federally, yes. But the gain increases adjusted gross income, which can raise Georgia state tax, increase the taxable portion of Social Security, reduce marketplace health insurance subsidies, and trigger Medicare surcharges two years later. The strategy is still worthwhile for most people who qualify, but those effects should be checked first.

Tony Colunga
Tony Colunga · Founder, Attend Wealth

Tony leads Attend Wealth, a fee-based wealth management firm in Atlanta serving professionals, families, physicians, and business owners. Advisory services are held to a fiduciary standard. More about Attend

Talk It Through with an Advisor.

A complimentary conversation about your situation. Ask whatever is on your mind, walk away with a straight answer, and keep the notes either way.

Book Your Complimentary Consult

Related Reading

How to Do a Backdoor Roth IRA Step by Step in 2026Learn how to do a backdoor Roth IRA step by step in 2026, avoid the pro-rata rule trap, and report the move co…Mega Backdoor Roth Explained: After-Tax 401(k) to RothThe mega backdoor Roth explained in plain terms: how after-tax 401(k) contributions and in-plan conversions ca…Alternative Minimum Tax Explained for High Earners in 2026The alternative minimum tax explained for high earners: who still pays AMT in 2026, how ISOs and state taxes t…

This article is educational only and is not investment, tax, or legal advice. See our disclosures.