The Most Common ESPP Filing Error: Form 8949 Cost-Basis Double Taxation
By VestedGrant Editorial · Updated · Tax year 2026 · 8 min read
Charles François Daubigny, The Marsh, 1871 Brokers report ESPP cost basis on Form 1099-B as the discounted purchase price, and IRS instructions say that for options granted after 2013 the reported basis will not include income you already reported. The ESPP ordinary income is already in your W-2 wages, so the seller must raise basis on Form 8949 with code B and a column (g) adjustment. Without that fix, the same dollars are taxed twice, as wages and as capital gain.
Facts checked November 21, 2026 · Figures for tax year 2026 · 9 sources
Key takeaways
- For compensatory options granted after 2013, including ESPP options, the basis on Form 1099-B does not include the ordinary income you reported, according to the IRS Form 8949 instructions.
- The correct ESPP basis is the purchase price plus the ordinary income recognized on the sale, whether the disposition is qualifying or disqualifying.
- On Form 8949 the fix is code B in column (f), the broker's basis in column (e), and the correction in column (g).
- A qualifying ESPP disposition requires holding the shares more than 2 years from the offering (grant) date and more than 1 year from the purchase date.
- A refund of tax paid twice is claimed on Form 1040-X, generally within 3 years after filing the original return or 2 years after paying the tax, whichever is later.
On this page (show sections)
- Why is the ESPP cost basis on Form 1099-B too low?
- How do you correct ESPP basis on Form 8949?
- How is a qualifying ESPP disposition reported?
- How is a disqualifying ESPP disposition reported?
- Where do you find the ESPP ordinary income amount?
- Why does importing the 1099-B cause the double count?
- What if the W-2 leaves out the ESPP income?
- Will the IRS catch an ESPP double count?
- How do you find and fix past ESPP basis errors?
- Questions people ask next
- Sources
Consider a product manager at a public semiconductor company who sells 1,200 ESPP shares in 2025, a hypothetical used throughout this page. Her purchase price across three lots averaged $52 and she sold at $98, a gain of $46 per share. She imports the broker’s Form 1099-B into tax software, which reports a capital gain of $55,200 (1,200 × $46). Her W-2 already includes $21,600 of ordinary income from the same sale ($18 per share). Unless she adjusts basis, $21,600 is taxed twice: once as wages and once as capital gain. If the shares were long-term and she sits in the 15% long-term capital gains bracket for 2025, the duplicated $21,600 costs $3,240 of extra federal tax, before any 3.8% net investment income tax.
Neither form is wrong. The 1099-B shows basis as the discounted price paid, and the W-2 shows the compensation. The error is filing without reconciling the two, and the IRS instructions put the fix on the taxpayer.
Why is the ESPP cost basis on Form 1099-B too low?
The ESPP cost basis on Form 1099-B is too low because brokers report only what the employee paid for the shares. The IRS Instructions for Form 8949 state that for compensatory options granted after 2013, the basis reported on Form 1099-B will not reflect any amount the holder included in income. An ESPP purchase right is a compensatory option, so every modern ESPP lot is affected.
The correct tax basis is the purchase price plus the ordinary income recognized. Take a share bought for $34 where $15 of the discount became ordinary income on the employee’s W-2 when the share was sold. The broker reports $34 of basis. The correct basis is $34 + $15 = $49.
The broker has no access to the W-2 figure, so a sale at $98 shows a reported gain of $64 per share. Of that $64, $15 is ordinary income already taxed as wages and only $49 is real capital gain. If the seller files the $64, the $15 is counted twice.
How do you correct ESPP basis on Form 8949?
The ESPP basis correction goes on Form 8949 as an adjustment, not as a changed basis figure. The IRS instructions say to enter the basis shown on Form 1099-B in column (e) even though that basis is incorrect, and to correct the error with an adjustment in column (g), explained by code B in column (f).
For each ESPP lot sold:
- Column (d): sale proceeds, copied from Form 1099-B.
- Column (e): cost basis as the broker reported it, usually the discounted purchase price.
- Column (f): code B.
- Column (g): the adjustment, entered as a negative number in parentheses, equal to the ordinary income already reported as wages.
Column (h) then shows the corrected gain or loss.
Commercial tax software usually makes this adjustment when the user goes through its employee stock purchase plan interview and answers that the ordinary income is already on the W-2. The software then fills in code B and column (g) itself. The error happens when the 1099-B is imported in bulk and the ESPP lots are treated as ordinary stock sales, so the reported basis flows through unchanged.
How is a qualifying ESPP disposition reported?
A qualifying ESPP disposition, meaning a sale more than 2 years after the offering (grant) date and more than 1 year after the purchase date, produces ordinary income equal to the lesser of two amounts, according to IRS Publication 525: the discount measured at the offering date, or the actual gain over the price paid.
- Ordinary income: the lesser of the offering-date discount (for a 15% plan, 15% of the offering-date price) or the actual gain.
- Broker basis on Form 1099-B: the purchase price paid.
- Correct basis: the purchase price paid plus the ordinary income.
- Capital gain: sale proceeds minus the correct basis. The gain is long-term, because a qualifying sale is always more than a year after purchase.
Take an illustrative share with an offering-date price of $100, a purchase price of $85 and a qualifying sale at $150. The actual gain is $65 and the offering-date discount is $15, so ordinary income is $15. The correct basis is $85 + $15 = $100 and the long-term capital gain is $50.
Without the adjustment, the return shows $65 of capital gain from the 1099-B plus $15 of wages from the W-2, a total of $80 of income on a share that produced $65 of economic gain. The extra $15 is taxed at the seller’s long-term capital gains rate: $2.25 per share at 15% or $3.00 per share at 20%, plus 3.8% if the net investment income tax applies. Across a 1,000-share sale at the 15% rate, that is $2,250 of tax paid twice.
How is a disqualifying ESPP disposition reported?
A disqualifying ESPP disposition, meaning a sale before both holding periods are met, produces ordinary income equal to the full discount at purchase: the fair market value on the purchase date minus the price paid. IRS Publication 525 says this amount is not limited to the gain on the sale, so it applies even when the shares later fall.
- Ordinary income: purchase-date fair market value minus the purchase price.
- Broker basis on Form 1099-B: the purchase price paid.
- Correct basis: the purchase price plus the ordinary income, which equals the purchase-date fair market value.
- Capital gain or loss: sale proceeds minus the purchase-date fair market value, short-term or long-term depending on how long the shares were held after purchase.
Using the same illustrative numbers, with a purchase price of $85, a purchase-date value of $100 and a disqualifying sale at $150, ordinary income is $15, correct basis is $100 and the capital gain is $50. The structure matches the qualifying case. The difference is that a disqualifying sale measures the discount at the purchase date, while a qualifying sale caps it at the offering-date discount. When the stock rose between offering and purchase, the disqualifying ordinary income is larger, and so is the basis adjustment needed to avoid double tax.
Where do you find the ESPP ordinary income amount?
The ESPP ordinary income amount comes from the employer’s records, not from the broker. The places to look are:
- Form W-2, box 1. When the employer knows about the sale, the ordinary income is normally included in box 1 wages. Some employers also itemize it in box 14 or on a supplemental statement that lists ESPP dispositions by lot.
- Form 3922. IRS Topic 427 says this employer form reports the dates and values needed to work out the correct ordinary and capital amounts: offering date, purchase date, fair market value on each date and the price paid.
- The plan’s brokerage portal. Many stock plan administrators publish a supplemental cost-basis report showing the adjusted basis per lot.
W-2 box 12 code V is not the place to look. The IRS W-2 instructions reserve code V for income from exercising nonstatutory stock options, so qualified ESPP income does not belong there. For a sale that spans several purchase lots, the ordinary income must be worked out lot by lot, because each lot has its own offering and purchase prices.
Why does importing the 1099-B cause the double count?
Importing the 1099-B causes the double count because the import carries over the broker’s basis without asking whether the shares came from an ESPP. Most commercial tax software has a separate employee stock purchase plan interview, and the questions are typically:
- Was this an ESPP sale?
- What was the purchase price? (Form 3922)
- What was the fair market value on the purchase date? (Form 3922)
- What was the fair market value on the offering date? (Form 3922)
- Was the sale qualifying or disqualifying? (from the holding periods)
- Was the ordinary income included on the W-2?
With those answers, the software computes the ordinary income, enters code B and puts the adjustment in column (g). When the user accepts the import and moves on, the software has no reason to adjust, and the discounted purchase price flows to Form 8949 as basis. The result is a return that overstates capital gain by exactly the amount of ESPP income already in wages.
What if the W-2 leaves out the ESPP income?
When the W-2 omits the ESPP ordinary income, the problem runs the other way: if the seller raises basis without reporting the wage income anywhere, income is understated. The ESPP ordinary income is taxable whether or not the W-2 shows it. For the parallel case of ISO shares, Publication 525 says that when the W-2 leaves the ordinary income out of box 1, the taxpayer reports it as wages on Schedule 1 (Form 1040). The seller has two ways to handle it:
- Report the ordinary income on the return as wages and take the matching basis adjustment on Form 8949.
- Ask the employer for a corrected W-2 (Form W-2c) and file, or amend, once it arrives.
The first route keeps the filing on schedule. The second keeps the employer’s records and the return consistent but may delay filing. Either way, the ordinary income has to appear on the return exactly once, and the basis adjustment has to match it.
Will the IRS catch an ESPP double count?
The IRS matching program will not reliably flag an ESPP double count, because the error raises the tax owed. The CP2000 notice exists for cases where information from employers or brokers does not match the return. In the double-count case the return reports the full 1099-B gain and the full W-2 wages, so every third-party figure appears and nothing looks underreported. The overpayment stays unless the taxpayer finds it.
The opposite mistake does produce notices. A seller who raises basis for ESPP income that never appears on the W-2 or anywhere else on the return reports less income than the employer and broker forms support, and that gap is what the matching program is designed to surface.
How do you find and fix past ESPP basis errors?
Past ESPP basis errors are found by comparing three documents for each year with ESPP sales: Form 1099-B, Form 3922 and the Form 8949 that was filed. For each lot, the correct basis is the purchase price plus the ordinary income in wages. If the filed Form 8949 shows only the purchase price and no code B adjustment, the return overstated capital gain by that ordinary income.
Overpayments are recovered on Form 1040-X. The IRS says a refund claim is generally due within 3 years after the original return was filed or 2 years after the tax was paid, whichever is later, with early returns counted from the April deadline. As of late 2026, a 2023 return filed in April 2024 is still open until about April 2027, while a 2022 return filed in April 2023 closed in about April 2026.
For the 2025 return, filed in early 2026, the same check applies before filing: run each ESPP sale through the software’s ESPP interview rather than accepting a bulk import of the 1099-B.
Questions people ask next
Does the ESPP basis adjustment apply to non-qualified (non-Section 423) ESPPs?
Yes. In a non-qualified ESPP the discount is usually taxed as ordinary income at purchase rather than at sale, but the reporting problem is the same. The ordinary income the employee already reported raises the cost basis of the shares, and if the broker's Form 1099-B shows only the cash paid, the seller corrects it on Form 8949 with code B and a column (g) adjustment.
What if I never received Form 3922 for my ESPP shares?
Form 3922 comes from the employer, not the broker, and it reports the offering date, purchase date, fair market values and price paid for shares bought under a Section 423 ESPP. An employee who cannot find it can ask the employer's stock plan administrator or download it from the plan's brokerage portal. Payroll records and plan documents can fill gaps, but the form is the cleanest record.
Is a basis adjustment needed if the ESPP sale produced a loss?
For a qualifying ESPP disposition sold at a loss, IRS Publication 525 says there is no ordinary income and the loss is a capital loss, so no wage amount needs to be added to basis. A disqualifying disposition is different: the purchase-date discount is ordinary income even when the shares are later sold at a loss, so basis still rises by that amount and the capital loss grows.
How far back can I amend returns to recover ESPP double tax?
The IRS says a refund claim on Form 1040-X is generally due within 3 years after the original return was filed or 2 years after the tax was paid, whichever is later, counting early returns from the April deadline. A 2023 return filed in April 2024 can therefore be amended until about April 2027, and a 2025 return filed in April 2026 until about April 2029.
Does the same 1099-B basis problem affect RSUs, NSOs and ISOs?
The IRS Form 8949 instructions say that for compensatory options granted after 2013, broker-reported basis will not include income the holder already reported, which covers NSO exercises and disqualifying ISO sales. RSU shares are not options, and brokers handle their basis differently, so the RSU figure on Form 1099-B should be compared with the vest-date value reported as wages before filing.
Sources
- 26 U.S.C. § 423 (Employee stock purchase plans)uscode.house.gov
Supporting text
no disposition of such share is made by him within 2 years after the date of the granting of the option nor within 1 year after the transfer of such share to him;
- Rev. Proc. 2025-32irs.gov
Supporting text
Heads of Household $66,200 $579,600 All Other Individuals $49,450 $545,500
- IRS Topic no. 559, Net investment income taxirs.gov
Supporting text
A 3.8 percent net investment income tax (NIIT) applies to individuals, estates, and trusts that have net investment income above applicable threshold amounts.
- IRS Instructions for Form 8949 (2025)irs.gov
Supporting text
For compensatory options granted after 2013, the basis information reported to you on Form 1099-B or Form 1099-DA (or substitute statement) won’t reflect any amount you included in income upon grant or exercise of the option.
- IRS Publication 525, Taxable and Nontaxable Income (ESPP, holding period satisfied)irs.gov
Supporting text
you must include in your income as compensation the lesser of: The excess of the FMV of the share at the time the option was granted over the option price
- IRS Topic no. 427, Stock optionsirs.gov
Supporting text
This form will report important dates and values needed to determine the correct amount of capital and ordinary income to be reported on your return.
- IRS General Instructions for Forms W-2 and W-3irs.gov
Supporting text
Code V—Income from the exercise of nonstatutory stock option(s). Show the spread (that is, the fair market value (FMV) of stock over the exercise price of option(s)
- IRS: File an amended returnirs.gov
Supporting text
Generally, to claim a refund, you must file an amended return within 3 years after the date you filed your original return or 2 years after the date you paid the tax, whichever is later.
- IRS: Understanding your CP2000 noticeirs.gov
Supporting text
The income or payment information we received from third parties, such as employers or financial institutions, doesn't match what you reported on your tax return.
Facts checked November 21, 2026 · Tax year 2026
Find a fee-only advisor for your equity
Four questions. You see up to three fee-only advisors listed on Wellspent whose records include equity compensation, right here. Free, no obligation.
- What happens next: your matches appear on this page straight away. Advisors are not sent your details: you open a record and contact the advisor yourself.
- What is shared: your email stays with VestedGrant and is not passed to advisors. The advisor directory (Wellspent) receives your state and topic; an AI model ranks the matches from your answers, without your email. Details in the privacy policy.
Finding fee-only advisors for your answers…
Three advisors picked for your situation
Each is a fee-only advisor listed on Wellspent whose record includes equity compensation. Open a record to see how they work and to contact them directly. No referral fees either way.
No advisor matched those details yet
Try again with "Other / outside the US" as the state, or browse equity-compensation advisors on Wellspent.