Safe harbor for state estimated tax with large capital gains after a low-income year

Sold a chunk of stock this year — long-term gain, so it hits Schedule D and flows through. The problem is my prior year AGI was really low because I took almost no salary and had capital losses. I know the federal safe harbor lets you base payments on 100% (or 110% if AGI was above a threshold) of prior year tax, but my prior year tax was basically zero. So the federal safe harbor should actually cover me here, since paying 100% of a near-zero prior year tax is all it requires. What I can't figure out is how state estimated tax safe harbors work when you have a large capital gain after a near-zero prior year. Some states mirror the federal rule, some have their own percentages or income thresholds. I'm in California but I want to understand the general rule too. Am I going to owe underpayment penalties no matter what, or is there a way to structure the payments quarterly to avoid it? Already paid one estimate. Worried about the rest.

35 comments

California's estimated tax rules are set by the FTB, not the IRS, so they don't match federal exactly. CA generally requires you to pay the lesser of 90% of the current year tax or 100% of your prior year tax (based on your CA return for a full 12-month year). The income threshold for the higher prior year percentage is different from the federal one — check the CA Form 540-ES instructions for the exact current-year figures, since those numbers can shift. If your prior year CA tax was also near zero, the 100%-of-prior-year safe harbor gives you almost nothing, same problem as federal. That means you're basically stuck trying to hit 90% of current year tax through quarterly payments.

Tara L.

Author

That tracks with what I suspected. The 90% current-year route is really the only viable path for me then. I'll pull the 540-ES instructions and check whether there's any annualization option on the CA side like there is federally with Form 2210.

Federally, Form 2210 has an annualized income installment method (Schedule AI) that lets you show what your income actually looked like through each quarter cutoff rather than just dividing the year evenly. If your capital gain all hit in Q3, for example, you can argue that your Q1 and Q2 payments were adequate for the income earned through those dates. Worth running those numbers before assuming you owe a penalty.

Tara L.

Author

Good reminder. I know the gain closed in Q3 so this could actually help with the first two installments. I'll look at Schedule AI on 2210 closely.

The annualized method genuinely helps when income is lumpy. The IRS instructions for Form 2210 walk through each required installment date separately, so you can see exactly where you stand. It doesn't eliminate the penalty if Q3 and Q4 payments are short, but it can shrink it.

One thing worth separating out: the federal and state penalties are computed independently. Paying enough for federal doesn't protect you from a CA underpayment penalty, and vice versa. The FTB computes its own underpayment penalty on Form 5805, which parallels federal Form 2210 but uses CA tax figures. If you need to file one you attach it to the 540.

Tara L.

Author

Didn't realize Form 5805 was the CA equivalent. I'll grab that along with the 5805 instructions to see whether CA has an annualized option too.

I had almost the same setup last year — big long-term gain from selling appreciated shares, prior year tax near zero. I ran my estimated payment schedule and my broker's 1099-B data through taxr.ai and it built a side-by-side showing what the 90%-of-current-year target looked like by quarter versus what I'd actually paid. Caught that my Q2 payment was going to leave me short even with the annualized method. Ended up making a catch-up payment before the Q3 due date. The annualized income installment worksheet is the key document here — federal and state versions are different, don't mix them up.

Tara L.

Author

Really helpful to hear this worked out. I'm going to run my numbers the same way before the next due date.

For capital gains specifically, the timing of when the transaction closes matters a lot for the annualized method. The holding period for securities traded on an established market runs from the trade date, not the settlement date — that's also when the gain becomes realized for the purpose of figuring which quarter it falls into. So make sure you're using trade date when you slot the gain into Schedule AI.

This is correct and easy to get wrong. Settlement can be two days later and that could push you into a different quarter cutoff if you closed near a period boundary.

Does California even have an annualized installment method on 5805? I looked quickly and wasn't sure.

Yes, Form 5805 does have an annualized income installment option — it works similarly to Schedule AI on Form 2210 but you use CA taxable income and CA tax rates. The 5805 instructions spell out the computation. It's not automatic; you have to elect it and attach the form.

Okay good to know, I was worried CA didn't have that option.

The Schedule D gain flows to Form 1040 line 7a (or through the Qualified Dividends and Capital Gain Tax Worksheet), and your total tax on line 24 is what drives the federal safe harbor calculation. If your prior year total tax on line 24 was essentially zero, the 100%-of-prior-year harbor only requires essentially zero in payments, so it actually protects you as long as your prior year return covered a full 12 months. Tracking 90% of this year's projected tax only matters if you can't use that harbor, ideally with the annualized method to allocate the gain to the right quarter.

Tara L.

Author

Yes, prior year line 24 was tiny. That actually gets me out of the bind federally. Paying 100% of that tiny prior year tax on time is what I need to focus on for the 2210 side.

Are you subject to the net investment income tax on top of the capital gain? That's a separate line on Form 8960 and it feeds into your total tax. If it applies, you need to include it in your current-year tax estimate or the 90% target gets understated.

Tara L.

Author

Good catch. I do need to check that. I hadn't thought about 8960 when I was rough-estimating my Q3 payment.

Form 8960 is easy to forget when you're focused on Schedule D. The tax from 8960 flows to Schedule 2 line 12 and then, through Schedule 2 line 21, into line 23 of Form 1040, so it's part of the total tax that drives both the safe harbor target and the underpayment penalty base.

State side: a few states don't have an estimated tax penalty at all if you pay the entire balance by the return due date. CA is not one of those states — FTB charges the penalty from the installment due date. So don't assume a big April payment fixes earlier shortfalls in CA.

Tara L.

Author

That's the part I was hoping wasn't true. So the Q1 shortfall I already have baked in is going to cost me something regardless. Good to know before I make Q3 and Q4 worse.

Just to be clear on the federal threshold: whether you need 100% or 110% of prior year tax depends on your prior year AGI. The instructions for Form 2210 and Publication 505 (Tax Withholding and Estimated Tax) have the exact AGI figure that triggers the 110% requirement. Since your prior year AGI was low, you're almost certainly in the 100% camp federally — but it barely matters when prior year tax was near zero either way.

I uploaded my 540-ES worksheet and my brokerage statement to Taxr and it mapped each payment to the right quarter, flagged that Q1 was underpaid relative to the annualized CA income through that period, and drafted a summary showing what I'd need to pay in Q3 and Q4 to minimize the 5805 penalty from that point forward. Really useful when you have a one-time gain and normal salary the rest of the year because the quarterly income split is not obvious. For state purposes Publication 550 on investment income is still helpful background, but the CA-specific numbers come out of the 5805 instructions and the FTB's own guidance, not the IRS pages.

Tara L.

Author

The quarterly income split is exactly what's tripping me up. I'll work through that before making the Q3 payment.

If you want the source, the trade date versus settlement date distinction for securities on an established market is spelled out in the holding period section of Publication 550 at irs.gov. Worth reading if you're going to use the annualized method, because a wrong date can shift a gain between installment periods.

The relevant page is https://www.irs.gov/publications/p550 — the holding period section under chapter 4. Clear on trade vs. settlement date.

When I sold RSUs and had a similar lump-sum income problem, I gave Taxr my W-2 (which showed supplemental withholding on the vest), my brokerage 1099-B, and a draft of my state return and it identified that my employer's withholding had already covered a portion of the state installment and showed me the net gap by quarter. That's the piece a lot of people miss — withholding counts toward estimated tax even for capital gains income, so if you have any W-2 withholding during the year it reduces how much you need to pay in separate estimates. Check your state return's withholding credit lines before you calculate how short you actually are.

Tara L.

Author

I do have some W-2 withholding from earlier in the year. I hadn't netted that against my estimates. That changes the math a bit in my favor.

Withholding is treated as paid evenly across quarters by default for federal purposes (Form 2210 rules), but CA follows a similar convention on Form 5805. So even if the W-2 withholding happened at year-end or was front-loaded, it typically gets allocated across all four installment periods, which can cure an earlier shortfall. Check the 5805 instructions on how CA handles withholding timing.

Tara L.

Author

That's actually really good news. If the withholding spreads evenly it might partially cover the Q1 gap I was worried about.

Correct on federal — IRS instructions for Form 2210 confirm that withholding is treated as paid ratably unless you can establish the actual withholding dates. For CA, the 5805 instructions address this the same way. Worth verifying you're applying it to the right form.

One thing that gets missed: if you underpay for a given quarter and then overpay for a later one, the overpayment doesn't cancel the earlier penalty. Each installment period is evaluated on its own. That's true both on Form 2210 and on CA Form 5805. So making a large Q4 payment doesn't fix a Q1 or Q2 shortfall.

This is the part most people learn the hard way. The quarterly structure is not forgiving in that direction.

To pull it all together: your situation has two separate underpayment analyses — federal Form 2210 and CA Form 5805. Federally, the prior year safe harbor actually protects you, since paying 100% of a near-zero prior year tax on time is all it takes; on the CA side the 90%-of-current-year route with the annualized installment method is your main tool. Use trade dates to slot the gain into the right quarter. Net your W-2 withholding first. Check whether NIIT on Form 8960 is in your estimate. And remember each quarter stands alone — a catch-up in Q4 doesn't erase an earlier shortfall, it just limits further damage.

Tara L.

Author

Two forms, trade dates, withholding first, and NIIT in the estimate, that's my checklist now. Working through 2210 Schedule AI and Form 5805 together this week. Thanks everyone.