Capital Gains in Retirement: Managing RMDs, Taxes, Social Security and Medicare
Capital gains tax can significantly impact your funds and financial planning for retirement.
One of the last things you want to worry about in retirement is taxes. However, since taxes affect how much hard-earned money you keep, a key area, sometimes overlooked by retirees, deserves some attention: capital gains tax.
Maybe you're considering selling a stock you've held for many years or downsizing your longtime family home. Though seemingly straightforward for some, these kinds of decisions can have significant tax implications.
In addition to the personal and potentially emotional aspects of those and similar financial moves, capital gains tax can help preserve or unexpectedly reduce your retirement nest egg. Here’s more of what you need to know.
From just $107.88 $24.99 for Kiplinger Personal Finance
Become a smarter, better informed investor. Subscribe from just $107.88 $24.99, plus get up to 4 Special Issues
Sign up for Kiplinger’s Free Newsletters
Profit and prosper with the best of expert advice on investing, taxes, retirement, personal finance and more - straight to your e-mail.
Profit and prosper with the best of expert advice - straight to your e-mail.
Capital gains considerations in retirement
Capital gains can intersect with everything from tax brackets, Social Security benefits, and Medicare premiums to required minimum distributions (RMDs) and home sales. (There are also state capital gains taxes to think about.)
So, appreciating the connections can help you optimize your retirement tax strategies. Let's consider each of these areas.
Tax brackets
Some retirees end up in a lower federal income tax bracket, which can be helpful when it comes to capital gains.
However, it should be noted that being in a lower bracket in retirement may not be as common as you might expect. Some retirees will end up in the same or higher bracket in retirement due to multiple income sources, fewer tax deductions, large withdrawals from pre-tax retirement savings accounts, etc.
If you are a retiree in a lower tax bracket than when you were working, you may benefit from those favorable tax brackets while realizing long-term capital gains.
- Single filers with taxable income up to $47,025 can realize long-term capital gains at a 0% rate for 2024.
- Married couples filing jointly can realize gains at 0% up to $94,050 of taxable income.
- The lower tax bracket advantage allows retirees to potentially sell appreciated assets while minimizing tax impact.
Timing asset sales strategically helps you take advantage of retirement years with lower income and realize gains at preferential rates.
Social Security and capital gains
Capital gains can also affect tax on your Social Security benefits. Keep in mind that up to 85% of Social Security benefits can be subject to tax depending on your overall income, including capital gains.
- The calculation that determines how much of your Social Security benefits are taxable includes realized gains.
- So, significant capital gains in a single year can push more of a retiree's Social Security benefits into taxable territory.
To manage this, consider spreading capital gains realizations over multiple years. Or, you might offset gains with losses through tax-loss harvesting. The goal is to maintain a lower overall taxable income and reduce the impact of taxes on Social Security benefits.
Also, remember that there is no specific age at which you can avoid paying taxes on Social Security benefits. Though proposals are floating around Congress to eliminate federal tax on Social Security, how much of your benefits are subject to tax depends primarily on your “combined income.”
Medicare premiums
Capital gains can also affect Medicare premiums through Income-Related Monthly Adjustment Amounts (IRMAA). High income from capital gains could increase your Medicare Part B and Part D premiums.
- IRMAA is based on modified adjusted gross income (MAGI) from two years prior.
- So, significant capital gains in one year could lead to higher Medicare costs two years later.
Because of this, you should factor in potential IRMAA increases when you plan large asset sales or realize a substantial capital gain.
Also, strategies like Roth conversions or charitable giving can help you manage your overall taxable income and potentially avoid Medicare premium increases.
Required minimum distributions (RMDs)
RMDs from traditional retirement accounts add another layer of complexity to capital gains planning. That’s because required minimum distributions are taxed as ordinary income and can push retirees into higher tax brackets. (RMDs are generally required once retirees reach age 73.)
To help mitigate this, you might consider strategies like:
- Realizing capital gains in years with lower RMDs to spread out the tax impact
- Using Qualified Charitable Distributions (QCDs) to satisfy RMD requirements without increasing taxable income
- Exploring Roth conversions in lower-income years to reduce future RMDs
Honorable mention: Capital gains on home sales
Don't forget that the capital gains tax exclusion enables homeowners who meet specific requirements to exclude up to $250,000 (or up to $500,000 for married couples filing jointly) of capital gains from the sale of their primary residence.
So, generally, if you sell your home for a gain of less than those thresholds, you will not be obligated to pay capital gains tax on that amount.
However, as Kiplinger has reported, there are certain criteria you must meet to qualify for the home sale exclusion. There are also several exceptions to the exclusion rules.
It's good to consult a tax professional if you anticipate selling your primary residence at a gain that exceeds the exclusion limit. They should be able to help you identify strategies to mitigate the tax impact.
State capital gains taxes
Don’t forget that state capital gains taxes can also impact retirement finances. However, several states have no state income tax, which means they generally don’t tax capital gains. (Washington state is an exception.)
But, as Kiplinger has reported, keep in mind that states with no income tax aren’t necessarily better for your budget.
- Some states don’t tax retirement income, which can include capital gains from retirement accounts.
- Colorado, for example, allows a retirement income deduction of up to $24,000 for taxpayers 65 and older, which can offset capital gains. (If you’re 55 to 64, you can deduct up to $20,000.)
- Some states have unique capital gains approaches, like Washington’s controversial 7% tax on long-term capital gains exceeding $250,000 in a year.
For more information: See How All 50 States Tax Retirement Income.
Capital gains retirement taxes: What you can do
Whether you’re a recent retiree or still planning, capital gains tax considerations can be key to maximizing your retirement funds.
So project your income, including RMDs, Social Security benefits, etc. Try to pinpoint years with lower projected income as potential opportunities for realizing capital gains. Also, don’t forget about state taxes when planning where to retire.
Of course, work with trusted financial advisors and tax professionals to develop strategies that fit your situation. With potential changes looming from the Tax Cuts and Jobs Act (TCJA) at the end of 2025, taxes will be center stage following the 2024 election.
Related
Profit and prosper with the best of Kiplinger's advice on investing, taxes, retirement, personal finance and much more. Delivered daily. Enter your email in the box and click Sign Me Up.

Kelley R. Taylor is the senior tax editor at Kiplinger.com, where she breaks down federal and state tax rules and news to help readers navigate their finances with confidence. A corporate attorney and business journalist with more than 20 years of experience, Kelley has helped taxpayers make sense of shifting U.S. tax law and policy from the Affordable Care Act (ACA) and the Tax Cuts and Jobs Act (TCJA), to SECURE 2.0, the Inflation Reduction Act, and most recently, the 2025 “Big, Beautiful Bill.” She has covered issues ranging from partnerships, carried interest, compensation and benefits, and tax‑exempt organizations to RMDs, capital gains taxes, and energy tax credits. Her award‑winning work has been featured in numerous national and specialty publications.
-
We inherited $250K: should we buy a second home or save for college?He wants a vacation home, but she wants a 529 plan for the kids. Who's right? The experts weigh in.
-
The $300,000 Social Security Decision You Could Get WrongDeciding when to claim Social Security is a complex, high-stakes decision that shouldn't be based on fear or simple break-even math.
-
4 Ways Washington Could Put Your Retirement at RiskLegislative changes, such as shifting tax brackets or altering retirement account rules, could affect your nest egg, so it'd be prudent to prepare. Here's how.
-
Don't Overpay the IRS: 6 Tax Mistakes That Could Be Raising Your BillTax Tips Is your income tax bill bigger than expected? Here's how you should prepare for next year.
-
Oregon Tax Kicker in 2026: What's Your Refund?State Tax The Oregon kicker for 2025 state income taxes is coming. Here's how to calculate your credit and the eligibility rules.
-
3 Retirement Changes to Watch in 2026: Tax EditionRetirement Taxes Between the Social Security "senior bonus" phaseout and changes to Roth tax rules, your 2026 retirement plan may need an update. Here's what to know.
-
IRS Tax Season 2026 Is Here: Big Changes to Know Before You FileTax Season Due to several major tax rule changes, your 2025 return might feel unfamiliar even if your income looks the same.
-
12 Tax Strategies Every Self-Employed Worker Needs in 2026Your Business Navigating the seas of self-employment can be rough. We've got answers to common questions so you can have smoother sailing.
-
A Free Tax Filing Option Has Disappeared for 2026: Here's What That Means for YouTax Filing Tax season officially opens on January 26. But you'll have one less way to submit your tax return for free. Here's what you need to know.
-
When Do W-2s Arrive? 2026 Deadline and 'Big Beautiful Bill' ChangesTax Deadlines Mark your calendar: Feb 2 is the big W-2 release date. Here’s the delivery scoop and what the Trump tax changes might mean for your taxes.
-
Are You Afraid of an IRS Audit? 8 Ways to Beat Tax Audit AnxietyTax Season Tax audit anxiety is like a wild beast. Here’s how you can help tame it.