Key Takeaways
- Long-term capital gains and qualified dividends are taxed at 0, 15, or 20 percent depending on taxable income. For 2026 the 0 percent rate covers taxable income up to $49,450 for single filers and $98,900 for married couples filing jointly.
- Gains stack on top of ordinary income, so the amount you can realize at 0 percent is the bracket ceiling minus your other taxable income.
- Tax gain harvesting means selling appreciated investments in a low-income year and buying them right back. There is no wash sale rule for gains, so the only effect is a higher cost basis.
- The best candidates are early retirees before Social Security and required distributions, people in a gap or sabbatical year, and households with a temporarily low-income year.
- The federal rate may be zero, but the gain still raises adjusted gross income, which affects Georgia tax, Social Security taxation, health insurance subsidies, and future Medicare premiums.
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.
- Early retirees between the last paycheck and the start of Social Security, pensions, or required distributions. Our guide to early retirement before 59 and a half covers this window in detail.
- Couples where one spouse has left the workforce and the other earns a moderate income.
- Professionals on a sabbatical, between jobs, or in a year of unpaid leave.
- Business owners in a loss year or a year with large deductions.
- Residents and fellows with a taxable account inherited or built before training, although their room is usually small.
- Adult children who receive gifted appreciated stock from parents, as long as the kiddie tax no longer applies to them.
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.
- Georgia taxes capital gains as ordinary income at its flat rate, which is a little over 5 percent for 2026. A $60,000 harvested gain costs roughly $3,000 in state tax. That is still cheap compared with a future 15 percent federal bill, but it is not free.
- Social Security benefits become taxable as provisional income rises. A harvested gain can move up to 85 percent of benefits into taxable income, which can push some of the gain out of the 0 percent bracket in a feedback loop. Retirees receiving benefits should model this carefully, using the Social Security Administration's page on taxes and benefits as a starting point.
- Premium tax credits for marketplace health insurance are based on modified AGI. Early retirees who buy coverage through the exchange can lose thousands of dollars of subsidy by harvesting gains, which often outweighs the benefit. Check the numbers at healthcare.gov before selling.
- Medicare premium surcharges look back two years. Gains harvested at 63 affect premiums at 65.
- The kiddie tax applies parents' rates to a child's unearned income, so harvesting in a dependent child's custodial account rarely works.
- State and federal college financial aid formulas count income from the prior-prior year, so gains realized when a child is a high school sophomore affect freshman year aid.
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.
- In October or November, project the year's ordinary income, deductions, and dividends, and calculate the remaining 0 percent room.
- Decide how much of the low-bracket space to spend on Roth conversions and how much on gains.
- Identify the long-term lots with the lowest basis and confirm lot selection with the custodian.
- Check the side effects: state tax, Social Security, health subsidies, and Medicare lookback.
- Sell and repurchase, or rotate into a similar fund if you want to change the allocation anyway.
- Record the new basis and keep the confirmations, since brokers track basis for covered shares but errors happen.
- Leave a small buffer below the ceiling, because a late mutual fund distribution or a corrected 1099 can push you over.
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 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