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
-

Siskiyou County’s Supplemental Property Tax Bill: Why It Sometimes Isn’t a Lien
Siskiyou County sometimes bills a supplemental property tax as unsecured, meaning no lien. Here's what triggers it and what it means for…
Read the guide → -

Mendocino County Probate Court: Filing in Fort Bragg, Hearings in Ukiah
Mendocino County probate can be filed in Fort Bragg, but hearings are only in Ukiah. Here's the $435 fee, e-filing deadline, and…
Read the guide → -

San Benito County Probate Court: Mandatory E-Filing and What It Costs to Administer an Estate
San Benito County probate requires mandatory e-filing. Here's the $435 fee, tentative-ruling line, and extraordinary-fee rates for selling the house.
Read the guide → -

Yuba County Probate Court: How ‘Probate Notes’ Decide If You Need to Show Up
Yuba County probate runs on 'Probate Notes,' not in-person hearings. Here's the $435 filing fee, the timeline, and selling the house during…
Read the guide → -

Shasta County Probate Court: Filing Fee, Courthouse and the Local Timeline
Shasta County probate costs $435 to file and is heard at the Redding courthouse. Here is the filing process, the timeline, and…
Read the guide → -

Imperial County Probate: No Dedicated Probate Division
Imperial County probate is filed in El Centro for a $435 fee. See local rules, the AB 2016 shortcut, statutory fees, and…
Read the guide → -

Nevada County Supplemental Property Tax Bill Guide
Learn what triggers a Nevada County supplemental property tax bill, how it is prorated, when it is due, and how to appeal…
Read the guide → -

Sonoma County’s Supplemental Property Tax Bill: Why the Due Date Isn’t November 1 or February 1
Learn what triggers a Sonoma County supplemental property tax bill, how proration works, when it is due, and how to appeal the…
Read the guide → -

Lake County’s Excess Proceeds Claim: Why So Many of Its Tax-Sale Parcels Are Unbuildable Lots
Lake County gives excess-proceeds claimants one year from the tax deed's recording to file, and lienholders get paid before former owners see…
Read the guide →
