Sierra Home Transitions
Real Estate Taxes, Legal Matters & Financing / / 7 min read

Will I have to pay capital gains taxes when selling my primary residence in California?

The short answer

Most homeowners owe no federal capital gains tax when selling a primary residence, because the IRS allows you to exclude up to $250,000 of gain, or $500,000 for married couples filing jointly, if you have owned and lived in the home as your primary residence for two of the past five years. California also provides the same exclusion for its tax. Sell at a gain above the exclusion, and the excess is generally taxable federally and in California, so confirm your numbers with a tax professional before you close.


Tax is the last thing anyone wants to think about at a sale, and it is also the question every family home seller eventually asks. The good news is that for most people selling a primary residence in California, the answer is reassuring: the home sale exclusion covers the typical family's gain. The details, and the exceptions, are what deserve attention.

The home sale exclusion

The federal home sale exclusion lets you exclude up to $250,000 of gain on the sale of a primary residence, or $500,000 for married couples filing jointly, provided you owned and lived in the home as your principal residence for at least two of the five years before the sale. For thousands of Sacramento, El Dorado, and Placer county sellers, that means the entire gain passes tax-free, no matter how much the home appreciated.

When the exclusion does not cover you

The exclusion is the rule, but its edge cases matter. A home held for decades in a fast-appreciating area can gain more than the cap, and the excess is taxed. A home used as a rental or vacation property for years may not qualify as a primary residence. And rules apply to repeat use of the exclusion, generally no more than once every two years. None of this removes the benefit; it just defines when the benefit is partial.

How California treats the gain

California conforms to the federal home sale exclusion, so the same $250,000 or $500,000 shields the gain from state tax too. Gain above the exclusion is taxed as ordinary income in California, at state rates that differ from the federal capital gains treatment. A family selling a long-held home above the cap should run both sides of the calculation rather than assume, because the state tax on the excess can be material.

The long-held family home

Homes held for twenty or thirty years are exactly where the exclusion gets tested: the original purchase price is so far below current value that even the generous cap can be exceeded. The date of death stepped-up basis rules, which reset basis for inherited homes, and improvements that increase basis, can reduce the number. A tax professional recalculates basis with every remodel receipt, and it is worth gathering those records before listing.

Plan the number before you list

The sale price, the adjusted basis, and your filing status all feed one number: your taxable gain. Compute it in the planning phase, not at the return next April, because it can influence your timing, your improvements, and even how you hold the title. Our deferring capital gains guide covers the strategies, and a tax professional confirms your exact figure. For the inheritance side of the same family home, see the stepped-up basis article.

Frequently asked questions


Will I have to pay capital gains taxes when selling my primary residence in California?

Most homeowners owe no federal capital gains tax when selling a primary residence, because the IRS allows you to exclude up to $250,000 of gain, or $500,000 for married couples filing jointly, if you have owned and lived in the home as your primary residence for two of the past five years. California also provides the same exclusion for its tax. Sell at a gain above the exclusion, and the excess is generally taxable federally and in California, so confirm your numbers with a tax professional before you close.

Know your tax number before you sell

Mike will help you estimate what a sale means for your bottom line and connect you with a tax professional for the final answer. Call Mike Giancanelli at (916) 407-0566 or use the contact page to start the conversation with no pressure and no obligation.

Contact Mike Giancanelli

About the author

Mike Giancanelli is a Realtor and Senior Transition Specialist with the Seniors Real Estate Specialist (SRES®) designation, 36 years in real estate, and 290 homes sold. He is affiliated with Keller Williams Realty (California DRE #01086118) and serves seniors and their families across Sacramento, El Dorado, and Placer counties.