RSU Taxation & the $0 Cost Basis Problem
Why your broker reports the wrong cost basis on RSU sales, how it creates phantom income, and how to fix it on your tax return.
The $0 cost basis error can cost you thousands
- Brokers frequently report RSU sales with $0 cost basis on Form 1099-B, making it appear as though your entire sale price is taxable gain
- Without correction, you are effectively taxed twice on the same income — once when RSUs vest (as W-2 wages) and again when you sell (as capital gain)
- On a $50,000 RSU sale, a $0 basis error can create an extra $15,000+ in phantom tax depending on your bracket
How RSU Taxation Works
Restricted Stock Units (RSUs) are taxed in two stages. Understanding both stages is critical to avoiding the double-taxation trap:
Stage 1: Vesting
When your RSUs vest, the Fair Market Value (FMV) on the vesting date is included in your W-2 as ordinary income. Your employer withholds federal and state taxes, Social Security, and Medicare. You have already paid tax on this amount.
Stage 2: Sale
When you sell the shares, you report the sale on Form 8949 and Schedule D. Your gain or loss is the difference between the sale price and your cost basis (the FMV on vesting date).
The $0 Cost Basis Problem
Here is where things go wrong for many H-1B holders. When your broker sends Form 1099-B for the RSU sale, the cost basis is often reported incorrectly:
- $0 basis — The broker reports zero, making the entire sale price appear as gain
- Blank basis — The cost basis field is empty (Box 1e on 1099-B)
- Grant price as basis — Some brokers use $0 (the RSU grant price, which is always zero since RSUs have no purchase cost)
The IRS receives the same incorrect 1099-B data. If you file your return using the reported basis without correction, the IRS will accept it — and you will overpay. The IRS has no reason to question you paying more tax than owed.
Concrete Example
You receive 100 RSUs that vest when the stock price is $150/share. The $15,000 FMV is included in your W-2 — you have already paid tax on it. Later, you sell all 100 shares at $160/share for $16,000. Your actual gain is $16,000 − $15,000 = $1,000. But if the 1099-B reports $0 basis, it shows a $16,000 gain — meaning you would pay tax on $15,000 of phantom income that was already taxed as wages.
How to Fix It
You correct the basis on Form 8949 by reporting the sale with the correct adjusted basis. Here is the process:
- Find the vesting date FMV. Check your employer's equity portal (E*Trade, Fidelity NetBenefits, Schwab Equity Awards, Morgan Stanley StockPlan) for the "Release Market Value" or "Fair Market Value at Vest."
- Calculate the correct basis. Basis = FMV on vesting date × number of shares sold. If you sold shares from multiple vesting lots, calculate each lot separately (FIFO order by default).
- Report on Form 8949. Enter the sale with the broker-reported basis, then use column (f) adjustment code "B" (basis reported to IRS is incorrect) and column (g) to add the correct adjustment amount.
- Cross-reference with your W-2. RSU vesting income is included in your W-2 Box 1 wages (and sometimes itemized in Box 14 as a memo entry). Verify that Box 1 includes the total vesting FMV for shares vested during the year. Note: Box 12 code V is for nonqualified stock option (NSO) income, not RSUs.
Same-Day Sale vs. Hold and Sell
| Scenario | Tax Treatment | Holding Period |
|---|---|---|
| Same-day sale | Minimal or zero capital gain (sale price ≈ FMV at vest). All income taxed as W-2 wages. | N/A |
| Sell within 1 year of vesting | Short-term capital gain (or loss) at ordinary income rates. | Short-term |
| Sell after 1+ year of vesting | Long-term capital gain at preferential rates (0%, 15%, or 20%). | Long-term |
The holding period for RSUs starts on the vesting date, not the grant date. This is important for determining whether your gain qualifies for long-term capital gains treatment.
Tax Withholding on RSU Vesting
When RSUs vest, your employer typically sells a portion of the shares to cover tax withholding. The standard supplemental income withholding rate is 22% federal (37% for amounts over $1 million in a year). State withholding is additional.
This "sell-to-cover" withholding is often insufficient for high earners, leading to an underpayment situation at tax time. If you have significant RSU income, consider making estimated tax payments to avoid underpayment penalties.
Common Mistakes
- Filing with $0 cost basis. The most expensive mistake. Always correct the basis to the vesting-date FMV.
- Using the wrong vesting-date price. Use the closing price on the vesting date (or the price your employer used for W-2 reporting), not the grant date price.
- Forgetting to account for sell-to-cover shares. The shares sold for withholding are still a taxable event that needs Form 8949 reporting.
- Mixing up lots. If you have multiple vesting dates, each lot has a different basis. Do not average them.
- Not claiming wash sale adjustments. If you sell RSU shares at a loss and buy the same stock within 30 days, the wash sale rule (IRC §1091) applies and disallows the loss.
How Our Platform Handles This
H1B TaxFile includes automatic RSU cost basis correction:
- Import your 1099-B data and the platform detects RSU sales with $0 or incorrect basis.
- Enter your vesting dates and FMV from your equity portal, and the platform auto-calculates the correct basis per lot.
- Form 8949 is generated with the proper adjustment codes (B for basis not reported to IRS, or B for incorrect basis).
- W-2 Box 1 wages are cross-referenced to verify RSU income consistency (RSU income has no dedicated Box 12 code — Box 12 code V is for NSOs only).
- Schedule D aggregates all capital gains correctly, separating short-term and long-term.
IRS source: Stock Options — IRS Topic No. 427
Frequently Asked Questions
Skip the complexity. We handle all of this for you.
H1B TaxFile supports every form in this guide — FATCA, PFIC, FTC, RSU basis correction, and 22 more H-1B-specific features. Flat price, no surprises.
H1B TaxFile Team
Written by the H1B TaxFile editorial team — tax professionals and software engineers who specialize in U.S. federal tax filing for H-1B visa holders, F-1 students, and nonresident aliens.
Reviewed by a licensed CPA with international tax experience.
Disclaimer: This guide is for educational purposes only and does not constitute tax or legal advice. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.