California Capital Gains on a Home Sale: Guide for Homeowners and Sellers
- Inherited, tenants, repairs, back taxes — we buy it
- Zero fees, zero commissions, zero closing costs
- No obligation — turn the offer down and owe us nothing
Selling a House With a Big Gain? Get a Cash Offer First
Know your numbers before you sell. Tell us about the house and get a written cash offer, then compare it with your gain and your costs.
Last updated November 13, 2026. Reviewed by the Cash Home Buyers CA team. Figures come from the IRS and the California Franchise Tax Board; sources are listed at the end. This is general information, not tax advice.
Most California homeowners can exclude up to $250,000 of gain from the sale of a main home, or up to $500,000 on a joint return, if they owned and lived in it for at least 2 of the last 5 years. California follows the same rule for state income tax.
This guide explains how the exclusion works, what counts toward your gain, and what to do when you do not qualify for the full amount. It is the starting point for anyone planning to sell a house in California.
California home sale capital gains at a glance
| Federal exclusion | Up to $250,000 of gain, or up to $500,000 if you file a joint return (IRS Topic 701) |
| Ownership test | Owned the home at least 24 months out of the 5 years before the sale |
| Use test | Lived in the home as your residence at least 24 months of the 5 years before the sale |
| Frequency | Generally not available if you excluded gain on another home sale in the prior two years |
| California | Conforms to the federal exclusion for a principal residence (FTB Publication 1001) |
| Reporting | If you receive Form 1099-S you must report the sale, even if the gain is fully excludable |
How do you calculate gain on a California home sale?
Gain is the amount you realize from the sale minus your adjusted basis. In plain terms, start with the sale price, subtract selling costs such as agent fees and transfer tax, then subtract what you paid for the house plus the cost of improvements. The result is your gain. If it is below your exclusion amount and you meet the ownership and use tests, none of it is taxed.
Keep records of the original purchase, closing statements and major improvements. Routine repairs do not raise your basis, but new roofs, additions and similar upgrades generally do. A seller who bought a house for $300,000 and put in $50,000 of upgrades has a $350,000 basis before selling costs.
Home sale gain and exclusion calculator
Enter your own figures to see how much of your gain the federal exclusion covers. Estimate only.
Assumes you meet the ownership and use tests and the frequency limit. It does not estimate the tax rate on any gain left over.
What are the ownership and use tests?
The IRS says you meet the ownership test if you owned the home for at least 24 months out of the last 5 years before the sale, and the use test if you lived in it for at least 24 months of that same period. The months do not have to be consecutive.
A married couple filing jointly can claim the larger $500,000 amount when the use test is met, and the IRS pages explain the details for each spouse.
- Inherited homes: the exclusion depends on whether you lived in the house. A home inherited and sold quickly without living in it generally does not qualify, but inherited property also gets a new tax basis; see our stepped-up basis guide.
- Rentals and investment homes: the exclusion is for your main home, so a house you have never lived in does not qualify.
- Moving away early: if you do not meet the tests, ask a tax professional whether a partial exclusion applies to your situation.
Does California tax the gain on a home sale?
California taxes gain as income, but the Franchise Tax Board states in Publication 1001 that California conforms to the federal $250,000 and $500,000 exclusion for a principal residence, with the same 2-of-5-years test. Gain above the exclusion is reported on your California return. Ask a tax professional how the taxable amount is figured on your state return.
Sellers who live out of state may also need to deal with real estate withholding at closing; see our Form 593 guide.
How to sell a house in California when you may owe tax on the gain
- Check the tests. Count your months of ownership and use in the 5 years before closing. Moving the closing date can change whether you pass.
- Estimate your gain. Use the calculator above with your records of purchase price, improvements and selling costs.
- Compare net proceeds. A traditional sale adds agent commission and repair costs; a cash sale usually does not. Compare what you keep, not only the headline price.
- Set the closing date. A cash sale can close on your timeline, which helps when the date affects the 2-of-5-years test.
- Plan for reporting. Expect Form 1099-S from escrow, and keep your closing statement for your tax return.
See how we buy houses across California, or call (424) 435-2326 for a no-obligation cash offer.
California capital gains on a home sale FAQ
How much gain can I exclude when I sell my California home?
Up to $250,000, or up to $500,000 on a joint return, if you meet the ownership and use tests. California follows the same exclusion.
What if I lived in the house for less than two years?
You generally do not meet the use test, so the full exclusion is not available. Ask a tax professional whether a partial exclusion applies to you.
Do I have to report the sale if all of the gain is excluded?
If you receive Form 1099-S you must report the sale to the IRS even if the gain is excludable.
Is an inherited house eligible for the exclusion?
Only if you owned and used it as your main home for the required time. Inherited property also receives a new basis; see the stepped-up basis guide.
Does a cash sale change my capital gain?
Your gain is the sale price minus selling costs and basis. A cash sale with no commission can lower your selling costs, which can reduce your gain.
Sources
- IRS Topic no. 701, Sale of your home
- California Franchise Tax Board: Publication 1001, Supplemental Guidelines to California Adjustments
This guide is general information, not tax or legal advice. Confirm your situation with a tax professional.
From the Blog
Latest guides for California home sellers
-

California’s Judicial Foreclosure Redemption Right: The One-Year Window Most Owners Never Hear About
California's rarer judicial foreclosure process comes with a statutory right to redeem the property for up to a year after the sale…
Read the guide → -

Santa Clara County’s Tax-Defaulted Property Auction: How to Claim the Excess Proceeds
When a Santa Clara County home isn't redeemed within the state's deadline, the county can sell it at public auction — and…
Read the guide → -

Pomona’s Rent Stabilization Ordinance Just Became Permanent: What Landlords Must Do Before Selling
Pomona's Ordinance No. 4359 became permanent on January 1, 2026, replacing the city's prior urgency ordinances and capping most rent increases at…
Read the guide → -

Compton’s Substandard Building Ordinance, Explained
Compton can order a dangerous or substandard house secured, repaired, or demolished under Municipal Code Chapter 14, and if the owner misses…
Read the guide → -

Chico’s RECO Inspection: What Sellers of Older Homes Must Fix Before Closing
Chico requires sellers of homes built before July 1, 1991 to pass a RECO energy and water retrofit inspection — or transfer…
Read the guide → -

Emeryville’s Just Cause Eviction Ordinance: Relocation Pay Under Municipal Code 5-40
Emeryville had its own just-cause eviction and relocation-assistance ordinance years before California’s statewide AB 1482 existed, and the local rule is still…
Read the guide → -

Malibu’s Six-Year Rebuild Deadline After the Palisades Fire: Municipal Code 17.60.020(C)
Malibu homeowners rebuilding after the January 2025 Palisades Fire have a hard deadline most residents outside the city have never heard of:…
Read the guide → -

California’s Security Deposit Cap: How AB 12 Limits What Landlords Can Collect
AB 12 caps most California security deposits at one month's rent, with a narrow exception for small landlords — plus new 2025…
Read the guide → -

California Civil Code §4525: The 11 HOA Documents You Must Hand a Buyer Before Closing
California Civil Code §4525 requires sellers inside an HOA to hand buyers 11 specific documents before closing — a list that just…
Read the guide →
