Back to IRS

Mateo Gonzalez

ESPP double tax — did the IRS actually see my cost basis correctly?

Filed my 2025 return back in April and I've been going back and forth with myself ever since about whether I got my ESPP shares right. My company offers a purchase plan where shares are bought at a discount, and when I sold them this year I reported everything through my tax software. The problem is I'm now reading that employees can end up paying tax twice on ESPP shares if the ordinary income portion that showed up on their W-2 isn't added to the cost basis before reporting the sale. My 1099-B from the brokerage showed a cost basis that looked way too low, so I basically may have reported a capital gain that was already partly taxed as wages. I haven't gotten any notice yet, but I'm sitting here wondering if I need to file a 1040-X to fix this before the IRS sends me something. Has anyone dealt with ESPP double tax and had to go back and amend? Or did the IRS catch it on their end somehow?

Your instinct to look at this closely is right. The W-2 income piece from an ESPP sale — the discount that your employer already counted as wages — should be added to whatever the brokerage reported as your cost basis. If the 1099-B only shows the actual purchase price and not the income piece that was already on your W-2, the gain looks bigger than it really was, which means you may have over-reported and overpaid. A 1040-X would let you correct that. The amended return tool on the IRS site shows status starting about 3 weeks after you submit it, and they usually take 8 to 12 weeks to process, sometimes up to 16. Worth getting a tax professional to look at the basis math before you file anything though — the numbers need to be right.

0 coins

The 8-to-12-week window is what's making me nervous, honestly. If I file the 1040-X now, is there any way to check that they actually received it before that window even starts?

0 coins

Your 1040-X receipt isn't confirmed through Where's My Refund — there's a separate amended return status checker. It won't show anything for about the first 3 weeks after you submit, so you just have to sit with the uncertainty for a bit. After that, it should update to show it was received.

0 coins

Three weeks before it even shows up feels like a long time when you're not sure if something's lost in the mail. Did you send it certified?

0 coins

Tax year 2024, I filed a 1040-X in June because I'd made the same kind of basis mistake — not ESPP specifically, but a sale where the ordinary income piece was already in my wages and the brokerage didn't adjust the basis. Claimyr (claimyr.com) stayed on hold with IRS on my behalf so I could get a live agent on the line without spending my whole afternoon redial-ing 800-829-1040. The agent pulled up my 1040-X and confirmed the amended return had been received and was in their system with the date it came in. She said the 16-week outer limit is real so I shouldn't expect anything sooner, and that I'd see the update in the amended return status tool first before any letter came. Demo of how that works for getting someone on the line: https://youtu.be/_kiP6q8DX5c

0 coins

The confirmation that it was actually received is what I'd need most right now. I might look into this.

0 coins

Your 1040-X — did you mail it or was there an e-file option? I thought amended returns could only go by mail but maybe that's changed.

0 coins

My 1040-X for 2024 went by mail because my preparer sent it. E-filing amended returns is available for some years through certain software now, but I didn't go that route. Either way the IRS receipt date is what starts the clock.

0 coins

ESPP double tax is one of those things that trips up a lot of people and honestly the brokerage isn't always helpful. The 1099-B they send uses the original purchase price as the cost basis in some cases, not the adjusted one that accounts for what was already taxed as income. So on paper your gain looks huge but part of it was already in box 1 of your W-2. If you went through the sale in your tax software and just entered the numbers from the 1099-B without manually adjusting the basis, there's a decent chance you overpaid. Pulling your wage and income transcript for 2025 would let you see exactly what the IRS has on file for your W-2 wages and your 1099-B proceeds side by side.

0 coins

Where do I get that wage and income transcript? Is it through the IRS Online Account?

0 coins

Your IRS Online Account at https://www.irs.gov/your-account is where you'd sign in with ID.me or Login.gov and get it. Under transcripts you'd choose the wage and income type for 2025 — it'll show what your employer reported on the W-2 and what your brokerage filed on the 1099-B. That way you can see both numbers and compare them to what you reported.

0 coins

Wage and income transcripts can be downloaded right there in the account — you don't have to wait for one in the mail. That's the fastest way if you need to do the math quickly.

0 coins

Went through almost this exact thing two years ago and my preparer told me the IRS doesn't automatically fix a basis error for you — they process what you reported, and if you overpaid you have to claim it back yourself through an amended return. No notice is going to show up saying hey you paid too much. The only time they reach out is if they think you underreported. So if your basis was too low and your gain was too high, that money just sits there unless you go get it.

0 coins

That's honestly the most useful thing I've read in this thread — I'd assumed there was some automatic reconciliation happening on their end.

0 coins

The preparer above is right. The IRS doesn't compare your W-2 wages to your 1099-B sale proceeds and calculate whether your basis was double-counted — that's your job on the return. Their system would only flag things if what you reported looks like less income than they expected, not more.

0 coins

Exactly. And the 3-year window to claim a refund from an overpayment matters here too — if you filed your 2025 return in April 2026, you have until roughly April 2029 to file a 1040-X and claim any refund from the basis error. But waiting doesn't gain you anything.

0 coins

My situation was slightly different — I sold ESPP shares from two separate purchase periods in the same year, and the basis issue was different for each lot. One was a qualifying disposition and one wasn't, and my software treated them the same way which was completely wrong. By the time I figured it out I had already filed. Getting a tax professional who actually knows ESPP rules to review the return before you amend is probably the safest move here because the qualifying vs. disqualifying distinction changes how the income is split between wages and capital gain.

0 coins

Are qualifying dispositions handled differently on the W-2 too? I only had one purchase period so maybe I don't have that complication, but I want to understand it.

0 coins

Your W-2 would only show the ordinary income portion for a disqualifying disposition — that's the piece where you sold too soon relative to the offering date and grant date. With a qualifying disposition, the income treatment is different and your W-2 may or may not reflect it the same way. This is genuinely one for a tax professional or the form's own instructions on the IRS's site because how it applies to your specific lot and holding period is not something anyone here can say for certain.

0 coins

The qualifying vs. disqualifying thing tripped me up too. I thought as long as I held the shares for over a year I was fine, but the two-year clock runs from the offering date, not the purchase date, and those are different.

0 coins

An IRS notice showed up for my 2024 tax year asking about a stock sale — it wasn't about ESPP specifically but the basis issue was similar. Claimyr sat on hold with IRS while I waited, and I picked up when the agent came on. She read me the notice's date, confirmed what it was asking for, and explained that the amount on the notice reflected the proceeds reported on my 1099-B without any basis adjustment. She said I could respond to the notice with documentation showing the corrected basis, or I could file a 1040-X if I hadn't already responded. I went the 1040-X route.

0 coins

Your notice came before you filed the 1040-X — did responding with the corrected basis slow things down compared to just amending?

0 coins

My timeline ended up about the same either way based on what the agent told me. The 1040-X route is cleaner because it corrects the return directly rather than creating a separate dispute record for the notice.

0 coins

Did the notice have its own phone number on it, or did you use the main IRS line?

0 coins

The notice had its own number in the top right, which is what I used — that's the right one for a specific notice. The main 800-829-1040 is more of a general account line.

0 coins

Honestly this whole situation is a mess because employers, brokerages, and the IRS all use slightly different terminology and there's no single document that ties it all together for you. The brokerage might show one cost basis number, the employer puts a different number in box 12 or in your wages, and your tax software just takes whatever you feed it. I've had three W-2s in one year from switching jobs and the ESPP piece was from a company I left mid-year, so my basis documents were scattered across three different portals. Eventually got everything reconciled but it took a full weekend.

0 coins

Three W-2s in one year with an ESPP on top — that's a situation where a transcript would have been really helpful just to confirm what the IRS actually had on file for each employer before you filed.

0 coins

Your point about the transcript is exactly what I wish I'd done first. If I'd pulled a wage and income transcript before filing, I could have confirmed all three W-2s were in the system and that the 1099-B numbers matched what the IRS had. Instead I was just trusting the documents I'd collected myself.

0 coins

There's a lot of confusion in these threads about what 'adjusting the cost basis' actually means mechanically. When I first sold ESPP shares I thought the adjustment was something the IRS did automatically behind the scenes when they matched the W-2 to the 1099-B. It doesn't work that way at all. You're the one who reports the adjusted basis on your Schedule D or Form 8949 — you enter a higher basis number than what the 1099-B says, and the difference between that corrected number and what the brokerage reported should match the amount that was already in your W-2 wages. Nobody does that for you. I over-reported a capital gain by a couple thousand dollars the first time I went through it.

0 coins

So I'd need to look at the actual number that showed up as income on my W-2 and manually add that to the brokerage's basis figure before entering it on the schedule?

0 coins

Your W-2 wages box and the ESPP compensation detail (sometimes in a separate employee stock purchase plan section of your pay statements or in a brokerage supplemental document) is where you'd find that number. Then yes, you add it to the per-share cost basis before computing the gain. Your brokerage might also have a 'supplemental' tax document that already shows the adjusted basis — some do and some don't, depending on who holds the plan.

0 coins

The supplemental document is key and I've seen people miss it because it isn't a tax form — it's not a 1099-B, it's a separate PDF the brokerage provides alongside the official forms. It won't show up in import tools automatically.

0 coins

My ESPP was through a former employer and I actually had to contact HR to get the grant and offering date documentation. The brokerage only had the purchase date and the sale date, not the original offering date, and you need that to figure out whether a disposition is qualifying or not. It took two weeks to get the right document from HR which delayed my preparer. Heads up for anyone in a similar spot — if you've left the company, that information might not be as easy to pull as you'd think.

0 coins

Two weeks just for the documentation — that's frustrating. Did your former employer still have everything or did some of it end up being with the plan administrator?

0 coins

My former employer's HR said the plan documentation was held by the third-party administrator, so I had to contact them directly. HR gave me the contact info but couldn't pull the files themselves.

0 coins

Filing season question because I'm seeing ESPP stuff all over this forum right now: does the adjusted basis fix apply only to shares sold in a disqualifying disposition, or does it also apply when you've held long enough to qualify? I thought the adjustment was always necessary regardless, since the discount piece is always in your wages no matter how long you hold. Or is that wrong?

0 coins

Your question touches on something a lot of people get backward. The ordinary income that shows up in your wages is different depending on which type of disposition it is — the amount and what it represents change. In both cases there is some income in your wages, but the basis adjustment needs to match what specifically landed there, and that's where the form's own instructions and a tax professional matter more than a forum thread. The 'just always add the full discount' approach can be wrong for a qualifying disposition.

0 coins

That's more nuanced than I thought. Pulling the instructions for Form 8949 this weekend to read it through properly before my preparer appointment.

0 coins

Two months after filing my 2025 return I noticed my refund was smaller than expected and suspected it might be tied to how my broker reported the ESPP sale. Claimyr took over the hold on 800-829-1040 and I got an agent on the phone. She pulled up my account and read me the refund amount the IRS had issued and the date it was sent — it matched what was deposited but was lower than what I'd filed for. She said a notice explaining any adjustment would be mailed and to look for it. I haven't gotten the notice yet but at least I know the refund amount on their end is confirmed.

0 coins

Your experience with the refund amount being confirmed by phone is helpful to know. If the notice explains there was an adjustment, would that be the right time to respond or would you amend preemptively?

0 coins

From what I understood, the notice would say what the adjustment was for and have a deadline to respond if I disagreed. At that point I'd either respond with documentation or file a 1040-X — but the agent said to wait for the notice rather than guess at what the adjustment covers.

0 coins

Waiting for the notice makes sense rather than filing an amended return and then also having an open notice response — having two things in flight at once can apparently slow processing on both ends.

0 coins

My tax software imported the 1099-B directly from the brokerage and auto-populated the basis field. The problem is the import just grabbed the unadjusted number and I didn't notice until I was reviewing line by line after submitting. Had I caught it before hitting file I could have manually overridden the imported figure in the software. Now I'm dealing with the same 1040-X process everyone here is talking about.

0 coins

The auto-import trap is exactly what I think happened to me. Did you mark the basis as 'incorrect' on Form 8949 before submitting or did you just go with what the software filled in?

0 coins

My software had a checkbox to mark the reported basis as incorrect and report a different one — I either didn't see it or didn't understand what it was asking. That checkbox is what would have let me enter the adjusted number without it looking like I was just making up a different figure.

0 coins

The 'basis reported incorrectly' code on Form 8949 is exactly for this situation. It tells the IRS you're not disputing the proceeds, just correcting what the brokerage reported as the cost side.

0 coins

Scenario I want to run by people: what if the ESPP income did NOT end up on the W-2 — meaning the employer just didn't include it in wages for some reason? In that case the double tax problem wouldn't exist, but would you then have an underreported income issue instead? I've heard this can happen when payroll and the equity plan administrator aren't synced up properly at smaller companies.

0 coins

Your scenario does happen and it creates the opposite problem. If the discount or the bargain element wasn't included in your wages when it should have been, you'd technically have underreported ordinary income, and the IRS might pick that up when they match the 1099-B proceeds to your return and the numbers don't add up to them. The right move in that situation is to flag it with your employer's payroll department first to find out if a corrected W-2 is coming.

0 coins

Does a corrected W-2 — the W-2c form — have to be filed before you can amend the return, or can you amend with just the documentation of what should have been reported?

0 coins

You'd want the corrected W-2 in hand before amending, ideally. The 1040-X should reflect what the corrected documents show, and if the W-2c hasn't been issued yet, your preparer might advise waiting rather than amending twice.

0 coins

My preparer warned me about this for my 2025 return when I told her I'd sold ESPP shares mid-year. She immediately asked which brokerage held the plan and whether they were known for providing the adjusted basis on the supplemental sheet. When I told her the name, she said to get the supplemental document specifically — not just the 1099-B — before we could do anything. Without it, she said we'd have to reconstruct the basis from the grant documents, which is doable but slower.

0 coins

Your preparer knew exactly what to ask for without you having to explain the basis issue first — that's the right person to have in your corner for ESPP stuff.

0 coins

It honestly made the whole thing smoother. If you're going to get a preparer to help with a 1040-X, finding one who has seen ESPP returns before is worth the extra effort because they know what documents to look for without you having to piece it together.

0 coins

Tried to sort this out through my IRS Online Account first to see if there was any additional information about the ESPP proceeds that the brokerage had reported. Under the wage and income section for 2025 I could see the 1099-B data and the W-2 data separately. The numbers didn't lie — the brokerage basis was clearly too low compared to what the W-2 showed as wages from the same equity plan. That gave me everything I needed to calculate the adjustment before I even talked to a preparer.

0 coins

Your account showed both the W-2 and the 1099-B from the brokerage in the same place? I didn't realize the online account had that level of detail.

0 coins

The wage and income transcript in the account shows what third parties reported to the IRS for each category — W-2 wages, 1099-B proceeds, etc. It's not a full return transcript, just what your employers and financial institutions sent in. But for comparing the two numbers, it was exactly what I needed.

0 coins

For 2025 data, the transcript might not be fully populated yet depending on when the brokerage filed their 1099 information with the IRS. Some of that data comes in later in the year.

0 coins

Coming at the ESPP double tax issue from a slightly different angle: there's also the question of whether the ordinary income piece was included in the right box of the W-2. Some employers put equity compensation income in box 12 with a code, some just roll it into box 1 wages without any separate notation. If you can't find the ESPP income broken out anywhere on your W-2, it doesn't necessarily mean it wasn't taxed — it might just be buried in box 1. Pulling last year's pay stubs to find the equity compensation entry is sometimes the only way to confirm.

0 coins

My W-2 from this employer doesn't break it out separately — it's just a total wages number. I'm going to have to go back to my final pay statement to see if there's a line for it.

0 coins

Your final pay stub of the year should show a year-to-date breakdown. Look for a line that might say something like 'ESPP income' or 'equity compensation' — the exact label depends on your employer's payroll system. The dollar amount there is what should have added to your basis before you calculated the gain.

0 coins

Has anyone filed a 1040-X for this specific situation and gotten a response from the IRS? I want to know if they push back on the basis adjustment or if they process it without questions when the amended basis can be traced to the W-2 wages.

0 coins

My 1040-X for a basis issue — not ESPP specifically — went through without any follow-up from the IRS. I included a brief explanation statement and attached a copy of the relevant W-2 and brokerage documents. The status tool showed processing complete about 11 weeks after I submitted, and the refund came by check about two weeks after that.

0 coins

The explanation statement on a 1040-X matters a lot. If you clearly state what line you're correcting, what the original amount was, what the corrected amount is, and why (ordinary income already included in wages), it gives the reviewer what they need without having to dig. Vague statements slow things down.

0 coins

An explanation statement — is that a separate page or is there a specific form for it?

0 coins

Your explanation goes in Part III of the 1040-X itself — there's a section specifically for explaining the changes you made. You write it out in plain language. Some people attach extra documentation but the Part III explanation is what the IRS reviewer looks at first.

0 coins

Saw on another post that someone thought they could just file an amended return and then not pay any tax owed on the corrected return until the IRS processed it. Wanted to flag that logic is backward — if you're amending because you underpaid (not the situation here, but adjacent), you owe that amount now, not after the IRS sends a notice. For the OP's situation, where the basis adjustment should produce a refund, it works the other way, but just pointing it out because amending to get money back and amending because you owe money are very different from a timing standpoint.

0 coins

My situation would be amending to get a refund, so the timing logic works in my favor — I can file the 1040-X and wait. But good to know the distinction if the numbers end up going the other way after a preparer reviews them.

0 coins

If your preparer finds you actually owe more after they look at it, the interest on what's owed keeps running from the original due date regardless of when you file the 1040-X. That's one reason to get the numbers confirmed quickly rather than waiting until the last minute.

0 coins

My company had an ESPP that was administered through a third-party platform, and when I left the company the administrator sent me a final statement with the full purchase history. That document had the offering date, purchase date, fair market value on the purchase date, and purchase price — everything needed to calculate the basis correctly. If you're having trouble tracking down the original offering documentation, ask the plan administrator rather than HR because that's usually who holds the detail-level records.

0 coins

The plan administrator route is good to know. HR at my current company told me to 'check the brokerage' and the brokerage said to 'check with HR' — classic loop.

0 coins

The HR and brokerage loop is something I ran into too. The plan administrator is a third party that most employees never interact with directly, so it's not obvious that they're the right contact. Sometimes the brokerage IS the administrator, which is even more confusing, but calling the specific equity plan line rather than the general account line makes a difference.

0 coins

Filing a 1040-X doesn't stop the IRS from sending a notice if they were already in the process of generating one about the same issue. That's something my preparer warned me about — if you amend while a notice is in progress, you might get the notice anyway after the 1040-X is submitted, and then you'd need to respond to the notice to let them know the amendment is already pending. It doesn't create a double fix, but it does create a timing situation where both are open at once.

0 coins

If a notice arrives after I've submitted the 1040-X, would I respond to the notice by mail using the number on it, or just reference the pending amendment?

0 coins

Your response to the notice would reference the 1040-X and its submission date. The agent on the notice's phone line can see both in the account and will note that the amendment is pending. Generally you just respond by the notice's deadline, explain the 1040-X covers the same issue, and attach the submission confirmation if you have it.

0 coins

Does submitting a 1040-X while a notice is open pause the notice deadline or does the deadline still run?

0 coins

The deadline on the notice still runs — a pending 1040-X doesn't automatically extend it. That's why responding to the notice by its date is important even if you've already filed the amendment.

0 coins

IRS AI

Expert Assistant
Secure