How to pay estimated tax on stock sale with IRS Direct Pay

Sold a chunk of company stock in March — not RSUs, just shares I'd held in a brokerage account for about three years. The gain is pretty significant and I know I need to make a quarterly estimated payment so I don't get hit with an underpayment penalty at filing. I went to the IRS Direct Pay page and got confused on which "tax period" and which "reason for payment" to pick. I selected "Estimated Tax" and tried to put in the current year but I wasn't sure if I should use Form 1040-ES as the form type or something else. Also unclear on whether I should be paying the full estimated capital gains liability now or just my share of the quarterly amount. Already looked at the Form 1040-ES instructions but they're dense. Has anyone done this recently and can walk me through the steps on the Direct Pay site?

35 comments

Did you already figure out your expected total gain for the year, or are you just estimating based on this one sale? That changes how you calculate the 1040-ES payment amount.

Emily H.

Author

Pretty much just this one sale so far. I know there might be a small dividend here and there but nothing major. So the gain from this sale is basically my whole picture for the year.

For the Direct Pay steps: select "Estimated Tax" as the reason, "1040-ES" as the form, and the current tax year as the period. That's the right combination for a capital gain payment mid-year. On the amount — the 1040-ES instructions have a worksheet that walks you through figuring your required payment. The safe harbor rules matter a lot here (prior year tax vs. current year estimate), and the right number depends on your AGI from last year. I had a similar situation last spring when I sold some inherited shares. I uploaded my prior-year return and the brokerage confirmation to taxr.ai and it ran the 1040-ES worksheet for me and told me exactly which quarterly box to fill and what amount to enter. I still reviewed the numbers myself before submitting on Direct Pay, but it saved me from guessing.

Emily H.

Author

That's the clearest walkthrough of the Direct Pay screen I've found. And the tip about the safe harbor calc — I hadn't thought through which method would actually give me the lower number. Going to work through that worksheet tonight.

The form/period combo you described matches what I did last year. One thing worth noting: the tax period you enter on Direct Pay is the year you're paying toward (the current year), not the year the sale happened, in case those are ever different.

Are you filing jointly or single? The safe harbor threshold for prior-year AGI above a certain level differs from the standard one, and the 1040-ES instructions spell out which applies to you.

Emily H.

Author

Filing jointly. I'll check the AGI threshold in the 1040-ES instructions — didn't realize the safe harbor had a split based on income level.

Right, there are two safe harbor options and you pick whichever gives you the lower required payment. The instructions walk through both. Worth doing before you decide on a number.

Quick clarifying question — when you say the gain is significant, is this long-term or short-term? You mentioned holding for three years, so it should be long-term (more than one year from the day after you bought to the trade date you sold), but just confirming because that affects your effective rate estimate.

Emily H.

Author

Definitely long-term. Bought in early 2022, sold in March this year. So well past the one-year mark.

Good. Long-term rates are lower than ordinary income rates, so your estimated payment should reflect that. The 1040-ES worksheet accounts for this if you use the qualified dividends and capital gain tax worksheet embedded in the instructions.

Had a large stock sale last year and went through this same Direct Pay process. Chose "Estimated Tax" and "1040-ES" and entered the year I was paying toward. Went through fine. The part that tripped me up was not the website — it was figuring the right dollar amount. I ended up overpaying Q1 because I didn't use the annualized income installment method, which would've let me weight my payments toward when the income actually hit.

Emily H.

Author

That's a good point about the annualized method. Since my big gain was in Q1 (March), maybe I don't need to weight anything — the income came early. But I'll look at whether that method changes my Q2 and Q3 obligations.

Something to double-check: Direct Pay confirms the payment but doesn't automatically apply it to the right form/period unless you selected correctly. I'd screenshot the confirmation page showing "1040-ES" and the tax year, just for your records. When I had a mid-year gain from selling off some options last year, I pasted my brokerage statement and my prior-year 1040 into Taxr and it flagged that my Q1 payment was too low based on the safe harbor calc — it even drafted a note summarizing what the shortfall was so I had something to hand my preparer. Helped me catch it before Q2 due date.

Screenshotting the Direct Pay confirmation is genuinely good advice. I save the confirmation number in a notes file with the date paid. Comes in handy if the payment doesn't show on your IRS account right away.

Does your brokerage automatically withhold anything on stock sales, or is it all coming to you gross? Some employer plans do withhold on RSUs, but for a plain brokerage sale of held shares there's typically no withholding, so the full estimated liability lands on you.

Emily H.

Author

No withholding at all. It was a standard sale of shares I'd held in a taxable brokerage account. So yes, the whole thing is on me to estimate and pay.

Worth knowing: the state side is a separate payment entirely. If your state has income tax and no withholding on this sale, you likely owe estimated tax there too, through your state's own payment portal. Direct Pay only covers federal.

Emily H.

Author

Oh — I had not even thought about state. Good catch. I'll check my state's estimated tax rules separately.

State estimated tax is easy to overlook when you're focused on the federal side. Most states that have income tax mirror the federal quarterly schedule, but the forms and portals are completely separate.

Is your basis on these shares straightforward, or did you buy in multiple lots over time? If you have multiple lots, the basis method you pick (FIFO vs. specific identification) can change the gain amount and therefore your estimated tax.

Emily H.

Author

Multiple lots, actually. I used specific identification and told the broker which lots to sell. So my basis is locked in. But good thing to flag for anyone reading who hasn't specified — FIFO could give you a very different number.

Did your 1099-B last year match what you expected, or did you have any basis corrections to deal with? Asking because if you had wash sale adjustments carrying into this year, that could affect how you project this year's gain.

Emily H.

Author

No wash sales on these shares. I didn't buy back anything similar within 30 days, so my 1099-B should be clean on that front when it arrives next January.

The 1040-ES instructions on irs.gov lay out the payment schedule and the two safe harbor methods. If you underpay, Form 2210 is what the IRS uses to calculate the penalty, and it's also where the annualized income installment method is elected if you want to weight payments to when income actually hit.

Form 2210 is worth at least skimming before you decide on a payment amount. If your income is very front-loaded (which it sounds like for this person, with the March sale), the annualized method on Form 2210 can eliminate or reduce a penalty that would otherwise show up under the regular method.

Have you considered just paying the full estimated liability in one shot now rather than spreading it across Q2–Q4? Since the sale already happened, there's no income left to annualize for future quarters from this event.

Emily H.

Author

That's basically what I'm leaning toward. Pay enough in Q1/Q2 to meet safe harbor on this gain, then whatever's left at filing is manageable. Rather not let it compound into a bigger underpayment question later.

Net investment income tax is worth checking on too. If your MAGI clears the threshold for your filing status, the gain could be subject to the 3.8% NIIT on top of the capital gains rate. The 1040-ES worksheet and Form 8960 instructions cover this — it would add to your estimated payment.

This is a real one. People focus on the capital gains rate and forget NIIT entirely. If it applies, your estimated payment comes up short and you won't know until you do the full return.

Emily H.

Author

I hadn't factored NIIT in at all. Going to run the numbers with that included. The Form 8960 instructions should tell me whether my MAGI clears the threshold.

After you submit on Direct Pay, your IRS online account should show the payment applied to the 1040-ES for the current year within a few business days. If it shows under a different period or form, call the IRS to get it corrected before the payment sits unapplied.

Checking your IRS account after the payment posts is a good habit. I had a Direct Pay entry once that showed the right amount but the period was off by a year — caught it early enough to fix it without the payment being misapplied at filing.

So to summarize where this thread landed: select Estimated Tax + 1040-ES + current tax year on Direct Pay, calculate your amount using the 1040-ES safe harbor worksheet (pick whichever method gives the lower required payment), factor in NIIT if your income is above the threshold, and screenshot the confirmation. That's the whole flow.

Emily H.

Author

This is exactly the summary I needed. Enough to go do it confidently tonight. Thanks everyone.