Skip to content
Solar Account.
Real Estate & Mortgages

How California Real Estate Capital Gains Tax Affects Sellers: Rates, Exclusions, and Strategies

Selling real estate in California triggers significant tax obligations at both the federal and state levels. California taxes capital gains as regular income at rates up to 13.3% (plus a 1% Mental Health Services Tax for high earners), which combines with fede...

How California Real Estate Capital Gains Tax Affects Sellers: Rates, Exclusions, and Strategies

Selling real estate in California triggers significant tax obligations at both the federal and state levels. California taxes capital gains as regular income at rates up to 13.3% (plus a 1% Mental Health Services Tax for high earners), which combines with federal capital gains taxes to create one of the highest total tax burdens on real estate profits in the United States.

Contents

Understanding Capital Gains Tax on California Property Sales

When you sell property in California for more than your adjusted cost basis, the resulting profit is classified as a capital gain. Capital gains fall into two broad categories based on holding period: short-term capital gains for properties owned for one year or less, and long-term capital gains for properties owned for more than one year.

At the federal level, short-term gains are taxed at ordinary income rates ranging from 10% to 37%, while long-term gains enjoy preferential federal tax rates of 0%, 15%, or 20%, depending on taxable income. High-income sellers may also owe an additional 3.8% Net Investment Income Tax (NIIT) under federal law.

California handles capital gains differently from the federal government. The state does not offer a reduced or preferential tax rate for long-term capital gains. Instead, the California Franchise Tax Board (FTB) taxes all capital gains—whether short-term or long-term—as ordinary personal income. State tax brackets range from 1% to 12.3%, with an additional 1% surcharge on personal income exceeding $1 million (the Mental Health Services Tax), bringing the top marginal state rate on capital gains to 13.3%.

For property owners, this means that selling real estate in California requires careful planning to evaluate both federal and state liabilities, as the combined rate can consume upwards of 30% to 37% or more of your net profit.

Capital Gains on Land Sale: The Complete 2026 Tax Guide for Sellers

Primary Residence Exclusion: IRS Section 121 Rules in California

Sellers who sell their primary residence can take advantage of significant tax relief through the Internal Revenue Code Section 121 exclusion, which California fully conforms to for state tax calculations.

Under Section 121, individual home sellers can exclude up to $250,000 of capital gains from their taxable income, while married couples filing jointly can exclude up to $500,000. Gains falling within these limits are completely free from both federal capital gains tax and California state income tax.

Eligibility Requirements

To qualify for the Section 121 exclusion, sellers must meet two basic tests during the five-year period ending on the date of the sale:

  1. Ownership Test: You must have owned the home for at least two years (24 months or 730 days) within the five-year window.
  2. Use Test: You must have occupied the home as your principal residence for at least two years during that same five-year window.

These two years do not need to be consecutive. Additionally, you generally cannot claim the exclusion if you used Section 121 on another home sale within the two years preceding the sale.

Partial Exclusions and Exceptions

If you fail to satisfy the two-year requirement due to unexpected circumstances, you may still qualify for a partial, prorated exclusion. Qualifying circumstances established by the IRS and recognized by California include:

  • Job-Related Relocation: A move required for new employment located at least 50 miles farther from the home than your previous workplace.
  • Health Reasons: A move recommended by a physician to obtain, provide, or facilitate diagnosis or treatment for a specific illness or injury.
  • Unforeseen Events: Uncontrollable occurrences such as divorce, legal separation, multiple births from the same pregnancy, destruction of the home, or involuntary conversion.

A partial exclusion allows sellers to exclude a percentage of the maximum limit ($250,000 or $500,000) proportional to the fraction of the required two years they actually owned and lived in the residence.

How to Calculate Your Taxable Real Estate Gain in California

Calculating taxable capital gains requires establishing your original purchase price, adjusting that price upward for improvements, and deducting eligible selling expenses to arrive at your net profit.

[Net Sales Price] - [Adjusted Cost Basis] = Total Realized Capital Gain [Total Realized Capital Gain] - [Section 121 Exclusion (if applicable)] = Taxable Gain

1. Determine the Adjusted Cost Basis

Your cost basis begins with the initial purchase price of the property, including specific buyer-paid closing costs such as title insurance, escrow fees, and legal charges.

To calculate your adjusted cost basis, add the total cost of capital improvements made during your ownership:

  • Eligible Capital Improvements: Additions or renovations that add long-term value, prolong the property's useful life, or adapt it to new uses (e.g., roof replacement, room additions, HVAC installation, kitchen remodels, or new plumbing).
  • Non-Eligible Expenses: Routine repairs and maintenance that merely restore the property to its normal operating condition (e.g., repainting, fixing leaks, or minor lawn maintenance) cannot be added to your basis.

For investment properties, you must subtract any depreciation deductions claimed (or allowable) over the holding period from your basis, which lowers the adjusted basis and increases the total taxable gain upon sale.

2. Deduct Closing and Selling Costs

From the final sale price, subtract allowable selling expenses to find your net sale proceeds:

  • Real estate agent commissions
  • Title insurance and escrow fees paid by the seller
  • Property inspection fees and seller concessions
  • Legal, accounting, and advertising fees related directly to the sale
  • Transfer taxes imposed by local or county authorities

Worked Example: Primary Residence Sale

Consider a married couple who purchased a primary residence in San Jose, California, for $800,000. Over 10 years, they spent $150,000 on major kitchen and bathroom renovations. They sell the home for $1,600,000, paying $80,000 in agent commissions and closing fees.

  • Purchase Price: $800,000
  • Capital Improvements: +$150,000
  • Adjusted Cost Basis: $950,000
  • Gross Sale Price: $1,600,000
  • Selling Costs: -$80,000
  • Net Sales Price: $1,520,000
  • Total Realized Gain: $1,520,000 - $950,000 = $570,000
  • Section 121 Exclusion (Married Filing Jointly): -$500,000
  • Taxable Capital Gain: $70,000

In this scenario, only $70,000 of the total $570,000 gain is subject to federal and California capital gains taxes.

Combined Federal and California Capital Gains Tax Rates

Because California taxes capital gains as regular income without special reduced rates, high-income real estate sellers face combined marginal tax rates that are among the highest in North America.

The table below outlines the tax layers applicable to long-term real estate gains for property sales in California.

Taxing Authority Tax Component Applicable Rate Range Trigger Criteria
Federal Government Long-Term Capital Gains Tax 0%, 15%, or 20% Taxable income levels (determined by filing status)
Federal Government Net Investment Income Tax (NIIT) 3.8% MAGI above $200k (Single) or $250k (Married Filing Jointly)
Federal Government Depreciation Recapture Tax 25% (maximum) Depreciation claimed on investment/rental properties
State of California Personal Income Tax (Ordinary) 1.0% to 12.3% Marginal state income tax brackets
State of California Mental Health Services Tax 1.0% California taxable income exceeding $1,000,000

Estimated Maximum Combined Tax Rates

For a high-income individual selling a non-primary investment property in California, the top effective rate breaks down as follows:

  • Maximum Federal Long-Term Rate: 20.0%
  • Federal Net Investment Income Tax: 3.8%
  • Maximum California Income Rate: 13.3%
  • Combined Maximum Marginal Rate: 37.1%

Note: This maximum rate does not include depreciation recapture, which can alter the overall effective tax percentage on investment properties.

Capital Gains Tax Rules for Investment Properties and Second Homes

Vacation homes, second residences, and residential or commercial rental properties do not qualify for the Section 121 primary residence exclusion. As a result, 100% of the realized gain on these properties is subject to federal and California state taxes.

Investment Sale Gain = (Sale Price - Selling Costs) - (Original Basis + Improvements - Accumulated Depreciation)

Depreciation Recapture

When selling an investment property that was eligible for annual depreciation deductions, the portion of the gain that corresponds to accumulated depreciation is taxed differently than standard long-term capital gains:

  • Federal Tax: Accumulated depreciation is taxed as "unrecaptured Section 1250 gain" at a flat maximum federal rate of 25% (rather than the lower 15% or 20% capital gains rates).
  • California Tax: California taxes depreciation recapture at ordinary state income tax rates, consistent with all other capital gains.

The 1031 Exchange and California's "Clawback" Rule

Investors can defer paying both federal and state capital gains taxes by completing a Section 1031 Like-Kind Exchange. Under IRS Code Section 1031, a seller defers tax liability by reinvesting all net proceeds from an investment property sale into a new, qualifying replacement property within strict timeframes (identifying replacement property within 45 days and closing within 180 days).

California allows 1031 tax deferrals, but with an important requirement: California Form 3840 (Information Return for Like-Kind Exchanges).

If you exchange a California property for a replacement property located in another state (such as Texas, Florida, or Nevada), California enforces a clawback rule:

  1. You must file FTB Form 3840 during the year of the exchange and continue filing it annually for as long as you hold the replacement property outside California.
  2. If you eventually sell the out-of-state replacement property in a taxable cash sale, California requires you to pay California state income tax on the deferred gain that was originally generated by the California real estate.
  3. Failure to file annual Form 3840 returns can cause the FTB to invalidate the deferral and issue a tax assessment for the original California gain, plus interest and penalties.

California Real Estate Tax Withholding Requirements (FTB Form 593)

To ensure tax compliance when real property changes hands, California law mandates state income tax withholding at closing. Managed through FTB Form 593 (Real Estate Withholding Statement), the buyer or escrow agent is legally required to withhold funds from the sale and remit them directly to the Franchise Tax Board.

Real Estate Withholding Rates

Escrow officers calculate withholding using one of two methods:

  1. Total Sales Price Method: 3.33% of the gross sales price.
  2. Alternative Gain on Sale Method: The state's top individual tax rate applied to the estimated net capital gain reported by the seller on Form 593.

The amount withheld is not a final tax; it is an advance payment applied toward the seller's ultimate state tax liability when they file their annual California tax return. If the withholding exceeds the actual tax owed, the seller receives a refund after filing.

Qualifying for Withholding Exemptions

Sellers can avoid or reduce state real estate withholding at closing by completing Form 593 and certifying that they meet specific exemption criteria:

  • Primary Residence Exemption: The property qualifies for a full Section 121 exclusion, or the total gain does not exceed the allowed $250,000/$500,000 limit.
  • Capital Loss: The seller expects to realize a net loss on the transaction for tax purposes.
  • 1031 Exchange: The property is being transferred as part of a fully deferred Section 1031 exchange.
  • Involuntary Conversion: The sale is caused by condemnation or eminent domain.

Sellers must submit Form 593 to the escrow officer prior to closing to claim an exemption; otherwise, escrow is required by law to withhold 3.33% of the purchase price.

Practical Strategies to Reduce Capital Gains Tax When Selling

Real estate sellers in California can employ several legally sound financial strategies to manage, defer, or reduce their capital gains obligations.

  • Capital Gains Reduction Framework

    • [Primary Homes]: Claim Sec. 121 ($250k / $500k Exclusion)
    • [Investments]:

      • Complete Section 1031 Like-Kind Exchange
      • Structure Installment Sale (Form 6252)
      • Reinvest Proceeds into Opportunity Zone
    • [All Properties]:

      • Track & Capitalize All Home Improvement Costs
      • Harvest Capital Losses to Offset Gains

Thoroughly Track and Document Cost Basis

Maintain detailed receipts, invoices, cancelled checks, and contracts for every capital improvement made to the property over your ownership term. Adding $50,000 in documented capital upgrades reduces your taxable profit dollar-for-dollar, saving thousands in combined federal and California taxes.

Structure an Installment Sale

An installment sale (seller financing) allows the seller to receive payments over multiple tax years rather than accepting a single lump sum at closing.

Under federal tax rules (IRS Form 6252) and California tax rules, gains are recognized proportionally as principal payments are received over time. This approach can help keep your annual taxable income in lower state and federal marginal tax brackets, while also potentially avoiding or reducing exposure to the federal 3.8% Net Investment Income Tax in any single year.

Reinvest Proceeds into Qualified Opportunity Funds

Under federal Qualified Opportunity Zone (QOZ) rules, investors who sell real estate can defer eligible capital gains by reinvesting the gain portion into a Qualified Opportunity Fund within 180 days of the sale. While federal law provides tax deferral and potential tax-free growth on the new QOZ investment if held for 10 years, sellers should note that California does not conform to federal Opportunity Zone tax incentives. State capital gains tax remains due in California during the year of the sale, even if deferred for federal tax purposes.

Tax-Loss Harvesting

If you hold other non-real-estate assets that have declined in value (such as stocks, bonds, or crypto-assets), selling those assets in the same tax year can generate capital losses. You can use capital losses to offset real estate capital gains dollar-for-dollar on your federal and California tax returns, reducing your total taxable gain.

Frequently Asked Questions

Does California have a separate long-term capital gains tax rate?

No. California does not offer a reduced or preferential rate for long-term capital gains. The Franchise Tax Board taxes all capital gains as ordinary income, with state tax brackets ranging from 1% to 12.3%, plus an additional 1% surcharge on taxable income over $1 million.

How does California tax a home sold after a divorce?

If a home is transferred between spouses as part of a divorce settlement, the transfer itself is generally tax-free under IRS Section 1041. If the home is subsequently sold to a third party, each former spouse can exclude up to $250,000 of gain under Section 121, provided each spouse meets the ownership and use tests individually. Alternatively, if one spouse retains sole ownership and sells the property, that spouse can claim up to $500,000 in exclusion if specific qualifying conditions under divorce decrees are met.

Do non-residents pay California capital gains tax when selling California real estate?

Yes. Non-residents, former residents, and out-of-state entities are subject to California state income tax on all capital gains derived from real estate located within California. The location of the property determines tax liability, regardless of where the seller resides or files income taxes.

What is the California 3.33% withholding tax, and can I get it refunded?

The 3.33% withholding is an advance payment toward your California state income tax liability, collected by escrow from the gross sale price at closing. If the withholding amount exceeds your actual tax liability (calculated when you prepare your annual state tax return), the Franchise Tax Board will issue a refund for the excess amount. You can avoid withholding at closing by claiming an exemption on FTB Form 593 if you qualify.

How long must I live in a California property to avoid capital gains tax?

To qualify for the full Section 121 exclusion (up to $250,000 for single filers or $500,000 for joint filers), you must own and occupy the property as your principal residence for at least 24 months (two full years) out of the 5-year period preceding the sale date.

Next Steps for California Real Estate Sellers

To minimize tax exposure and eliminate surprises at closing, take the following steps prior to putting property on the market:

  1. Calculate Estimated Basis: Gather purchase documents, settlement statements, and receipts for major improvements to establish your adjusted cost basis.
  2. Determine Primary Residence Eligibility: Verify dates of occupancy and ownership to confirm qualification for Section 121 exclusions.
  3. Review FTB Form 593 Requirements: Work with your escrow officer to complete Form 593 correctly before closing to ensure proper withholding or to claim a valid exemption.
  4. Consult a Qualified Tax Professional: Because California tax laws interact complexly with federal regulations—particularly regarding 1031 exchanges, depreciation recapture, and Opportunity Zones—consult a licensed Certified Public Accountant (CPA) or tax attorney before finalizing real estate sales contracts.

Disclaimer: This guide is provided for educational and informational purposes only and does not constitute formal legal, accounting, or tax advice. Tax statutes, state regulations, and administrative guidelines change frequently. Always consult a licensed California CPA, legal counsel, or qualified professional regarding your specific financial situation.

Written by

Natalie Morgan

Online Learning & EdTech Journalist