Should I realize capital gains before a big income increase in California?

Trying to figure out if I should realize capital gains before a big income increase in California. Background: I have about two years of vested RSUs I haven't sold yet, sitting on a pretty significant unrealized gain. Starting a new role in January that will push my W-2 income way higher. California taxes capital gains as ordinary income, while the federal side still gives long-term gains preferential rates even at higher brackets (only short-term gains are taxed as ordinary income). I've been using the Schedule D preview in my brokerage's tax tool but it only shows federal, not how CA stacks on top. I know the long-term federal rate depends on taxable income thresholds but I don't know where to find the CA equivalent or how to model both together. Is it actually worth selling before year-end, or am I overthinking this?

34 comments

Are the RSUs fully vested already or do some tranches still have a substantial risk of forfeiture? That changes what you're even selling. Once RSUs vest, the FMV at vest is already ordinary income on your W-2, so the only gain left to control is appreciation since vest. If the shares haven't moved much since they vested, the capital gain piece might be smaller than you think and the timing question matters less.

Wes D.

Author

Good point. All of these tranches vested over the past two years, compensation income was already recognized at each vest date. So the basis is the FMV at vest per share. The shares have appreciated maybe 20-25% since the last tranche vested, so there is a real gain on top of what hit my W-2.

California is the key variable here because it has no preferential rate for long-term capital gains — the gain just stacks on top of your other CA income and gets taxed at whatever marginal bracket that total hits. I uploaded my brokerage's year-end summary and my draft Schedule D into taxr.ai and it mapped out which lots were short vs long term and flagged where my CA exposure differed from federal. Worth doing before you decide anything. The federal long-term rate thresholds are in the Schedule D and Form 1040 instructions — check those against your projected income.

Wes D.

Author

This is exactly the gap in my planning — I keep modeling federal and forgetting CA just treats it all as ordinary. So the question really becomes: how much higher will my CA marginal rate be next year vs this year?

Have you figured out whether these shares are still inside any lock-up or trading window? A lot of companies with RSUs block sales except during open periods, and if your window closes before December 31 you may not have a choice regardless of the tax math.

Wes D.

Author

Window is open through mid-December so I do have time, but that's a good thing to flag for anyone else reading this.

Trading window timing trips people up every year. Mid-December sounds fine until you factor in settlement — make sure the trade date, not settlement, is what matters for holding period. For securities on established markets the holding period goes by trade date per Publication 550, so you're fine as long as you execute before the 31st.

What's your current year filing status and do you have any capital loss carryforwards? Either of those could change the calculus. A carryforward offsets gains dollar for dollar on Schedule D before you get to the net that flows to your rate bracket.

Wes D.

Author

Married filing jointly, no carryforward losses. Clean slate this year which I guess means every dollar of gain is exposed.

Worth looking at whether any of your lots are under a year old from the vest date. Those would be short-term on Form 8949 Part I regardless of when you sell. For holding period, you start counting the day after the vest date and the sale date is included. If a tranche vested in February of this year, it's still short-term until February next year.

Wes D.

Author

Two tranches vested in March of this year. So those are still short-term until March. Selling them now gives me short-term rates either way, so the timing question for those lots is basically moot — might as well wait.

Exactly. Short-term goes into Part I of Form 8949 at whatever your ordinary rate is. No benefit to rushing those. Focus the timing decision on the lots that are already long-term.

Does your new employer have equity too? If so, your RSU vest income next year will itself push your CA ordinary rate up, compounding the problem you're already trying to solve.

I ran into this same dilemma last year. Pulled all my lot detail from the brokerage, fed it into Taxr along with my W-2 projections, and it built a side-by-side showing which lots were long-term, what the federal and CA ordinary rates would be at different income levels, and what the net difference was if I sold in December vs January. Really clarified where the actual dollars were. The conclusion for me was that the CA hit was the dominant factor, not the federal brackets.

Wes D.

Author

How did you get your projected W-2 number accurate enough to model it? I have a base salary but bonus and vest income are estimates.

I used my offer letter base plus a conservative bonus estimate and my known vest schedule. The model is only as good as your inputs but even a range gives you a bracket picture. If you straddle two CA brackets under different scenarios, that's the number to focus on.

Worth noting that if you sell this December and it turns out you have a large net gain, you may owe estimated taxes at the state level to avoid an underpayment penalty. California has its own estimated payment schedule. Something to check before you sell a large lot and assume you can wait until April.

Agreed. CA underpayment rules are separate from federal. If you haven't been making quarterly payments and you realize a big gain in Q4, look at the FTB's rules on safe harbor payments for the current year.

Is there a wash sale angle here? If you sell and want back into the same stock within 30 days before or after, the loss on any underwater lots would be disallowed and the disallowed amount gets added to the basis of the repurchased shares. Not relevant if you're only selling appreciated lots, but if you're doing any loss harvesting alongside this, the 30-day window applies to purchases in the same account and also to your spouse's account or an IRA you control.

Wes D.

Author

No plans to harvest losses right now, all these lots are gains. But good to know about the spouse account rule — I didn't realize that applied.

The federal rate thresholds for long-term gains shift with taxable income, not AGI, so your deductions matter. If you're itemizing or have significant above-the-line deductions, your taxable income could land you in a lower federal bracket than your gross income suggests. CA doesn't follow that same structure for capital gains so the two calculations really do need to be run separately.

Wes D.

Author

That's a useful distinction. We itemize (mortgage interest plus state taxes up to the SALT cap) so the federal taxable income will be lower than AGI. Hadn't thought about that pulling me down a bracket.

Have you considered selling only the lots that push you to a specific CA bracket ceiling rather than selling everything? Partial realization lets you control exactly how much ordinary income CA sees this year.

Wes D.

Author

That's the approach I'm leaning toward. Identify where my CA bracket tops out at current income, then sell just enough long-term lots to fill that space without crossing into the next bracket.

Right. Run your current CA ordinary income, find the bracket edge, and the gap between that edge and your current income is your ceiling. The lot detail from your brokerage sorted by gain-per-share makes it easy to pick which ones to sell first.

On Form 8949, your long-term RSU sale lots belong in Part II. If the basis was reported to the IRS on your 1099-B (covered securities), check box D. If not, box E. The FMV at vest that your employer already reported as W-2 income becomes your cost basis per share — make sure the 1099-B matches that, because brokers sometimes report $0 basis on RSU shares and you'd need to correct it with a column (g) adjustment.

Wes D.

Author

This happened to me two years ago on a small lot — 1099-B showed zero basis, I almost paid tax twice on the compensation piece. Good reminder to reconcile that before filing.

When basis isn't reported to the IRS (box E), you enter the correct basis in column (e) and put -0- in column (g). When basis is reported but wrong (box D), you enter what the 1099-B says in column (e) and put the correction as a negative number in column (g) — negative because the correct basis is higher. The instructions for Form 8949 spell this out under the column (g) guidance.

Does your employer use a specific lot method by default, like FIFO, or can you tell the broker which lots to sell? If you can specify, you want to direct them to the long-term lots that are already past a year and have the basis closest to current price, to minimize gain while still realizing before the income jump.

Wes D.

Author

Brokerage lets me choose specific identification. I'll go in and select lots manually before placing the order. That way I can target exactly the lots I want.

If you're building a model, the federal capital gains rate structure is in the Schedule D and Form 1040 instructions — Topic no. 409 at irs.gov covers the capital loss limit and carryover, not the rates. For CA you'd need the FTB's rate schedules separately — those are on the FTB site, not IRS. The two don't move together.

Right that the FTB schedules have to be pulled separately. And Publication 550 has the full holding period rules if anyone needs to verify long-term status on a specific lot. The day-after-acquisition rule and trade-date rule are both in chapter 4.

Where did you land on this? Are you selling before year-end or waiting?

Wes D.

Author

Plan is to sell the long-term lots up to the edge of my current CA bracket before mid-December. Leaving the two short-term tranches from March alone since they'd be ordinary rate regardless. Going to run the numbers one more time with my year-to-date W-2 to make sure I have the right ceiling before I place the order.