Last May I had been with my company for a year so I got the first grant of restricted stock units (RSUs) that vest over 4 years. Based on this answer to a related question, I am thinking I should have sold them immediately. But now I have kept them for over half a year and the stock price has increased. As I understand, the RSUs are taxed as regular income, and my cost basis for the remaining shares (after some were sold to cover tax withholding) is their value at the time of the grant.

So although I'd like to sell them, at this point wouldn't I be better off holding on to them for a year so I get the long-term capital gains tax rate rather than short-term? However, after I have had the stock for a year I will get another grant of RSUs. How does the capital gains tax work when you have some shares that were just just granted and others that you have had for a year? Did I shoot myself in the foot by not selling immediately?

FOLLOW-UP: I am also thinking about participating in an employee stock purchase plan (ESPP) which offers a 15% discount, and selling those shares immediately as well. But I think I might have the same issue with newly acquired stock being grouped together with stock held for several months or longer that has gone up in value. How does this work with regard to short- or long-term capital gains taxes?

  • 2
    stocks are never "grouped together". Each purchase is a separate position.
    – littleadv
    Commented Jan 25, 2013 at 19:42
  • @littleadv This may be worthy of a new question, but am I correct in assuming that sometimes when you hold multiple positions in one equity, you would want to calculate tax rates to determine which position would make sense to sell first (i.e. position with lower cost basis but held over a year versus position with higher cost basis but held less than a year)? Is there a default which brokerages sell first if not specified?
    – Craig W
    Commented Jan 26, 2013 at 5:34
  • 1
    I think that the default settings are per broker (if I'm not mistaken, my broker uses FIFO unless I explicitly chose the lot to sell). And yes, if you decide to sell, tax is definitely one of the considerations. Depending on what you're planning to do with the rest of the investment, you should definitely take into the account what position would be beneficial for you re taxes. Just don't make investment decisions based solely on tax considerations, that's stupid.
    – littleadv
    Commented Jan 26, 2013 at 6:13
  • Often, making an 83(b) election immediately after being granted RSUs makes sense. Commented Aug 4, 2017 at 16:59

3 Answers 3


RSU are taxed when vested, based on their value at that point, as salary. If you don't sell to cover, you need to pay the taxes, if you sell to cover - you sell the portion that is worth the taxes (brokers do that automatically, and remit the taxes on your behalf).

Once paid your taxes, it becomes a regular stock position - short term gains if you sell within a year after vesting, long term if you wait for more than a year. The consideration whether to wait or sell is as with any other investment, them being previously restricted has no meaning. You calculate the gain for each position, so the fact that you have more than one position is not a problem.

The RSU income and the taxes paid will appear on your W2, so when the broker reports proceeds, you can show the basis and thus calculate the gain. See this question for some useful answers on how to report the RSU sale on your taxes.

  • So you are saying I can sell specific shares? If I have 100 shares acquired a year ago and 100 shares acquired yesterday, I can specify to sell the first 100?
    – Craig W
    Commented Jan 25, 2013 at 19:43
  • 1
    Yes. That's exactly how it works.
    – littleadv
    Commented Jan 25, 2013 at 19:44
  • I see. I do notice a "Choose Specific Shares" option at my brokerage now. Does this complicate cost basis reporting at all?
    – Craig W
    Commented Jan 25, 2013 at 19:50
  • not in the slightest. Brokers are required now to report cost basis anyway.
    – littleadv
    Commented Jan 25, 2013 at 19:53
  • Hi littleadv, I'm non-US resident working in Malaysia for a US company. I've elected "sell to cover" for the RSU, may I know if I'm able to reclaim those back by filing form 1040NR ?
    – ASF
    Commented Jun 8, 2013 at 1:51

My friend Harry Sit wrote an excellent article No Tax Advantage In RSU.

The punchline is this. The day the RSUs vested, it's pretty much you got $XXX in taxable income and then bought the stock at the price at that moment. The clock for long term gain starts the same as if I bought the stock that day.

Historical side note - In the insane days of the Dotcom bubble, people found they got RSUs vested and worth, say, $1M. Crash. The shares are worth $100K. The $1M was ordinary income, the basis was $1M and the $900K loss could offset cap gains, not ordinary income above $3000/yr. Let me be clear - the tax bill was $250K+ but the poor taxpayer had $100K in stock to sell to pay that bill. Ooops. This is the origin of the 'sell the day it vests' advice.

The shares you own will be long term for capital gain a year after vesting. After the year, be sure to sell those particular shares and you're all set. No different than anyone selling the LT shares of stock when owning multiple lots. But. Don't let the tax tail wag the investing dog. If you feel it's time to sell, you can easily lose the tax savings while watching the stock fall waiting for the clock to tick to one year.

  • 3
    You should always sell to cover, but not necessarily sell everything...
    – littleadv
    Commented Jan 25, 2013 at 19:55
  • @littleadv - no issue with that advice, sir! Commented Jan 25, 2013 at 20:16

With the Employee Stock Purchase Plan stock, if you sell it in less than 18 months from exercise, the discount you bought it at (normally 15%) becomes taxable income and included in your W-2.

  • Welcome to Personal Finance & Money! Please stop by the Help Center for tips on how to write the best possible answers. In this case, where you answer a portion of the question that was not previously addressed, you could add a lot more detail about the capital gains implications of the ESPP in addition to the ordinary income implications.
    – dg99
    Commented Feb 25, 2015 at 18:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .