Skip to content
Mariner Wealth Advisors logo 10,928 reviews

Tax Loss Harvesting with Concentrated Stock: The Wash Sale Trap When You Still Hold the Position

By Sarah Chen, CFP | Reviewed by Linda Foster, CPA | November 8, 2026

Mariner Wealth Advisors tells executives that tax loss harvesting survives the wash sale rule only if the 61 days around the loss sale stay clear of company shares — the 30 days before it and the 30 after. For an executive, that window covers every way shares can arrive: RSU vests, ESPP purchases, reinvested dividends, as well as the orders you place yourself.

Say you're a vice president with 10,000 shares in four tax lots, two of them underwater, and a vest scheduled six weeks out. Selling the underwater lots looks like free tax savings. Whether it is depends on one date in your vesting letter.

At Mariner Wealth Advisors, advisors put every vest, purchase and trading-window date on one calendar and estimate the tax result of a loss sale before suggesting it. On concentrated stock, the evidence-based reason to book the loss is to diversify while paying less tax. It is not a bet on whether the price recovers or falls.

Does the wash sale rule apply when you still hold other shares?

No, not to the shares you already own. The IRS wash sale rule disallows a loss only when you buy, or acquire, substantially identical stock inside a 61-day window: the 30 days ahead of the sale, the sale day itself, and the 30 days after. Lots you bought earlier can stay in your account untouched, so you can sell the high-basis lots and keep the rest.

Financial Planning OverviewKey financial planning considerationsFinancial Planning OverviewAssessmentReview your current financial situation1StrategyDevelop a personalized plan2ImplementationPut your plan into action3MonitoringReview and adjust regularly4Key Areas of Financial PlanningA structured approach helps you stay on trackMariner Wealth Advisors

The rule, found in section 1091 of the Internal Revenue Code, looks at acquisitions, not at what you hold. If you sell the two underwater lots, the two lots you keep were bought long before the window opened, so they don't count. What counts is any share that arrives from 30 days before the sale through 30 days after it.

It also reaches contracts and options to buy the stock, and it follows you across accounts. A purchase in your spouse's brokerage account or in your own IRA counts the same as one in the account where you sold.

One practical point first. A loss helps only if the lots you sell are the ones that are down. Brokers choose lots for you unless you say otherwise, and the default is often the oldest shares, which for many executives are the cheapest.

The 61-day window

Lots you keep and shares that arrive

Rule to calendar: a loss sale is clean only if no company shares are acquired in any account you or your spouse control from 30 days before to 30 days after the sale date. Day 31 is the first safe day.

The acquisitions that restart the 61-day clock

Executives rarely trigger a wash sale with a buy order. It happens when the company delivers shares.

Only the matching shares are caught. If new shares equal 10% of the shares you sold at a loss, 10% of the loss is disallowed. That piece isn't gone: it's added to the basis of the new shares, and the holding period carries over.

Your broker's Form 1099-B flags wash sales only inside that one account. If the vest lands at an equity-plan administrator and you sell at another brokerage, no code appears and the rule still applies. Our article on how PSU vesting and taxes work covers the delivery dates for performance shares.

  • RSU or PSU vesting: the shares are delivered to you, and the IRS generally treats the vest date as the acquisition date (confirm with your CPA).
  • ESPP purchase dates: shares bought at a discount on a fixed date count as acquired that day.
  • Option exercises where you keep the shares.
  • Dividend reinvestment, even when it buys a fractional share for $40.
  • Purchases inside your 401(k) or IRA, including a company stock fund.
  • Anything your spouse buys in any account.

Four lots, two losses: the sale in numbers

Hypothetical: a vice president opens the lot report her brokerage sent in early October. It shows 10,000 company shares at $80, worth $800,000, in four lots. Lot A is three years old and lot B is 14 months old, so both are long-term. Her employer's vesting letter says 350 RSU shares arrive on December 18, and her ESPP bought shares on September 30.

Lots A and B are $55,000 under water ($40,000 plus $15,000). Lots C and D hold $395,000 of gain. She wants to diversify over time, so selling part of C later is on her list, and the loss in A and B can soften that tax. She plans to sell A and B on November 5, which is clear of both the September 30 ESPP purchase and the December 18 vest.

A sale on December 1 instead would put the December 18 vest inside the window. The 350 vested shares are 10% of the 3,500 sold, so $5,500 of the $55,000 loss is disallowed this year. That defers $1,375 of tax ($5,500 at 25%) and adds $5,500 to the basis of the vested shares. The result shows up on Form 8949 and Schedule D.

You can rerun these numbers with your own lots in the calculator on this site. The year-end checklist for executives with RSUs and deferred comp covers the other December dates.

Assume a 25% combined federal rate on gains and the same lot mix at every size: the benefit scales with the position, and so does the cost of a missed vest. The third row is the reason to plan gains first. With no gains to offset, a $55,000 loss takes about 18 years to use at $3,000 a year, so the harvest pays off mainly for someone who is also selling low-basis lots.

Reading the lot report

The sale in five steps

What a December 1 sale would change

Hypothetical positions with the same lot mix, a 25% combined federal rate on gains, and the $3,000 yearly limit on losses against other income
Measure$400,000 position$800,000 position$1,600,000 position
Loss realized$27,500$55,000$110,000
Tax saved against gains$6,875$13,750$27,500
Years to absorb with no gainsAbout 9About 18About 37
Loss disallowed if 10% re-bought$2,750$5,500$11,000
Tax deferred by that$688$1,375$2,750
  • Step 1, build the calendar. A sale on November 12 opens a window from October 13 to December 12. The September 30 ESPP purchase falls before it and the December 18 vest falls after it, so both stay outside. The last clean sale date for that vest is November 17.
  • Step 2, name the lots. She picks lots A and B by specific identification when she places the order. Left alone, many brokers sell first-in, first-out, and if the oldest shares are the cheap ones, the order sells the $245,000 gain instead of the loss.
  • Step 3, sell in an open trading window. 3,500 shares at $80 bring in $280,000 against a basis of $335,000 ($200,000 plus $135,000), a $55,000 loss.
  • Step 4, park the proceeds. The $280,000 goes into a broad index fund and stays out of her company's stock for 31 days.
  • Step 5, use the loss. In December she sells lot C for a $150,000 gain. Net gain is $150,000 minus $55,000, or $95,000. Tax falls from $37,500 to $23,750 at the assumed 25%, a saving of $13,750.

What should the sale proceeds sit in for the 31 days?

A broad stock index fund or Treasury bills work best for the proceeds during the 31 days after the sale. Avoid your company's stock, options on it, and any narrow fund dominated by it. The IRS publishes no list of substantially identical securities, so the farther the holding sits from your stock, the safer.

In the hypothetical, a fund holding thousands of companies, hers among them at a small weight, moves with the market and not with one employer. That is the usual choice. A fund in the same industry may hold her employer at a large weight, which raises the question with your CPA and keeps the concentration alive.

Buying the company's shares back on day 31 isn't needed. She still holds lots C and D, 6,500 shares worth $520,000, so the exposure is there already. Mariner Wealth Advisors names the destination for the proceeds before the sale. Our evidence-based approach ties that choice to long-run diversification research and makes no forecast of where the stock goes next.

Any fund can fall during those 31 days. A 5% drop on her $280,000 of proceeds would cost $14,000 of principal. Treasury bills remove most of that swing at the price of sitting out a rise. The long-term mix she moves into on day 31 matters more than where the money waits.

Where the proceeds can sit during the window; a qualitative comparison, not a recommendation of any fund
FeatureBroad index fundTreasury billsSame-industry fund
Wash sale riskLowNoneLow to moderate
Swing over 31 daysMoves with marketVery smallMoves with sector
Overlap with your stockSmall weightNoneOften large
Fit as a lasting homeYes, for core moneyNo, a parking spotAdds concentration
Next step on day 31Keep or rebalanceMove to target mixReview overlap

Is a loss on stock you must keep different from a normal trade?

Yes. In a normal portfolio you can swap a fund for a similar one and keep your exposure, but company stock has no twin, new shares keep arriving through your pay, and your trading windows decide when you can sell at all. The loss sale is the easy part; the calendar is the hard part.

In a normal portfolio, a fund down $10,000 can be sold and swapped for a similar fund the same day. You keep the exposure and book the loss. A competitor's shares carry different risk and add a second single-stock bet, so most executives end up in a broad fund for the window.

Trading windows add a second constraint. If you're an officer or director, you may trade only when the window is open, often with pre-clearance from the legal department, and the window can be shut on the day a loss sale would make sense. A 10b5-1 plan, which the SEC allows, schedules sales ahead of time, but a new one sits through a 90-day wait for officers and directors before its first sale, so it can't rescue this month. Officers should also ask counsel about short-swing rules, which look at purchases and sales within six months.

And there's the risk you already carry. Your salary, bonus, unvested equity and deferred compensation (an unsecured claim on your employer) all depend on the same company as the shares. If the stock is down because the business is struggling, the loss lots are a warning. Our rule for sizing the position is in the article on how much company stock is too much.

Skip the harvest, or wait, in three cases: you have no gains to offset and the loss is small next to the $3,000 yearly limit; a vest or ESPP purchase sits inside the window you'd need; or you plan to give shares to charity, where giving the low-basis lots removes their gain entirely.

Why the swap doesn't work here

Trading windows and insider rules

When the harvest isn't worth it

Reversible, deferred and permanent: what a loss sale leaves behind

Cannot be undone: the sale itself. Once the trade settles you can't rescind it, so a wrong lot or a wrong date is permanent.

Deferred: a loss disallowed by the wash sale rule. The replacement shares carry the disallowed amount in their basis and inherit the old holding period, so the deferred piece shows up in your gain when you sell those shares.

Permanent: a loss disallowed by a purchase inside an IRA, because the IRS has taken the position that it isn't added to the IRA's basis. An unused capital loss carryforward also ends at death.

Your spouse's trades count against your window, and on a joint return your losses and your spouse's net together. Heirs generally receive shares with a basis reset to value at death. Built-in gains in lots C and D fade away for them, but the reset also erases the built-in loss on A and B. If you want that loss to do any work, it has to be realized while you're alive. If your health or a spouse's health changes, the balance shifts: low-basis lots become more valuable to hold, and underwater lots become worth selling sooner. Your attorney and CPA should confirm how it applies in your state.

Leave room for a bad year. Our decision rule is to harvest losses up to the gains you expect to realize over the next two to three years, plus $3,000 a year, and no more, since a carryforward is worth something only while you have gains to use it on. Keep about two years of spending in cash too, so a drop doesn't force you to sell company shares in the first open window.

The capital loss and wash sale rules have been stable for decades, but the $3,000 limit isn't indexed and Congress can change the rest. Check the current IRS rules before building a multi-year plan. Deferred compensation is a separate exposure, and our deferred compensation planning service looks at it.

Spouse and heirs

A bad year or a change in the law

Slips that surface at tax time

These four turn up when the paperwork arrives.

  • A sell order that never named the lots shows up on the next morning's trade confirmation as the $35,000-basis lot sold: a $245,000 gain, about $61,250 of tax at 25%, on a trade you can't reverse.
  • A dividend reinvestment box left ticked buys 12 shares on day 20. That defers only about $189 of the $55,000 loss (12 of 3,500 shares), but it adds a code W line to Form 8949 and a basis you track for years.
  • A purchase of 100 shares in a spouse's IRA inside the window kills about $1,571 of the loss for good (100 of 3,500 shares), roughly $393 of tax value.
  • A Form 1099-B with no code W looks clean when the vest was delivered into a different account. The preparer's question in March, or an IRS notice later, is how it surfaces, and the fix is an amended return plus interest on the underpaid tax.

A lot-by-lot review with Mariner Wealth Advisors

Bring the lot report, the vesting letters and the ESPP calendar, and place no order until every date in them is checked against the 61-day window.

At Mariner Wealth Advisors, an advisor lines up your lot report, vesting letters and ESPP calendar, and works out the tax effect of selling on each date still open before recommending one. Our equity compensation advice service covers vests and exercises beyond a single trade.

We send the fee schedule in writing ahead of the first meeting. Households with $500K or more in investable assets can meet with us from anywhere in the US, over video or on the phone. Send in the form on this page to ask for the review.

  • CPA: does any vest, ESPP purchase or option exercise fall within 30 days of the sale date I'm considering?
  • Plan administrator: what are the delivery dates for my next four vests and purchases?
  • Broker: can I set specific lot identification as my default, and is dividend reinvestment off on the company stock?
  • Company counsel: is the window open on that date, do I need pre-clearance, and is a 10b5-1 plan worth setting up?
  • CPA: how much of this loss can I use over the next two years, given the gains I expect?

The loss sale is the easy part; the calendar is the hard part.

What people ask about a tax loss harvesting wash sale

Is tax loss harvesting on company stock worth it if I plan to hold the rest for years?
Often yes, when you also plan to sell low-basis lots. In the hypothetical, a $55,000 loss offsets a $150,000 gain and saves $13,750 at an assumed 25% rate. Without gains to offset, the benefit shrinks to $3,000 a year of deduction. The replacement money also starts at a lower basis than the shares you sold, so much of the benefit is deferral, not a permanent saving.
By what date must I sell to book a loss in this tax year?
The trade date must fall on or before December 31. But the 30 days after the sale still count, so a December 10 sale is exposed to any vest, ESPP purchase or dividend reinvestment through January 9. The last clean sale date is 31 days before any scheduled acquisition, so check next month's vest dates before December.
My Form 1099-B shows code W next to a sale. What does that mean?
Code W means the broker found a wash sale and reported part of your loss as disallowed. The amount appears as an adjustment on Form 8949, and the disallowed loss is added to the basis of the replacement shares. Check that the shares matched are the ones you expect, because the broker only sees purchases in that one account.
Can I buy my company's stock again after the window closes?
Yes. From day 31 after the sale, a purchase no longer triggers the wash sale rule. For a concentrated holder, though, buying back the stock restores the risk you sold to reduce. Most of the time the proceeds are better placed in the diversified mix you chose before the sale.
Does selling my other lots at a gain during the window cause a wash sale?
No. The wash sale rule is triggered by acquiring shares, not by selling them. In the hypothetical, selling lot C at a gain in December does not disturb the November loss on lots A and B. Selling is fine inside the window; vests, purchases, reinvested dividends and call options are what you must keep out.
Does my ESPP purchase trigger a wash sale if I sold other company shares at a loss?
It can. If the ESPP purchase date falls within 30 days before or after your loss sale, those shares are replacement shares, and a matching share of the loss is disallowed. Look up the purchase dates in your plan documents before you set a sale date. They are fixed in advance, which makes them the easiest dates to avoid.
Can I harvest a loss on company stock held in my 401(k)?
No. Gains and losses inside a 401(k) or IRA aren't reported on your return, so there is nothing to harvest. The reverse risk is real, though: company shares bought inside a retirement account within the window can still trigger the wash sale rule on a loss in your taxable account, and that loss can be lost for good.
Does buying a call option on my company's stock count as a purchase?
Yes. The IRS wash sale rule covers contracts or options to acquire substantially identical stock, so a call bought within the 61-day window can disallow the loss. Company policy and securities rules also limit hedging of company stock, so get your CPA and your legal department to sign off before you trade anything.
What happens to a disallowed loss if I never sell the replacement shares?
It stays inside the basis of those shares, so the benefit arrives only when you sell them. If you hold them until death, the basis generally resets to fair value for your heirs, and the deferred loss disappears. If a purchase in an IRA caused the disallowance, the loss is gone permanently.

Primary sources

This content is general information and education. It is not individual investment, tax or legal advice. Investing involves risk, including the possible loss of principal. Before making any financial decision about your equity awards or assets, consult a professional adviser who knows your full situation.

Start a conversation