For most tech employees holding underwater shares, tax-loss harvesting company stock is worth doing before the next vest, and Edward Jones Investments treats the wash-sale calendar, not the loss size, as the deciding factor. Quick test: if no acquisition of the stock — your next vest, your next ESPP purchase posting, or a dividend paid in extra shares of the stock — lands within 30 days of the trade date counted in both directions, the loss counts; if one does, the harvest waits for a date clear on both sides. Picture Fatima, age 34, whose 2,000 RSU shares vested at $60 and now trade at $44. Her next vest lands May 20, so an April 19 sale works and an April 25 sale doesn't.
Realized losses offset gains dollar for dollar. Beyond that, up to $3,000 annually ($1,500 if married filing separately) offsets ordinary income, and the rest carries forward with no expiration during your lifetime. Every article covers that part. The part most skip is that an employee buys the same stock without trying: a vest posts shares, an ESPP purchase settles, a dividend reinvests. Any one of those inside 30 days of the sale disallows the loss on those shares, and you usually find out the following February on a Form 1099-B.
At Edward Jones Investments, advisors put every vest, ESPP purchase and dividend reinvestment on one calendar before a client sells anything, and they estimate the tax result of each possible sale date before the order goes in.
This article stays on the tax mechanics: which sales cut your bill for keeps, which ones only slide the tax into a different tax year under the IRS rules, and it follows Fatima through the calendar in the order she'd meet it. How much of your net worth should sit in one stock at all is a different question, and your spending plan answers it by what the portfolio can afford to lose, not by how a risk questionnaire scores your nerves. For that larger job, see diversifying a concentrated position without a tax surprise.
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.
Put the vest dates on a calendar before you look at the loss. If the sale can't sit 31 days away from the next vest, the harvest isn't ready, whatever the dollar size.
Edward Jones Investments advisors
A carryforward only has value when there are gains to cancel. At $3,000 annually, a $150,000 balance takes 50 years to use, so we ask what you'll actually sell before we count it as an asset.
Edward Jones Investments advisors
Which losses on company stock count on Schedule D?
Only losses you realize by selling shares in a taxable brokerage account count. Shares inside a 401(k) or IRA produce no harvestable loss because those transactions never reach Schedule D, and a paper loss on shares you keep does nothing until you sell them.
Short-term losses offset short-term gains first, and long-term losses offset long-term gains first; whatever is left on one side then crosses over to the other. RSU shares are short-term lots for their first year after vest, and that first year is exactly when most employees sell. Short-term gains are taxed at ordinary rates, which the IRS tops out at 37% above $640,600 for single filers and $768,700 for joint filers in tax year 2026. So a short-term loss usually cancels gains at the highest rate you pay, while a long-term loss mostly cancels gains taxed at a lower long-term rate.
Where the shares came from changes the arithmetic. Shares from exercised nonqualified options get a basis set at the market price on exercise day, so the loss runs from that day, never from your strike price. ESPP shares start from the purchase price plus any discount that was taxed as wages, and the broker's 1099-B doesn't always include that discount. The Form 3922 your employer sends shows the purchase details, so check the basis against it before you count a loss. Incentive stock options carry their own basis and AMT rules, so run those numbers past your tax preparer.
And the loss has to be real. Until you sell, a slide from $60 to $44 is a number on a screen, and the IRS gives it no weight.
Short-term lots come first for RSUs
Option and ESPP shares carry their own basis
How much capital loss can one tax year use?
Net realized losses first cancel realized gains of any kind, dollar for dollar. Beyond your gains, the IRS lets you deduct up to $3,000 of ordinary income annually ($1,500 if married filing separately), and any remainder carries forward with no expiration during your lifetime, though it can't be passed to heirs.
Say you've realized $2,000 of long-term gains this year and then sell company stock at a loss. The loss cancels the $2,000 first, then up to $3,000 reduces your ordinary income, and anything beyond that waits for next year. Now scan down to the $50,000 row of the table: that's the size where the ordinary-income deduction stops mattering and the carryforward does the work.
At $5,000 the loss is used up in a single year. At $50,000 and $150,000 the same $5,000 gets used this year and the rest waits, $45,000 and $145,000 respectively. On the $3,000 deduction alone, $145,000 would take more than 48 years to use (145,000 ÷ 3,000 is about 48.3). Only realized gains in later years shorten that wait, which is why a harvest without a gain to pair against is worth far less than the headline loss suggests.
The carryforward keeps its character: a short-term loss stays short-term and a long-term loss stays long-term, tracked on the Capital Loss Carryover Worksheet that comes with the IRS Schedule D instructions. A joint return gets one $3,000 limit, not $6,000, and a spouse's gains and losses pool with yours. The balance has no expiration while you're alive, but whatever is unused when you die ends with your final return. If you owe the 3.8% net investment income tax, a loss that cancels gains can trim that tax too (check the current IRS income threshold).
Gains first, then $3,000
What happens to the rest
| Net loss realized | Offsets gains first | Then ordinary income | Carryforward left |
|---|---|---|---|
| $5,000 | $2,000 | $3,000 | $0 |
| $50,000 | $2,000 | $3,000 | $45,000 |
| $150,000 | $2,000 | $3,000 | $145,000 |
Does the wash-sale window reach your next vest?
Yes. A loss is disallowed if you buy a substantially identical security in the 30-day stretch that surrounds the sale — 30 days back or 30 days ahead — and most brokers treat vest-day RSU shares and ESPP purchase postings as purchases. The window therefore wraps around your employer's share deliveries as well as your own orders.
'Substantially identical' means the same company's stock, plus options on it. A broad index fund or a different company's shares doesn't count, which is why the replacement purchase in a harvest goes there. Edward Jones Investments advisors start any sale from the calendar because your broker only sees one account: a vest in your employer's stock plan account and a sale at another custodian won't be matched on the form, but the IRS applies the rule to you across all of them, and it has taken the position that a purchase inside your IRA can trigger it.
The practical buffer is 31 days. Count from the trade date of the loss sale to the nearest acquisition on either side. The 30 days after the sale are the obvious ones: a vest, an ESPP posting, a dividend reinvestment, a purchase by your spouse, an automatic IRA contribution that buys the same fund. The 30 days before the sale count too, so a vest 12 days ago can taint a sale you thought was clean.
Run the checklist before you place the order, not after the 1099-B arrives.
The 31-day buffer
Run this checklist against your accounts
Schedule a company-stock loss sale at least 31 days clear of every other acquisition of that stock, including the next vest, the next ESPP purchase posting and any dividend reinvestment. If you can't get the 31 days, the harvest waits for the next window.
- List every acquisition of the stock over the last 12 months and the next 3 months: vests, ESPP purchases, dividend reinvestments, and purchases by your spouse or inside an IRA.
- Mark each lot short-term or long-term by its vest or purchase date.
- Find the nearest acquisition date on either side of any planned sale and confirm 31 days between them.
- Check last year's carryforward amount and its short-term and long-term split before you count on this year's saving.
Fatima's $32,000 loss, worked through
Fatima, age 34, holds 2,000 RSU shares that vested in March at $60 a share (hypothetical, round numbers). That's $120,000 of cost basis, and at $44 a share the position is worth $88,000. She works at the company that issued them, and her next vest, another 2,000 shares, lands May 20. Her brokerage treats vest-day shares as a purchase for wash-sale purposes, so that vest is the date everything else has to bend around. She has no other capital gains or losses this year, and for illustration we'll assume a 35% marginal federal rate.
She starts by running the checklist. Acquisitions over the last 12 months: the March vest, which is the lot she's selling. Acquisitions over the next 3 months: the May 20 vest and an ESPP purchase posting on June 30, which sits 72 days after April 19 (11 days left in April, 31 in May, 30 in June). The company pays no dividend, her spouse holds none of the stock, and last year's carryforward was $0. Counting back from the vest, April 19 is the last trade date that works, because the 30 days after an April 19 sale end on May 19. An April 20 sale would pull May 20 inside the window.
She sells all 2,000 shares on April 19 and puts the $88,000 into a total-market index fund the same day, so no repurchase of the company stock can trigger the rule. The stock is already down 27% from her $60 basis, and her spending plan can't absorb another swing like that in money earmarked for a house down payment, so the fund is the right home for it whether or not any tax is saved. If she wants to own the company stock again, her vest delivers more of it anyway.
The arithmetic goes line by line. Proceeds are 2,000 × $44 = $88,000. Basis is 2,000 × $60 = $120,000. The difference, $88,000 − $120,000, is a $32,000 loss, and it's short-term because the shares vested less than a year earlier. With no gains to cancel this year, $3,000 reduces her ordinary income and $29,000 ($32,000 − $3,000) carries forward. At 35%, the $3,000 saves $1,050 of federal tax this year.
Next year she plans to sell newly vested shares to build the house savings, and those lots are short-term by definition. Say she realizes $40,000 of short-term gains. The $29,000 carryforward is still short-term, so it cancels $29,000 of that gain dollar for dollar and she's taxed on $11,000 instead of $40,000. At 35%, that saves $10,150 (29,000 × 0.35). Add this year's $1,050 and the harvest is worth about $11,200 of federal tax before state tax, assuming the gains show up. If the stock keeps sliding and she has no gains, the carryforward just sits. You can try your own lots and sale dates in the calculator.
Now move the sale to April 25. The May 20 vest lands 25 days later, inside the window, so the IRS disallows the loss on as many shares as she acquired. She sold 2,000 and 2,000 arrive on May 20, so all $32,000 is disallowed. Nothing vanishes for good, since the disallowed amount is added to the basis of the vest-day shares, but it comes back only when she sells those shares. If she holds them for years, the deduction waits for years, and both this year's $3,000 offset and next year's cancellation of short-term gains disappear. A smaller vest disallows less: a 500-share vest would catch 500 of the 2,000 shares sold, a quarter of the loss, or $8,000.
The two dates side by side show how six days change the whole result.
The calendar sets the sale date
The arithmetic, line by line
What the late sale would have cost
| Item | Sold April 19 | Sold April 25 |
|---|---|---|
| Days before May 20 vest | 31 | 25 |
| Inside 30-day window? | No | Yes |
| Loss allowed this year | $32,000 | $0 |
| Ordinary income offset | $3,000 | $0 |
| Carryforward to next year | $29,000 | $0 |
| Basis of vest-day shares | Value at vest | Vest value + $32,000 |
Pick the lots before the trade
Most brokers default to first-in, first-out (FIFO): unless you name the lots yourself, they sell your longest-held shares first, and that default quietly decides how your loss gets classified. Take Dev, a hypothetical engineer with 2 lots, both bought at an effective $60 a share and now worth $44: 1,000 shares that vested 14 months ago and 1,000 that vested 5 months ago. Either lot loses $16,000 if sold (1,000 × $16), so on the surface it doesn't matter which one goes. It matters because Dev also expects $16,000 of short-term gains from selling vest-year shares and already realized $16,000 of long-term gains in an earlier diversification sale. Suppose Dev sells 1,000 shares and FIFO picks the 14-month-old lot. The long-term loss cancels the long-term gain, which was taxed at only 20% anyway, and the short-term gain stays taxable at an assumed 35%, so the bill is $16,000 × 35% = $5,600. If Dev names the 5-month-old lot at order entry, the short-term loss cancels the short-term gain and the 20% long-term gain stays, so the bill is $16,000 × 20% = $3,200. Same shares, same trade date, same loss, and a $2,400 difference in tax. Name the lots when you enter the order, because most brokers let you choose only before the trade, and once it executes the assignment is usually final. Tell the broker you want specific lot identification, and confirm from the trade confirmation which lots were sold. Pick higher-basis lots when you want the biggest loss per share, and short-term lots when short-term gains are on your calendar. Some employer stock plan accounts sell in FIFO order only and don't allow lot choice, in which case you'd move the shares to a regular brokerage account first (the holding period carries over, but the transfer takes days, so put it on the calendar). And leave an ESPP lot alone until you've checked its holding periods: a sale before they're met turns the purchase discount into wages, and the 1099-B often misses that amount.
Order-entry detail matters here
Name the lots at order entry
Where does the loss land on Form 8949 and your Form 1040?
You report the sale on Form 8949 and total it on Schedule D, using the broker's Form 1099-B as the source document. A wash-sale disallowance appears in box 1g of the 1099-B, and the $3,000 ordinary-income offset flows from Schedule D onto the income lines of your Form 1040 as a reduction.
The 1099-B arrives in February, sometimes with a corrected version in March, so wait for the corrected one if your broker sends it. Each sale shows proceeds, cost basis, holding period and, if the broker found a wash sale, the disallowed amount in box 1g. That figure is added to the basis of the replacement shares, which is how the lost deduction comes back later. Brokers match wash sales only inside their own accounts, so a vest in your stock plan account and a sale at another custodian won't be linked on the form. The rule still applies to you.
RSU basis causes the most trouble on Form 8949. Many 1099-Bs show a basis that leaves out the income already taxed on your W-2 at vest, which makes a loss look smaller, or a gain bigger, than it is. If the basis is wrong, you correct it on Form 8949 with an adjustment, and the vesting statement from your stock plan administrator gives the right number. Why RSU withholding often falls short at tax time is a related problem, but that one is about withholding, not basis.
Keep the carryover worksheet. The carryforward balance and its short-term and long-term split live on the Capital Loss Carryover Worksheet your preparer keeps from year to year. If you switch preparers or software, bring last year's worksheet along, because a lost $29,000 balance is $29,000 you can't use.
RSU basis fixes
Keep the carryover worksheet
Skip the December sell, January rebuy routine
Generic year-end advice says to sell losers in December and buy them back in January, and for a fund investor that works because the only buyer is you. An employee's stock also arrives on its own schedule, and following the advice literally runs straight into it. Take Priya, a hypothetical employee who sells 1,500 shares at an $18,000 loss on December 15. A dividend reinvestment on December 31 buys 20 shares, and her ESPP purchase posts January 5, 21 days after the sale, adding 300 shares. Both are purchases of substantially identical stock inside the 30-day window, so the loss is disallowed on 320 of the 1,500 shares: 320 ÷ 1,500 × $18,000 = $3,840. The other $14,160 still counts. The $3,840 isn't deducted for the year. It's added to the basis of the replacement shares, so the deduction slips to whenever she sells them, and nothing flags it until the next February, when a 'wash sale loss disallowed' figure appears in box 1g of her Form 1099-B and has to be reconciled before she files. If her ESPP shares sit in a different account from the sale, the form may not show it at all and she has to catch it herself. The fix is a calendar built around your own equity events, not the calendar year. Write down your vest dates, your ESPP purchase posting dates and your dividend reinvestment dates first, then choose the sale date that sits 31 days from all of them. In some years that's October; in others it's February. If reinvestment is the problem, switch it to cash before the sale and leave it off until 31 days after (it costs nothing and you can turn it back on). The ESPP posting dates come from your plan's offering periods and don't move, so the sale moves around them. How the wash sale rule catches RSU vests and ESPP purchases goes deeper on the matching rules.
Map the equity calendar first
Map your equity calendar first
Which parts of a harvest can you undo, and until when?
You can repurchase the same stock once 31 days have passed and keep the banked loss, with no added tax beyond the market move in between. The sale itself can't be undone, a disallowed-loss basis adjustment is permanent, and the carryforward balance dies with the taxpayer.
Everything before the trade is open. You can change the date, the lots or the whole idea at no cost. After the trade, a repurchase on day 31 or later puts you back in the stock without touching the loss. The cost of that round trip is whatever the market did while you were out, plus two trade spreads, and nothing in the tax code adds to it.
Some things lock in. The sale has to trade by December 31 to count for that tax year, and after that due date you can't go back and sell a loser against a gain you already realized. A disallowed amount stays attached to the replacement shares until you sell them, and your spouse's purchase of the stock inside the window can't be unwound either.
If you find an error later, an amended return on Form 1040-X generally works within 3 years of filing the original. That covers a missed carryover or a wash sale the broker didn't flag. It doesn't cover a harvest you skipped, because a loss that was never realized can't be claimed after the fact.
What stays open until you trade
What no longer changes after December 31
How big does a loss need to be before harvesting pays?
Roughly $5,000 is the floor. A $5,000 loss against $2,000 of realized gains plus the $3,000 ordinary-income offset saves about $1,500 of federal tax at high marginal rates, and below that size the paperwork and 31 days out of the stock usually cost more than they return.
The $5,000 case works like this: $2,000 of long-term gains taxed at 20% would cost $400, and the $3,000 offset at a 37% marginal rate saves $1,110, so the harvest returns $1,510. The case gets strong when short-term gains are already scheduled. Sales of newly vested shares are short-term by definition, and a banked short-term loss cancels them at your top rate, up to 37% above $640,600 for single filers and $768,700 for joint filers in tax year 2026, the IRS ceiling on what short-term losses offset.
Carol, age 48 (hypothetical, round numbers), still carries $150,000 of capital losses from an earlier sell-off and has used only $3,000 annually against ordinary income; at that pace the balance would take 50 years to burn through, and whatever remains at her death disappears. This year her pre-set trading schedule lets her sell $500,000 of company stock carrying $150,000 of long-term gain to fund the college accounts. The carryforward cancels the gain, and at a 20% long-term rate that saves $150,000 × 20% = $30,000 in a single year. Ten years of $3,000 deductions add up to $30,000 of deductions, worth about $11,100 at 37%. Without a planned gain to pair against, most of her harvest would have expired unused.
Harvesting shifts some tax as well as saving it. Rebuying at a lower price lowers your future basis, so part of the benefit is deferral: you'll owe more on the same shares later. The arithmetic clearly wins when the loss offsets gains you would have realized anyway, such as planned diversification sales, because then the gain never returns. Shares you later give away or hold until death can escape tax on that lower-basis gain entirely, a separate topic covered under donating appreciated stock.
A harvested loss insures nothing. The replacement fund falls right along with the market, and the 31 days out of the company stock mean any rebound in that period belongs to the fund you switched into. Whatever fund you moved into can be down the following quarter too, so bank a loss only against gains or income you actually expect to realize.
Skip it when the loss is small. Edward Jones Investments advisors compare the saving to the cost of two trades before suggesting a sale, and if a $20,000 position drops 6%, the loss is $1,200 and the first-year saving is a few hundred dollars (24% to 37% of $1,200 is $288 to $444). Keep the shares. Executives who can sell only inside a pre-set trading schedule shouldn't improvise a harvest between windows, and shares held in a 401(k) or IRA have nothing to harvest. For the sale decision itself, how long-term and short-term rates change the sale is covered separately, and the RSU selling test covers whether to sell vested shares at all.
When the saving is real
What harvesting shifts instead of saves
A review of company stock at Edward Jones Investments starts with one calendar
Edward Jones Investments would start by putting every acquisition of the stock, yours and your spouse's, on one calendar: vests, ESPP purchase postings, dividend reinvestments and tender participations, then check the holding period of each taxable-account lot against it. The second pass measures any existing carryforward against the gains your planned diversification sales would actually realize, because a carryforward without future realized gains is a schedule of $3,000 deductions stretched over decades. From there, the size of what stays in the company stock comes from your spending plan, and nothing here promises a particular tax result.
A harvested loss insures nothing; it only pays against gains or income you actually expect to realize.
What people ask about a tax loss harvesting company stock
Can I reverse a harvested loss if the stock bounces back during the 31 days?
You can't undo the sale, but you can buy the stock back on day 31 and keep the banked loss, with no added tax beyond the market move in between. If the shares rebound during the wait, that gain went to the fund you held instead. Buying back before day 31 disallows the loss on the shares you repurchased.
My employer offers an ESPP purchase at the end of next month; should I sell my underwater shares now?
Sell now only if your trade date sits at least 31 days before the ESPP purchase posting; otherwise the purchase lands inside the window and disallows the loss on those shares. Count the days to the posting date in your plan's calendar. If it's closer than 31 days, wait until 31 days after the purchase posts.
Does the trade date or the settlement date decide which tax year a loss lands in?
The trade date decides. A sale that trades on December 31 counts for that tax year even though it settles in January, so what matters is the day your order executes, not the day cash arrives. If December 31 falls on a weekend or market holiday, the last trading day comes earlier, so check the calendar.
If I leave the company, do my capital loss carryforwards follow me?
Yes. A carryforward belongs to you, not to your employer, so it stays on your return after you change jobs or get laid off, and it offsets gains from any investment, not just the old company's stock. It lasts for your lifetime but can't pass to heirs. Edward Jones Investments advisors check the carryover worksheet against your next year's expected sales.
Can I harvest a loss on company stock inside my 401(k)?
No. Losses inside a 401(k) or IRA never reach Schedule D, so there is nothing to claim, and gains there aren't taxed until withdrawals. Only shares in a taxable account produce a harvestable loss. Buying the same stock inside an IRA can still disallow a taxable-account loss, so keep those purchases on your calendar.
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.