How Should You Plan for the Tax Cost of Selling a Highly Appreciated Investment in Retirement?

Ross Marino |

You want to use part of a long-held investment for something that matters: a home renovation, a family gift, or a stretch of retirement without a paycheck. The investment has grown enough to cover the expense. Selling still feels complicated because some of that growth will become taxable.

The practical question is how much to sell so the money can cover both its intended purpose and the tax cost. Planning those two uses together can keep a welcome purchase from turning into an unwelcome second withdrawal later.

How much cash needs to remain after the sale?

Start with the amount you want available for the expense and the date you need it. If taxes will come from the sale, the gross proceeds must also support that payment. If taxes will come from another account, that account needs enough uncommitted cash. Either way, you can't count tax money toward ordinary retirement spending.

This discussion concerns appreciated investments in a taxable account. The taxable gain generally reflects sale proceeds minus adjusted basis, not the entire amount received. Holding period also matters: gains on assets held more than one year generally receive long-term treatment, while shorter holdings generally produce short-term gains. [1]

That distinction helps you avoid applying a headline tax rate to the whole sale. But knowing the gain still does not tell you how much cash you can comfortably commit. The estimate must connect the proposed trade to your actual spending need.

Why can the shares you sell change the amount you keep?

A position built over time may contain shares bought at different prices. Those purchase groups, or tax lots, can have different adjusted bases. Adequately identifying the specific shares sold lets their own basis determine the gain; without adequate identification, the earliest shares generally govern. Brokerage records can help, but older or transferred holdings may need additional documentation. [2]

When two lots have the same holding-period treatment, selling the higher-basis lot realizes less gain for the same proceeds. That doesn't automatically identify the best trade. It identifies an alternative your advisor and tax professional can compare before the money leaves the account.

Same cash target. Different tax reserve.

Compare equal sale proceeds and the same holding-period treatment.

Higher-basis shares

Less gain enters the tax calculation.

Potentially less cash reserved for tax

More of the same sale may remain for your expense.

Lower-basis shares

More gain enters the tax calculation.

Potentially more cash reserved for tax

Less of the same sale may remain for your expense.

The reserve difference depends on the full tax return. A smaller gain does not always produce a smaller tax bill.

Why should the estimate include more than this trade?

The gain joins the rest of the year’s income and realized gains or losses. Your tax professional should estimate the additional tax attributable to the proposed sale, including applicable state treatment, rather than simply multiplying by a presumed rate. A conversion or another planned sale may change the result. If you need to sell additional shares to cover taxes, their gain belongs in the estimate too.

Research on retirement withdrawals has examined how coordinating taxable, tax-deferred, and tax-exempt accounts can improve on a fixed withdrawal order. The lesson here is to compare the sale within the larger income plan, not assume a research result predicts your outcome. [3]

Dovetail Principle: Financial Decisions Need to Fit Together

A sale should connect the life purpose, the shares being sold, the tax payment, and the portfolio left behind. A smaller tax bill helps when it supports the whole decision. It is not a reason to postpone something important indefinitely or to use cash already committed elsewhere.

When does the tax money need to be available?

A tax estimate and a tax-payment plan answer different questions. You generally must pay federal taxes as you receive income through withholding or estimated payments. A gain may require an estimated payment, and insufficient or late payments can trigger penalties. [4] Ask which payment method and date apply to your situation; do not assume filing season is the first deadline.

Keep the supported reserve available until its job is complete. If existing cash will pay the tax, show what remains for emergencies and scheduled withdrawals. If the expense can be staged, compare a staged sale—but only when the spending dates and investment risks make waiting reasonable.

What makes the sale fit the retirement plan?

The lowest-gain lot is not always the right asset to sell. Keeping a highly concentrated position can expose the household to amplified losses. [5] The comparison should show both the cash available afterward and the investments still responsible for supporting retirement.

This is where coordinated financial planning earns its place: goals, cash flow, taxes, and investment risk are connected parts of the same decision. CFP Board’s planning standards expressly recognize those connections. [6] Your advisor can organize the alternatives while your tax professional confirms the tax estimate and payment requirements.

Before committing to the expense, settle three amounts together: what you will sell, what will remain available to spend, and what will stay reserved for taxes. Then choose the trade that funds the purpose without quietly borrowing from another part of your retirement plan.

For the broader coordination of gains, conversions, and giving, read Before You Convert, Give, or Sell: See How the Tax Decisions Connect.

About the author

Ross Marino, CFP®, CeFT®, is the Founder & CEO of Dovetail Financial and creator of Human-First Financial Guidance®. He helps people nearing or living in retirement connect their lives and wealth so that financial decisions become clearer, more personal, and easier to navigate.

Search another retirement question

Describe the question or enter a few topic words. You do not need to know the exact article title.

 

Notes

  1. Topic no. 409, Capital gains and losses, Internal Revenue Service.
  2. Cost Basis Basics, FINRA, April 16, 2024.
  3. Tax-Efficient Withdrawal Strategies, Kirsten A. Cook, William Meyer, and William Reichenstein, Financial Analysts Journal, March 2015; public research abstract.
  4. Estimated taxes, Internal Revenue Service.
  5. Concentrate on Concentration Risk, FINRA, June 15, 2022.
  6. Code of Ethics and Standards of Conduct, CFP Board, financial-planning definition and integration factors.

Disclosure

This content is provided by Dovetail Financial Group LLC (“Dovetail Financial”) for informational and educational purposes only. It is not intended as, and should not be construed as, individualized investment, tax, legal, or accounting advice; a recommendation to buy or sell any security; or a recommendation to adopt any investment strategy. Because each person’s situation is unique, readers should consult their own financial, tax, and legal professionals before taking action based on this content. Information contained herein is believed to be reliable, but its accuracy or completeness is not guaranteed. Any opinions expressed are current as of the date of publication and are subject to change without notice. All investing involves risk, including the possible loss of principal. Asset allocation and diversification do not guarantee profits or protect against losses in declining markets. Past performance is not a guarantee of future results. Dovetail Financial Group LLC is a registered investment adviser. Registration does not imply a certain level of skill or training. Additional information about Dovetail Financial Group LLC, including Form ADV Part 2A and Form CRS, is available at adviserinfo.sec.gov. © 2026 Dovetail Financial Group LLC. All rights reserved.