top of page

Should I Sell Investments Before or After Retirement to Reduce Capital Gains Taxes?

18 hours ago
6 min read

If you're approaching retirement with a large taxable investment portfolio, you may be wondering: should I sell investments before or after retirement to reduce capital gains taxes?


In many cases, waiting until retirement can open the door to selling appreciated investments at a lower capital gains tax rate. But that doesn't mean waiting is always the right answer.


The better question is: when will selling these investments fit most efficiently into your overall tax plan?


I'm Charlie Horonzy, CFP®, CPA, and I specialize in tax-efficient retirement planning.


Charlie Horonzy is a CFP® and CPA, and he specializes in tax-efficient retirement planning

When I look at this question, I don't think of it as a single decision. I think of it as part of the bigger retirement picture. Your income, portfolio, Social Security, retirement account withdrawals, charitable giving, and future tax situation can all affect the answer.



Here's what to consider.


Is It Better to Sell Investments Before or After Retirement?


For many people, selling appreciated investments after retirement may reduce capital gains taxes if their taxable income drops once they stop working.


While you're working, your income may include a substantial salary, bonus, business income, or other compensation. Retirement can change that dramatically. You might go from earning a large paycheck every year to temporarily having relatively little taxable income.


That transition can create a valuable tax-planning window.


For example, imagine you retire at 62 but don't immediately claim Social Security. You also decide to delay large withdrawals from your retirement accounts. The years immediately following retirement could potentially be lower-income years.


If you have appreciated stocks, mutual funds, or ETFs in a taxable brokerage account, those years may give you an opportunity to strategically realize capital gains.


The key word is strategically. You don't necessarily want to sell everything as soon as you retire.


How Are Capital Gains Taxed When You Retire?


Retirement itself does not give you a special capital gains tax exemption. Instead, your capital gains tax rate depends partly on your taxable income.


Long-term capital gains generally receive more favorable federal tax treatment than ordinary income. Depending on your taxable income, some long-term capital gains may potentially fall into the 0% federal long-term capital gains tax bracket.


That creates an interesting planning opportunity for retirees.


Suppose you have investments that have increased significantly in value. If your income drops after retirement, you may be able to intentionally realize some of those gains while staying within a lower capital gains tax bracket.


This strategy is sometimes called capital gains harvesting. Rather than avoiding gains indefinitely, you deliberately recognize gains when the tax cost is attractive.


Why the Years Immediately After Retirement Can Be Important


One of the most valuable retirement tax-planning periods can occur between the year you retire and the year your income climbs back up from other sources.


I like to think of retirement as a series of tax stages rather than one long event. Your first few years of retirement might look very different from your later years.

Eventually, your income could include Social Security, retirement account distributions, pensions, investment income, and other sources.


But immediately after leaving your job, you may have more control over how much taxable income you generate than you'll ever have again. That's what I'd call a tax-planning window, and it doesn't stay open forever.


During this period, you may want to evaluate several strategies together:


  • Realizing long-term capital gains

  • Selling concentrated stock positions

  • Rebalancing your portfolio

  • Making Roth conversions

  • Taking retirement account withdrawals

  • Making charitable gifts

  • Managing your future tax brackets


The important point is that these decisions compete for the same tax space. A large Roth conversion, for example, could increase your taxable income and affect how attractive it is to realize capital gains in that same year.


That's why I generally wouldn't look at capital gains in isolation.


Should You Sell Appreciated Stock Before You Retire?


Sometimes, yes. Taxes don't get the final vote.


Taxes are important, but they shouldn't be the only consideration. Suppose 40% of your taxable investment portfolio is concentrated in one company's stock. Waiting several years to sell solely because you hope for a lower capital gains tax rate could expose your retirement to unnecessary investment risk.


You could save money on taxes and still end up worse off if the stock falls substantially.


The same principle applies if your portfolio has become more aggressive than you want it to be heading into retirement. Retirement is a major financial transition. Your investment strategy should support the life you're preparing to fund, not the other way around.


Sometimes paying a reasonable tax today beats taking an unreasonable investment risk tomorrow.


What Is Capital Gains Harvesting in Retirement?


Capital gains harvesting involves intentionally selling appreciated investments during a year when realizing the gain may be particularly tax-efficient. You might then use the proceeds to rebalance your portfolio or reinvest them based on your long-term strategy.


Here's a simplified example.


Suppose you bought an investment for $100,000 and it's now worth $175,000. You have a $75,000 unrealized capital gain. If you're retiring soon, you could compare the potential tax consequences of selling the investment during your final high-income working year versus selling some or all of it during a lower-income retirement year.


You may discover that spreading the gain over multiple tax years is more efficient than realizing the entire gain at once.


That's where multi-year tax planning earns its keep.


Don't Forget About Roth Conversions


There's another wrinkle that makes this decision more complicated.


Your early retirement years may also be an attractive time to convert money from a traditional IRA to a Roth IRA. Now you have two potential strategies competing for your lower tax brackets: should you realize capital gains, or convert traditional retirement money to Roth?


There isn't one universal answer.


A Roth conversion may help reduce future taxable retirement account balances. Capital gains harvesting may allow you to reduce embedded gains in your taxable portfolio. The optimal combination depends on your assets, income, age, future retirement income, charitable plans, and tax situation.


This is why retirement tax planning should ideally be done several years at a time instead of one tax return at a time.


Should You Wait Until Retirement to Sell All Your Investments?


Probably not. "I'll just wait" isn't a strategy, it's a default.


I wouldn't walk into retirement with a rule like "I'm not selling anything until I retire." Instead, build a multi-year investment and tax strategy.


Ask:


  • How much income will I have this year?

  • What will my income look like after retirement?

  • When will I claim Social Security?

  • When will I begin taking money from retirement accounts?

  • Do Roth conversions make sense?

  • How much unrealized capital gain do I have?

  • Are any investments creating excessive concentration risk?

  • Do I plan to make significant charitable gifts?


The answers can help determine when and how much you may want to sell.


Can I Pay 0% Capital Gains Tax After Retirement?


Potentially.


Some retirees may qualify for the 0% federal long-term capital gains tax rate on at least a portion of their gains when their taxable income is low enough. But the calculation isn't as simple as saying, "I have no salary, so my capital gains are tax-free."

Other income matters. Retirement account withdrawals, pensions, Social Security, interest, dividends, Roth conversions, and additional capital gains can all affect your overall tax situation. State taxes also need to be considered.


The goal shouldn't necessarily be to pay zero tax. The goal is to manage taxes intelligently over your entire retirement.


The Bottom Line: Should You Sell Before or After Retirement?


If your income is likely to drop significantly after you stop working, waiting until retirement to realize some long-term capital gains may reduce your tax bill. But you shouldn't automatically postpone every sale.


Investment risk, diversification, Roth conversions, Social Security, retirement withdrawals, charitable giving, and your long-term tax picture all matter.


For many retirees, the most useful approach is to map out several years before making large investment sales. Instead of asking only "how do I avoid capital gains taxes?" I'd ask: "when is the most tax-efficient time for me to realize these gains as part of my retirement plan?"


That small shift in perspective can lead to a much better retirement tax strategy.


Frequently Asked Questions About Capital Gains Taxes and Retirement


Is it better to sell stocks before or after retirement? It may be more tax-efficient to sell appreciated stocks after retirement if your taxable income falls. However, investment risk and diversification should also influence the decision.


Do capital gains taxes go down when you retire? Not automatically. Retirement can lower your taxable income, which may put some long-term capital gains into a lower federal tax bracket.


Can retirees qualify for the 0% capital gains tax rate? Yes, some retirees may be able to realize long-term capital gains at a 0% federal rate when their taxable income falls within the applicable range.


Should I sell all my appreciated investments when I retire? Usually not. A multi-year strategy may allow you to manage gains, portfolio risk, and taxes more effectively than an all-at-once approach.


Should I do Roth conversions or harvest capital gains after retirement? Potentially both. The challenge is figuring out how much of each strategy makes sense in a given tax year. Evaluating them together can help you make better use of lower-income retirement years.


I'm Charlie Horonzy, CFP®, CPA. I help pre-retirees and retirees create tax-efficient financial plans so they can make informed decisions about their money and focus on living their best lives.


If you're approaching retirement, or already retired, and aren't sure whether, when, or how to sell investments, don't guess. Run the numbers first.


SCHEDULE A TIME


Stay Focused!


This article is for general educational purposes only and is not individualized investment, tax, or financial advice. Your tax consequences will depend on your individual circumstances. Consult your tax professional before making tax-related decisions.

Comments


bottom of page