What to know before selling vested RSUs to pay off debt

My company vested a chunk of RSUs last spring and I still have the shares sitting in my brokerage account. Carrying some high-interest debt and thinking about liquidating the position to wipe it out. Before I do I want to make sure I'm not walking into a tax surprise. When the shares vested my employer withheld some shares for taxes, so I know that piece was handled. But I'm fuzzy on what happens when I actually sell the remaining shares now. Does my cost basis reset to the vesting price? Is the gain short-term or long-term at this point? And is there anything else I should think through before I pull the trigger? I've tried reading my 1099-B from last year but those were different lots. Would love to know what to know before selling vested RSUs to pay off debt so I don't get blindsided in April.

33 comments

Your basis in the shares is the fair market value that was included in your W-2 as ordinary income on the vesting date. That FMV per share becomes your cost basis for each lot. When you sell, you're only taxed on the difference between the sale price and that basis. So if the stock hasn't moved much since vesting, your gain could be small. If it's up a lot, you'll owe capital gains on that appreciation.

Megan H.

Author

That's what I suspected. My employer's stock is basically flat since the vest date so hopefully the gain won't be huge. Good to know the W-2 income piece already covered the ordinary income side.

The holding period question matters a lot here. For capital gains purposes, the clock starts the day after the vesting date, not the grant date. If you've held the shares more than a year since they vested you're looking at long-term rates; a year or less and it's short-term, taxed like ordinary income. Check your vesting date carefully before selling.

Megan H.

Author

My vest date was last spring so I'm definitely under a year still. Short-term it is. That's going to sting a bit but I still think paying off the debt makes sense financially.

Yeah if the interest rate on the debt is high enough it can still be worth it even with short-term treatment. Just want to make sure you're pricing in the tax hit when you do the math.

Before I sold my vested shares last year I uploaded my brokerage summary and my pay stub from vest day to taxr.ai and had Taxr map out exactly what my basis was per lot and estimate the short-term gain on each one. It flagged that one lot's basis in the brokerage system was lower than what my W-2 showed, which would have meant I overpaid on taxes if I hadn't caught it. Worth running your documents through before you sell so you know the real numbers.

Megan H.

Author

That basis discrepancy thing is exactly what I'm worried about. My broker's cost basis column looks lower than what I calculated from my pay stubs. Good to know there's a way to sanity-check it before I sell.

Don't forget estimated taxes if you're not adjusting your withholding. A big RSU sale mid-year can leave you underwithheld for the year. Your broker won't automatically withhold federal tax on a brokerage sale the way your employer does at vest. You may need to make a quarterly estimated payment to avoid an underpayment penalty.

This is a real gotcha. I sold a chunk in October one year and owed a lot come April and also got hit with an underpayment penalty. Check your W-4 at work or make an estimated payment.

Megan H.

Author

Hadn't thought about estimated taxes at all. I'll look at what I've already withheld for the year and figure out if I need to send something in.

Worth double-checking whether your employer used sell-to-cover or withheld shares to cover the tax at vest. Either way those shares that were sold or withheld at vest are separate transactions and your broker may send a 1099-B for them. That can confuse people because the gain on those shares at vest is usually zero or tiny — the sale happened right at vesting. Report them on Form 8949 when you get the 1099-B, don't just ignore them.

Megan H.

Author

Mine used sell-to-cover. I did see a small entry on last year's 1099-B for it. So I need to do the same this year for the remaining shares I'm about to sell — separate line on Form 8949.

Are you in a state with income tax? Some states tax capital gains as ordinary income regardless of the holding period. And a few states have their own withholding rules for stock sales. Just another variable to factor into whether the sale makes sense right now versus waiting.

If you've had any other stock sales this year with losses, those losses can offset the gain from selling the RSUs. Net out your capital gains and losses on Schedule D. Short-term losses offset short-term gains first. If you're sitting on any underwater positions it might be worth reviewing the whole picture before selling.

Megan H.

Author

I do have one position that's down. I hadn't thought about timing the RSU sale alongside that. Worth a look.

One thing I'd flag: if you buy substantially identical stock within 30 days before or after selling at a loss, wash sale rules kick in and you can't claim the loss. Sounds like your RSU sale is a gain so wash sale probably doesn't apply here, but if you're thinking about harvesting that losing position at the same time, make sure you don't rebuy it within 30 days before or after the sale or you'll lose the deduction.

Yes, good addition. The wash sale rule applies to losses only — selling at a gain and rebuying doesn't trigger it. But pairing a harvested loss with the RSU sale gain is exactly the kind of netting the Schedule D is designed for.

My employer's stock plan portal showed a different basis than what actually ended up on my 1099-B and I couldn't figure out why. I gave Taxr my Form 3922 and the 1099-B together and it walked through what each column meant and showed me where the two numbers were coming from and why they didn't match. Turned out the portal was using a pre-tax FMV and the broker was using a post-withholding adjusted figure. Knowing that saved me from entering the wrong basis on Form 8949.

Megan H.

Author

Wait, Form 3922 is for ESPPs right? For RSUs would it be something else from my employer?

Yes, you're right — Form 3922 is for employee stock purchase plans. For ISOs your employer sends Form 3921. For plain RSUs your employer generally isn't required to send a separate form; the income just shows on your W-2. Your broker's 1099-B is the main document for the sale itself.

Selling RSUs to pay off debt is pretty common and usually makes sense when the interest rate on the debt is high. The main things to price in: your basis (W-2 FMV at vest), whether the gain is short or long term, state taxes, and estimated payments if you'll be underwithheld. Run the actual numbers before you decide how much to sell.

Don't assume your broker has the right basis entered. Brokers are only required to track and report basis for covered securities, and RSU shares acquired after 2010 generally are covered, but the supplemental RSU income added to your W-2 sometimes doesn't flow into the broker's system automatically. If the 1099-B you get shows a lower basis than what your W-2 reflects, you correct it on Form 8949 by entering the proceeds in column (d), checking box B or E if basis wasn't reported to the IRS, and entering the correct basis directly in column (e), with -0- in column (g) in that case.

Slight clarification: if the 1099-B has basis reported to the IRS (box A or D checked), you enter the broker's basis in column (e) even though it's wrong and put the correction as a negative adjustment in column (g). The column (e)/column (g) approach depends on whether the IRS got the basis number from the broker.

That's the right distinction, thanks for adding it. The instructions for the boxes on Form 8949 spell out which approach to use depending on whether basis was reported to the IRS or not.

I had a similar situation and was second-guessing my basis numbers. Dropped my W-2 and my broker's cost basis summary into Taxr and it prepared a worksheet showing the correct adjusted basis for each lot and what the Form 8949 entries should look like. Really helped me see that I had been thinking about the column (g) adjustment backwards. Having that worksheet made filling out the form straightforward.

Megan H.

Author

This is exactly what I need. The column (g) stuff is what trips me up most when I look at the Form 8949 instructions.

If your net capital losses for the year exceed your gains, only a limited amount of that net loss can offset your other income in a single year — the rest carries forward. The IRS topic on capital gains and losses at irs.gov covers the limit and the carryover worksheet. But if you're selling at a gain (which sounds like your situation), this doesn't apply directly — just mentioning it in case you're pairing this with loss harvesting.

Publication 525 at irs.gov has the section on restricted property and RSU taxation if you want to read the actual IRS rules on how the vesting income is treated and what your basis is after vest. It's readable as far as IRS publications go.

Megan H.

Author

Thanks, I'll pull that up. I want to understand the rules before I talk to my accountant about the actual sale.

Depending on how big the position is relative to your income, it might be worth a conversation with a CPA or enrolled agent before you sell rather than after. They can run the actual numbers with your full year's income and help you figure out whether to sell all at once or in tranches, and whether a Q4 sale versus a January sale changes your bracket exposure.

Yes, especially if the gain is large. Selling in January gives you the whole year to plan around it rather than scrambling to cover a tax bill in April.

To add to what everyone said about Form 8949: when you get your 1099-B next year, the proceeds go in column (d). If basis was reported to the IRS (box A or D), the broker's basis goes in column (e) and the correction goes in column (g); if it wasn't (box B or E), your corrected basis goes in column (e). If the sale is short-term (under a year from vest date) it goes in Part I. Long-term goes in Part II. Everything flows to Schedule D from there.

Yes, and Schedule D line 1a and 8a have an exception where you can skip Form 8949 for transactions with no adjustments and basis already reported to the IRS, but if you're correcting basis you have to go through Form 8949.