One of the least understood breaks in the tax code lets some retirees sell appreciated investments and pay nothing in federal tax on the profit. It is not a loophole or a gimmick; it is the bottom rung of the regular capital-gains rate schedule, and it rewards people whose taxable income sits below a certain level. Many retirees land in exactly that range during the lower-income years between leaving work and starting larger withdrawals, which makes this a window worth understanding before it closes.
How long-term capital gains are taxed
The tax on an investment gain depends heavily on how long the asset was held. An asset owned for more than a year before it is sold produces a long-term capital gain, and long-term gains are taxed on a separate, gentler schedule than wages or a pension. That is why the timing of a sale, held just past the one-year mark, can change the tax owed on the very same profit.
The IRS explains in its overview of capital gains and losses that most long-term gains are taxed at one of three rates: 0 percent, 15 percent, or 20 percent, depending on the seller’s taxable income for the year. The 0 percent rate is not a special program that has to be applied for. It is simply the rate that applies when taxable income is low enough, and it falls away as income rises into the 15 and 20 percent bands.
Short-term gains work very differently. An asset sold within a year of purchase produces a short-term capital gain, which is taxed as ordinary income at the same rates that apply to wages, with no access to the 0, 15, or 20 percent schedule. Holding an appreciated asset past the one-year mark is therefore the threshold that unlocks the gentler treatment, and it is the first thing separating a gain that can qualify for the 0 percent rate from one that cannot.
Free for readers: One number can cost or save hundreds a month in retirement. The free Retirement Shield newsletter surfaces the ones worth knowing. Sign up free.
Who lands in the 0 percent band
Eligibility turns on taxable income, the figure left after deductions, rather than on gross income or the size of the gain itself. A taxpayer whose taxable income for the year falls below an annual threshold pays nothing on long-term gains, while income above that line is taxed at the higher rates. The dollar figures that mark the edges of each band are set by the IRS and adjusted every year for inflation, so the exact cutoff shifts from one tax year to the next and should be checked against the figures the IRS publishes for the year of the sale.
The design favors people in genuinely lower-income years, and retirement often supplies them. Someone who has stopped working but has not yet started large withdrawals or begun required distributions can have modest taxable income even while holding a substantial brokerage account. In those years, realizing a long-term gain can cost little or nothing in federal tax, provided the gain itself does not push total taxable income above the threshold for the 0 percent rate.
One feature of the calculation trips up many people. Long-term gains stack on top of ordinary income rather than being taxed in isolation, so wages, pension payments, and taxable withdrawals fill the lower brackets first, and the gain is layered above them. A large gain can lift total taxable income past the 0 percent threshold, so that part of the gain is taxed at zero and the rest at 15 percent. Because of this stacking, the size of the gain a retiree can take tax-free in any year depends on how much other taxable income that year already holds.
Qualified dividends get the same break
The 0 percent rate is not limited to gains from selling assets. Qualified dividends, the ordinary dividends paid by most domestic corporations and many foreign ones that meet holding-period rules, are taxed at the same preferential long-term capital-gains rates. The IRS notes in its guidance on dividends that qualified dividends can be eligible for the 0, 15, or 20 percent rates rather than being taxed as ordinary income. For a retiree living partly on dividend income, that means part of the yearly payout can fall into the same zero-tax zone as a realized gain.
Where the higher rates and extra taxes appear
The break narrows as income climbs. Once taxable income moves past the 0 percent threshold, additional long-term gains are taxed at 15 percent, and a further tier is taxed at 20 percent for those with the highest incomes. Higher-income households can also face an added charge on top of the capital-gains rate. The IRS’s net investment income tax adds 3.8 percent on investment income, including capital gains and dividends, once modified adjusted gross income passes set levels. For most lower-income retirees this extra tax never applies, but it helps explain why the same gain can be taxed very differently for a high earner.
Turning the 0 percent bracket into a plan
Because the rate depends on the year’s taxable income, the 0 percent bracket is something a retiree can plan around rather than stumble into. Spreading sales across several lower-income years, harvesting gains deliberately in a year when income is down, or resetting the cost basis of a long-held position while the rate is zero are all strategies that flow from the same rule. The mechanics reward attention to the annual threshold, and because that threshold moves each year, confirming the current figure and running the numbers before selling is what turns a general possibility into real tax saved.
One caveat is worth keeping in view: the zero rate applies to federal tax only. Many states tax capital gains as ordinary income and offer no matching 0 percent bracket, so a sale that owes nothing to the IRS can still generate a state tax bill depending on where the seller lives. None of this requires complicated maneuvers. The core idea is that a modest-income year is a chance to reset gains at little or no federal tax cost, and simply being aware of the current threshold before selling is often enough to capture the benefit.
Free for readers: For plain-English help keeping more money in retirement, the free Retirement Shield newsletter covers scams, benefits, and money owed, a couple times a week. Subscribe free.
This article was researched and drafted with AI assistance and reviewed against the linked primary sources.



