During a year when your income is unusually low — such as after retiring early or while between jobs — you may be able to sell investments you have held for more than a year without paying federal tax on the long-term gain, as long as your taxable income remains within the 0% bracket. You can sell enough to reach the top of that bracket and then repurchase the holdings you want to keep, so any future sale is taxed only on additional gains earned later.
The IRS says the top of the 0% bracket for long-term gains, which applies to assets held more than a year, is $98,900 of taxable income for married couples filing jointly and $49,450 for single filers. Those limits are scheduled to rise to $102,100 and $51,050 in 2027.
Taxable income means income after deductions. Your available space in the 0% bracket is the bracket limit minus the rest of your taxable income for the year, including dividends. Only the gain is counted, not the full sale proceeds. Any gain above that threshold is taxed at the next rate, which is 15%.
A married couple who retire at 60 with $40,000 of taxable income could sell long-held funds with a $50,000 gain and still owe no federal tax on that amount. However, if they are enrolled in a Marketplace health plan, the gain also counts toward income used to determine the premium tax credit that reduces their monthly premium. Starting in 2026, the IRS provides no credit when household income exceeds 400% of the poverty line, and any advance credit payments would have to be repaid.
The 0% rate applies only to federal taxes, so a state may still tax the gain. If you receive Social Security, the gain can also increase the portion of your benefits that becomes taxable, and every additional taxable dollar reduces your remaining room by one dollar.
The wash-sale rule prevents you from deducting a loss if you repurchase the same investment within 30 days, but it does not block you from realizing a gain. That means you can buy the shares back the same day and still lock in the gain at 0%, unless your mutual fund has limits on rapid repurchases. The repurchase resets your cost basis, which is the amount future gains are measured from, to the current price. The new shares must then be held for more than a year again to qualify for the long-term rate.
Parents can also use this strategy to transfer tax advantages to an adult child who is just starting out by gifting appreciated shares, which carry over both the original cost basis and the holding period.
Before selling, it is usually best to decide how much to withdraw from traditional IRAs or convert into a Roth IRA, since both count as taxable income and use up room before capital gains do. After that, you can wait until late in the year, once your income picture is clear, and sell before the final trading day so the gain is reported in that tax year.
More from Digilifetrends
She Wants to Invest $400,000 in an Annuity to Avoid Market Swings. Using Pretax IRA Money Instead of After-Tax Savings Would Make Another $12,240 of Her Social Security Taxable
An advisor guides an older couple through critical financial and estate planning decisions, such as asset protection for long-term care.
4 min read · Published 2026-11-29Savvy Senior: Should you convert a traditional IRA to a Roth IRA?
Dear Savvy Senior,
3 min read · Published 2026-11-29