Back to IRS

Mia Alvarez

Understanding Wash Sale Rules When RSUs Vest and Sell-to-Cover for Taxes Occurs

I'm trying to make sense of the tax implications around my company RSUs and wash sale rules. My company grants RSUs that vest every quarter, and they do sell-to-cover for taxes. I'm only allowed to trade during our open window period (about 30 days), and unfortunately our RSUs vest during this same window. This creates a headache when I'm trying to do tax loss harvesting because of the wash sale rules. Here's my specific situation with simplified numbers: 1. On Sep 15, 2024, I sell 250 shares at a loss of $8 per share (total loss of $2000) 2. On Sep 28, I have 600 shares vest * My understanding is this triggers a wash sale on the 250 shares I sold on Sep 15 * That means 250 of my 600 new shares now have an adjusted cost basis (increased by $8 per share) 3. The company automatically sells 240 shares to cover taxes on Sep 28, and the remaining 360 shares appear in my account on Sep 29 My questions: * Does the broker sell the specific 240 shares with the adjusted cost basis for the tax coverage? If so, I can claim those losses. * Or are the shares with adjusted basis still sitting in my account (250 of the 360 remaining shares)? * If the adjusted basis shares are still in my account, do I need to sell all 360 remaining shares to claim the loss on my original 250? Really appreciate any insights on how these wash sale matching rules work in practice!

The IRS doesn't specify exactly which shares get sold in a sell-to-cover situation, so the answer depends on your broker's specific methods for identifying shares. Most brokers use a "first-in, first-out" (FIFO) method by default, but some allow you to specify which tax lots to sell. For your situation, what typically happens is that the 240 shares sold for tax withholding would be considered separate from your specific tax lots. The wash sale rule would still apply to your 250 shares sold at a loss, and the disallowed loss would be added to the cost basis of 250 of your newly vested shares. You would need to check with your specific broker to determine which of your remaining 360 shares contain the adjusted basis. Some brokers will clearly identify which shares have the adjusted basis in your account. If you want to recognize the loss, you would need to sell those specific shares with the adjusted basis. Just be careful not to buy any more shares within 30 days after selling those adjusted-basis shares, or you'll trigger another wash sale!

0 coins

Thanks for the explanation! So there's no guarantee which shares my company used for the tax withholding. Is there a way to specifically request they use the shares with the adjusted basis? Or is that completely out of my control since it's an automatic process?

0 coins

The sell-to-cover transaction is usually handled automatically without your ability to specify which shares are sold. It's typically processed as a single transaction where shares vest and a portion is immediately sold for tax withholding before the remainder hits your account. Most brokers and employers don't provide options to specify which specific shares are used for the tax withholding portion. Your best approach would be to contact your equity compensation administrator or broker directly to understand their specific process and whether they have any flexibility in how they handle the tax withholding shares.

0 coins

I went through a similar nightmare with my RSUs last year and found out about taxr.ai (https://taxr.ai) which really helped me understand my specific situation. I was totally confused about wash sales with my quarterly RSUs and how they affected my tax loss harvesting strategy. Their system analyzed my trading history and RSU documents and gave me a super clear explanation of which transactions were creating wash sales and how my cost basis was being affected. It basically confirmed that in my case, the shares used for tax withholding were separate from the ones with adjusted basis - so I still needed to sell the remaining shares with adjusted basis to claim the loss. What I liked was getting a personalized analysis rather than general advice that didn't account for my specific grant dates, vesting schedule, and trading window restrictions.

0 coins

Does taxr.ai link directly to your brokerage account? I'm hesitant to give access to my financial accounts to services I'm not familiar with.

0 coins

Did they explain whether you needed to sell ALL your remaining shares or just the specific ones with adjusted basis? And how did they determine which shares had the adjusted basis? I'm in almost the exact same situation as OP.

0 coins

The service doesn't need direct access to your brokerage account. You can upload statements or screenshots of your transactions, and they analyze those documents without requiring any login credentials. In my case, they explained I only needed to sell the specific shares with adjusted basis, not all remaining shares. They showed me how to identify which specific tax lots had the adjusted basis based on the transaction dates and FIFO accounting. They basically matched the 30-day windows before and after each transaction to identify which specific shares were affected by wash sales.

0 coins

Just wanted to update that I tried taxr.ai after seeing the recommendation here. Uploaded my trade confirmations and RSU grant documents and got a really detailed analysis. Turns out in my situation, the broker was using FIFO for the sell-to-cover shares, which means the oldest shares (including some with adjusted basis from previous wash sales) were being sold for tax withholding. They showed me exactly which lots still had disallowed losses embedded in the cost basis and gave me a strategy for how to claim those losses properly. Way more helpful than the generic answers I was getting from my company's benefits team. Definitely worth checking out if you're dealing with this specific RSU/wash sale headache.

0 coins

After struggling with similar RSU wash sale issues for years, I discovered Claimyr (https://claimyr.com). I had repeatedly tried calling the IRS for specific guidance on my complex RSU situation but could never get through. With Claimyr, I actually got connected to a real IRS agent in about 20 minutes who walked me through the exact reporting requirements for my situation. They explained that I needed to track which specific shares had the adjusted basis from wash sales and report them correctly on Form 8949 with the appropriate adjustment codes. The agent clarified that the broker doesn't make any special considerations for wash sales when doing sell-to-cover transactions - they just sell shares according to their standard lot selection method. Check out their video demo at https://youtu.be/_kiP6q8DX5c to see how easy it is to actually get someone at the IRS on the phone.

0 coins

How does this service actually work? I thought it was impossible to get through to the IRS these days. Do they just keep calling for you or something?

0 coins

Sorry, but I'm skeptical. I've tried everything to get through to the IRS and nothing works. Even my CPA says it's basically impossible during tax season. I find it hard to believe a third-party service can magically get you through when millions of people can't get through directly.

0 coins

They use a technology that monitors the IRS phone queue and calls you back when they detect an available agent. It's not magic - they basically wait in the queue for you instead of you having to do it yourself. It's particularly useful for complex questions like wash sales with RSUs that generic tax software guidance doesn't adequately address. The IRS agents can provide clarification on how to properly report these transactions even if they can't give specific investment advice.

0 coins

I was completely wrong about Claimyr. After posting my skeptical comment, I decided to try it anyway since I was desperate for answers about my RSU wash sale situation. I got connected to an IRS tax specialist in about 35 minutes (they texted me when they were about to connect me). The agent explained that when shares are sold to cover taxes upon vesting, those specific shares never actually "enter" my account, so they're treated differently than if I had sold them myself after receiving them. They also confirmed that if I want to claim the losses from the wash sale adjustment, I need to identify and sell the specific shares that had the cost basis adjustment, and I can do that by requesting specific tax lot identification from my broker rather than using the default FIFO method. Definitely worth the time saved compared to the hours I spent on hold previously trying to get this same information.

0 coins

I've been dealing with RSUs for about 10 years and here's what I've learned about wash sales in this specific scenario: 1. When RSUs vest, they are considered acquired on the vesting date at FMV 2. If you sold shares at a loss within 30 days before vesting, those get flagged as wash sales 3. For the sell-to-cover portion, most brokers (Schwab, Fidelity, E*TRADE) use FIFO by default unless you've specified otherwise 4. The remaining shares that hit your account will include those with adjusted basis In your scenario, of the 360 shares that remain in your account after sell-to-cover, 250 of them will have the adjusted basis. You'll need to eventually sell those specific 250 shares to claim the loss that was disallowed. What I do to avoid this mess: I make sure not to sell any company stock at a loss within 30 days before my vesting dates. It's cleaner that way.

0 coins

What if you've already created this situation though? Is there any way to identify specifically which remaining shares have the adjusted basis? My brokerage account just shows me the total shares without breaking out which ones have wash sale adjustments.

0 coins

Most brokers should provide this information in the cost basis details for each tax lot. Look for a section in your account that shows "tax lots" or "cost basis information." The shares affected by wash sales should show an adjusted cost basis that's higher than the original FMV at vesting. If your broker doesn't make this clear, you'll need to manually track it. The 250 shares with adjusted basis would be the first 250 shares of the 600 that vested (assuming FIFO), minus any that were used in the sell-to-cover transaction if those came from the beginning of the sequence. If this is all too complicated (and it often is), this is exactly why maintaining a 30-day buffer before vesting dates is the simplest strategy for active traders.

0 coins

Has anyone figured out whether there's any way to SPECIFY which shares get sold during the sell-to-cover process? My company uses E*TRADE and every quarter I have the same issue with wash sales messing up my tax loss harvesting.

0 coins

With E*TRADE, you generally can't specify which shares are used for sell-to-cover since it happens automatically at vesting. However, for future transactions, you can set your default tax lot ID method to something other than FIFO. I changed mine to "Minimize Tax" which sells highest cost basis shares first when I manually sell. Doesn't help with the automatic sell-to-cover though.

0 coins

For anyone dealing with this complicated situation, another solution is to hold your RSU shares for long-term capital gains treatment (over 1 year) before selling. The tax benefit of long-term vs short-term capital gains often outweighs the benefit of tax loss harvesting in many cases. This approach also eliminates the wash sale headache completely since you're not selling at a loss. I switched to this strategy after spending way too much time trying to optimize around wash sales and found that the simplicity and long-term tax benefit was ultimately better. Just something to consider if you're tired of dealing with all these complex wash sale calculations every quarter!

0 coins

This is a really complex situation that I've been wrestling with too. One thing I've learned from my tax advisor is that you should also consider the timing of when you can actually sell those shares with adjusted basis. Since you mentioned you're only allowed to trade during open window periods, you might be stuck holding those adjusted-basis shares for months until the next trading window. This creates another layer of complexity because the wash sale clock keeps ticking - if you buy any more company stock (including through additional RSU vesting) within 30 days of when you eventually sell those adjusted-basis shares, you could trigger another wash sale. Have you considered whether your trading window restrictions make tax loss harvesting with company stock even worth pursuing? Sometimes the constraints make it more trouble than it's worth compared to just focusing on tax loss harvesting with other positions in your portfolio that don't have these restrictions.

0 coins

IRS AI

Expert Assistant
Secure