Imagine a couple in their late 50s selling shares in April to pay for a year of shorter working hours. Their $20,000 profit fits within the federal 0% capital gains bracket. In December they move $20,000 from a traditional IRA into a Roth IRA. That December decision puts a $3,000 tax bill on the April sale.
Nothing changed about the shares. The couple paid the same price, sold on the same day and pocketed the same cash. What changed was the rest of their tax return. That is a good reason to start thinking about retirement taxes while you still have some say over which year the income arrives.
How two decisions land on one return
Here are the numbers for that hypothetical couple. They file a joint U.S. return for 2026. After deductions, they expect $78,900 of ordinary taxable income. Their shares cost $30,000 and sell for $50,000 after more than a year. Only the $20,000 gain goes into this calculation. Assume no other capital gains, losses or qualified dividends, and no change in deductions or credits. They have the cash to pay the tax outside the IRA.
In 2026, the 0% federal rate for most long-term gains on a joint return extends to $98,900 of taxable income. Ordinary income fills that space first. The couple's $78,900 leaves exactly $20,000. If the stock sale is their only extra transaction, the federal tax on the gain is zero.
Now add the December conversion. All the money in their traditional IRA is pretax. The appeal of a Roth is that qualified withdrawals are tax-free, including any growth. Moving $20,000 into it now adds $20,000 to ordinary income this year. All of that falls in the 12% bracket, creating $2,400 of federal income tax on the conversion itself. But their ordinary taxable income now reaches $98,900. The entire stock gain sits above that line and is taxed at 15%, adding another $3,000.
The conversion therefore adds $5,400 to this year's federal tax bill compared with selling the shares alone. Reading the 12% bracket off a chart would have picked up less than half of it. Doing the conversion in April and the sale in December would give the same answer. For these two transactions, crossing December 31 matters more than which paperwork goes in first.
Sometimes the sale happens without you
In 2021, some Vanguard investors got a tax bill on an investment they hadn't sold. They held target-date retirement funds in taxable brokerage accounts. When large investors moved to a lower-cost series, the funds sold investments that had risen in value to meet the withdrawals. Some shareholders who stayed put received unusually large capital gains distributions.
The Securities and Exchange Commission documented those events in a settlement announced in January 2025. For a saver weighing a year-end Roth conversion, the practical detail is easy to miss. A mutual fund can distribute gains from sales inside the fund. In a taxable account, those gains can use up the 0% bracket you thought you still had. Reinvesting the distribution buys more shares and can still leave you owing tax.
The account makes a difference here. Inside a traditional IRA, that same fund distribution generally creates no personal tax bill that year. Tax normally comes when money leaves the IRA. Selling appreciated shares in a brokerage account to rearrange holdings can itself trigger a gain. A less disruptive place to start is with your next contribution, or with trades you were already going to make. Keep enough accessible money for the bills that arrive before retirement.
The year worth penciling in now
Suppose one spouse plans to stop work in June. Their last paycheck might come with unused vacation pay or a bonus. The next January could be the start of their first full year on one salary. If a pension begins the year after that, the gap has a beginning and an end. Those three years deserve separate columns on a sheet of paper. An average annual retirement income would hide the very year the couple wants to see.
For each column, enter the wages and pension income the household expects. Bring a recent pay stub, the brokerage statement showing the adjusted cost of the shares, and the fund's estimated year-end distribution to a tax preparer. Ask for the federal bill with the sale alone and then with the conversion added. Finally, move just the conversion into next year and compare the two years together. Households buying Marketplace health coverage should also ask what the extra income does to their premium tax credit.
A pension starting in January could make converting this December worthwhile, even with the extra $3,000 on the stock sale. A salary ending in December could point the other way. State taxes can change either result. In your 50s, the useful question to take to a tax preparer is, "What would these two years cost us if we moved just this one decision?" By the time the brokerage and the IRA custodian send out their tax forms, both dates are already printed.
For more advice from our panel, read our expert roundup: Money mistakes in the five years before retirement.
Sarah, CFA, is Content Lead at Advisedly.
This article is general information, not personal financial advice. Speak to a qualified adviser about your own situation.