Do you pay capital gains tax when you sell your home in California?
For the majority of homeowners selling their primary residence, the answer is no, you do not pay capital gains tax, or you pay it only on a small portion of your profit. That surprises a lot of sellers who assume the government takes a slice of everything. In reality, the federal tax code includes a generous benefit called the primary residence exclusion, and California follows the federal rules on this point. It lets a single filer exclude up to $250,000 of gain from the sale of a main home, and a married couple filing jointly exclude up to $500,000. If your gain is smaller than your exclusion, you generally owe zero capital gains tax.
It is important to understand what capital gains tax is actually charged on. It is not charged on your sale price, and it is not charged on the amount of cash you walk away with at closing. It is charged on your gain, which is roughly the difference between what you net from the sale and your cost basis in the home. If you bought a home years ago for far less than today's value, your gain can be large even though your mortgage payoff eats up much of the proceeds. That distinction is where a lot of anxiety comes from, and where good planning helps.
In the greater Sacramento region, and especially in luxury communities like El Dorado Hills, Serrano, Granite Bay, and Folsom, homes have appreciated substantially. A family that bought a foothill estate a decade or two ago can easily have a paper gain that exceeds the $500,000 exclusion. When that happens, the exclusion still shelters the first $500,000 for a married couple, and only the amount above that gets taxed. So even in high-value sales, the tax is on the overage, not the whole thing.
There are also situations where no capital gains tax applies for a different reason, such as a home inherited at a stepped-up basis, or a sale where the gain simply falls below the exclusion. And there are situations where more of the gain is taxable, such as a second home, a rental property, or a home you have not lived in long enough to qualify.
Because the specifics depend on your ownership history, your marital status, and your basis, treat this section as a starting framework, not a final answer. The rest of this guide unpacks each piece. And when you want to see the real numbers for your property, a free valuation plus the seller net-proceeds calculator will give you a clear estimate, and Alex can connect you with a CPA to confirm the tax side.