A lower-income retiree can sell winning investments and owe zero capital-gains tax.

Elderly couple reviewing documents at home

One of the quietest breaks in the tax code lets certain households sell a long-held stock, mutual fund, or ETF at a gain and hand the government nothing on the profit. It is not a loophole or a gimmick; it is a standard rate built into the way long-term capital gains are taxed. The catch is that it applies only up to specific income levels, and for many retirees the early years between leaving work and starting Social Security or required withdrawals are exactly when income sits low enough to use it.

The zero-percent long-term capital-gains bracket

Long-term capital gains — profits on assets held longer than one year — are taxed on their own schedule, separate from wages and pension income. That schedule has three rates: 0 percent, 15 percent, and 20 percent. Which one applies depends on total taxable income for the year, not on the size of the gain by itself.

For the 2025 tax year, the 0 percent rate applies when taxable income stays at or below $48,350 for single filers and those married filing separately, $64,750 for head-of-household filers, and $96,700 for married couples filing jointly, according to the Internal Revenue Service’s rules on capital gains and losses. These thresholds are adjusted for inflation each year, so they typically drift upward. A retiree whose taxable income lands under the line can realize long-term gains that fit inside that space and owe zero federal tax on them.


Free retirement updates: Enrollment and claim windows come and go, and missing one can cost real money. The free Retirement Shield newsletter keeps readers ahead of the deadlines that matter. Sign up free.

Why the low-income retirement years matter

The window that makes this possible tends to open at a predictable moment. A household that has stopped drawing a paycheck, has not yet claimed Social Security, and is not yet required to take minimum distributions from a traditional retirement account can have very little reportable income. Living expenses in those years may be covered by cash savings or by selling assets, neither of which necessarily pushes taxable income high.

That low base leaves room underneath the threshold. A married couple with, say, $40,000 of ordinary taxable income has meaningful space before reaching the $96,700 ceiling, and long-term gains that fit inside that gap can be taxed at nothing. It is a benefit that shrinks or disappears once Social Security checks, pension payments, and mandatory withdrawals begin stacking up.

Gains stack on top of income, not beside it

The most common mistake is treating the gain as if it lived in its own separate bucket. It does not. Long-term gains sit on top of ordinary taxable income, and the 0 percent rate applies only to the portion of gains that still falls below the threshold. A couple with $80,000 of ordinary taxable income and a $40,000 long-term gain would see roughly the first slice of that gain taxed at zero — the part that fits under $96,700 — while the remainder spills into the 15 percent bracket.

Because gains stack this way, the size of the realized gain has to be measured against the room left after ordinary income is counted. Selling too much in a single year can push part of the profit past the line and into a taxed bracket, and it can also nudge other income-sensitive figures higher.

The surcharges that can erase the benefit

A tax-free gain on paper can still trigger costs elsewhere, which is where careful retirees slow down. Realized gains raise adjusted gross income, and several thresholds key off that number. The net investment income tax adds a 3.8 percent surtax on investment income once modified adjusted gross income crosses $200,000 for single filers or $250,000 for joint filers — well above the 0 percent capital-gains line, but a reminder that large sales carry their own ceilings.

Closer to home for most older households, a bigger gain can increase the share of Social Security benefits that becomes taxable and can lift income past the brackets that determine Medicare’s income-related premium surcharges two years later. None of those effects cancel the zero-percent rate on the gain itself, but they can mean the year’s overall tax bill rises even when the gain was technically untaxed. That is why the strategy tends to reward realizing gains in measured amounts rather than emptying a position all at once.

Tax-gain harvesting and the reset of cost basis

Deliberately selling a winner in a low-income year, then repurchasing it, is sometimes called tax-gain harvesting. Unlike selling at a loss, there is no wash-sale rule blocking an immediate buyback of an appreciated asset, so the position can be re-established right away. The payoff is a higher cost basis: the reset purchase price becomes the new starting point, which shrinks the taxable gain on any future sale made in a higher-income year.

Whether the maneuver makes sense depends on state taxes, the household’s own bracket now versus later, and how close income already sits to the threshold. The federal rate itself, though, is not in doubt — the zero-percent long-term capital-gains bracket remains a live part of the code, and the households positioned to use it are often retirees in exactly those lean early years. Confirming the current-year thresholds against the IRS figures before selling keeps the plan grounded in the actual numbers rather than last year’s.

This article was produced with AI assistance and reviewed by The Financial Wire editorial team.

More Financial Reading

Leave a Reply

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