California Capital Gains on a Home Sale: Guide for Homeowners and Sellers

California Cash Home Buyers
Cash Offer in 24 Hours
  • 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.

Call or Text  (424) 435-2326


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 exclusionUp to $250,000 of gain, or up to $500,000 if you file a joint return (IRS Topic 701)
Ownership testOwned the home at least 24 months out of the 5 years before the sale
Use testLived in the home as your residence at least 24 months of the 5 years before the sale
FrequencyGenerally not available if you excluded gain on another home sale in the prior two years
CaliforniaConforms to the federal exclusion for a principal residence (FTB Publication 1001)
ReportingIf 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.

Want to compare offers?
A cash sale has no agent commission and no repair costs, which can change your gain. Get a written offer in 24 hours.
Get My Cash Offer →

Home sale gain and exclusion calculator

Enter your own figures to see how much of your gain the federal exclusion covers. Estimate only.

Taxable gain after the exclusion

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.

Selling a California house?
Tell us about it and choose your closing date. No commissions, no repairs, no obligation.
Get My Cash Offer →

How to sell a house in California when you may owe tax on the gain

  1. 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.
  2. Estimate your gain. Use the calculator above with your records of purchase price, improvements and selling costs.
  3. 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.
  4. Set the closing date. A cash sale can close on your timeline, which helps when the date affects the 2-of-5-years test.
  5. 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

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