California taxes capital gains as ordinary income rather than applying a separate, reduced rate. Your total capital gains tax can include California income tax, federal income tax and, at higher income levels, the Net Investment Income Tax.
This guide uses California rules and federal thresholds applicable to the 2025 tax year. It provides planning estimates, not filing calculations or personalized tax, legal, accounting or investment advice.
California Taxes is an independent reference and is not affiliated with the California Franchise Tax Board (FTB) or the Internal Revenue Service (IRS).
What tax applies to a California capital gain?
California capital gains tax generally combines state income tax with any applicable federal tax. California includes taxable profits in ordinary income, while federal law separates short-term and long-term results when determining rates.
A taxable capital gain usually occurs when you sell an asset for more than its adjusted basis. Covered assets can include shares, exchange-traded funds, cryptocurrency, investment property and personal-use property.
The calculation normally starts with sale proceeds and subtracts selling costs and adjusted basis:
Taxable profit = sale proceeds − selling expenses − adjusted basis
Adjusted basis commonly begins with the asset’s purchase price. Certain acquisition expenses, improvements, depreciation and prior adjustments can increase or decrease it.
Incomplete records can therefore produce a materially incorrect estimate.
For planning, separate the potential capital gains tax into three layers:
- Low layer: California tax only, if no federal tax remains after deductions, losses or exclusions.
- Middle layer: California tax plus federal capital gains tax.
- High layer: California tax, federal capital gains tax and the 3.8% Net Investment Income Tax (NIIT).
The applicable layer depends on filing status, taxable income, modified adjusted gross income, asset type, holding period and available losses. Start by calculating the taxable gain because it determines every later step.
How does the capital asset and holding period affect tax?
An asset’s holding period determines whether federal law treats its result as short term or long term. An asset held for one year or less generally produces a short-term gain or loss, while an asset held for more than one year generally produces a long-term result.
This distinction matters primarily at the federal level. Net short-term gains are generally taxed at ordinary income rates.
Net long-term gains may qualify for rates of 0%, 15% or 20%, although special categories can use different maximum rates.
California does not give long-term gains preferential treatment. Both holding-period categories enter the personal income tax calculation as ordinary income, subject to state adjustments and applicable law.
The holding period may still affect forms, netting and the federal portion of the overall capital gains tax.
Consider a taxpayer who buys shares for $40,000 and sells them for $55,000, with no commissions or basis adjustments. The capital gain is $15,000.
If the shares were held for nine months, the result is generally short term. If they were held for 18 months, it is generally long term.
California includes the taxable $15,000 in ordinary income either way.
Records should identify the acquisition date, disposal date and any transactions that change basis. Inherited property, gifted property, installment sales, employee stock, wash sales and partnership interests can require different rules.
The resulting amounts then move into the applicable netting calculations.
How are gains and losses calculated and netted?
Gains and losses are calculated transaction by transaction and then netted under short-term and long-term categories. This process can reduce the amount ultimately subject to capital gains tax, but federal and California differences must be tracked separately.
For each sale, compare proceeds with adjusted basis and allowed transaction costs. A positive result is a gain; a negative result is a loss.
The federal return generally groups short-term gains and losses separately from long-term gains and losses before combining the two net amounts.
Suppose a taxpayer has $24,000 of long-term gains, a $7,000 long-term loss and a $4,000 short-term loss. Before other adjustments, the net long-term gain is $17,000.
Combining that amount with the short-term loss produces a $13,000 net capital gain for federal purposes.
If capital losses exceed gains, an individual may generally deduct up to $3,000 of the excess against other income, or $1,500 when married filing separately. Unused amounts may generally carry forward.
These limits come from the IRS’s 2025 Schedule D instructions, and the treatment should be checked for the year being filed.
California broadly follows federal rules for gains and losses but applies modifications. Differences can arise from depreciation, property basis, deferrals, exclusions or prior state adjustments.
The FTB therefore instructs taxpayers with a federal-state difference to use California Schedule D (540). Its capital gains and losses guidance confirms that California taxes all capital gains as ordinary income.
Loss harvesting may reduce current capital gains tax, but a sale should be evaluated on more than tax consequences alone. Wash-sale rules can postpone a stock or securities loss when substantially identical property is acquired within the relevant period.
After netting, the remaining gain flows into the separate state and federal calculations.
How does capital gains tax work at the federal level?
Federal capital gains tax applies different rules to net short-term and net long-term results. Short-term gains generally join ordinary income, while most long-term gains use preferential rates determined by taxable income and filing status.
For the 2025 tax year, the IRS states that most net long-term gains fall within a 0%, 15% or 20% band. The 0% band ends at taxable income of $48,350 for single or married filing separately, $96,700 for married filing jointly or a qualifying surviving spouse, and $64,750 for head of household.
Above the applicable thresholds, part or all of the gain can enter the 15% or 20% band. See IRS Topic 409 for the dated brackets and special-rate categories.
A common mistake is multiplying all long-term gains by one headline rate. Capital gains stack on top of other taxable income.
One portion can occupy the 0% band, another the 15% band and the balance the 20% band. The correct capital gains tax calculation therefore depends on taxable income before and after the sale.
Some long-term gains do not follow the standard maximum rates. Collectibles gains can be subject to a maximum 28% federal rate, while unrecaptured Section 1250 gain from depreciable real property can be subject to a maximum 25% rate.
Qualified small business stock and other specialized assets can also require separate treatment.
The 3.8% NIIT may add another tax. For individuals, it applies to the lesser of net investment income or the excess of modified adjusted gross income (MAGI) over $200,000 for single or head-of-household filers, $250,000 for married filing jointly or a qualifying surviving spouse, and $125,000 for married filing separately.
The IRS NIIT guidance explains that capital gains can be included in net investment income.
Estimate the federal portion in three ranges: no regular capital gains tax when eligible gains remain inside the 0% band, a middle estimate when the 15% band applies, and a higher estimate when the 20% band and possibly NIIT apply. California income tax is then added to that estimate.
How does California tax capital gains?
California taxes short-term and long-term gains as ordinary income and does not offer a separate preferential rate. Gains increase taxable income after applicable state adjustments, deductions, exclusions and loss rules.
Individual income tax rates are graduated. Additional gains therefore do not normally cause every dollar of income to be taxed at the taxpayer’s highest marginal rate.
Instead, portions of taxable income pass through successive brackets.
For 2025, California individual income tax rates range from 1% to 12.3%. California also imposes an additional 1% tax on taxable income over $1 million, producing a maximum marginal personal income tax rate of 13.3%.
These rates and the treatment of gains are confirmed in the FTB’s dated summary of federal income tax changes.
A rough capital gains tax calculator may multiply the taxable gain by a marginal state rate, but that shortcut is only a planning estimate. A better calculator adds the gain to projected taxable income, computes tax with and without it, and takes the difference.
This method accounts for graduated brackets more accurately:
Estimated California tax attributable to gains = projected California tax with gains − projected California tax without gains
For example, assume a resident has $50,000 of taxable long-term gains. Applying a single 9.3% rate would produce a $4,650 state estimate, but that figure is reliable only if the entire additional amount falls within that bracket and no other adjustment changes the result.
A filing calculation must use the taxpayer’s full income, filing status, deductions, credits and current-year forms.
Residency and source rules can change the amount owed. A California resident is generally taxed on income from all sources, while a part-year resident or nonresident may owe tax on California-source income.
Moving to Nevada, Texas, Florida, Arizona, Oregon or New York does not by itself determine the result; domicile, residency dates, property location and the source of a gain matter.
California’s official tax calculator can help check a full-year estimate using the correct tax-year inputs. The next step is to determine how a taxable gain changes total income rather than treating an asset’s sale price as taxable income.
How does income change the effective rate?
Income changes the effective rate because both systems use graduated thresholds and different definitions of taxable income. The same gain can therefore produce different capital gains tax amounts for taxpayers with different wages, deductions, filing statuses, losses and investment income.
At the federal level, long-term gains are layered above ordinary taxable income. A taxpayer with lower earnings may place some gains in the 0% band.
A taxpayer in the middle may place most gains in the 15% band. A taxpayer with high income may reach the 20% rate and the separate NIIT calculation.
For California tax, gains join other taxable income and move through the regular state brackets. The marginal rate applies to the next dollar of taxable income; the effective rate is total tax divided by the relevant income or gain.
Those figures are not interchangeable.
Consider three planning ranges for $30,000 of long-term gains:
- Lower-income case: Part or all of the gains may fall in the 0% federal band, although California income tax may still apply.
- Middle-income case: The gains may face a 15% federal rate plus California tax.
- Higher-income case: The gains may face a 20% federal rate, California tax and potentially the 3.8% NIIT.
These ranges are illustrations, not a capital gains tax quote. The calculation can change when gains affect deductions, credits, alternative minimum tax, the taxable portion of Social Security benefits, income-based surcharges or other limitations.
A primary-residence sale can also change taxable income. Federal law may exclude a qualifying gain from the sale of a main home, subject to ownership, use and other requirements.
California generally follows that home-sale exclusion, but the facts and any state differences should be checked before excluding the gain from tax.
Before choosing a calculator rate, assemble projected ordinary income, capital gains, capital losses, filing status and deductions for the entire year. Those figures provide the inputs needed to complete the reporting form.
Which form reports California capital gains?
Capital gains are generally reported federally on Form 8949 and Schedule D, with California Schedule D (540) used when state and federal treatment differs. The exact form sequence depends on the asset, the information return received and whether an adjustment is required.
For a typical investment sale, the reporting process is:
- Compare broker records with Form 1099-B, Form 1099-DA, Form 1099-S or another applicable statement.
- Enter reportable transactions and adjustments on IRS Form 8949 when required.
- Summarize short-term and long-term gains and losses on Schedule D.
- Transfer the resulting income to Form 1040.
- Complete California Form 540 and use California Schedule D (540) if federal and state amounts differ.
- Complete IRS Form 8960 if NIIT applies.
The IRS’s 2025 Form 8949 instructions explain how to report proceeds, basis, adjustment codes and gain or loss. The 2025 Schedule D instructions explain netting, loss carryovers and transactions reported from other forms.
Keep purchase confirmations, reinvested-dividend records, improvement invoices, depreciation schedules and prior return workpapers. Records should support the acquisition date, sale date, proceeds, selling costs, adjusted basis, holding period and any claimed exclusion.
Broker forms can contain missing or inaccurate basis information, particularly for transferred securities, older holdings, cryptocurrency, inherited assets and partnership interests. The taxpayer remains responsible for the return even when an information form is incomplete.
After the forms establish the net taxable gain, use current federal and California rules to determine the applicable capital gains tax.
What rate should you use for a planning estimate?
A California capital gains tax estimate should reflect both the taxpayer’s marginal state rate and the applicable federal treatment. A single combined percentage is rarely accurate without full-year income and filing details.
Use this sequence for a practical gains tax estimate:
- Calculate proceeds, selling costs and adjusted basis for each asset.
- Classify each result by its holding period.
- Net gains and losses, including available prior-year carryovers.
- Estimate ordinary federal tax on net short-term gains.
- Apply the 0%, 15% or 20% bands to eligible long-term gains.
- Check whether the 3.8% NIIT applies based on MAGI and net investment income.
- Add the taxable gain to projected California taxable income and calculate the incremental state tax.
- Compare the capital gains tax estimate with withholding and estimated payments.
A calculator should disclose its tax year, inputs, formulas, rounding method and limitations. At minimum, enter filing status, California residency, ordinary income, short-term gains, long-term gains, losses, carryovers and deductions.
For property, also include selling expenses, improvements, depreciation and any available exclusion.
The final gains tax result is best read in three ranges: a lower estimate when losses or the 0% band absorb much of the gain, a middle estimate when standard federal treatment and moderate California rates apply, and a higher estimate when top rates and NIIT apply.
This is a planning estimate, not a filing calculation.
Verify current rates and form instructions with the FTB and IRS before selling an asset, making an estimated payment or filing a return. If residency, business property, installment payments, inherited basis or a substantial capital gain is involved, consider obtaining advice from a qualified tax professional.
Frequently asked questions
Does California have a separate long-term capital gains tax rate?
No. California taxes long-term gains as ordinary income and does not provide the preferential state rate used by the federal system.
What is the highest California capital gains tax rate?
For 2025, California’s highest marginal personal income tax rate is 13.3%: the 12.3% top rate plus an additional 1% tax on taxable income above $1 million. This is a marginal rate, not necessarily the effective rate on every gain.
Are short-term gains taxed differently in California?
No preferential California rate applies based on the holding period. Short-term and long-term gains enter ordinary taxable income, although the distinction remains important for federal tax.
Can capital losses reduce California tax?
Capital losses can offset gains, and limited excess losses may offset other income under applicable rules. California modifications and prior carryovers can make the state amount differ from the federal amount.
Is California capital gains tax based on the sale price?
No. Capital gains tax generally applies to the taxable gain, not gross sale proceeds.
The result usually equals proceeds minus selling expenses and adjusted basis, subject to exclusions and other adjustments.
Do I owe California gains tax after moving to another state?
Possibly. The answer depends on residency, domicile, the sale date and whether the gain has a California source.
A move to Nevada, Texas or Florida does not automatically remove California tax exposure.
How can I estimate my total gains tax?
Calculate the net taxable gain, determine its holding period, apply the federal capital gains tax rules, check NIIT and then calculate the incremental California tax. Use full-year income rather than applying one headline rate.