California Capital Gains Tax, Explained
See how state tax differs from federal tax, what changes after a move, and which sale details require a separate California calculation.
Quick Answer
California taxes capital gains at ordinary income rates, including long-term gains. Rates range from 1% to 12.3%, with an additional 1% Behavioral Health Services Tax on taxable income above $1 million (formerly called Mental Health Services Tax). The top combined state marginal rate is 13.3%, not a flat rate on every gain. Federal tax and NIIT require separate calculations. Start with our educational capital gains calculator; its state-rate input is an illustration, not a California return calculation.
How California Taxes Capital Gains (Ordinary Income, Full Stop)
Most eligible long-term gains use the federal 0%, 15%, or 20% rate bands. California applies ordinary income rates to capital gains. Filing status, taxable income, adjustments, and asset-specific rules affect the final calculation.
A gain can cross several California rate bands. Adding the top federal and state rates describes a possible marginal rate on a particular slice of income; it does not calculate the average tax on an entire sale.
| Illustrative $100,000 gain | Assumed rate on the entire gain | Illustrated tax |
|---|---|---|
| Federal long-term gain | 15% | $15,000 |
| California | 9.3% | $9,300 |
| Combined illustration | 24.3% | $24,300 |
This hypothetical assumes the entire taxable gain falls in those specified rate bands. It excludes NIIT, credits, losses, alternative minimum tax, special-rate gains, and other return interactions. It is not a calculation for a particular filing status or household.
Selling property or a business? Plan before closing.
With California taxing gains as ordinary income, the timing and structure of a sale matter twice. Which tax year the gain lands in, installment terms, or a 1031 exchange generally have to be set up before closing. Book a free 30-minute consultation with our team to talk through your sale and whether Taxstra is a fit. See our tax services for high-income earners.
Tax planning slots are limited before year-end.
The Federal Breaks California Refuses to Honor
- QSBS: California does not conform to the federal Sections 1045 and 1202 deferral and exclusion. Calculate the California adjustment separately when evaluating a business sale or stock exit.
- Opportunity Zones: California does not conform to federal capital-gain deferral and exclusion for qualified opportunity zone investments. Track amounts already recognized for California purposes to avoid duplicate inclusion.
- Long-term rates: California uses ordinary income rates even when a gain qualifies for a lower federal rate.
What California DOES conform to
California generally follows qualifying Section 121 home-sale exclusions and Section 1031 real-property exchanges. Eligibility and state reporting still matter. Installment sales require analysis of the asset, residency, and payment timing.
California Real Estate: 1031 Reporting and Withholding
A qualifying 1031 exchange can defer gain on investment or business real property. Receiving out-of-state replacement property does not itself trigger the deferred tax, but an exchange of California property for out-of-state property requires Form FTB 3840 for the exchange year and generally each subsequent year until the California-source deferred gain or loss is recognized. Review the reporting obligation even when no other California return is required.
California real-estate sales may require withholding through Form 593, subject to exemptions and available calculation methods. Withholding is a prepayment credited against the return, rather than the final tax on the sale. Review escrow requirements before closing.
Prior rental depreciation affects adjusted basis. Federally, unrecaptured Section 1250 gain may face up to 25%, while Section 1245 assets can produce ordinary-income recapture. California basis and depreciation adjustments can differ.
Selling this year? Discuss our tax services.
Book a free 30-minute consultation with our team to discuss your needs, our services, fit, and next steps. Transaction modeling, residency analysis, and personalized advice require a paid engagement.
Tax planning slots are limited before year-end.
Some sale options require arrangements before closing. Organize your transaction details early.
Selling After You Leave: What California Still Taxes
Residency and sourcing are separate tests. A bona fide move can affect the sourcing of stock and other intangibles, subject to exceptions. It does not remove California-source income. Distinguish these cases:
- California real estate: gains remain sourced to California for a nonresident.
- Installment gains: California property and stock sold while a California resident can remain taxable. Out-of-state real-property installments may have different treatment after a genuine move.
- Deferred exchange gains: preserve California sourcing and track them through FTB 3840.
Residency is a facts test, not a forwarding address
Residency depends on facts and circumstances, including domicile, purpose and duration of an absence, and ties to California. Document the facts; a mailing-address change does not settle the question. FTB Publication 1100 explains sourcing and move examples.
Questions to Resolve Before a California Sale
- Which federal and California basis adjustments apply?
- Can a qualifying installment sale or exchange fit the transaction, including recapture and reporting?
- What do residency and sourcing facts establish?
- How do losses, charitable goals, and income timing affect the full return?
- Which withholding and estimated payments are required?
Use the California estimated-tax guide alongside the capital-gain analysis. California uses a 30% / 40% / 0% / 30% installment pattern. Its prior-year safe harbor is unavailable at California AGI of $1 million or more ($500,000 for married/RDP filing separately); annualized-income rules can matter for a late-year sale.
What changed in California
Rate and rule changes for recent tax years and changes already enacted for future years, each linked to the state source. Sources last checked October 20, 2026.
Tax year 2025
- In effect
$20,000 military retirement exclusion (2025 through 2029)
California excludes up to $20,000 of military retired pay and Survivor Benefit Plan annuities for tax years 2025 through 2029, subject to federal AGI limits ($125,000 single, $250,000 joint).
Effective January 1, 2025. R&TC 17132.9 and 17132.10. Source: California FTB: military filing situations, checked September 2, 2026.
Tax year 2026
- In effect
Rates unchanged; brackets indexed
The nine-bracket schedule from 1% to 12.3%, plus the 1% tax above $1 million, is unchanged for 2026. The Franchise Tax Board published indexed 2026 bracket thresholds in its September 3, 2026 indexing memorandum.
Effective January 1, 2026. Source: California FTB: tax rate schedules, checked September 12, 2026.
- In effect
SDI withholding 1.3% on all W-2 wages
State Disability Insurance withholding applies to all W-2 wages with no wage cap. The rate was 1.2% for 2025 and 1.3% for 2026. Locum physicians paid on a W-2 by a California facility or agency see this on every dollar of California wages.
Effective January 1, 2026. Source: California EDD: rates and withholding, checked October 20, 2026.
Educational, not individualized tax advice. Rates shown are statutory; your result depends on residency, filing status, and the income involved.
California Capital Gains FAQs
How much is capital gains tax in California?
California uses its ordinary income tax rates for capital gains, including long-term gains. Rates run from 1% to 12.3%; the additional 1% Behavioral Health Services Tax applies to taxable income above $1 million. The applicable rate depends on taxable income and filing status. Federal capital-gains tax and NIIT are separate.
Does California have a lower rate for long-term capital gains?
No. California does not offer the federal 0%, 15%, and 20% long-term rate bands. Holding an asset more than one year can change federal treatment without changing California ordinary-income treatment.
Do I pay California capital gains tax after moving out of state?
It depends on residency, the asset, and its source. California real-estate gains remain California-source income. Stock is generally sourced to residence at sale, subject to exceptions. Installment gains require separate analysis: California real estate and stock sold while a California resident can remain taxable, while out-of-state real property may differ. FTB Publication 1100 explains these distinctions.
Does California recognize 1031 exchanges?
A qualifying exchange of investment or business real property can defer gain. Exchanging California property for replacement property outside California adds an annual Form FTB 3840 filing obligation, generally until the California-source deferred gain or loss is recognized. Acquiring out-of-state replacement property does not itself end the deferral.
Does California withhold tax when I sell real estate?
Often, yes. On many California real estate sales the escrow company withholds 3 1/3% of the total sales price, or an optional amount figured on the gain, and reports it on Form 593. Common exemptions include a sale of your principal residence that qualifies for the Section 121 exclusion, a sale at a loss or zero gain for California purposes, and a qualifying 1031 exchange. The withholding is a prepayment credited on your California return, not the final tax.
Does California allow the QSBS exclusion or Opportunity Zone deferral?
California does not conform to the federal qualified small business stock deferral and exclusion under Sections 1045 and 1202, or Opportunity Zone capital-gain deferral and exclusion under Sections 1400Z-1 and 1400Z-2. Federal and California basis and reporting adjustments require separate attention.
Does California tax the gain on my home sale?
A qualifying principal-residence sale may use the Section 121 exclusion of up to $250,000, or $500,000 for qualifying joint filers. Ownership, use, and other requirements apply; living in the home is not the only test. Depreciation and nonqualified use may affect the exclusion. A remaining taxable gain is subject to California ordinary income rates.
Capital gains tax by state
Discuss tax planning services for your California sale
Book a free 30-minute consultation with our team to discuss your needs, our services, fit, and next steps. Transaction modeling, residency analysis, and personalized advice require a paid engagement.
Tax planning slots are limited before year-end.
Explore our services and the educational guides for your type of sale.
Authoritative Sources
- FTB: Capital gains and losses
- FTB Publication 1100: residency changes and installment sales
- FTB 3840 instructions: annual exchange reporting
- California Schedule D instructions: QSBS and Opportunity Zone adjustments
- 2026 Form 540-ES instructions: estimates and Behavioral Health Services Tax
- IRS Publication 523: qualifying home-sale exclusions
- IRS Topic 409: capital gains and special rates
Citations reflect U.S. federal and California tax guidance as of the article's last reviewed date.
A decision that affects more than one part of your return?
Bring the income sources, investments, property interests, and timing into a coordinated planning conversation.
Explore coordinated tax advisory →Related Taxstra resources
Continue with the services, planning tools, and explainers most relevant to this topic.
