Capital Gains Tax in California: Rates and Planning
California Treats Capital Gains as Ordinary Income
Unlike the capital gains tax California charges, most states with an income tax follow the federal distinction between short-term and long-term capital gains. California doesn’t. The Franchise Tax Board (FTB) treats all capital gains — whether you held the asset for two months or twenty years — as ordinary income on your Form 540. That’s the single biggest difference between California and nearly every other state.
What this means in practice: a W-2 employee earning $300,000 who sells stock for a $200,000 long-term gain will pay federal tax on that gain at 15% (or 20% if total income pushes past $518,900 for single filers per IRC Section 1(h)). But California will stack that $200,000 on top of the $300,000 salary and tax the combined amount at marginal rates up to 12.3% — plus an additional 1% Mental Health Services Tax if the total exceeds $1 million.
That 1% surcharge is easy to overlook. It was introduced by Proposition 63 in 2004, and it applies to all taxable income above $1,000,000, not just capital gains. But a large asset sale is usually what pushes someone over the threshold.
California’s Income Tax Rate Schedule
For 2025, California’s marginal rates for single filers look like this:
- 1% on income up to $10,756
- 2% on $10,757 – $25,499
- 4% on $25,500 – $40,245
- 6% on $40,246 – $55,866
- 8% on $55,867 – $70,612
- 9.3% on $70,613 – $360,659
- 10.3% on $360,660 – $432,787
- 11.3% on $432,788 – $721,314
- 12.3% on $721,315 and above
- 13.3% (12.3% + 1% Mental Health Services Tax) on income over $1,000,000
Married filing jointly brackets are roughly double. The point here isn’t memorizing brackets — it’s understanding that capital gains income slots directly into this schedule, stacked on top of your wages, business income, rental income, and everything else. There’s no separate, lower rate. See our CA Form 540 tax rates page for the full schedule.
The Mental Health Services Tax on Gains Over $1 Million
Worth its own section because we see clients caught off guard by it every year. If your total California taxable income — including capital gains — exceeds $1,000,000, you owe an extra 1% on the amount above that threshold. That’s $1,000,000 in a single tax year, not cumulative. Read more on our Mental Health Services Tax page.
Selling a house you’ve owned for 30 years in the Bay Area? That gain alone might clear the $1M line. A concentrated stock position vesting at IPO? Same story. The extra 1% sounds small until you realize it’s $10,000 on every million above the threshold, on top of the 12.3% rate you’re already paying.
The Primary Residence Exclusion Still Applies
Good news: the federal exclusion under IRC Section 121 carries through to your California return. If you sell your primary residence and meet the ownership and use tests (owned and lived in the home for at least 2 of the last 5 years), you can exclude up to $250,000 of gain as a single filer or $500,000 if married filing jointly.
This exclusion applies for both federal and California purposes. So a married couple selling their home for a $450,000 gain pays zero federal capital gains tax and zero California tax on that gain. But if the gain exceeds $500,000 — and in San Francisco, Los Angeles, or San Jose, that’s increasingly common — the excess is taxed as ordinary income at state level. See our home sale tax rules page for more.
One thing people forget: the exclusion doesn’t apply to the depreciation you claimed (or should have claimed) if you rented the property at any point. That depreciation recapture hits you at 25% federally and as ordinary income in California.
Installment Sales: Spreading the Gain Across Years
If you’re selling a business, real estate, or another large asset, structuring the transaction as an installment sale under IRC Section 453 lets you recognize gain as you receive payments rather than all at once. The capital gains tax California charges still conforms to the federal installment sale rules.
Why does this matter? Because California’s 13.3% top rate kicks in at income over $1M. If you can spread a $3 million gain across three tax years instead of recognizing it all in one, you might keep each year’s income below the Mental Health Services Tax threshold — or at least reduce the amount subject to the highest brackets.
There are trade-offs. You take on credit risk from the buyer. You defer your cash. And interest on the deferred payments is taxable income too. But for the right situation, installment sales remain one of the most straightforward ways to manage a large California capital gains bill.
Moving Out of State Before Selling — and Residency Audit Risk
This is the strategy everyone asks about: relocate to Nevada, Texas, Florida, or another zero-income-tax state before selling the asset. On paper, it works. California taxes residents on worldwide income, but non-residents only on California-source income. If you move to Nevada and then sell stock in a Delaware corporation, that gain isn’t California-source.
Here’s the catch. The FTB is aggressive — more aggressive than almost any other state — about residency audits. They look at where your spouse lives, where your kids go to school, where your doctors and dentists are, where your car is registered, which state issued your driver’s license, and how many days you spent in California after claiming to leave. They’ll pull cell phone records and credit card statements.
A half-hearted move doesn’t cut it. If you rent a place in Reno but your family stays in Palo Alto and you fly back every weekend, the FTB will argue you never left. The burden of proof is on you to show you established domicile in the new state. We’ve seen clients who moved “on paper”. Get hit with back taxes and interest after a two-year audit. The savings need to justify a genuine, full relocation — not a mailbox and a lease.
There’s also a clawback risk for certain types of deferred compensation. California can tax stock options and RSUs based on where you worked when the compensation was earned, even if you’ve since moved. The sourcing rules are complex and fact-specific.
Qualified Opportunity Zone Deferrals
Federal Qualified Opportunity Zone (QOZ) investments let you defer capital gains by reinvesting them into a Qualified Opportunity Fund within 180 days of the sale. California partially conforms. The state allows the deferral of gain, but the rules have quirks — California didn’t adopt the step-up in basis that the original federal legislation provided for investments held 5 or 7 years (those federal provisions expired in 2026 anyway for most taxpayers).
The QOZ deferral is a timing tool, not a permanent exclusion. The deferred gain comes back into income on December 31, 2026, or when you sell the QOZ investment, whichever is earlier. If you’re still a California resident at that point, you’ll pay California tax on the recognized gain. Moving out of state before the recognition date is one planning angle, but see the residency audit discussion above.
Timing Strategies Worth Considering
Beyond installment sales and relocation, a few other timing-based approaches can reduce your California capital gains exposure:
- Harvest losses in the same year. Capital losses offset capital gains dollar-for-dollar on both your federal and California returns. If you’re sitting on losing positions, selling them in the same year as a large gain reduces the net amount subject to tax. See our tax-loss harvesting guide.
- Bunch income into alternating years. If you have control over when gains are recognized (selling rental property, exercising options), try to avoid stacking multiple large gains in a single year. Two $500K gains in two separate years cost less in California tax than one $1M gain in a single year because of the Mental Health Services Tax.
- Use a 1031 exchange for real estate. California conforms to IRC Section 1031 like-kind exchanges for real property. Swapping one investment property for another defers the gain entirely — no California tax until you eventually sell without exchanging.
- Charitable remainder trusts. Contributing appreciated assets to a CRT before sale can spread the gain recognition over the trust’s term while generating a charitable deduction. This works for both federal and California purposes, but the economics only make sense for larger positions (usually $1M+).
What About the Federal Side?
California’s treatment stacks on top of federal capital gains taxes. A high-income California resident selling long-term capital gains could face a combined rate of 20% (federal long-term rate) + 3.8% (Net Investment Income Tax) + 13.3% (California) = 37.1%. That’s a real number. Short-term gains are worse: up to 37% federal + 3.8% NIIT + 13.3% California = 54.1%.
The federal long-term rate is 0% for taxable income up to about $47,025 (single) or $94,050 (married filing jointly) in 2025, 15% for most filers above that, and 20% once taxable income exceeds $518,900 (single) or $583,750 (MFJ) per IRC Section 1(h). But none of those preferential rates exist on the California side. The state treats it all the same regardless of holding period.
One planning note: if you’re subject to the Alternative Minimum Tax (AMT) federally, the interaction with California capital gains adds another layer. California has its own AMT with different exemption amounts and rates. Work through both calculations before making a sale — or better yet, have your tax advisor model the numbers.
Related Services from The Reed Corporation
Helpful Guides You Might Also Like
Sources & References
Frequently Asked Questions
What is the capital gains tax California applies, and how does it differ from federal rates?
At the federal level, the tax on a capital gain depends heavily on how long you owned the asset. A long-term gain, on something held more than one year, gets a preferred rate that reaches 20 percent for high earners and can sit at 0 percent for people with modest taxable income. You list each sale on Form 8949 and carry the totals to Schedule D, and the IRS lays out the treatment in Publication 550 on investment income. California takes a very different road. The capital gains tax California applies is simply its ordinary income tax, because the state grants no lower rate for long-term gains of any kind. State brackets run from 1 percent up to 13.3 percent at the very top, and that ceiling includes an added 1 percent charge on income above 1 million dollars that funds mental health services. The Franchise Tax Board runs the state system, and you can check current brackets on the Franchise Tax Board site.
A worked example shows the gap. Suppose you sell stock for a 50,000 dollars long-term gain, and your income places that gain in the 15 percent federal bracket. Federal tax on the gain is 7,500 dollars. California then taxes the same 50,000 dollars as regular income. At a 9.3 percent California rate, that adds 4,650 dollars, for a combined 12,150 dollars before any other layer. A seller living in Florida or Texas would owe only the 7,500 dollars, since those states place no personal income tax on the gain. The same sale, moved across a state line, can cost thousands more purely because of where the seller lives. That single fact is the heart of why residency drives so much California planning.
The mistake I see most is a seller who plans entirely around the federal holding period and assumes California offers the same reward for patience. Holding an asset more than a year cuts your federal rate, yet it does nothing for the state, which taxes a decade-long hold and a two-month flip at the identical ordinary rate. Another slip is failing to set aside cash for the state portion, then meeting a bill in April with no money reserved. Our tax strategy consulting team can model the full combined cost before a sale, and careful preparation of your federal and California returns keeps both sides consistent. The point here is understanding the tax, never a recommendation to buy or sell any security.
For anyone selling appreciated property while living in California, the practical lesson is to weigh federal and state tax together, not one at a time. A gain that looks lightly taxed on the federal side can carry a heavy state cost that reshapes the after-tax result. Knowing how California will tax your gain in advance lets you reserve the right amount and skip the springtime surprise. This is about the tax result only, and every household has different brackets, so the figures above are just an illustration. Run the combined number before you sell, and filing season turns into a simple confirmation instead of an unwelcome shock.
One point trips up newcomers to the state. People look for a single capital gains rate for California, but no such separate rate exists, because the gain simply joins your wages and other income on the state return and faces whatever bracket that total reaches. A large one-time sale can even push part of your other income into a higher bracket for the same year. That bunching effect is why spreading a sale across years through an installment note sometimes lowers the overall state tax, a purely mechanical result of the brackets rather than any special treatment for gains. It also means two people with the identical gain can owe very different California tax, depending on the rest of their income. Look at the whole-year picture before you settle on a sale date.
What is the difference between short-term and long-term capital gains on a federal return?
The holding period is the dividing line on a federal return. Sell an asset you owned for one year or less and the profit is a short-term capital gain, taxed at your ordinary income rate, the same brackets that apply to wages. Hold it longer than a year and the profit becomes long-term, eligible for the lower rate that tops out at 20 percent. The IRS details the holding-period rules in Publication 550, and you list each sale on Form 8949 before the totals roll onto Schedule D. The difference is not small. On a 40,000 dollars gain, a taxpayer in the 32 percent bracket pays 12,800 dollars if the gain is short-term but only 6,000 dollars at the 15 percent long-term rate, a swing of 6,800 dollars from timing alone.
Losses enter the same system and can soften a gain. Capital losses first offset capital gains of the same character, then up to 3,000 dollars of any leftover loss can reduce ordinary income in a year, with the rest carried forward to future years. Say you took a 10,000 dollars gain on one holding and a 4,000 dollars loss on another. You are taxed on the net 6,000 dollars, not the full gain. A short-term loss offsets short-term gains first, and a long-term loss offsets long-term gains first, before any crossover between the two. For a California resident, remember that the state ignores the short-term and long-term split and taxes the net result at ordinary rates regardless.
The common mistake is selling a winner just before it crosses the one-year mark. Someone who sells on day 360 turns what could have been a long-term gain into a short-term one and can nearly double the federal rate on that profit. Waiting a few more weeks, when the facts allow, often changes the tax by a wide margin. Another error is ignoring the wash-sale rule when harvesting losses, which can disallow a loss you thought you had booked. Clean records of your purchase dates and amounts settle these questions quickly, and solid preparation of your individual return then applies the right character to each sale.
Understanding the federal split is the first step, and it sets up the state comparison that matters so much for California residents. The federal system rewards patience with a lower rate, so the timing of a sale can matter as much as its size. The federal holding period is a calendar question with real money attached, so a note of each purchase date in your records pays for itself. Track your holding periods through the year rather than reconstructing them at tax time. Do that, and you reach each sale knowing its tax character in advance, which puts you in control of the outcome instead of reacting to it later.
The favorable federal rate reaches beyond simple stock sales. Qualified dividends ride the same lower brackets as long-term gains, so a portfolio can throw off preferred-rate income without any sale at all. Some assets break the pattern in the other direction. A gain on collectibles such as art or coins is capped at a 28 percent federal rate, above the usual long-term ceiling, and the part of a real estate gain tied to past depreciation is taxed up to 25 percent. California ignores every one of these federal distinctions and taxes the whole amount at ordinary rates. Picture a 5,000 dollars coin gain. The federal side may take 28 percent while the state piles its ordinary rate on top, so the combined cost climbs faster than a stock sale of the same size would. Knowing which category a sale falls into before you file keeps the tax figure honest and stops an unwelcome jump when the forms are finally filled in.
How does cost basis change the capital gains tax California ultimately assesses?
Basis is your investment in an asset for tax purposes, and it decides how much of a sale is actually gain. In its simplest form, basis is what you paid for an asset, increased by buying costs such as commissions and by any later improvements to property. The IRS explains the concept in Publication 551 on basis of assets. When you sell, gain equals the sale price minus that basis, so a higher basis means a smaller gain and a smaller tax on both returns. Suppose you bought stock for 20,000 dollars, paid 100 dollars in commissions, and sold years later for 35,000 dollars. Your basis is 20,100 dollars and the gain is 14,900 dollars, not the full 35,000 dollars. Because California starts from that same federal gain figure, the tax that California ultimately assesses rises or falls with your basis just as the federal tax does.
Some assets carry special basis rules that change the result sharply. Inherited property generally gets a stepped-up basis to its value on the date of death, which can erase decades of gain for an heir who sells soon after. A primary home has its own break. Under the home-sale exclusion covered in Publication 523, a single filer can exclude up to 250,000 dollars of gain and a married couple up to 500,000 dollars, if they owned and lived in the home for two of the last five years. Other property sales follow the rules in Publication 544. California conforms to the federal home-sale exclusion, so that break carries to the state return as well, a welcome exception to the state’s heavy treatment of gains.
The mistake that costs people the most is losing track of basis over many years. Reinvested dividends add to basis, and an investor who forgets them ends up reporting a larger gain than the truth and paying tax twice on the same money. Records of purchase dates and reinvestments protect you here, which is where steady bookkeeping of your investment records earns its value. For inherited or gifted assets, get the date-of-death or donor basis in writing early, because reconstructing it a decade later is painful. A short review with our tax strategy consulting team can confirm your basis before a sale.
Basis is the quiet lever that decides how much tax a sale really triggers, on both the federal and California sides. The more carefully you track it, the less gain you report and the less you hand over. For real estate, add the cost of a new roof or an addition to basis, but not routine repairs, which do not count as capital improvements. Getting that line right can move the taxable gain by tens of thousands of dollars on a long-held property. Keep your purchase confirmations and improvement receipts as long as you own the asset, plus at least three years after you sell, and every future sale starts from a defensible number rather than a guess that invites a larger bill.
Gifted assets follow a rule that catches families off guard. When you receive property as a gift, you generally take the giver’s original basis, not the value on the day it changed hands, so a low-basis stock passed down carries its built-in gain straight to you. If the asset had dropped in value, a separate rule can apply for a later loss sale, which is one more reason to review the numbers before selling. Keep the paperwork that proves the giver’s cost, because California and the IRS both start their math from it. Suppose a parent gifts stock they once bought for 8,000 dollars that is now worth 30,000 dollars. Sell it and your gain is 22,000 dollars, taxed on the federal return and again by the state, even though the shares felt like a fresh gift the day you got them. A clear basis record turns that surprise into a planned number.
Do I owe the federal Net Investment Income Tax on top of California tax?
Many sellers are surprised by a second federal tax that rides along with a large gain. The Net Investment Income Tax, often shortened to NIIT, adds 3.8 percent on net investment income once your modified adjusted gross income passes a threshold, 200,000 dollars for a single filer and 250,000 dollars for a married couple filing jointly. You figure it on Form 8960, and the IRS describes what counts as investment income in Publication 550. Capital gains sit squarely inside that base. Wages and self-employment earnings are not investment income for this tax, so the NIIT reaches investment income like gains and dividends, along with interest and rental income, rather than a paycheck. A high-income Californian can owe the federal long-term rate and the 3.8 percent NIIT at the federal level, then the full California ordinary rate on the same gain. The capital gains tax California layers on top does not replace the federal taxes, it stacks with them.
Put numbers to it. Imagine a married couple with a 200,000 dollars long-term gain and income well above the threshold. Federal tax at 20 percent is 40,000 dollars. The 3.8 percent NIIT adds 7,600 dollars. California at, say, 11.3 percent adds another 22,600 dollars. The combined tab reaches 70,200 dollars on that single gain, roughly 35 percent of it, before counting anything else on the return. This stacking is why a large sale in California deserves real planning. You report the gain itself on Schedule D after listing the sale, and the NIIT sits on its own separate form on top.
The common mistake is treating the NIIT threshold as a hard cliff and assuming a small gain is safe. The tax applies to the lesser of your net investment income or the amount by which your income tops the threshold, so even a modest gain can pull a partial NIIT once you are over the line. Another slip is forgetting that the threshold is not indexed for inflation, so more households drift into it each year. Careful work on your 1040 models this before you sell. If your gains are large or recurring, Request Private Consultation so the plan accounts for every layer at once.
The takeaway for a California investor is that a single gain can meet three separate taxes, and only by adding them together do you see the real cost. Reserve for all of them, not just the friendly federal rate, so the money is ready when the returns come due. A recurring seller can also owe quarterly estimates on these layers, which spreads the payment across the year instead of one April bill. Our tax strategy consulting team can estimate the combined federal and state burden in advance. Know the full number before a sale, and you protect yourself from a shortfall that would otherwise land the following spring.
California does not levy its own version of the NIIT, so the 3.8 percent stays purely federal. That offers no real relief, because the ordinary California rate on the gain already runs higher than most other states charge. One more wrinkle deserves attention. The federal deduction for state income tax paid is capped, so the large California tax on a big gain may not lower your federal bill the way it once would have. Picture 22,000 dollars of California tax on a gain, much of which no longer helps on the federal return because of that limit. The result is that the two systems stop cushioning each other, and the true combined rate on a large California gain can sit above 37 percent once every layer is counted. Timing the sale becomes the main tool left for easing the hit, and it works best when the planning starts well before the year closes rather than in the final weeks.
How are gains taxed if I moved into or out of California during the year?
Residency is what decides how much of a gain California can tax, and part-year residents get a specific set of rules. If you were a California resident when you sold, the state generally taxes the entire gain, wherever the asset sat. If you sold while living elsewhere, California usually reaches the gain only when it comes from property located in the state, such as California real estate. For someone who moved during the year, the capital gains tax California collects follows the part-year rules, taxing gains from the resident portion of the year plus any California-source gains from the nonresident portion. The Franchise Tax Board explains residency on the Franchise Tax Board site, and the sale still appears on your federal Form 8949 and Schedule D no matter how the state question turns out.
A worked example makes the sourcing clearer. Say you sold stock for a 60,000 dollars gain in March while still a California resident, then moved to Nevada in July. Because you were a resident at the moment of sale, California taxes the full 60,000 dollars even though you later left. Flip it around. If you had moved to Nevada in February and sold the same stock in March as a Nevada resident, California would generally tax none of that stock gain, since intangible property is sourced to your state of residence. Real estate is the big exception, because a gain on California land or buildings stays taxable by California no matter where you live when you sell.
The mistake that draws an audit is claiming a move that the facts do not support. California looks hard at a sudden change of residence right before a large sale, and it weighs where you actually live and work, and where you keep your real home. A move on paper alone will not hold. A large gain often triggers a federal estimated tax payment in the quarter of the sale, and California expects its own estimate as well, so setting money aside at the moment of sale avoids a penalty later. Careful preparation of the part-year return allocates the gain correctly.
For anyone crossing California’s border near a sale, the message is to get the residency facts and the timing right before money changes hands. The state pays close attention to these moves, and the difference between a taxed and an untaxed gain can be large. Residency audits can reach back several years, so keep utility bills and a lease or deed, along with travel records that show where your life actually moved. A review with our tax strategy consulting team before a relocation can map the state cost in advance. Document where you live and when you sold, file a part-year return that matches reality, and a later move becomes a clean tax position rather than an argument with the Franchise Tax Board.
Timing the tax payment matters nearly as much as the move itself. To dodge a federal underpayment penalty, you generally pay in either 90 percent of this year’s tax or a safe-harbor share of last year’s, whichever is smaller, and a large gain can shoot past what ordinary withholding covers. California runs its own safe-harbor math on its own schedule. An installment sale adds a further layer, because the state can tax the gain as each payment lands if the sale traces to California property, even years after you have moved away. Suppose you sell a California rental on a note and collect 40,000 dollars of gain each year for five years. The state can reach every yearly slice, regardless of where you now live. Map the payment schedule and the residency facts together before you sign anything, and the eventual returns become a matter of record rather than a fight.