Cost basis of restricted stock units — what number goes on Form 8949?

My first RSUs vested this past February and I sold the shares the same day. My broker sent a 1099-B and the cost basis in box 1e is $0. My W-2 already has the full fair market value at vesting in box 1 as ordinary income, so I know I was taxed on the spread. But now my tax software is computing a huge capital gain on the sale because it's using $0 as my basis. I tried manually editing the basis but I'm not sure I'm entering the right number or the right adjustment code. The 1099-B says the proceeds match what I sold it for. What is the actual cost basis of restricted stock units in this situation and what do I put on Form 8949 to fix it?

37 comments

Did your employer include the vested value in box 1 of your W-2? That's the key question here. If yes, your basis is the fair market value per share at vesting times the number of shares — that's what you already paid tax on as ordinary income. The $0 on the 1099-B is the problem; brokers often report $0 or the wrong number for RSU shares because they don't always have the data.

Naomi A.

Author

Yes, the full FMV at vesting is in my W-2 box 1. So my basis should be that FMV amount, not $0?

Exactly right. Your basis in RSU shares is the FMV on the vesting date that was included as compensation on your W-2. The broker reporting $0 is common for RSUs — it doesn't mean your basis is actually $0. I ran into this last year. I uploaded my 1099-B and my pay stub showing the vest detail to taxr.ai and it walked through each lot, matched the vest-date price to the proceeds, and flagged where the basis column needed to be corrected. That saved me from accidentally double-paying on the same income.

Naomi A.

Author

Good to know the basis really is the W-2 FMV amount. I'll look into that for checking my numbers.

How long between vesting and when you sold? Same day same-day sale is almost always short-term. That changes which box you check on Form 8949.

Naomi A.

Author

Sold the same day they vested, so definitely short-term.

Then you're in Part I of Form 8949. Box A, B, or C depends on whether the 1099-B shows basis reported to the IRS. Since box 1e is $0, check whether box 12 (basis reported to IRS) or box 5 (noncovered security) on the 1099-B is checked to tell covered from noncovered.

So on Form 8949 you check the box for whether basis was reported to the IRS. If the shares are covered securities and the 1099-B shows basis reported (box A in Part I), you put the $0 from the 1099-B in column (e) even though it's wrong, then enter code B in column (f), and put the correction as a negative number in column (g) — specifically, the difference between your correct basis and $0, in parentheses.

This is the step people miss. You don't just type the right basis in column (e) and move on. The IRS instructions are specific: for covered securities with basis reported to the IRS, column (e) stays as the 1099-B amount, and the fix goes into column (g).

Naomi A.

Author

So I leave column (e) at $0 and put the correction in column (g) as a negative? That feels backward but I'll follow the form instructions.

Is there any chance your employer's equity platform already adjusted the basis? Some platforms like Fidelity or Schwab do report the correct compensation basis for RSU lots. Worth checking your 1099-B box 1e against your vest confirmation before you assume it needs correcting.

Naomi A.

Author

Box 1e is literally $0.00. And the proceeds are the full sale price. So the whole amount would be a capital gain if I didn't fix it.

Yeah that's the classic RSU basis problem. Fix it on 8949 as described.

Worth noting: since you sold the same day you vested, your capital gain or loss is essentially zero or close to it. The share price rarely moves between vest and same-day sale. So after the basis correction the Schedule D should show a very small short-term gain or even a small loss, not a large gain.

This is usually true but not always. If the stock dropped a dollar or two between the vest price and the execution price of the sale, you'd have a small short-term capital loss.

What payroll system does your employer use? I ask because sometimes the W-2 supplemental data worksheet your employer provides shows the exact per-share vest price, which is what you need for column (e) or (g). I had a similar situation with two different vest dates in one year and I couldn't reconcile the numbers from the broker statements alone. I used Taxr to compare my vest confirmation emails against the 1099-B lots — it listed every mismatch and drafted the 8949 rows for me to review. Saved a lot of back-and-forth.

Naomi A.

Author

My employer did send a supplemental W-2 breakdown. I'll cross-reference that with the vest confirmation to get the right per-share FMV.

Can you hold RSU shares after vesting and sell later? Asking because if you do that, the holding period starts the day after vesting, and you'd have long-term treatment after more than one year. The basis is still the FMV at vesting that went through W-2.

Yes, you can hold them. And per Publication 550, the holding period for securities traded on an established market starts the day after the trade date you bought — which for RSUs is effectively the day after vesting. So hold more than a year and it's long-term on Form 8949 Part II.

Does the same basis rule apply if you don't do a same-day sale? Like if you hold for three months and sell?

Yes, same basis either way. The FMV at vesting that was included as W-2 compensation is your basis regardless of when you sell. The only difference is whether the subsequent gain or loss is short-term or long-term.

What if the 1099-B doesn't have a box 1e amount at all — blank, not $0? Is that treated the same way on 8949?

Blank box 1e usually means basis was not reported to the IRS, which makes those shares noncovered. You'd check box B in Part I of Form 8949. With box B, you enter your correct basis directly in column (e) and put -0- in column (g). Different process from the covered-security correction.

Thanks, that clears it up. Mine were blank so I'll use box B.

Are there any cases where the 83(b) election changes the RSU basis? I keep seeing it mentioned alongside RSUs and I'm confused.

83(b) elections can't be made for typical RSUs — the IRS rules say the election can't be made for a statutory or nonstatutory stock option, and in practice RSUs are excluded because there's no actual property transferred at grant. The election is more relevant for restricted stock where shares are issued upfront subject to a vesting schedule. If you have actual restricted stock rather than units, the basis calculation is different.

Okay so for plain RSUs just ignore 83(b) entirely. Good to know.

What line does the corrected amount ultimately flow to on Schedule D?

Form 8949 Part I totals flow to Schedule D line 1b (if covered, basis reported, with adjustments). The net short-term capital gain or loss from all Part I transactions rolls up there. The Schedule D instructions walk through which 8949 total goes to which Schedule D line.

Worth mentioning: if you have multiple vest lots from different dates in the same year, each lot is its own row on Form 8949. Each row gets its own proceeds, its own basis (FMV on that specific vest date), and its own holding period. Don't average them together.

Naomi A.

Author

I only had one vest event this year so just one row for me, but good to know for future years.

Does the state treat RSU basis the same way? My broker sends a state 1099-B too and I'm wondering if I need to make the same adjustment on the state return.

State treatment varies. Most states that have an income tax follow federal basis rules, but a few have differences. Worth checking your state's income tax instructions or asking a CPA if your state has unusual conformity rules.

How do you find the exact FMV on the vest date if your employer's worksheet doesn't spell it out?

Your equity platform (Fidelity, E*Trade, Schwab, etc.) usually shows the vest price in the transaction history or in a tax document called a Supplemental Information form. That vest-date closing price is what your employer should have used for the W-2. If it still doesn't match, the HR or payroll team can confirm what per-share price they used.

Thanks, I'll check the equity platform transaction history first.

Publication 525 covers restricted property income rules and Publication 550 covers holding period and basis. The Form 8949 instructions at irs.gov/instructions/i8949 also have a column (g) worksheet section that walks through exactly how to enter a basis correction for covered securities. Worth reading those before filing.