How Should You Manage a Taxable Account With Large Embedded Gains?

Ross Marino |

A taxable portfolio can become a source of pride and discomfort at the same time. A stock, fund, or group of related holdings has grown dramatically, but selling would make a large gain visible on the tax return. Keeping it avoids that immediate bill—while leaving more of your future tied to the same investment.

The decision is not simply whether to sell. It is how much risk the household can keep, how much tax cost it can absorb, and what the money may need to support next.

Why can tax avoidance become an investment decision?

An unrealized gain is not a tax bill by itself. A taxable sale generally realizes the difference between proceeds and adjusted basis; holding period and the rest of the return help determine the federal treatment.[1] That makes the tax cost measurable. Concentration risk is different: a large exposure to one company, sector, or correlated group can amplify losses, and diversification cannot guarantee against loss.[2]

Measure the position against the household’s total wealth, dependable income, planned withdrawals, other exposures, and ability to live through a decline. A retiree whose spending depends on the account may need a faster reduction than someone with ample income elsewhere. Risk tolerance matters, but so does financial capacity.

How can sales reduce risk without creating one unnecessary tax year?

A gradual sale can convert an all-or-nothing decision into a schedule. The household might set a target concentration, sell toward it over several tax years, and use dividends or withdrawals from the appreciated position rather than reinvesting them. Selling higher-basis lots first may reduce current gain, while lower-basis lots remain for later years, gifts, or the estate.

Coordinate the schedule with the whole tax return. Long-term gains can interact with ordinary income, the 3.8% net investment income tax, state taxes, Medicare income-related premiums, charitable deductions, and other planned income.[3] Tax brackets can guide timing, but should not justify more risk than the plan can support.

Loss harvesting can offset realized gains when the portfolio has genuine losses. Capital losses first offset capital gains; for individuals, a limited amount of excess net capital loss may offset other income, with unused amounts generally carried forward.[1] The replacement investment must also respect the wash-sale rules if the loss is meant to remain deductible.[4]

What must the plan balance?

Reduce concentration

Move enough risk so one holding cannot dominate the household outcome.

Manage the tax cost

Choose lots, years, losses, and gifts that improve the after-tax path.

Preserve flexibility

Keep usable resources for spending, giving, or the estate—not just a smaller tax bill.

The useful plan sets a limit for each pressure. None gets to consume the other two.

Giving can solve two real goals at once.

If charitable intent already exists, appreciated assets may be better gift candidates than cash. A direct contribution to an eligible public charity may avoid realizing the gain; the deduction depends on the asset, holding period, recipient, income limits, valuation, and documentation.[5] Confirm that the charity can accept the asset before it is sold.

A donor-advised fund can receive appreciated assets now and support grants to charities over time. The sponsoring charity owns and controls the contributed assets; the donor retains advisory privileges rather than legal control.[6] That flexibility can help bunch giving into a high-income year, but the contribution is generally irrevocable. It is useful only when the charitable commitment is real.

Dovetail Principle: Financial Decisions Need to Fit Together

A tax-aware plan looks for a better after-tax path. It does not allow the desire to defer tax to leave the household with more concentrated investment risk than its spending, comfort, or future choices can support.

When do specialized tax deferrals create a different risk?

Borrowing against securities can create liquidity without an immediate sale, but it does not diversify the collateral. Interest can rise, a decline can trigger a maintenance call, and the lender may sell assets if collateral or repayment is not provided quickly.[7] Borrowing may serve a defined bridge; it is not a permanent substitute for addressing concentration.

Qualified opportunity funds deserve narrower consideration. Under the original federal regime, deferred eligible gain is recognized no later than December 31, 2026, and the investment adds fees, illiquidity, business risk, and reporting rules.[8] Consider one only when the underlying investment fits even without its tax features.

How should estate intentions shape the final plan?

Property inherited at death generally receives a basis tied to fair market value at death, subject to exceptions and estate rules.[5] Retaining low-basis assets may fit when the household can bear the risk and intends to leave them to heirs. But a possible future basis adjustment does not repair unsafe concentration today.

Estate and charitable intentions can shape which lots remain, while cash-flow needs determine what must become spendable. Identify a safe concentration range, upcoming withdrawals, committed gifts, and assets plausibly intended for heirs. Then assign each sale or gift a job.

A useful plan sets three boundaries: the maximum concentration the household will accept, the tax cost it will recognize in each planning window, and the liquid resources that must remain available. It records which lots may be sold, harvested against losses, donated, or retained.

The result may be a combination: an immediate sale to remove unacceptable risk, scheduled sales across tax years, selective loss harvesting, and gifts of appreciated shares that fulfill an existing charitable purpose. The right mix is the one that leaves taxes managed, the portfolio supportable, and the household free to spend, give, or adapt without waiting for one holding to cooperate.

Related Reading: When Should Retirees Rebalance Their Investments? It explains how to confirm the portfolio target and apply cash flows before choosing taxable trades.

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. Concentrate on Concentration Risk,” FINRA.
  3. NIIT, IRMAA, RMDs: Why Tax Decisions Need a Multi-year Plan,” Dovetail Financial.
  4. 26 U.S. Code § 1091—Loss from wash sales of stock or securities,” Cornell Legal Information Institute.
  5. Publication 551, Basis of Assets,” Internal Revenue Service.
  6. What is a donor-advised fund?,” Fidelity Charitable.
  7. Securities-Backed Lines of Credit Explained,” FINRA.
  8. Opportunity Zones Frequently Asked Questions,” Internal Revenue Service.

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.