A successful retirement portfolio generally consists of three buckets: pre-tax (Traditional IRAs), tax-free (Roth IRAs), and taxable (standard brokerage accounts). While the rules surrounding IRAs are relatively straightforward, managing withdrawals from a taxable brokerage account requires navigating a completely separate set of IRS rules: the Capital Gains Tax Brackets.
For retirees, understanding how to coordinate the liquidation of brokerage stocks with their Roth conversion strategy is arguably the most complex tax balancing act they will face. A mathematical misunderstanding of the "capital gains stack" can easily transform 0% tax-free growth into a heavily penalized liability.
If you hold a stock, mutual fund, or real estate asset for longer than one year, the profit you make upon selling it is classified as a Long-Term Capital Gain. The IRS rewards patient capital by taxing these gains at preferential rates (0%, 15%, or 20%), which are significantly lower than your ordinary income tax rates.
In 2026, the federal brackets governing these preferential rates are highly lucrative, especially for married couples filing jointly.
| Filing Status | 0% Capital Gains Rate | 15% Capital Gains Rate | 20% Capital Gains Rate |
|---|---|---|---|
| Single / Individual | Up to $49,450 | $49,451 to $545,500 | Over $545,500 |
| Married Filing Jointly | Up to $98,900 | $98,901 to $613,700 | Over $613,700 |
The single most misunderstood mechanic in the tax code is how the IRS calculates exactly which capital gains bracket you fall into. Your capital gains do not operate in a vacuum. Instead, the IRS uses a system known as Preferential Income Stacking.
Imagine your total taxable income is a vertical stack of blocks. The IRS mandates that your ordinary income (wages, pensions, Social Security, and Traditional IRA withdrawals) must be placed at the bottom of the stack. Your long-term capital gains are then placed directly on top of the ordinary income. The capital gains rate you pay is determined by the total height of the stack.
For example, assume the 0% capital gains ceiling is $100,000.
Retiree A has $20,000 of ordinary income. He sells stock and generates an $80,000 capital gain. Because his ordinary income base is only $20,000, his $80,000 gain stacks on top, reaching exactly $100,000. He pays 0% tax on the entire $80,000 gain.
Retiree B has a pension and RMDs totaling $90,000. He also generates an $80,000 capital gain. Because his ordinary income base is already $90,000, his capital gain stacks on top of it. Only the first $10,000 of his gain fits under the 0% ceiling. The remaining $70,000 of his gain spills into the 15% bracket. Retiree B owes $10,500 in taxes on the exact same stock sale.
Because ordinary income sits at the bottom of the stack, executing large Roth conversions creates a massive ripple effect across your entire portfolio.
A Roth conversion is classified by the IRS as pure ordinary income. If you decide to execute a $50,000 Roth conversion to take advantage of low permanent income tax brackets, you are violently expanding the foundational base of your tax stack. By injecting $50,000 of ordinary income at the bottom, you are physically pushing your capital gains higher up into the atmosphere.
If you are attempting to harvest 0% capital gains from your brokerage account in the same year that you execute a massive Roth conversion, you will likely fail. The Roth conversion will push your capital gains out of the 0% zone and into the 15% zone. This forces retirees to make a difficult strategic choice during their "Gap Years": Do you prioritize filling the 12% ordinary income bracket with Roth conversions to defuse your future RMDs, or do you prioritize harvesting 0% capital gains to restructure your brokerage account tax-free?
To mitigate the tax impact of liquidating a brokerage account in retirement, active portfolio management is required. Tax-Loss Harvesting is the practice of deliberately selling underperforming stocks or mutual funds at a loss to offset the gains you made in other parts of your portfolio.
If you sell Stock A for a $30,000 profit, and you sell Stock B for a $30,000 loss, the IRS nets them against each other. You effectively generated $30,000 in cash liquidity with a net capital gain of $0. This allows you to draw cash from your brokerage account to pay your living expenses without inflating your tax stack, completely protecting your Roth conversions from capital gains interference.
Furthermore, if your capital losses exceed your capital gains for the year, you are allowed to deduct up to $3,000 of those losses against your ordinary income, actively lowering the tax cost of your Roth conversion.
Use our Roth Conversion Pro Tool to calculate the exact drag of your capital gains. If you enter your "Brokerage Unrealized Gain (%)" and select to pay your conversion taxes using your brokerage account, the engine will automatically calculate the cascading effect of the 15% tax and the 3.8% NIIT on your portfolio.
The IRS creates a massive distinction based on a holding period of exactly one year. If you buy a stock and sell it 364 days later for a profit, it is a Short-Term Capital Gain. Short-term gains receive zero preferential treatment; they are taxed exactly like wage income at your highest marginal ordinary tax bracket (up to 37%). If you hold the asset for 366 days, it becomes long-term and is eligible for the 0%, 15%, or 20% rates.
Yes. Capital gains are a direct component of your Modified Adjusted Gross Income (MAGI). If a large stock sale or the sale of an investment property causes your MAGI to spike, it will almost certainly trigger Medicare IRMAA surcharges, which will hit your monthly premiums during the two-year lookback audit.
If you sell your primary home, the IRS Section 121 exclusion allows you to shield up to $250,000 of the profit as a Single filer, or $500,000 as a Married couple filing jointly, provided you lived in the home for two of the last five years. The excluded profit is completely tax-free, does not stack on your income, and does not trigger IRMAA or the NIIT. Any profit beyond the exclusion limit, however, is treated as a standard long-term capital gain.