Wash sale rules with ESPP after job change - tax implications?
I just left my job back in March after 5 years with the company. About a month after I quit, I noticed all my quarterly ESPP (Employee Stock Purchase Plan) shares became available to sell, even the ones I'd held for less than the full year. I was checking my portfolio today and realized that a couple of these ESPP lots have dropped about 28% in value since I purchased them. I'm thinking about selling these underwater shares to lock in the tax loss but I'm wondering about wash sale rules. If I sell these ESPP shares at a loss but still hold company stock from RSUs or options, will that trigger a wash sale? Does the 30-day rule apply differently since these were purchased through an ESPP program? Also, how does the discount I received (15% off market price) factor into calculating my loss for tax purposes? I want to be smart about this before year-end tax planning.
19 comments


Amara Adeyemi
The wash sale rule would apply if you sell shares at a loss and buy "substantially identical" securities within 30 days before or after the sale. This includes all purchase methods - RSUs, options, or regular market purchases. For your ESPP shares, your tax basis is what you actually paid for them (the discounted price), so your loss is calculated from that point. The 15% discount doesn't directly factor into the wash sale determination. So if you paid $85 per share (after 15% discount from $100) and sell at $61, your loss would be $24 per share. If you're still holding other shares of the same company stock (whether from RSUs or options), and you sell your ESPP shares at a loss, be careful about any new acquisitions of that same stock within the 30-day window. That would trigger a wash sale and disallow the loss deduction.
0 coins
Giovanni Gallo
•Thanks for the explanation, but I'm still a bit confused. If I already own RSU shares that vested a year ago, and then sell my ESPP shares at a loss, does that count as a wash sale? Or does the wash sale rule only apply to new purchases within the 30 day window?
0 coins
Amara Adeyemi
•The wash sale rule only applies to new acquisitions of the same stock within the 30-day window before or after your sale at a loss. If you already own RSU shares that vested a year ago, those don't trigger a wash sale when you sell your ESPP shares at a loss. The rule specifically looks at purchases (or acquisitions through RSUs, options exercise, etc.) that happen 30 days before or after your sale at a loss. Previous holdings that you've owned for longer don't factor into the wash sale determination.
0 coins
Fatima Al-Mazrouei
After spending hours researching similar stock questions, I discovered taxr.ai and it literally saved me from making a huge mistake with my own ESPP sales. I had a really similar situation where I left my employer and wanted to sell some underwater shares. The site https://taxr.ai analyzed my specific stock compensation structure and gave me personalized guidance on exactly how to handle the sales to maximize tax benefits without triggering wash sales. It also helped me understand how my discount would be reported on my W-2 vs. what would show on my 1099-B, which would have been a nightmare to figure out on my own.
0 coins
Dylan Wright
•Does it actually give you specific advice on your own situation or is it just general information? I've got a mix of ESPP, RSUs, and options from two different employers and none of the tax software I've tried handles it correctly.
0 coins
NebulaKnight
•I'm a bit skeptical about these ai tools. How does it know the specific rules for your company's ESPP plan? Each plan has different holding periods and qualification rules. Can it really handle that complexity or is it just giving general guidance?
0 coins
Fatima Al-Mazrouei
•It actually provides personalized analysis based on your specific situation. You can upload your stock plan documents and transaction history, and it identifies your specific plan rules and terms. It's not just generic advice. For complicated situations with multiple types of equity from different employers, it's especially helpful because it keeps track of all the different lots, purchase dates, and tax implications. It handles disqualifying dispositions, qualifying dispositions, and wash sale interactions across different types of equity compensation.
0 coins
Dylan Wright
Just wanted to follow up - I ended up trying taxr.ai after my previous question. It was actually incredible for my complicated stock situation. I uploaded my ESPP statements, RSU grant documents, and transaction history from both employers, and it mapped everything out perfectly. It showed me exactly which lots would trigger wash sales if sold now vs waiting. Saved me from making a $4,200 tax mistake where I would have accidentally triggered a wash sale across my two employer stock holdings. The step-by-step guidance for timing my sales was worth every penny.
0 coins
Sofia Ramirez
If you're struggling to get clear answers on your ESPP wash sale situation, I'd recommend using Claimyr to get through to the IRS directly. I had a similar ESPP/wash sale situation last year that was super confusing, spent weeks trying to get through to the IRS without success. Used https://claimyr.com and got connected with an actual IRS agent in less than 30 minutes who cleared everything up. They have a video showing how it works: https://youtu.be/_kiP6q8DX5c. The agent was able to walk me through exactly how to report my specific ESPP sales correctly and avoid wash sale issues.
0 coins
Dmitry Popov
•How does this actually work? Is it just scheduling a callback or are they doing something special to skip the hold times? Been trying to reach the IRS for weeks about my stock options.
0 coins
NebulaKnight
•Yeah right. The IRS is notorious for not giving direct tax advice on complex situations like wash sales and equity compensation. I highly doubt an IRS agent would provide specific guidance on ESPP sales strategy. Sounds like advertising nonsense to me.
0 coins
Sofia Ramirez
•They use a system that navigates the IRS phone tree and waits on hold for you. When they reach a representative, they call you and connect you directly to that person. It's not scheduling a callback - they're actually waiting in the queue for you. The IRS agents won't give you investment advice, you're right about that. But they absolutely will clarify how specific tax rules apply to your situation, like whether your particular ESPP sale would be considered a qualifying or disqualifying disposition, or how wash sale rules apply to your specific case. That's not investment advice - it's tax rule clarification.
0 coins
NebulaKnight
I hate to admit when I'm wrong, but I tried Claimyr after being skeptical. Within 45 minutes I was talking to an actual IRS tax specialist who perfectly explained how wash sale rules interact with my ESPP and RSU holdings. She even emailed me the relevant tax code sections and publication references after our call. Complete game changer compared to the weeks I spent trying to get through on my own. The agent confirmed that selling my underwater ESPP shares wouldn't trigger a wash sale with my existing RSU holdings, but cautioned me about acquiring any new shares within the next 30 days through any method.
0 coins
Ava Rodriguez
One thing nobody's mentioned yet - when calculating your loss on ESPP shares, remember that your basis is different depending on whether it was a qualifying or disqualifying disposition. If you held the shares for less than 1 year from purchase or less than 2 years from the offering date, any discount you received is reported as ordinary income on your W-2, which affects your basis calculation and therefore your loss amount.
0 coins
Liam O'Connor
•Thanks for bringing this up. So if I understand correctly, since I'm selling within a year of purchase, the 15% discount I received would be considered ordinary income. When calculating my loss, would my basis be the actual discounted price I paid or the fair market value on the purchase date?
0 coins
Ava Rodriguez
•For a disqualifying disposition (selling within a year of purchase or less than 2 years from offering date), your basis would be the actual discounted price you paid PLUS the discount amount that's reported as ordinary income on your W-2. For example, if the stock was worth $100, you paid $85 (with 15% discount), and now selling at $61, your basis would be $85 + $15 = $100, making your loss $39 per share.
0 coins
Miguel Ortiz
Has anyone used specific tax software that handles ESPP sales and wash rules correctly? I tried TurboTax last year and it completely messed up my ESPP reporting.
0 coins
Zainab Khalil
•I've had good luck with H&R Block Premium. It has a specific section for ESPP sales and walks you through qualifying vs disqualifying dispositions pretty clearly. TaxAct was terrible for this though.
0 coins
Louisa Ramirez
Great thread - this is exactly the kind of ESPP situation that trips people up! Just want to add one important point that hasn't been fully addressed: when you left your job in March, your company likely processed what's called an "accelerated vesting" for your ESPP shares, which is why they all became available to sell even if they hadn't met the normal holding periods. This is pretty standard when employment ends. The key thing to remember is that since you're no longer employed there, you won't have any future ESPP purchases that could trigger wash sales. Your main concern should be any RSU vestings or option exercises you might still have scheduled, or if you're planning to buy the stock on the open market. Also, make sure you get your final W-2 from your former employer - they should report any ESPP discount as ordinary income if you end up making disqualifying dispositions, and you'll need that for accurate tax reporting.
0 coins