During most of your working years, capital gains planning tends to follow a relatively predictable pattern. You manage a taxable portfolio alongside your salary, consider holding periods and tax-loss harvesting, and your income largely determines which tax bracket your gains fall into.
Retirement changes this picture in ways that often catch people off guard. Your salary stops, but your sources of income can multiply. Social Security benefits, Required Minimum Distributions (RMDs), portfolio withdrawals, and investment income may all arrive simultaneously. When you decide to realize a capital gain, it stacks on top of these income sources. In retirement, capital gains do not exist alongside your income; they add to it. The consequences of poor timing can appear on your tax return, increase your Medicare premiums, and impact your long-term financial plan in ways that are difficult to reverse.
How the Retirement Income Picture Changes
During your working years, your income is largely predictable. A salary anchors your tax bracket, and capital gains decisions are made within that context. In retirement, that anchor disappears, and your income becomes a function of the decisions you make each year.
For example, a retiree in their first year of retirement might receive Social Security benefits, take withdrawals from a traditional IRA, and realize a capital gain from selling an appreciated asset. Each of these income sources is taxed differently, and each affect how the others are taxed. Up to 85% of Social Security benefits can become taxable depending on your combined income. IRA withdrawals are taxed as ordinary income. Long-term capital gains, while taxed at preferential rates, still increase your modified adjusted gross income (MAGI), which drives several other important calculations in retirement.
Consider this scenario: a retiree with $40,000 in Social Security income, $30,000 RMD, and a $25,000 long-term capital gain in the same year is not simply managing three separate tax events. Instead, they are managing a combined income picture that could push a portion of their Social Security benefits into higher taxation, trigger the Net Investment Income Tax (NIIT) on the capital gain, and push their MAGI above a Medicare IRMAA threshold. Each decision may seem reasonable on its own, but together they create a complex tax outcome.
This example illustrates the retirement income reality and why capital gains decisions in retirement rarely have simple or clean answers.
In Summary: In retirement, every income decision is also a tax decision. Every tax decision has the potential to affect other parts of your financial picture downstream. Thoughtful, coordinated planning is essential to manage these interactions effectively and to optimize your tax outcomes and financial security.
The 0% Capital Gains Bracket: A Window Worth Understanding
One often overlooked opportunity in early retirement is the 0% long-term capital gains tax rate. For 2025, married couples filing jointly with taxable income up to $96,700 pay no federal tax on long-term capital gains. For single filers, the threshold is $48,350.
For retirees who have stepped away from a salary but have not yet begun required minimum distributions (RMDs), taxable income can be low enough to fall within this bracket. This creates a valuable window, sometimes several years wide, during which appreciated positions can be sold without incurring federal capital gains tax.
This period is often referred to as the “gap years,” the time between your last paycheck and the year RMDs begin at age 73. For many retirees, income is at its lowest during this stretch, making the opportunity to realize gains at the 0% rate or to harvest losses tax-efficiently greater than it will be at any other time.
In summary: The key to maximizing this opportunity is careful management. Social Security benefits, IRA withdrawals, and other income sources all count toward your taxable income threshold. Realizing too large a gain in a single year can push your income above the 0% bracket, triggering the 15% rate on the amount that exceeds the limit. This opportunity is real, but it rewards proactive planning rather than reactive decisions.
How RMDs Complicate the Picture
Required Minimum Distributions (RMDs) begin at age 73 and present one of the most significant income planning challenges in retirement. RMDs are taxed as ordinary income, and for individuals who have spent decades building tax-deferred retirement accounts, the annual distribution amounts can be substantial.
The challenge for capital gains planning is that RMDs are mandatory. They must be taken each year regardless of other income events. In years when you also realize a significant capital gain, RMDs can push your total income well above important thresholds you might otherwise manage around. These include the Net Investment Income Tax (NIIT) threshold, the point at which Social Security benefits become more heavily taxed, and the Income-Related Monthly Adjustment Amount (IRMAA) thresholds that determine your Medicare premiums.
In summary: This dynamic is one reason why the gap years between retirement and the start of RMDs are often the most valuable planning window in retirement. Before RMDs begin, you have greater control over your taxable income than you may ever have again. Decisions made during this period, such as when to realize gains, whether to execute Roth conversions, and how to structure withdrawals, can significantly shape your tax picture for the remainder of your retirement.
IRMAA: The Medicare Surcharge Most Retirees Discover Too Late
The Income-Related Monthly Adjustment Amount (IRMAA) is a surcharge added to Medicare Part B and Part D premiums for individuals whose income exceeds certain thresholds. For 2026, these thresholds begin at $109,000 for single filers and $218,000 for married couples filing jointly.
What makes IRMAA particularly consequential in the context of capital gains is the two-year lookback period. Medicare determines your IRMAA surcharge based on your income from two years prior. This means a capital gain realized today will affect your Medicare premiums two years from now, not in the current year. Because of this lag, the cost of a poorly timed gain can be invisible when it occurs and then appear later as an unexpected increase in your Medicare bill.
For a married couple in the first IRMAA tier in 2026, the surcharge adds roughly $81.20 per person per month to their Part B premium. This amounts to approximately $975 per person annually, or close to $1,950 per year for a couple. Higher income tiers can increase this surcharge significantly. A single large capital gain each year, whether from selling an appreciated stock position, a second home, or a rental property, can push income above an IRMAA threshold and result in elevated Medicare premiums for the following two years.
In summary: This does not mean that realizing a gain is never worth the consequence of the IRMAA. In many cases, the benefits of selling an appreciated position or executing a Roth conversion outweigh one or two years of higher premiums. However, these decisions should be made with full awareness of the downstream costs, rather than discovered after the fact.
Roth Conversions and Capital Gains: Managing the Same Window
Transferring assets from a traditional IRA or 401(k) into a Roth account are among the most powerful tools available during the gap years between retirement and the start of Required Minimum Distributions (RMDs). By reducing the balance in tax-deferred accounts, conversions lower future RMD amounts and, consequently, future taxable income. When executed thoughtfully, Roth conversions can significantly compress your long-term tax burden.
The challenge is that Roth conversions and capital gains compete for the same income “budget” in any given year. Both increase your modified adjusted gross income (MAGI), both push you above Medicare IRMAA thresholds, and both influence how much of your Social Security benefits become taxable. In years when you plan to realize a capital gain and execute a Roth conversion, these decisions must be evaluated together rather than in isolation.
Finding the right balance depends on your specific income profile, asset allocation, Medicare enrollment status, and long-term financial goals. There is no one-size-fits-all answer, but the planning conversation should take place before either decision is finalized.
Why Coordination Matters More in Retirement
During your working years, a capital gains decision is primarily a tax decision. In retirement, it becomes a tax decision, a Medicare decision, a Social Security decision, and a withdrawal sequencing decision all at once. The various income sources available in retirement interact in ways they did not during the accumulation phase. Planning in isolation from the others can lead to consequences that are difficult to anticipate and costly to correct.
The key planning levers in retirement, timing gains to align with the gap years, managing income around IRMAA thresholds, coordinating Roth conversions with capital gains decisions, and using qualified charitable distributions to satisfy RMDs without increasing MAGI, are all available. However, leveraging these strategies effectively requires a comprehensive view of your entire financial picture, not just the individual transaction at hand.
This kind of integrated, forward-looking planning is precisely what the years approaching retirement are for. The window to make the most impactful moves is often shorter than many expect, and the cost of waiting is measured not only in taxes paid but also in lost planning opportunities that cannot be recovered.
If you are approaching retirement or navigating capital gains decisions as part of a broader retirement income plan, the most valuable conversations happen well before a transaction closes. At Quotient Wealth Partners, we work closely with clients to evaluate how capital gains decisions fit within their overall retirement planning picture, alongside RMDs, Medicare premiums, Roth conversions, and long-term income goals. Schedule a consultation with Quotient Wealth Partners today.
Frequently Asked Questions About Capital Gains in Retirement
Do capital gains affect Medicare premiums?
Yes. Capital gains increase your modified adjusted gross income (MAGI), which Medicare uses to determine IRMAA surcharges on Part B and Part D premiums. Because Medicare applies a two-year lookback, a capital gain realized today can affect your premiums two years later. A large gain in a single year can push your income above an IRMAA threshold, resulting in elevated premiums for the following two plan years.
What is the 0% capital gains tax rate in retirement?
Long-term capital gains are taxed at 0% for taxpayers whose taxable income falls below certain thresholds. For 2025, these thresholds are $48,350 for single filers and $96,700 for married couples filing jointly. Retirees who have stepped away from a salary but have not yet begun required minimum distributions (RMDs) may find their taxable income low enough to realize gains at the 0% rate. This window requires careful management of all income sources to remain within the threshold.
How do RMDs interact with capital gains in retirement?
Required minimum distributions are taxed as ordinary income and increase your MAGI each year beginning at age 73. In years when you also realize capital gains, the combined income can push you above important brackets and thresholds, including the Net Investment Income Tax (NIIT) threshold, IRMAA brackets, and the point at which a greater portion of your Social Security benefits becomes taxable. Coordinating the timing of capital gains with your RMD schedule is one of the most consequential planning decisions in retirement.

