A retired couple in their late 60s sells long-held mutual funds to rebalance their brokerage account. A few months later, their tax software flags an unexpected number: 85% of their Social Security is now taxable, and their federal bill has jumped meaningfully. Forum posts from retirees describing this exact moment are easy to find. A routine portfolio decision suddenly walked them into a tax outcome no one warned them about.
They are both 67, file jointly, and collect $48,000 in combined Social Security. A traditional IRA required minimum distribution (RMD) of $40,000 lands every year. This year they realized $50,000 of long-term capital gains in their taxable account. Just a rebalance.
The 1984 Threshold That Runs the Show
The mechanism driving almost everything is the Social Security provisional income formula: adjusted gross income (AGI), plus any tax-exempt interest, plus half of Social Security. For this couple, that works out to $40,000 from the RMD, $50,000 in gains, and $24,000 representing half of their benefits, for a total of $114,000. For married filers, the threshold above which up to 85% of benefits become taxable is $44,000. They are nearly triple it. So $40,800, or 85% of their $48,000 in benefits, gets pulled into taxable income.
Most retirees miss this detail: those thresholds, $32,000 and $44,000 for couples, were written into law in 1984 and have never been indexed to inflation. The Consumer Price Index has climbed from a base value of 100 in the early 1980s to roughly 332 today. What was once a high-income trigger now catches almost anyone with a pension or RMDs.
Even without the gains, their provisional income would have been $64,000, still well over the threshold. The RMDs alone would have made most of their Social Security taxable. The capital gains landed on top of a structure already at its ceiling.
Where the Gains Actually Hurt
Ordinary income for the year, after pulling the taxable portion of Social Security into the calculation, runs about $80,800. After the joint 65-and-over standard deduction of $32,300, ordinary taxable income lands near $48,500. Federal tax on the ordinary portion comes to roughly $5,343.
The long-term gains get gentler treatment. According to Empower’s guidance on tax-aware investing, the 0% long-term capital gains bracket for joint filers in 2026 extends to $98,900 of total taxable income before 15% kicks in. Because their ordinary taxable income stays low, most of the realized gains sit in that 0% zone. The damage shows up indirectly, through the Social Security calculation and, two years later, possibly through Medicare’s Income-Related Monthly Adjustment Amount surcharges.
A few moves change this picture in future years:
- Realize gains in the window before claiming Social Security, when no benefits exist to drag into the taxation formula.
- Use the years between retirement and age 73 for Roth conversions that fill the lower brackets, shrinking the future RMDs that generate provisional income.
- Harvest losses against gains in the same tax year so the net realized amount is smaller. Capital losses offset gains dollar for dollar, and unused losses carry forward indefinitely.
- Direct the RMD to charity through a Qualified Charitable Distribution, which satisfies the distribution requirement without adding to AGI or provisional income.
What to Sit With Before the Next Rebalance
Once both Social Security and RMDs are flowing, the taxation outcome is usually baked in. The real leverage is earlier, in the years between retirement and age 73, when AGI is more in your control.
The hardest mistake to undo is realizing a large gain in the same year as a large RMD. The bump itself may sit in the 0% bracket, but it can nudge total income into IRMAA territory for Medicare premiums two years later. Spreading gains across calendar years, or pairing them with losses, is almost always cheaper than the cleanup.
Every household has its own wrinkles. The exact RMD, the cost basis on a specific lot, a spouse’s age, and state income tax rules can all swing the answer enough to matter.