Why does your 1099-B show a $0 or low basis for RSU shares?
Because the broker's basis may leave out the wage income you were already taxed on at vest. Your basis is generally what you paid for the shares (for RSUs, generally nothing), plus the amount included in your wages. File a $0 basis as-is and the vest value is taxed twice: on your W-2 and again as a capital gain.
The IRS acknowledges this pattern for a close cousin of RSUs. The Form 8949 instructions say that for compensatory options granted after 2013, "the basis information reported to you on Form 1099-B ... won't reflect any amount you included in income upon grant or exercise of the option." RSU shares are not options, but brokers can report them the same way, so check every lot. Some brokers send a supplemental statement with an adjusted basis; use it as a cross-check, not as proof.
How do you correct the basis on Form 8949?
The Form 8949 instructions give a specific code for this. If you received a 1099-B "and the basis shown in box 1e on Form 1099-B ... is incorrect," enter code B in column (f). What goes in column (e) depends on which box the transaction falls under:
- If the broker reported basis to the IRS (box A for short-term, box D for long-term), enter the basis exactly as shown, "even though that basis is incorrect," and put the correction as an adjustment in column (g).
- If basis was not reported to the IRS (box B or box E), enter the correct basis in column (e) and -0- in column (g).
A simple illustration with made-up round numbers: 100 shares vest at $150, so $15,000 lands on your W-2. You later sell them for $17,000. With a $0 basis, the reported gain is $17,000. With the correct $15,000 basis, the gain is $2,000. The adjustment is the $15,000 of wages already taxed.
Do not adjust a lot whose basis is already right. Adding the wage amount to a basis that already includes it understates your gain by the same amount.
How do you tie a sale back to W-2s from two states?
Start from federal Box 1, which includes every vest for the year. Each vest's value should match the wage amount your basis adjustment uses. That link, vest value in wages and the same value in basis, is what keeps the income from being taxed twice.
The state lines are a different check. Box 16 shows annual state wages for each state, and Box 17 shows the tax withheld for that state. They are not a per-vest record, and they do not have to add up to Box 1 after a move. New York's TSB-M-12(5)I says that once a nonresident works in New York during the year, the New York wages box shows the same amount as federal Box 1, even though New York taxes only part of it. A matching Box 16 therefore does not prove double withholding. To see what was actually withheld on a vest, use the pay statement for that vest.
The state split of the vest itself comes from the grant-to-vest workday ratio, which you report on the nonresident return, such as California Form 540NR. Our double-state withholding guide covers reading the W-2 after a move.
What about shares sold to cover taxes at vest?
Sell-to-cover sales show up on the 1099-B too. When they happen at or near the vest-date price, the corrected gain or loss is small, but it still needs the same basis fix. A $0 basis on a sell-to-cover lot can turn a few dollars of real gain into thousands of dollars of phantom gain.
Does the basis fix change your state returns?
Yes, because states start from the same sale. The corrected gain is what your state of residence on the sale date taxes. California, for example, sources "the gain or loss from the sale of stocks or bonds" to "where you are a resident at the time of the sale," per FTB Pub. 1031.
If you sold after leaving California, the gain belongs on your new state's return, if it taxes gains, not on the California side of Form 540NR. It still appears in the total-income columns that Form 540NR uses to figure California's effective tax rate; see selling RSUs after moving states.
State basis can occasionally differ from federal basis. California's Schedule CA (540NR) instructions note that "the California basis of the assets ... may be different from the federal basis." Check whether your return shows a difference for your shares.
What records should you keep?
Keep enough to rebuild each lot from vest to sale without the broker's help. The vest confirmation and the matching W-2 wage amount are the records of the vest-date value that was already included in your W-2 wages, which is what a basis adjustment relies on. Hold them for as long as you hold the shares, plus the years a return can be reviewed.
- Vest confirmations showing date, shares, and fair market value for each lot.
- Form 1099-B and any supplemental basis statement from the broker.
- W-2s from every year a lot vested, plus the pay statements for each vest.
- Your Form 8949 adjustment worksheet, lot by lot.
To estimate the gain and which state taxes it, use the RSU sale calculator. For the vest side, start with the multi-state calculator and the Form 540NR guide. This is general information; a CPA can confirm the adjustments for your lots.
Sources & last verified
- Instructions for Form 8949 (2025), Sales and Other Dispositions of Capital Assets (Internal Revenue Service). A wrong RSU basis on a 1099-B that was reported to the IRS is fixed with code B and an adjustment, not by changing the reported basis. Source text:
enter the basis shown on Form 1099-B or Form 1099-DA (or substitute statement) in column (e), even though that basis is incorrect
- TSB-M-12(5)I, Employer reporting requirements (July 5, 2012) (New York State Department of Taxation and Finance). A New York state wages box equal to federal Box 1 is the required reporting for such a nonresident; it does not show double withholding. Source text:
If at any time during the tax year a nonresident employee performs services in New York State, the amount of wages that must be reported in the State wages, tips, etc. box on federal Form W-2 is the same amount of federal wages required to be reported in box 1
- 2025 Instructions for Schedule CA (540NR) (California Franchise Tax Board). A California resident's gain on selling RSU shares is taxed at ordinary California rates. Source text:
California taxes long and short term capital gains as regular income.
- FTB Publication 1031, Guidelines for Determining Resident Status (2025) (California Franchise Tax Board). The date California residency ends is decided by residency rules and ties, not by a moving date alone. Source text:
The underlying theory of residency is that you are a resident of the place where you have the closest connections.
Educational content only. Not tax or legal advice. State sourcing rules depend on your facts; see how the calculator works and consult a licensed CPA before filing.