Skip to main content

HomeAll guides

How California's Capital Gains Tax Works and Who Pays It

California taxes investment profits at a higher rate than most states

California does not have a separate capital gains tax. Instead, it treats investment profits — the money you make when you sell stocks, real estate, or other assets for more than you paid — as regular income and taxes them using the same tax brackets as wages and salary.

This means your capital gains are added to your other income for the year, and the combined total determines your tax rate. If you earn $80,000 in wages and $20,000 in capital gains, California taxes you on $100,000 of income. The state's top income tax rate is 13.3 percent, which applies to high earners and is among the highest in the country.

The federal government also taxes capital gains, but at lower rates than California — a maximum of 20 percent for long-term gains (assets held over one year) for high earners, and 15 percent for most others. You owe both the state and federal tax on the same profit.

Key Takeaways

  • California taxes capital gains as ordinary income using its regular tax brackets, not at a separate lower rate like the federal government does.
  • Your capital gains are added to your wages, salary, and other income to determine your total tax bill for the year.
  • California's top income tax rate of 13.3 percent applies to capital gains for high earners, making the state's tax on investment profits significantly higher than federal rates.
  • You owe California state tax and federal tax on the same capital gain — they do not offset each other.
  • Long-term gains (held over one year) and short-term gains (held one year or less) are taxed at the same California rate, unlike federal tax which treats them differently.

Long-term versus short-term gains: California treats them the same

The federal government taxes long-term capital gains (assets you held for more than one year) at preferential rates — 0, 15, or 20 percent depending on your income. Short-term gains (assets held one year or less) are taxed as ordinary income at rates up to 37 percent.

California ignores this distinction entirely. Both long-term and short-term gains are taxed as ordinary income using California's regular brackets. This means a short-term gain from a stock you held for three months is taxed the same way as a long-term gain from a rental property you owned for five years.

This is one of the largest differences between California and federal tax treatment. A California resident who sells a stock for a $50,000 profit might owe 13.3 percent to the state ($6,650) plus 15 percent to the federal government ($7,500), for a combined $14,150 tax bill. In a state with no income tax, that same person would owe only the federal 15 percent.

How to calculate your capital gain or loss

Your capital gain is the difference between what you sold an asset for (the sale price) and what you paid for it (your cost basis), minus any selling costs like broker fees or commissions. If you bought 100 shares of stock at $50 per share ($5,000 total) and sold them for $7,000, your gain is $2,000.

If you sell an asset for less than you paid, you have a capital loss. You can use capital losses to offset capital gains in the same year. If your losses exceed your gains, you can deduct up to $3,000 of the excess loss against other income (wages, salary, interest) in that year. Any remaining loss carries forward to future years.

For real estate, your cost basis includes the purchase price plus certain improvements you made — a new roof, a kitchen renovation, or a deck addition. It does not include maintenance costs like painting or repairs. Keep receipts and records of all improvements, because you will need them to prove your basis when you sell.

If you inherited an asset, your cost basis is reset to its value on the date of death, not what the previous owner paid. This is called a "step-up in basis" and can eliminate or greatly reduce the tax on gains that occurred before you inherited it.

What assets trigger capital gains tax in California

Capital gains tax applies to the sale of almost any asset: stocks, bonds, mutual funds, real estate, cryptocurrency, collectibles, and business interests. It also applies to certain non-sale transactions — if you trade one asset for another (like exchanging one rental property for another), or if you donate appreciated assets to charity, you may owe tax on the gain.

Your primary residence is the major exception. If you are single, you can exclude up to $250,000 of gain when you sell your home. If you are married filing jointly, the exclusion is $500,000. You must have owned and lived in the home as your main residence for at least two of the five years before the sale. This exclusion applies to both California and federal tax.

Certain other assets are exempt or taxed differently. Bonds issued by California or other states are exempt from federal tax and from California tax. U.S. Treasury bonds are exempt from California tax but not federal tax. Savings bonds and I Bonds have special rules about when the gain is taxed.

When you owe California capital gains tax

You owe California capital gains tax in the year you sell the asset or complete the transaction. If you sell stock in March, you report the gain on your 2024 tax return filed in 2025. If you trade one investment property for another in December, the gain is taxable in that same year, even though you did not receive cash.

You report capital gains on your California tax return (Form 540 or 540-2) on Schedule D, which lists each sale and calculates your total gain or loss. You also file Schedule D with your federal return (Form 1040). The California and federal forms are similar but not identical — California does not recognize some of the federal exclusions and deductions.

If you have a large gain and expect to owe more than $1,000 in state tax, you may need to make estimated tax payments during the year rather than waiting until April. Contact the California Franchise Tax Board or a tax professional to determine whether you need to pay quarterly.

How California's top earner tax affects capital gains

In addition to the regular income tax brackets, California imposes a 1 percent "Mental Health Tax" on income over $1 million per year. This tax applies to capital gains as well as wages. So a high earner with $2 million in capital gains owes the 13.3 percent top rate plus an additional 1 percent on the amount over $1 million.

This 1 percent tax was approved by voters in 2020 and is separate from the regular income tax. It applies to all income — wages, business income, investment income, and capital gains — above the $1 million threshold. For married couples filing jointly, the threshold is $2 million.

The combined effect is that California's effective tax rate on high capital gains can exceed 14 percent, before federal tax is added. This makes California one of the most expensive states for investment income.

Reporting capital gains on your California return

You report capital gains on Schedule D of Form 540 (the standard California individual income tax return) or Form 540-2 (the short form, available only if your income is below certain thresholds and you have no capital gains or losses). Schedule D asks for the date you bought the asset, the date you sold it, your cost basis, the sale price, and your gain or loss.

If you sold multiple assets during the year, you list each one separately on Schedule D. The form then calculates your total long-term gains, total short-term gains, and total gain or loss. This total is transferred to the main tax return and added to your other income.

If you use tax software or work with a tax professional, they will handle the Schedule D calculation for you. If you prepare your return by hand, you can read Schedule D from the California Franchise Tax Board website (ftb.ca.gov). The instructions walk through each line.

Frequently Asked Questions

Do I owe California capital gains tax if I live out of state?

If you are a California resident for tax purposes, you owe California tax on capital gains from assets anywhere in the world. If you moved out of state, you owe California tax only on gains from assets located in California (like California real estate) or from sales you completed while still a resident. Once you establish residency in another state, you owe that state's tax instead.

What if I sold stock at a loss?

You can use the loss to offset capital gains from other sales in the same year. If your losses exceed your gains, you can deduct up to $3,000 of the excess against wages, salary, and other income. Any remaining loss carries forward to future years and can be used the same way.

Do I owe capital gains tax on inherited assets?

No, not on the gain that occurred before you inherited the asset. Your cost basis is stepped up to the asset's value on the date of death, so you owe tax only on gains that occur after you inherit it. If you inherited stock worth $100,000 that the previous owner bought for $20,000, your basis is $100,000, and you owe no tax on that $80,000 gain.

Can I defer capital gains tax by reinvesting the money?

No. California taxes the gain in the year you sell the asset, regardless of what you do with the proceeds. Reinvesting the money does not delay or reduce the tax. The only way to defer federal capital gains tax is through specific vehicles like opportunity zones, but California does not recognize this deferral.

What if I sold my home and made a profit over $250,000?

You can exclude up to $250,000 of gain if you are single, or $500,000 if married filing jointly, as long as you owned and lived in the home for at least two of the five years before the sale. Any gain above that threshold is taxable as capital gains. If you sold for a $600,000 profit and are single, you owe tax on $350,000.

This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.