✨ Get to know Boldin’s AI Planner Assistant
The Boldin Financial Planner Take control of your plans. Retire earlier, with more security and find financial confidence.
Get expert support Make sure your plan is set up correctly with a coach. Or, talk to a CERTIFIED FINANCIAL PLANNER® from Boldin Advisors for even more guidance and support.
Resources Fuel your financial planning know-how
Blog Your guide to financial planning and retirement
April 1, 2026 • 9 minutes
You thought you did everything right. You kept your income moderate, sold some appreciated stock, and assumed most of your gains would land in the 0% capital gains tax bracket. Then you filed, and your tax bill was an unpleasant surprise.
Capital gains and qualified dividends can quietly bump you into a higher capital gains bracket because they layer on top of taxable income in your return. When the total reaches above certain income thresholds, it can expose more of your profits to taxes than you expected. It’s a dynamic that affects any investor whose total taxable income crosses a bracket threshold.
Think of your tax return like a bucket. Ordinary income fills the lower brackets first, and your gains land in whatever space is left. That’s why a little extra income can nudge more of your investment profits into a higher capital gains rate.
The IRS applies three preferential rates to long-term capital gains on assets held for more than a year, and the rate you pay depends on your total taxable income. (The IRS taxes short-term gains on assets held a year or less as ordinary income.) For 2026, the long-term capital gains rates and income levels are:
Note: These thresholds adjust annually for inflation. Always confirm the current tax year’s limits before making decisions.
For a married couple filing jointly, if your taxable income (after deductions) is $80,000, you still have about $18,900 of remaining room in the 0% bracket before you eclipse $98,900. Long-term gains above that amount are subject to 15% tax. That room can disappear quickly when you receive income from multiple sources.
Retirement complicates capital gains taxes because, for many retirees, it’s the first time they’re taking substantial gains, selling positions that may have appreciated for decades to help fund living expenses. This can catch them off guard because they’re often drawing income from multiple sources (Social Security, pensions, IRA withdrawals, brokerage accounts) that compete for the same bracket space, leaving less room for their gains to land tax-free.
Traditional IRA withdrawals are treated as ordinary income, so they fill the lower brackets before capital gains are added. This is something to keep in mind if you’re drawing down a large IRA in the same year you sell investments that have appreciated.
Social Security adds another layer. Up to 85% of your benefit can be subject to tax depending on your combined income, and capital gains count toward that total amount. A large gain that you take in a given year can unexpectedly make more of your Social Security benefits taxable, compounding the impact in ways that aren’t obvious when you look at the gain alone.
Then there’s IRMAA, income-related surcharges on Medicare Part B and Part D premiums. They are recalculated each year based on your income from two years earlier. Your modified adjusted gross income (MAGI) — your adjusted gross income with deductions like tax-exempt interest added back — can trigger IRMAA if it crosses certain thresholds.
Individually, each of these factors is manageable. Together, they make timing and coordination critical. That’s why the order and timing of withdrawals across account types, called tax sequencing, matters so much to retirement planning.
The most direct way to anticipate the tax impact of long-term capital gains is to compare your expected taxable ordinary income against the 0% bracket ceiling for your filing status. Any remaining “headroom” is where gains can be taxed at 0%.
A few situations to watch out for:
Running the numbers before realizing gains is one of the most effective ways to avoid surprises. You can model your complete income picture across sources with the Boldin Planner and see exactly how much headroom you have before gains hit higher brackets.
The Net Investment Income Tax (NIIT) is an extra 3.8% tax that applies on top of your capital gains rate. It kicks in when your MAGI exceeds $250,000 for married couples, $200,000 for singles, or $125,000 for married filing separately. The tax applies to the lesser of: your net investment income, or the amount your MAGI exceeds those thresholds
The NIIT threshold isn’t indexed for inflation, so more investors are impacted over time. Many retirees cross it each year simply because of their rising account values and required minimum distributions.
Once you’re above it, the effective rate — the total percentage you owe after combining base taxes and surcharges — on some long-term gains can reach 18.8% or 23.8%. That ends up closer to ordinary income tax levels than most people expect when they think of “preferential rates.” A large Roth conversion, a home or business sale, or a busy year of portfolio rebalancing can push you above those income levels before you realize it.
The most effective way to reduce capital gains tax in retirement is to avoid absorbing too much income in a single year. That means being deliberate and strategic about when you take gains and which accounts you draw from.
All of the following strategies work together. The Boldin Planner is built to help you model and think through the timing of each.
Realizing large gains all at once is often how retirees accidentally end up in a higher bracket. Selling across two or three years gives you a better chance of keeping your total income below thresholds for the 15% capital gains bracket, Social Security taxation, or the NIIT.
Within a taxable account, not every position has the same tax burden. Selling shares you purchased at the highest price first provides the income you need while keeping your tax liability lower. You can hold positions with large gains and a lower cost basis longer, harvest them against losses, or donate them directly to charity instead of selling.
In taxable brokerage accounts, you can sell underperforming positions to generate losses that offset realized gains. This can substantially reduce the net capital gains that stack on top of your ordinary income each year.
The years between retirement and when Social Security and RMDs kick in generally provide the best window for Roth conversions. Converting assets from traditional IRAs to Roth accounts reduces your future ordinary income, leaving more room for your long-term capital gains to land at 0% when distributions start.
The order in which you draw from taxable, tax-deferred, and tax-free accounts in any given year can have real consequences for your tax bill. There’s no universal right answer because it depends on your complete income picture, Social Security timing, projected RMDs, and your asset holdings.
Before realizing gains or taking withdrawals, it’s important to model different planning scenarios. The Portfolio and Tax Planning sections of the Boldin Planner allow you to model different withdrawal scenarios and see how your projected tax liability shifts depending on the mix and timing of your income sources.
Add your Social Security projections and expected RMD schedule and use the Roth Conversion Explorer to identify years where careful sequencing can meaningfully reduce the taxes you owe.
Capital gains tax in retirement is plannable, and the investors who approach it that way keep more of the wealth they’ve built.
Most people won’t pay capital gains on a home sale because the IRS home sale exclusion shields the first $250,000 in profit for single filers and $500,000 for married couples filing jointly. To qualify, you need to have lived in the home for at least two of the five years before the sale. The IRS treats profit above those thresholds as a long-term capital gain. It layers on top of your ordinary income just like any other investment sale would.
Short-term gains come from appreciated assets you held for a year or less, meaning they are taxed at your ordinary income rate. If the appreciated assets are held for more than a year, they become long-term gains that qualify for preferential rates depending on income (0%, 15%, or 20%). Just holding an appreciated asset for more than a year can drastically reduce the tax you pay.
The IRS taxes qualified dividends at the same preferential rates as long-term capital gains, and stack on top of your ordinary income in the same way. If your dividend income is substantial, it can eat into the space you were counting on for your capital gains to land at 0%.
You can avoid capital gains tax in retirement by planning to keep your total taxable income below the 0% bracket thresholds. For 2026, those limits are $49,450 for single filers and $98,900 for those married filing jointly. Strategic moves, like doing Roth conversions in the years before Social Security and RMDs begin, can help maintain your income within those bounds.
Many states treat capital gains as ordinary income, but rules vary by state. A handful of states, including Florida, Texas, and Nevada, have no state income tax at all. If you’re planning a large sale or thinking about relocating, it’s worth verifying how your specific state handles investment income.
Take financial wellness into your own hands and do it yourself retirement planning: easy, comprehensive, reliable.
Evaluate the pros and cons of different orders of accounts for withdrawals. See how to make smart decisions about your choices.
According to experts, one of the biggest risks in financial planning isn’t investing in a volatile portfolio, but rather avoiding risk altogether.
Are you aware of just how much investing is costing you? Explore all the fees associated with your mutual funds and ETFs.