Most people assume that selling a winning investment always triggers a tax bill. For a sizable group of retirees, that is not true. Long-term capital gains are taxed on their own schedule, separate from wages and ordinary income, and the lowest bracket in that schedule is zero. A retiree whose taxable income stays under a set threshold can sell appreciated stock or fund shares and owe no federal tax on the gain at all.
This is not a loophole or an aggressive strategy. It is written directly into the tax code, and it rewards exactly the situation many retirees find themselves in: modest taxable income in the years after leaving work but before required withdrawals and larger Social Security checks push income higher. Those low-income years are a narrow window where selling investments can be genuinely tax-free.
How long-term gains get their own tax brackets
The tax code splits investment profits into two categories. A gain on an asset held one year or less is a short-term gain, taxed at the same rates as a paycheck. A gain on an asset held longer than a year is a long-term gain, and it is taxed under the preferential 0 percent, 15 percent, and 20 percent brackets described in the IRS explanation of capital gains and losses. Qualified dividends are taxed the same way. Which of those three rates applies depends entirely on a taxpayer’s total taxable income for the year.
The 0 percent rate is the bottom rung. When taxable income sits below the first threshold, the long-term gain that fits under that ceiling is taxed at nothing. The distinction between holding an asset for eleven months versus thirteen months can therefore be the difference between paying ordinary rates and paying zero.
Free retirement updates: Miss an enrollment or claim deadline and it may be gone. The free Retirement Shield newsletter keeps readers ahead of the ones that matter. Get the free newsletter.
The income limits that unlock the zero rate
For 2026, the 0 percent long-term capital gains rate applies to taxable income up to $49,450 for single filers and married individuals filing separately, up to $98,900 for married couples filing jointly, and up to $66,200 for heads of household, according to the IRS inflation adjustments for the year. These ceilings are indexed and rise modestly each year.
The figure that matters is taxable income, not gross income. Taxable income is what remains after subtracting the standard deduction or itemized deductions. Because a married couple over 65 gets a larger standard deduction, a household can take in considerably more than $98,900 in total and still land under the taxable-income ceiling once the deduction is applied. That gap between gross income and taxable income is where much of the opportunity lives.
How the gain stacks on top of other income
The most misunderstood part of the rule is how the gain interacts with everything else. Long-term gains stack on top of ordinary income. Ordinary income, such as pension payments, taxable interest, and the taxable portion of Social Security, fills the brackets first. The capital gain sits on top of that stack, and only the part of the gain that still fits beneath the 0 percent ceiling escapes tax. Any portion that pushes past the threshold is taxed at 15 percent.
A practical example makes this clear. Suppose a retired couple has $40,000 of taxable income from a pension and other sources, well under the $98,900 ceiling. They could realize roughly $58,000 of long-term gains before the total reached the threshold, and that gain would be taxed at zero. Realize more than that, and only the excess crosses into the 15 percent bracket. The gain itself counts toward income, so it is possible to fill the zero bracket exactly by watching the total.
Turning the rule into a deliberate strategy
Retirees who understand this often harvest gains on purpose. In a low-income year, a person can sell an appreciated holding, pay no federal tax on the gain, and immediately repurchase the same investment. Doing so resets the cost basis to the current, higher price without a wash-sale problem, because the wash-sale rule restricts losses, not gains. The result is that future sales are measured against a higher starting point, shrinking the taxable gain down the road.
The window for this is often short. It tends to open after work income stops and close once required minimum distributions from retirement accounts begin and Social Security is claimed, both of which raise taxable income. A retiree who recognizes the gap between those two events can use it to move highly appreciated assets off the books at no federal cost, spreading sales across several low-income years rather than triggering a large taxable gain later.
Watching for the costs the zero rate can trigger
Tax-free at the federal level does not always mean cost-free. A large realized gain still counts as income for other purposes, and that can have knock-on effects. It can increase the share of Social Security benefits that is taxable, and for those already on Medicare it can lift income above the thresholds that determine Part B and Part D premium surcharges two years later. Many states also tax capital gains as ordinary income regardless of the federal treatment, so a gain that is free federally may not be free at home.
None of that erases the value of the zero rate; it simply means the size of a harvest should be planned rather than guessed. Selling just enough to stay under the threshold, and checking how the gain ripples into benefits and premiums, keeps a tax-free move from creating an unexpected bill elsewhere. For retirees sitting on decades of appreciated investments, the 0 percent bracket is one of the few places the tax code genuinely pays them to act, and the low-income years of early retirement are the moment to use it.
This article was researched and drafted with the assistance of AI and reviewed by The Financial Wire editorial team.
More Financial Reading
- Adding someone to your bank account: tax traps and smart moves
- Bank statements: how long to keep them and when to toss them



