1099-B Cost Basis vs Adjusted Cost Basis for ESPP stocks - which one is correct for tax filing?
I'm struggling with how to correctly report my ESPP stock sales from 2023 on my taxes. I sold some company stock through Fidelity last year that I had purchased through my employer's ESPP program. Now I've got my 1099-B and the Stock Plan Transactions Supplement documents, but I'm confused about which cost basis to use. The 1099-B shows one cost basis amount and says this is what's reported to the IRS. However, the supplemental document shows both a cost basis and an adjusted cost basis. The difference between these numbers is pretty significant. I started entering info in FreeTaxUSA, and it only asks for the cost basis from the 1099-B with no field for adjusted cost basis. But when I tried the same information in TaxAct, it specifically asked for the adjusted cost basis after I entered the regular cost basis. Obviously using the adjusted cost basis would give me a better refund, but I want to make sure I'm reporting correctly and legally. Can anyone clarify which one I should use? This is a long-term covered sale if that matters, and these were ESPP stocks purchased with an employee discount (though not technically part of my compensation package).
20 comments


Aidan Percy
This is actually a common point of confusion with ESPP stocks. The 1099-B cost basis is what your broker reports to the IRS, but it typically doesn't account for the employee discount you received when purchasing the shares, which is why there's also an adjusted cost basis on your supplemental document. The adjusted cost basis is generally the correct one to use because it accounts for the employee discount, which is often treated as compensation income. When you purchased the shares at a discount, you essentially received additional compensation that should have been reported on your W-2 at that time. Here's a simple way to think about it: If you already paid income tax on the discount when you acquired the shares (check your W-2 from the purchase year), then you should use the adjusted cost basis to avoid double taxation. If the discount wasn't previously taxed, then you would use the regular cost basis.
0 coins
Fernanda Marquez
•But won't using a different cost basis than what's reported to the IRS on the 1099-B trigger a mismatch in their system? I'm worried about getting a letter from the IRS if what I report doesn't match what they received from Fidelity.
0 coins
Aidan Percy
•That's a valid concern, but this is actually a common situation the IRS is familiar with. When you file your return, you'll use Form 8949 to report your stock sales. There's a specific adjustment code (code "B") that you can use to indicate that you're adjusting the basis from what was reported on the 1099-B. You'll need to include a description like "ESPP adjustment" alongside this code. As long as you properly document the adjustment on Form 8949, the IRS reconciliation system should match everything correctly. Just make sure to keep all your supporting documentation (both the 1099-B and the Stock Plan Transaction Supplement) in case of questions.
0 coins
Norman Fraser
I had this exact same headache last year with my Vanguard ESPP sales. I spent hours trying to figure out what to do until I found https://taxr.ai which literally saved me thousands. Their system analyzed my 1099-B and supplemental documents and showed me exactly how to report it correctly. For ESPP stocks specifically, they explained that the adjusted cost basis accounts for the discount you received as an employee, which is usually already taxed as ordinary income on your W-2. Using just the regular cost basis from the 1099-B would actually cause you to pay tax TWICE on the same money. Their document analysis tool flagged this issue immediately and showed me which numbers to use. It's worth checking out if you have these complicated stock situations.
0 coins
Kendrick Webb
•Does it work if you have RSUs too? My company gives both ESPP and RSUs and I'm completely lost trying to figure out the tax implications when selling.
0 coins
Hattie Carson
•I'm skeptical about these tax tools. Wouldn't TurboTax do the same thing if you just follow their prompts? They specifically ask for adjusted cost basis for a reason.
0 coins
Norman Fraser
•For RSUs, absolutely! I had a mix of both types of equity and it handled everything correctly. The system actually shows you exactly where the compensation element has already been taxed and where you might be missing things. It even explained how RSUs differ from ESPP in tax treatment. Regarding TurboTax, you're right that they do ask for adjusted cost basis, but they don't actually explain WHY or help you verify if you're entering the right number. I found that taxr.ai actually showed me which specific line items on my forms contained the information I needed, and it explained the tax implications of each choice. It's more like having a tax expert look over your specific documents rather than just following generic prompts.
0 coins
Kendrick Webb
I just wanted to update that I tried taxr.ai after seeing it mentioned here and it was super helpful! I uploaded my 1099-B and supplemental statements and it highlighted exactly which numbers I should be using for my ESPP sales. The system showed me that for my specific situation, I needed to use the adjusted cost basis but also showed me exactly how to report this on Form 8949 with the correct adjustment code so the IRS wouldn't flag a mismatch. It even generated a simple explanation I could attach to my return to clarify the adjustment. The analysis made it clear that my employee discount had already been taxed as ordinary income when I purchased the shares (it pointed to the specific W-2 box where this would have been included), so using the adjusted basis prevented double taxation. Really helped me understand the whole ESPP tax situation!
0 coins
Destiny Bryant
I struggled with reaching the IRS for clarification on ESPP basis reporting last year. After being on hold for 3+ hours multiple times and eventually giving up, I discovered https://claimyr.com through a colleague. You can watch how it works here: https://youtu.be/_kiP6q8DX5c They got me connected to an actual IRS agent in about 20 minutes who was able to confirm that for ESPP sales, you need to use the adjusted cost basis AND use code "B" on Form 8949 to explain the adjustment. The agent even emailed me the specific IRS publication sections that covered this situation. It was shocking to actually get through to someone who could answer my specific question instead of just generic advice. I ended up saving around $1,800 by correctly reporting my basis.
0 coins
Dyllan Nantx
•This sounds too good to be true. The IRS phone system is notoriously impossible to navigate. How does this service actually work? Do they just keep calling for you or something?
0 coins
TillyCombatwarrior
•Even if you get through to an IRS agent, can you really trust their advice? I've heard horror stories of people getting different answers from different agents about the same tax question.
0 coins
Destiny Bryant
•They use a system that navigates the IRS phone tree automatically and holds your place in line. When they're about to connect with an agent, you get a call so you can speak directly with the IRS representative. You don't have to sit there listening to hold music for hours. I had the same concern about getting reliable information. What I did was ask the agent to specifically reference the IRS publication number and section that covered my situation. The agent directed me to Publication 550 where it clearly explains the ESPP basis adjustment process. I also made notes about the agent's ID number and the date/time of the call just in case there were any questions later. Having that official documentation from the source made me feel much more confident in my filing.
0 coins
TillyCombatwarrior
I was incredibly skeptical about Claimyr when I first heard about it, but after getting increasingly frustrated with my ESPP tax situation, I finally gave it a try last week. I can't believe I waited so long. Got connected to an IRS tax specialist in about 15 minutes who actually specialized in equity compensation issues. She walked me through exactly how to handle my 1099-B vs adjusted basis situation and confirmed that I needed to use the adjusted basis since my employee discount had already been included in my W-2 income. She even emailed me IRS Publication 525 with the relevant sections highlighted about ESPP treatment. Saved me from potentially overpaying by nearly $2,200 on my taxes. The peace of mind knowing I'm filing correctly according to an actual IRS specialist is worth so much more than the time I wasted trying to figure this out on my own.
0 coins
Anna Xian
Couldn't you just call your broker (Fidelity) and ask them to explain the difference? I had a similar issue and my E*Trade rep was able to clarify everything and even email me documentation about which basis to use for tax purposes.
0 coins
Axel Bourke
•I actually tried that first, but the customer service rep I spoke with just kept referring me back to the forms and saying "consult your tax advisor." They wouldn't give me any specific guidance on which number to use for tax filing. Did you talk to a specific department at E*Trade? Maybe I need to ask for someone in a different department?
0 coins
Anna Xian
•You need to specifically ask for someone in their Equity Awards or Stock Plan Services department. The regular customer service people usually aren't trained on the tax implications of ESPP sales. When I called, I first got a generic rep who wasn't helpful, but then I asked to be transferred to someone who specializes in employer stock plans. That person was able to explain that the adjusted cost basis accounts for the compensation element that was already reported on my W-2 when I purchased the shares. They even sent me a detailed explanation document afterward that I could keep with my tax records.
0 coins
Jungleboo Soletrain
Just be careful with all this. I used the adjusted cost basis last year thinking it was correct, and ended up getting a CP2000 notice from the IRS saying I underreported my capital gains because the basis I used didn't match what my broker reported. Had to file an amended return and pay the difference plus interest. Such a headache!
0 coins
Rajan Walker
•That's because you probably didn't use the adjustment code on Form 8949. If you just enter the different basis without using code "B" and explaining the adjustment, the IRS automated matching system will flag it as a discrepancy.
0 coins
Savannah Weiner
I've been dealing with ESPP tax issues for years and want to clarify a few things based on my experience. The key is understanding that when you purchase ESPP shares at a discount, that discount is typically treated as compensation income and should appear on your W-2 in the year you bought the shares (not when you sold them). If you can find your W-2 from the year you purchased the ESPP shares, look for the discount amount included in your wages. If it's there, then you should definitely use the adjusted cost basis to avoid being taxed twice on the same money. However, if for some reason the discount wasn't included in your W-2 when you purchased (which can happen with some plan structures), then you'd use the regular cost basis and pay tax on the discount as part of your capital gains. The most important thing is to use Form 8949 with the proper adjustment code when your basis differs from the 1099-B. Don't just enter a different number without explanation - that's what triggers those CP2000 notices people mentioned. I'd also recommend keeping detailed records of your ESPP purchases, including purchase dates, discount amounts, and whether those discounts were included in your W-2 income. This documentation will be invaluable if you ever need to justify your basis calculations to the IRS.
0 coins
Miranda Singer
•This is incredibly helpful! I'm new to dealing with ESPP taxes and this whole thread has been eye-opening. Your point about checking the W-2 from the purchase year is exactly what I needed to hear. I just looked back at my 2022 W-2 (when I bought the shares I sold in 2023) and I can see the discount amount was indeed included in my wages box. So it sounds like I should definitely use the adjusted cost basis to avoid double taxation. I had no idea about Form 8949 and the adjustment codes - FreeTaxUSA didn't really explain this part clearly. It sounds like I need to make sure I'm documenting the adjustment properly so the IRS systems don't flag it as a mismatch. Thank you for breaking this down in such clear terms!
0 coins