Trimming a Large Stock Gain in 2026? California Taxes It Like Salary, and December 31 Sets the Year
If you hold a stock or fund in a taxable account that has grown for years, and you're thinking about selling some before the year ends, the date of the trade decides which year's return the gain lands on. In California, that gain is taxed on two very different sets of rules, and only one of them rewards you for holding it a long time.
The Short Answer
For 2026, a gain on publicly traded stock counts in the year of the trade date, so a sale executed on or before December 31, 2026 goes on your 2026 return even if it settles in January. Federally, a long-term gain is taxed at 0%, 15% or 20%, plus a 3.8% surtax once modified AGI on a joint return passes $250,000. California taxes the same gain as ordinary income, with no lower rate for long-term holdings, so splitting a sale across December and January helps only where a threshold is close.
Which Year Does a Stock Sale Count In?
The trade date decides the year, not the settlement date. IRS Publication 550 treats a sale of stock traded on an established market as happening on the day the trade executes. A trade placed on December 31 that settles on January 4 is a 2026 sale. A trade placed on January 4 is a 2027 sale.
That makes the calendar a planning tool rather than a formality. The same number of shares, sold a few trading days apart, can be reported on two different returns with two different sets of other income on them. Custodians often set their own year-end cutoffs for some account types and transfers, so the practical deadline can arrive earlier than December 31.
How Is the Gain Taxed in 2026, Federally and in California?
The two systems disagree about whether holding period matters. The federal return rewards a holding period of more than one year with lower rates. California's Franchise Tax Board states it directly: California has no lower rate for capital gains, and all capital gains are taxed as ordinary income.
| 2026 rule | Federal | California |
|---|---|---|
| Rate on a long-term gain | 0%, 15% or 20%, based on taxable income | Ordinary income rates; no long-term rate |
| Where the rate changes (joint return) | 15% above $98,900 of taxable income; 20% above $613,700 | Ordinary brackets, plus a 1% surcharge on taxable income above $1 million |
| Where the rate changes (single) | 15% above $49,450; 20% above $545,500 | Same ordinary brackets and surcharge |
| Surtax | 3.8% net investment income tax above $250,000 of modified AGI (joint) or $200,000 (single); not indexed for inflation | None |
| Capital losses | Offset gains, then up to $3,000 a year of other income; the rest carries forward | Same $3,000 limit ($1,500 married filing separately) |
Because California taxes a gain the way it taxes a pension or an IRA withdrawal, a large sale often lands in the same state bracket whichever year it falls in. Splitting it tends to change the California bill less than people expect, unless the gain would carry income into a higher bracket or past $1 million.
When Does Splitting a Sale Across Two Years Help?
Splitting helps when one year's total would cross a line that the two smaller totals would not. The lines that matter most for retirees are the 3.8% surtax threshold, the federal 20% bracket, California's $1 million surcharge, and Medicare's income-related premium tiers, which read the tax return from two years earlier.
Consider a hypothetical married couple, both retired, filing jointly in California. Their pensions and IRA withdrawals produce about $180,000 of modified AGI, and they plan to realize a $300,000 long-term gain. The example assumes the standard deduction, no other investment income, and the same income and tax law in 2027; it ignores age-related deductions.
- All in 2026: modified AGI is about $480,000. The 3.8% surtax applies to roughly $230,000, about $8,700.
- Half in December, half in January: modified AGI is about $330,000 each year. The surtax applies to roughly $80,000 a year, about $6,100 across both years.
That difference, roughly $2,600, comes entirely from the surtax. The federal rate on the gain is 15% in both versions, because taxable income stays under $613,700 either way. On the California return, the gain is taxed as ordinary income in both versions. Both years would also sit well above the joint income thresholds Medicare uses for 2026 premium surcharges, so premiums two years out would rise in either case; the 2028 and 2029 thresholds have not been published.
What's Easy to Miss Before December 31
A fourth-quarter gain can create a payment due in January. Both the IRS and California set the last 2026 estimated tax installment for January 15, 2027, and California's schedule asks for 30% of the year's estimate on that date. A large December sale can leave a gap that withholding from pensions or IRA distributions was never sized to cover.
Losses follow their own rule. A realized loss offsets gains on both returns, and because California has no lower long-term rate, each dollar of loss offsets gain taxed at the full state rate. Under the wash-sale rule in Publication 550, a loss is disallowed if the same or a substantially identical security is bought within 30 days before or after the sale. The rule applies to losses, not gains.
The gain is only one line on the return. A Roth conversion, a required minimum distribution or a property sale in the same year adds to the same income figure. Deciding the size of the stock sale without those numbers in view means deciding it against an incomplete return.
Where It Fits in Your Plan
A year-end sale looks like a portfolio decision, and it sets income on two returns, a Medicare premium two years later, and a January payment. That is the kind of decision the Tax Management Journey® is built for: tax decisions weighed across years and phases rather than one return at a time, including how California and federal rules treat the same dollar differently. Because a sale this size also changes estimated payments, the CPA belongs in the conversation before the trade rather than after it. Coordinating that timing so no one decides in isolation is what it means for an advisor to act as financial quarterback.
Planning a Sale Before Year-End?
If you are not getting your questions on this topic answered by your current financial advisor and would like to discuss working with us, you may request a meeting here.
Schedule your 20-Minute Due-Diligence Q&A Conversation
Sources: IRS Rev. Proc. 2025-32 §4.03; IRS Publication 550; IRS Topic No. 559 (Net Investment Income Tax); IRS Form 1040-ES (2026); California Franchise Tax Board, "Capital gains and losses," 2025 Schedule D (540) Instructions and 2026 Form 540-ES Instructions.
Keep reading
- Your 2026 Tax Return Sets Your 2028 Medicare Premium
- California Doesn't Tax Social Security. That Changes What Waiting Until 70 Is Worth.
- California Can't Tax Your IRA After You Move. It Can Still Tax the House You Sold.