How long you held each lot decides the capital gains tax on company stock, and Edward Jones Investments builds a sale plan from purchase dates and income years, not price targets. Most people assume long-term gains are a flat 15%, and that assumption is wrong often enough to cost real money.
The long-term rate is not a flat 15%. It runs 0%, 15% or 20% depending on taxable income, and the 3.8% net investment income surtax can push a high-income sale to 23.8%. What it depends on is two things: how long you've held the specific shares you're selling, and what else is on your tax return that year.
Edward Jones Investments hears this in most first meetings with tech employees, usually right after someone opens a brokerage statement and finds 20 years of ESPP purchases listed as separate lots with no idea which ones to sell.
By Elena Rodriguez, CFA — Portfolio Manager | Reviewed by Aisha Bello, CFPElena manages fixed-income and equity ladders for clients approaching retirement, focusing on sequence-of-returns risk.
Clients bring me a brokerage statement with 30 lots and ask which one to sell first. The answer is almost always the lot closest to crossing 1 year, not the one with the biggest gain.
Senior Financial Planner
The 3.8% surtax catches people off guard because the $200,000 threshold hasn't moved since it was written into law. A sale that was clean 10 years ago now routinely triggers it.
CPA and Tax Director
I tell clients the rate table is the last thing we look at. The first thing is whether the cash is needed before the stock can be sold at a lower rate.
CFP® and Lead Advisor
Check the purchase date on every lot before you sell
A lot held more than 1 year (a year plus a day) is long-term. A lot held a year or less is short-term, taxed as ordinary income, up to 37% above $640,600 for a single filer or $768,700 for a married couple filing jointly, according to the IRS. That gap is the single biggest lever in this whole topic, and it's set by the calendar, not by anything clever.
The holding period runs from the day after the purchase date through the trade date; settlement is irrelevant. Sell 2 days before the one-year mark expecting settlement to carry you past it, and the sale is still short-term. Tech employees usually hold 10 to 40 separate lots from ESPP purchases and vests, so the real question is never whether to sell. It's which lot, in which year.
Why the trade date matters more than settlement
A lot held exactly 1 year to the day is still short-term. The clock needs to clear 1 year plus 1 day.
What does the 3.8% surtax add to a company stock sale?
The net investment income tax adds 3.8% to gains once modified adjusted gross income passes $200,000 for a single filer or $250,000 for a married couple filing jointly. Congress wrote those thresholds into the law without an inflation adjustment, so a sale that cleared them easily 10 years ago now trips the surtax as a matter of routine.
The surtax applies to the lesser of net investment income and the amount of MAGI above the threshold. That's why a single $225,000 gain can owe 15% on the whole amount and the 3.8% surtax on only the slice of MAGI that exceeds $200,000. The gain itself raises MAGI as it's realized, which means a large sale can create the very surtax exposure it then pays. People selling a six-figure slice of company stock rarely expect that stacking effect until they see the Form 8949 total.
Tell the broker which lots to sell, in writing
Specific identification of lots has to be made at or before the sale and confirmed by the broker. Without it, the default is first-in, first-out, which sells your oldest, usually cheapest-basis ESPP shares first and triggers the largest possible gain on every trade. Ask for the trade confirmation showing the identified lots by purchase date, and keep it with your tax file.
A verbal instruction to a service rep over the phone is not proof at audit. If Edward Jones Investments reviews a client's cost basis report and the broker shows only a FIFO default, that's worth catching before the next sale, not after.
Which moves only shift the tax instead of saving it?
Three moves get pitched as solutions and none of them cuts the bill. Put the shares into an exchange fund and the gain is postponed, not forgiven: your old basis rides along and the money is tied up for years.
Gift shares to an adult child and your basis goes with them; the $19,000 annual gift tax exclusion covers moving the shares, not the $225,000 of embedded gain, which your son pays when he sells (shares he receives at death follow a different rule). Borrow on margin against the position and you skip the sale but pay interest every month while still owning the same single ticker. All three shuffle who pays and when.
Ask the stock plan administrator for basis by lot, not one total
Request a lot-level report showing purchase date, purchase price and any compensation income already added to basis for each ESPP purchase and vest. An answer of 'basis not available for these shares' should worry you. It means you'll have to rebuild 15 years of basis from old statements, and that's slow work to do under deadline pressure during tax season.
Keep plan statements with the 1099-B
For older shares, the 1099-B may report no basis at all, flagged as noncovered, because they were purchased before broker basis-reporting rules took effect. For plan shares bought through an ESPP, the 1099-B may also omit the discount that was already taxed as wages on a W-2 in the purchase year. Miss that adjustment and the same dollars get taxed a second time, first as ordinary income and again as capital gain. Pull the original purchase confirmation and the plan's year-end statement before filing, and match the adjusted basis against what shows on Form 8949.
Which beliefs about capital gains on company stock go wrong?
'Hold it forever and my heirs get a step-up' is true only at death. It asks you to carry single-stock risk for decades to win a tax break you'll never personally see, which is a strange trade for most people's retirement plans. 'Selling means tax on the whole $300,000' is also wrong. Tax applies to the gain above basis, which for Glenn's $300,000 slice is $225,000, not the full proceeds.
'Long-term means 15%' ignores the 20% band that applies at high taxable income, and it ignores the 3.8% surtax stacked on top. A reader who assumes 15% and plans a sale around that number can be off by nearly 9 percentage points on a six-figure gain, which on $225,000 is over $19,000 of difference.
Two households, two different orders of sale
Glenn, 3 years from his last paycheck, can afford to wait and sell into low-income years, because his wage income ends before the market risk does. A hypothetical couple in their early 40s holding $1.4 million of one employer's stock, with a house purchase 3 years out, should sell now at 23.8% instead of waiting. A 40% drop in the stock would cost far more than the extra 8.8 percentage points of tax they'd save by waiting for a lower bracket.
What separates them isn't age on its own. It's risk capacity: the money Glenn needs at 60 and the money the couple needs in 3 years can't sit exposed to one ticker, whatever the rate table says that year. Edward Jones Investments starts every concentrated-stock conversation with the due date on the cash, then works backward to the tax question, because a due date doesn't move and a tax rate sometimes does.
Run this checklist against your own lots
A second lot (hypothetical, round numbers) shows how close a decision this can be. Glenn bought 1,000 shares 11 months ago for $60,000; they're worth $100,000 now, a $40,000 gain. Sold today, that's short-term, taxed with his salary at an assumed 35% marginal rate plus the 3.8% surtax: $40,000 x 38.8% = $15,520. Held 5 more weeks, past the one-year mark, the same $40,000 gain is long-term at 20% plus 3.8%: $40,000 x 23.8% = $9,520. Five weeks of patience saves $6,000 in federal tax, and he carries the price risk of the stock for those 5 weeks in exchange.
Before any sale, check two dates. Does the lot pass 1 year within the next 60 days, and does your wage income drop next year? If both answers are yes, and nothing you must pay for lands first, wait. If the position is a third or more of your net worth, sell on schedule anyway and accept the higher rate; a 30% slide in one stock wipes out several years of rate savings. Stocks fall as well as rise, and the money you invested is at risk, so the size of the sale comes from what you must spend, not from the rate printed on the gain. A calculator can rerun the 57-versus-60 arithmetic on your own lots and income.
Skipping the low-income years between your last paycheck and your first required withdrawal costs nothing on this year's return. It costs about $18,850 per $300,000 slice later, once the same gain stacks on top of 401(k) withdrawals at 23.8% instead of roughly 15%. That gap only exists for a few years, and once required minimum distributions start, at age 73 or age 75 for people born in 1960 or later, the window closes.
The patience math on a single lot
- Any lot under 1 year old that could season within 60 days
- Whether your MAGI will cross $200,000 single or $250,000 joint this year
- Whether your broker's default is FIFO instead of specific identification
- Whether any shares are flagged noncovered with no basis reported
- Whether a sale at age 63 will set your Medicare premium at 65
How does age change the sale, year by year?
The right year to sell changes as salary ends, Medicare approaches and required withdrawals begin, and the table below walks through one hypothetical timeline. Nothing here applies if the whole position sits in a single lot bought years ago at a tiny basis and the money is needed inside 12 months; then the holding period is already settled, and the only variable left is how much of a drop the spending plan can absorb. State tax is not included in any figure here, and some states tax capital gains as ordinary income, so check your state's rules separately.
| Age | What happens | What to do |
|---|---|---|
| 57 | Salary at its peak; long-term gains stack at 20% plus the 3.8% surtax | Sell only what a due date forces; let lots under 1 year old season |
| 58-59 | Last 2 salary years; ESPP lots keep adding low-basis shares | Identify high-basis lots in writing and build the first year of cash |
| 60 | Wages stop; a $225,000 gain lands near 15% plus $950 of surtax | Sell the planned $300,000 slice; federal tax about $34,700 |
| 61-63 | Low-income years before Medicare; sales at 63 set the age-65 premium | Keep slices below the 20% band; watch MAGI against the IRMAA tiers |
| 65 | Part B starts at $202.90 a month standard, up to $689.90 at the top tier, with a $283 deductible | Check how the age-63 sale size changed the premium |
| 75 | Required withdrawals from the $1.1 million 401(k) begin | Finish the diversification before this; gap years are over |
The question to bring to Edward Jones Investments if this applies to you
Ask which lots to sell first given the income you expect over the next 3 years, and ask to see the tax cost of each sale order laid out side by side, not just described. At Edward Jones Investments we go through the fee when we first speak and put it in writing before anyone starts work.
The spending plan sets the size of the sale; the tax bracket just decides when it's cheaper to do it.
What people ask about capital gains tax on company stock
Does my son pay capital gains tax on company stock he inherits from me?
No. Inherited shares get a new basis equal to the market price on the day you die, so every dollar of appreciation you accumulated while alive disappears from his tax bill. He owes capital gains tax only on what the shares rise above that new figure after he inherits them. Shares you hand him while you are living work the opposite way: he takes over your original basis, including the low-basis ESPP lots.
What happens if I sell shares 2 weeks before the one-year mark?
The whole gain is short-term and taxed at your ordinary income rate, up to 37%, with no partial credit for the 50 weeks you already held it. The trade date is what counts, not how close you got. Waiting the extra 2 weeks can change the rate by double digits on a large gain.
Why does my 1099-B show no cost basis for my oldest company shares?
Shares bought before broker basis-reporting rules took effect are called noncovered, so the broker reports proceeds only and leaves basis blank. You supply the basis yourself from old purchase confirmations or plan statements. Losing that paperwork means the IRS may treat the basis as zero, taxing the full sale price as gain.
Do gains from selling company stock raise my Medicare premium?
Yes. Capital gains count in modified adjusted gross income, and IRMAA for 2026 is set by your 2024 MAGI, with total Part B premiums ranging from $202.90 to $689.90 a month across the income tiers. A large one-time sale at 63 can lift the premium you pay at 65 into the next tier, which is why Glenn's age-63 slices stay small.
Official references
This material is general information only and does not address any individual's investment, tax or legal situation. Investing involves risk, including possible loss of principal. Before acting on any information here, speak with a financial advisor, tax professional or attorney about your circumstances.