Retirement Risk

Capital Gains Tax in Retirement: Planning for the Tax You Didn't Expect

Decades of patient investing in a taxable brokerage account creates an invisible tax bomb: unrealized capital gains that trigger substantial tax bills the moment you sell to fund retirement. The 0% capital gains rate vanishes faster than most retirees expect.

Capital Gains Tax in Retirement: Planning for the Tax You Didn't Expect

The Long-Term Capital Gains Rate You Actually Pay

Long-term capital gains - on assets held more than one year - are taxed at 0%, 15%, or 20% depending on your total taxable income. This is significantly lower than ordinary income rates, which is why so many financial commentators describe capital gains taxes as favorable. But the favorable rate depends entirely on your income level, and in retirement, income from multiple sources stacks quickly. The 0% long-term capital gains rate in 2026 applies to single filers with taxable income up to approximately $48,350 and married couples with taxable income up to $96,700. Above those thresholds, the rate jumps to 15%. Above $533,400 single and $600,050 married, it jumps to 20%. Add the 3.8% Net Investment Income Tax (NIIT) on top for those with modified AGI above $200,000 single or $250,000 married. Now layer in real retirement income. A couple with $50,000 in Social Security (85% taxable = $42,500), $30,000 in RMDs from their traditional IRA, and $25,000 in pension income already has $97,500 in taxable income before they sell a single share of stock. Their 0% capital gains bracket is already gone. Every dollar of capital gains they realize - from selling appreciated stock to fund retirement living - is taxed at 15%. Add NIIT if their MAGI crosses $250,000, and the combined rate on capital gains reaches 18.8%. The stock that grew for 25 years without generating any tax liability suddenly demands a significant payment the moment you need its value.

Key Stat: A retired couple with modest pension, RMD, and Social Security income can easily exceed the income thresholds for the 0% long-term capital gains rate - meaning every dollar of appreciated stock they sell is taxed at 15% plus potential 3.8% NIIT.

The Concentrated Stock Problem: Can't Sell, Can't Hold

Perhaps the most painful capital gains scenario in retirement involves highly appreciated concentrated positions - a single stock or small group of stocks that has grown to represent a significant portion of your net worth. A retiree who bought $50,000 of a technology company's stock in 1999 might find it worth $400,000 today. The $350,000 gain has been invisible on their tax return for 25 years. Now they need to sell some of it to fund retirement spending. Selling the entire position generates a $350,000 long-term gain. At 15% federal plus state taxes plus potential NIIT, the tax bill could easily reach $60,000 to $80,000. That is not a loss - the stock is still worth $400,000 minus the tax. But it changes the calculation for anyone who was planning to live off that portfolio. The math gets worse if they need to sell in a particular year when other income - RMDs, Social Security, part-time work - is already elevated. The additional capital gains income stacks on top of ordinary income, potentially pushing more of the gain into the 20% bracket or triggering NIIT. The 'can't sell, can't hold' dilemma refers to the reality that concentrated positions create both a tax problem when sold and a concentration risk when held. Diversifying the position is expensive (capital gains tax), but staying concentrated creates the risk of significant portfolio impairment if that company underperforms.

Three Strategies to Manage Capital Gains in Retirement

Tax-loss harvesting is the first strategy: selling investments that have declined in value to generate capital losses that offset gains from other sales. If you sell $50,000 of appreciated stock with $20,000 in gains, but simultaneously sell a bond fund with a $20,000 loss, the loss offsets the gain and your net taxable capital gain is $0. Losses can also carry forward to future years if they exceed gains in the current year. The second strategy is charitable giving of appreciated stock. When you donate appreciated stock directly to a charity or donor-advised fund, you avoid the capital gains tax entirely. You get a charitable deduction for the full market value of the stock, and the charity receives the full share value. If you were going to donate $10,000 to charity anyway, donating $10,000 worth of stock with $7,000 in embedded gains saves you $1,050 in capital gains tax (at 15%) compared to selling the stock and donating the proceeds. The third strategy is managing income in low-income years to realize gains in the 0% bracket. In years where your ordinary income is lower - perhaps in the gap between retirement and starting Social Security and RMDs - you can strategically sell appreciated assets to use up the 0% capital gains bracket. This 'bracket harvesting' permanently converts unrealized gains to recognized gains at zero federal tax cost, reducing the embedded tax liability for future years.

Want to see how a tax-free retirement strategy would work in your situation? Explore your options here.