Do I need quarterly estimated taxes on large long-term stock gains?

Sold a chunk of stock I'd held for about six years, and the gain is substantial — enough that I'm worried about underpayment penalties come April. My regular W-2 withholding has always been enough to cover my taxes before, but this is the first time I've had a large long-term stock gain on top of my salary. I went to my brokerage account and there was no withholding taken out at all, which I guess makes sense but now I'm not sure what to do. Do I need to send in quarterly estimated taxes on large long-term stock gains, and if so, is there a deadline I already missed? Or can I just adjust my W-4 at work to cover it?

29 comments

Went through this two years ago with a big lot of shares I'd held since my first job. The short answer is yes, you generally need to cover that gain during the year, not just at filing time. The IRS can charge an underpayment penalty if you don't pay enough through withholding or estimated payments as you go. The two safe harbors to look at are: pay at least 90% of this year's tax, or 100% of last year's tax (110% if your prior-year AGI was above a threshold — check the Form 1040-ES instructions for the exact figure since it depends on your AGI). If your W-2 withholding already covers 100% of last year's tax, you might be penalty-free even without estimated payments.

Wes N.

Author

Thanks, that 100%-of-last-year rule is helpful. My withholding probably does cover last year's total tax so I might be safer than I thought. Will pull my prior return to compare.

The quarterly estimated tax deadlines for 2025 are spelled out in the Form 1040-ES instructions — the IRS doesn't use equal calendar quarters, so the periods are unequal. If the gain happened late in the year you might be able to use the annualized income installment method on Form 2210, Schedule AI, which lets you match payments to when income actually came in rather than spreading it evenly. That can wipe out or reduce a penalty even if you didn't pay early quarters.

Wes N.

Author

Didn't know about the annualized method, that's really useful since my gain was in Q3. I'll look at Form 2210 Schedule AI.

The annualized method saved me a penalty once when I had a big consulting payment land in November. It's more paperwork but worth it when income is lumpy.

I sold a large position last year and was completely lost on what I owed and when. I uploaded my 1099-B and my prior-year return to taxr.ai and it mapped out which quarters were already past, estimated what my liability looked like under both safe harbors, and flagged that I'd probably need a Q4 payment by the mid-January due date. That draft estimate gave me something concrete to hand to my CPA to finalize the actual numbers. For the gain itself, make sure your broker reported it correctly — long-term rates apply only if the holding period on the 1099-B shows more than one year.

Wes N.

Author

Good to know it can pull those pieces together. And yes, the 1099-B shows well over a year so I should get long-term treatment.

Worth clarifying how holding period is counted. The IRS says you start counting the day after you acquired the shares, and the day you sell counts as part of the holding period. For exchange-listed stock, it's trade date to trade date, not settlement date. So if you bought on June 15 of one year, June 15 of the next year is still short-term — June 16 is when you cross into long-term.

I always just bump up my W-4 withholding at work instead of sending quarterly vouchers. If your employer can withhold extra each paycheck, that's treated as if it were withheld evenly all year — so a big December withholding increase can actually cover earlier quarters for penalty purposes. The IRS doesn't care when in the year the withholding happened, only the total by December 31.

Wes N.

Author

This is probably the easiest path for me since I'm still employed. I'll estimate the gap and ask payroll to adjust.

This is the move most people overlook. Estimated payment vouchers feel complicated. Just fix the W-4 if you can still catch up before year end.

Be aware the long-term capital gains rate you'll actually pay depends on your total taxable income for the year, not just the gain itself. The rate brackets are in the Schedule D instructions or on IRS Topic 409. With a big gain stacked on top of a salary you might be in a higher rate bracket than you expect, which would affect how much you need to cover through withholding or estimates.

Had a similar situation and completely forgot about the net investment income tax. If your modified AGI is above certain thresholds (married vs. single matters — see Form 8960 instructions), there's an additional 3.8% on net investment income including capital gains. That extra tax also needs to be covered during the year to avoid underpayment issues.

Good point. People calculate the capital gains tax correctly and forget NIIT entirely, then wonder why their balance due is bigger than they expected.

Wes N.

Author

I hadn't even factored that in. Pulling up Form 8960 instructions now to see where I land.

Last year I had gains across multiple lots with different purchase dates and I couldn't tell which ones were long-term vs short-term on my own. I pasted the 1099-B detail into Taxr and it sorted every lot, flagged the ones that were borderline on holding period, and drafted a Form 8949 layout showing which went in Part I vs Part II. Made the estimated tax calculation a lot cleaner once I knew the actual split. Knowing your short-term vs long-term split matters for the estimate because they're taxed differently.

Wes N.

Author

That's exactly the kind of clarity I need. My situation is simpler — one lot — but good to know that's possible for messier cases.

If you end up owing a penalty anyway, Form 2210 is where you calculate it, and in some cases the IRS will just calculate it for you and bill you separately after you file. You can also skip filing Form 2210 and leave the penalty line blank if you want the IRS to figure the penalty rather than computing it yourself (box B in Part II is for requesting a waiver of part of the penalty, not for that). It doesn't make the penalty go away but it removes the guesswork.

Yep. Most people just leave Form 2210 off their return entirely and let the IRS send a notice if there's a penalty. For small amounts that's usually fine.

Something I learned the hard way: if you sold stock in an IRA or Roth IRA, none of this applies — gains inside those accounts aren't taxed in the year of sale. But if the account is a regular taxable brokerage account, yes, you owe tax in the year of the sale regardless of whether you reinvested the proceeds.

Depending on how large the gain is, it might be worth sitting down with a CPA or enrolled agent rather than relying only on your own estimates. If we're talking a gain big enough to push your total tax liability significantly higher than prior years, the penalty calculation gets complicated fast — especially if you have W-2 income, the NIIT, state taxes and estimated payments all in play at once.

Wes N.

Author

Agreed. I think I have enough here to do a rough estimate and decide if I need to bring in a CPA. Leaning yes at this point.

One thing to double-check: if your spouse also has income and you file jointly, the safe harbor calculation uses your combined prior-year tax liability. A lot of couples run into surprises when one person has a big event like this and the other person's withholding situation was set up independently.

I realize I went through all of this stress last year, did my own estimated payment in Q4, and then discovered I was already covered by the 100%-of-prior-year safe harbor anyway. Would have saved me a lot of anxiety to just check that first before worrying about the quarterly schedule.

Wes N.

Author

Ha, noted. Checking the safe harbor is now step one before I do anything else.

To flag a correction to something above — someone mentioned the 110% threshold without noting the exact AGI cutoff for that higher safe harbor percentage: it's prior-year AGI above $150,000 ($75,000 if married filing separately), a fixed figure you can rely on year to year. The Form 1040-ES instructions for the year you're filing confirm it. The basic structure of the two safe harbors (90% of current year or 100%/110% of prior year) is correct though.

Publication 550 on irs.gov has a solid section on holding periods and what counts as a capital gain event. It's worth reading the chapter on capital gains and losses if you haven't — it covers how gains interact with losses and what happens if you also had any losing positions this year that you could use to offset.

Realized I never saw anyone mention: you should also check whether your state has its own estimated tax requirement. Several states don't conform to the federal safe harbors and have their own thresholds and due dates. The federal answer is well covered here but state taxes are a separate calculation entirely.

Wes N.

Author

Good catch. I'll check my state's department of revenue site separately — I had been thinking only about the federal side.