How to diversify concentrated stock with very low cost basis after retiring

Retired last year after 32 years at the same company. About 60% of my investable assets are in company stock I accumulated through the ESPP and DRIP over decades. The cost basis on most lots is extremely low — some shares I've held since the early 90s. The 1099-B I got this year after selling a small test batch was a shock: almost the entire proceeds were long-term capital gain. I know I need to diversify but I can't figure out how to do it without triggering a massive tax bill all at once. I've read about charitable strategies and exchange funds but I don't fully understand the tax mechanics. I still have dividend income coming in from the position and I'm not sure how that interacts with the gains picture either. What are the real options here, and what does the actual tax reporting look like for each path? Is there any way to spread this out?

34 comments

Schedule D and Form 8949 are where the pain shows up. Each lot you sell gets its own row on Form 8949 — date acquired, date sold, proceeds in column (d), your cost basis in column (e). With decades-old DRIP shares, every reinvested dividend created a new lot with its own basis and holding period. The long-term rate applies to any lot held more than 1 year (counting from the day after you acquired it to the trade date you sold). The only real lever at the reporting stage is which lots you choose to sell — specific identification lets you sell your highest-basis lots first.

Olivia T.

Author

The specific lot identification thing — do I have to elect that formally or just tell my broker which lots before I sell? I know some brokers default to FIFO which would be the worst possible outcome for me.

You tell the broker before the sale settles which lots you want. Get written confirmation. Once you default to FIFO and the trade settles it's very hard to change. Check your broker's standing instructions now, before you sell anything else.

Qualified dividends from the company stock are taxed at long-term capital gain rates, not ordinary income rates, so they're on a different line than your salary was. They show up on Schedule B first, then flow to the qualified dividends line on Form 1040. That's separate from the gain question but it does interact if you're near a rate threshold — the rate that applies to your gains depends on your total taxable income for the year, and dividends count toward that total.

Olivia T.

Author

That's actually helpful — I didn't realize the dividends themselves push me into a higher gain bracket. So if I have a big dividend year AND I sell shares, they stack.

Charitable giving is worth understanding here. If you donate appreciated shares directly to a qualified charity or a donor-advised fund, you generally don't recognize the gain at all — the charity gets the full fair market value and you get a deduction based on FMV. The shares never go through Form 8949 because there's no sale. You'd want to give your highest-gain, lowest-basis lots first. The deduction rules have limits based on your AGI, so check Publication 526 for the charitable contribution piece, but the capital gain avoidance is real.

Exchange funds are another route people talk about but they're complicated. Basically you contribute your low-basis stock to a partnership pool with other investors' low-basis stock, hold for the required period, and receive a diversified basket when you exit — without triggering gain at contribution. The tax deferral is real but these are only available to qualified investors, the funds charge fees, and the partnership tax reporting (Schedule K-1 every year) adds complexity. I ran my own situation past taxr.ai before even calling a wealth manager — uploaded my 1099-B and a summary of my lots and it checked whether my basis records were complete and flagged two DRIP lots where my broker's cost basis looked wrong. That pre-work saved time when I got to a real advisor.

The K-1 from an exchange fund partnership can be a headache, agreed. And the lockup period matters — if you need liquidity in year two you're stuck.

Olivia T.

Author

The basis error flag is exactly what I'm worried about. I have a feeling some of my oldest lots have wrong basis because the broker didn't track DRIP reinvestments before covered securities rules applied.

On the covered vs. uncovered securities point: broker cost basis reporting became mandatory for most equities acquired starting in 2011, but for shares acquired through a DRIP it only applies to shares acquired starting in 2012. Shares you bought through DRIP before that 2012 cutoff are uncovered — the broker may have basis on file but it's not reported to the IRS, so Form 8949 box B (basis not reported to IRS) applies. You are still responsible for the correct basis. For uncovered lots you enter your correct basis in column (e) of Form 8949 and -0- in column (g). The IRS won't cross-check the number against a 1099-B for those lots, but that doesn't mean you can guess.

Olivia T.

Author

So for my 1990s lots, I need to reconstruct the basis myself from old statements? The broker shows a number but I have no idea if it's right.

Yes. Old account statements, dividend reinvestment confirmations, the company's transfer agent records if you can get them. Publication 551 at irs.gov covers basis of assets including reinvested dividends — each dividend reinvestment is a separate purchase at the price on the reinvestment date.

Installment selling is sometimes suggested but it doesn't apply here — installment sales under Section 453 are for sales where the buyer pays you over time, not for spreading out market sales. You can't just sell $X of stock per year and call it an installment sale. What you CAN do is spread sales across tax years deliberately, staying within whatever gain amount keeps you in a lower rate bracket each year. That's a planning strategy, not an installment sale. Worth knowing the difference before a salesperson pitches you something.

Good clarification. I've seen people confuse those two things.

Charitable Remainder Trusts (CRTs) are another structure for this. You contribute the low-basis stock to the CRT, the trust sells it without recognizing gain (it's tax-exempt), reinvests in a diversified portfolio, and pays you an income stream for life or a term. You get a partial charitable deduction up front. The income you receive from the CRT is taxed in a tier system — ordinary income comes out first, then capital gain. It's a real strategy but requires an attorney to draft the trust and ongoing accounting. Not a DIY project.

Opportunity Zone funds are sometimes pitched as a way to defer and reduce gain. The mechanics: you sell the stock, recognize the gain, then roll the proceeds into a Qualified Opportunity Fund within 180 days. The gain gets deferred and potentially reduced depending on how long you hold the QOF interest. The reporting goes on Form 8949 and Form 8997. Worth checking IRS.gov's opportunity zone page for current rules because some of the step-up benefits that existed in earlier years have changed. I used Taxr to run through my own Form 8997 line by line when I did a QOF investment — it walked through each line against my gain deferral amount so I understood what I was certifying before I signed.

Olivia T.

Author

I hadn't heard of Form 8997 before. Is that filed every year you hold the QOF interest or just at entry and exit?

Every year you hold it. You report the deferred gain balance annually. That's part of why it adds complexity — it's not a one-and-done form.

Net Unrealized Appreciation (NUA) is worth mentioning if any of this stock is inside a 401(k) or employer plan. If you do a lump-sum distribution of employer stock from a qualified plan, the NUA — the appreciation above your cost basis inside the plan — is taxed at long-term capital gain rates when you sell, not ordinary income rates. The ordinary income tax on the distribution only applies to your plan basis (what you paid in), not the NUA. This is a significant strategy for people coming out of retirement with employer stock in a 401(k). Form 1099-R box 6 shows the NUA amount.

Olivia T.

Author

This is actually relevant — I do have some company stock still in my 401(k). I didn't realize the NUA treatment was different from just rolling it over. Rolling it over would lose that treatment?

Correct. If you roll the employer stock to an IRA instead of taking the lump-sum distribution, you lose the NUA treatment entirely. The stock becomes IRA assets and all future distributions are ordinary income. This is one of the decisions worth modeling carefully before you act — a CPA or enrolled agent who handles retirement distributions can run the numbers.

Loss harvesting in other parts of your portfolio can offset some of the gains when you do sell. Capital losses from other positions net against capital gains on Schedule D — short-term losses offset short-term gains first, then net against long-term gains. If your losses exceed all your gains, you can deduct up to $3,000 against ordinary income and carry the rest forward using the Capital Loss Carryover Worksheet. Worth surveying your whole portfolio for positions sitting at a loss before you trigger the concentrated stock sales.

Watch the wash sale rules if you harvest losses and want to stay in the same position. Selling at a loss and buying substantially identical shares within 30 days before or after the sale disallows the loss — it gets added to the basis of the new shares instead.

Form 8949 column (g) is where basis adjustments land. If you end up gifting shares and the recipient later sells, their Form 8949 uses your adjusted basis as the donor's basis (for a gain situation), per Publication 551. I actually fed my own gifting situation into Taxr — uploaded the gift records and the original purchase confirmations — and it built out the basis carryover for each lot so the recipient's Schedule D would match. Cleaned up what would have been a confusing set of numbers.

Olivia T.

Author

So if I gift shares to my kids, they inherit my low basis and eventually owe the tax when they sell? Unless they hold them until they inherit at death?

Exactly. Gift transfers carry your basis to the recipient. But if you hold the shares until death, the basis steps up to the fair market value at the date of your death for the beneficiary — that's the inherited property rule. That eliminates the embedded gain entirely. It's the other end of the spectrum from selling now.

The step-up at death point is real but it requires you to actually hold the shares, which means continued concentration risk. Some people use life insurance or other hedging tools alongside the concentrated position to manage the risk while they wait. That's outside the tax forms question but it's part of the actual decision.

Collars and prepaid variable forwards are sometimes used to hedge the economic exposure without immediately triggering a sale. The tax treatment of these is complicated — a collar can in some situations be treated as a constructive sale, which would trigger gain immediately under Section 1259 rules. The IRS has looked hard at these structures. If someone pitches you a hedging strategy, get a tax attorney's opinion on whether it triggers constructive sale treatment before you do it.

The constructive sale issue is not theoretical. If the collar is too tight — essentially locking in your gain — the IRS treats it as a sale. A wide enough collar may avoid it but the line isn't always clear.

Olivia T.

Author

This is the one I've been pitched by a broker. Good to know to get a tax attorney involved before signing anything.

To pull everything back to the tax forms: whatever strategy you pick, the actual reporting flows through Form 8949 to Schedule D. Charitable transfers skip that chain entirely — no Form 8949, no gain. QOF deferrals land on Form 8949 and Form 8997. NUA from a 401(k) distribution shows on Form 1099-R. Exchange fund exits produce Schedule K-1 items. CRT income distributions have their own tier reporting. Each path has its own paper trail, and each one needs your original basis records to be accurate going in. The reconstruction of your pre-2012 DRIP lots is probably the first thing to do regardless of which strategy you choose.

Agreed on the basis reconstruction being first. If you don't know what your real basis is, you can't evaluate any of these strategies accurately. A CPA or enrolled agent who specializes in investment taxation is worth the cost here — not just for filing but for modeling which combination of strategies minimizes tax over a multi-year horizon. This is not a one-year decision.

Olivia T.

Author

That's the clearest framing I've seen. Figure out the real basis first, then model the strategies. I've been trying to do it in reverse and that's why I've been going in circles.

Publication 550 on irs.gov covers holding periods and basis in detail if you want to understand the underlying rules before meeting with anyone. The section on DRIP reinvestments and the wash sale rules are both there. Reading it before you sit down with a CPA means the meeting goes faster.