The short version
When you sell shares, or when an or acquisition turns your equity into cash or tradable stock, you owe the tax that day, even if the bill doesn't feel real until April. The safest habit is simple: set the tax aside the day the money lands, and pay it by the next quarterly deadline.
The hard part is when the tax arrives before the cash does. That happens most often at an IPO, when shares settle and become taxable but you can't sell them until the lockup ends. That case takes a plan, made before the event.
Why the tax is due sooner than you think
US income tax is pay-as-you-go. Under IRC Section 6654, you're expected to pay tax in the quarter the income arrives, through or estimated payments. Waiting until you file doesn't work.
| If the sale or event happens | Pay the federal estimate by |
|---|---|
| January 1 – March 31 | April 15 |
| April 1 – May 31 | June 15 |
| June 1 – August 31 | September 15 |
| September 1 – December 31 | January 15 of the next year |
If you miss a deadline, the IRS charges an . It works like interest: it runs day by day from each missed due date, at the rate set under Section 6621 (the federal short-term rate plus 3 points). It's not huge on a small shortfall, but on a six-figure gain it adds up fast.
Stock sales come with no withholding
When you sell common stock, in a , a secondary sale, or on the open market after the lockup, your broker usually sends you the full proceeds with no tax taken out. The money looks like yours. It isn't all yours.
The gain is taxed at rates under Section 1(h): 0%, 15%, or 20% if you held the shares more than a year, or your ordinary rate if you didn't. Many sellers also owe the 3.8% under Section 1411, plus state tax. See Why nothing is withheld on stock sales.
A rough example. A single filer in California with a $200,000 salary sells long-held common stock for $400,000, with a $20,000 .
- Gain: $380,000
- Federal capital gains tax (15% and 20%): about $58,000
- Net investment income tax (3.8%): about $14,000
- California tax (taxes gains as regular income): about $37,000
- Total: roughly $110,000, more than a quarter of the check, and none of it withheld
Why paying right away beats waiting for April
- The cash doesn't stay put. Proceeds get reinvested, go toward a house, or just get spent. If you invest the tax money and the market drops, you still owe the full amount.
- You avoid the penalty. Paying by the quarterly deadline for the quarter of the sale stops the underpayment penalty before it starts.
- The protects you from the penalty, not the bill. Under Section 6654(d), paying 100% of last year's tax (110% if your income was over $150,000) during the year means no penalty. But the rest of this year's tax is still due on April 15, all at once. Plenty of people use the safe harbor and then find the money is gone.
- Not paying in April costs more. If you can't pay when you file, a under Section 6651 adds 0.5% a month on top of interest.
If you do lean on the safe harbor, still move the tax money into a separate account on day one. You get the timing benefit without the risk.
The lockup trap: taxed on shares you can't sell yet
This is where people get caught. At many IPOs, double-trigger RSUs settle all at once. Under Section 83, the full value on settlement day is wage income, taxed at ordinary rates. Your company withholds, usually by keeping some of the shares, but only at the flat supplemental rate of 22% under Treas. Reg. Section 31.3402(g)-1 (37% on the part over $1 million). High earners often owe 35% to 37% federal plus state tax. The difference is due, in cash, while the rest of your shares are stuck in a lockup that usually lasts about 180 days.
An example. 10,000 settle at the $50 IPO price, so you have $500,000 of wage income.
- Withheld (22%, taken as shares): about $110,000, leaving about 7,800 shares
- Actual federal and state tax: about 45%, or $225,000
- Gap you owe in cash: about $115,000
Now suppose the stock is at $25 when the lockup ends. Your 7,800 shares are worth about $195,000, and you still owe the full $115,000. The tax was set on the IPO-day price, and the drop doesn't change it. If you sell at a loss, the loss is a . Under Section 1211(b) it offsets capital gains, but only $3,000 a year of regular income. The rest carries forward under Section 1212(b), one year at a time.
The same squeeze hits holders who before an IPO: the can trigger under Section 56(b)(3), nothing is withheld, and the shares may not be sellable yet. See ISOs and AMT.
How to cover the tax when the cash isn't there yet
- Ask for higher withholding at settlement. Some companies let you choose a rate above 22% for RSUs. More shares go to tax, but the gap shrinks.
- Raise your paycheck withholding. The IRS treats withholding as if it were paid evenly through the year (Section 6654(g)), so extra withholding late in the year can also cover earlier quarters.
- Use the annualized income method. If the income came late in the year, Section 6654(d)(2) lets you base earlier payments on what you had actually earned by then. You claim it on Form 2210, Schedule AI.
- Use the safe harbor to buy time. Paying 100% or 110% of last year's tax through the year can push the rest of the bill to April 15, which may be after the lockup ends. Plan your first sale around that date.
- Sell the tax shares first. When the lockup ends and your trading window opens, sell enough to cover the tax before anything else. Hoping for a higher price is how a tax bill becomes a crisis.
- Raise cash before the IPO. A tender offer or approved secondary sale can fund the tax, but it's taxable too, so count it in your total. See Tender offer taxes.
- Borrow only as a last resort. An IRS payment plan keeps interest and penalties running. Loans backed by your shares can be called if the stock falls.
A planning checklist before any liquidity event
- Estimate the full tax, not just what's withheld. Include federal, state, net investment income tax, and AMT.
- Find the deadline. Work out which quarter the event falls in and when that payment is due.
- Decide where the tax money will come from if the shares can't be sold yet.
- Open a separate tax account and move the reserve in on day one. Keep it in cash or Treasury bills, not stock.
- Pay your state too. States set their own schedules. California, for example, wants 30%, 40%, 0%, and 30% across its four payments.
- Check again in December, once you know the year's full income.
For the lockup side of this, see Planning for an IPO lockup. For the payment rules, see Estimated taxes and safe harbor.
Find your number
The VestMath calculator shows what your sale, tender, or IPO settlement will cost in tax, how much was withheld, and what to pay by each quarterly deadline.
General information, not tax advice.
Frequently asked questions
Do I have to pay tax right away when I sell stock?
The tax is due during the year, in the quarter you sell. The IRS expects an estimated payment by the next quarterly deadline (April 15, June 15, September 15, or January 15). If you wait until you file, you may owe an underpayment penalty unless you've met the safe harbor.
Why wasn't any tax withheld when I sold my shares?
Brokers usually don't withhold tax on stock sales. They send the full proceeds, and you pay the tax on the gain yourself, through estimated payments or higher withholding on your paycheck.
What if I owe tax on RSUs but my shares are still in lockup?
You still owe the tax. Options include choosing a higher withholding rate at settlement, raising your paycheck withholding, using the safe harbor to push the balance to April 15, and selling enough shares to cover the tax as soon as the lockup ends and your trading window opens.
If my stock drops after the IPO, do I owe less tax?
No. RSU income is set by the share price on the day they settle. A later drop gives you a capital loss, which offsets capital gains but only $3,000 a year of regular income. Any unused loss carries forward to future years.
Official sources (for the detail-minded)
- IRC Section 6654Estimated tax, quarterly due dates, safe harbor, and the annualized income method
- IRC Section 6621How the IRS sets the underpayment interest rate
- IRC Section 6651Penalty for not paying tax on time
- IRC Section 1(h)Long-term capital gains rates
- IRC Section 14113.8% net investment income tax
- IRC Section 83When stock received for work becomes taxable
- IRC Section 1211Limit on deducting capital losses
- Treas. Reg. Section 31.3402(g)-1Flat withholding on supplemental wages like RSUs
- IRS Publication 505Withholding and estimated tax
- IRS Form 2210Underpayment penalty and Schedule AI (annualized income)
Run your own numbers
See your tax, take-home, and what to set aside. Free, and nothing is stored.
Keep reading
How to export your share plan data from Computershare
Download your Computershare holdings and cost basis and import them in one step.
How to export your equity awards from Schwab Equity Award Center
Download your Schwab equity awards and import every grant in one step.
How to export your stock plan data from Fidelity NetBenefits
Download your Fidelity Stock Plan Services grants and import them in one step.
How to export your stock plan data from E*TRADE
Download your E*TRADE stock plan holdings and import every grant in one step.
Estimates only. Not tax, legal, or investment advice. See our methodology