Capital Gains Tax When You Sell Your Home in California

Dar Mardan, CPA and Realtor, explains how capital gains tax works when you sell your home in California, using a real Irvine example from start to finish. If you are married, the first $500,000 of profit is tax-free; if you are single, it is $250,000. Everything above that is taxed 3 times, which on a typical Orange County home can add up to about $200,000. The most useful takeaway: every improvement receipt you can find lowers your gain, so gather them before you list.

What this video covers

  • How to figure out your real profit: sale price, minus selling costs, minus what you paid, minus improvements
  • A step-by-step Irvine example: a $1,000,000 home sold for $2,500,000
  • How the $500,000 exclusion for married couples (and $250,000 for singles) works
  • The 3 taxes on your gain: federal capital gains tax, the 3.8% surtax on investment income, and California income tax
  • What counts as an improvement, and what does not
  • Why both spouses need to pass the 2-year test, and what happens if a spouse has passed away
  • How picking the year you sell can keep more of your gain in lower brackets

Key facts at a glance

  • Exclusion: up to $500,000 of gain for married couples and $250,000 for singles, if you owned and lived in the home at least 2 of the last 5 years.
  • Federal long-term capital gains are taxed at 0%, 15% or 20%, depending on your total income.
  • A 3.8% surtax on investment income applies once a married couple passes $250,000 of income.
  • California has no special capital gains rate; your gain is taxed like a paycheck, up to 13.3%.
  • In the Irvine example, a $1,200,000 gain less the $500,000 exclusion leaves $700,000 taxable: about $114,000 federal, about $22,000 surtax and about $65,000 California, or about $200,000 in total.
  • Finding $100,000 of forgotten improvements could save that couple roughly $34,000.

Quick answers

How much capital gains tax will I pay when I sell my home in California? It depends on your gain and your income. In Dar's Irvine example, a married couple with a $1,200,000 gain pays about $200,000 in tax even after the $500,000 exclusion: about $114,000 federal, about $22,000 in the 3.8% surtax and about $65,000 to California.

How is my gain calculated? Take your sale price, subtract your selling costs (commission, escrow and title), then subtract what you paid for the house plus every improvement you made. What is left is your gain.

Does California have a lower rate for capital gains? No. California taxes your gain like regular income, up to 13.3%.

What improvements reduce capital gains? Anything that adds value to your home, makes it last longer or adapts it to a new use, such as an addition, a kitchen or bathroom remodel, a new roof, windows, heating or air conditioning, plumbing or wiring, a pool, a driveway or landscaping. Repairs and maintenance, like painting or fixing a leak, do not count unless they were part of a bigger remodel.

Do both spouses have to live in the home? Yes. For the full $500,000 exclusion, both spouses must have lived in the home for 2 of the last 5 years. If one of you moved in recently, you could be capped at $250,000.

What if my spouse has passed away? If you have not remarried, you can still use the full $500,000 exclusion if you sell within 2 years. In California, a home held as community property can also get a full step-up in basis, which can wipe out most of the gain.

Do I have to buy another house to avoid the tax? No. That rule ended in 1997.

Read the full written guide: How Much Capital Gains Tax Will I Pay When I Sell My Home in California? (2026)

More videos

Book a free strategy call with Dar or call 714-612-3870.

Full transcript

If you're married and you sell your home in California, the first $500,000 of profit is tax-free. If you're single, it's $250,000. Everything above that gets taxed 3 times. On a typical Orange County home, that can add up to $200,000. Let me show you exactly how the math works, then 4 ways to shrink the bill. Stay for number 3. It's the one most people miss.

First, figure out your real profit. Take your sales price and subtract your selling costs: commission, escrow and title. Then subtract what you paid for the house, plus every improvement you made. What's left is your gain. I'm going to put it in the table here.

Here's an example. A married couple bought their home in Irvine for $1,000,000. Over the years, they put in $200,000 of improvements. Now they sell it for $2,500,000, and they pay $100,000 in costs and commission. $2,500,000, less $100,000, less $1,200,000: that's $1,200,000 of gain.

Next, the exclusion. They have owned and lived there at least 2 out of the last 5 years, so they can exclude $500,000 from that gain. That leaves them with $700,000 of taxable profit.

Tax number 1 you pay is federal capital gains tax. Long-term capital gains are taxed at 0%, 15% or 20%, depending on your total income. For this couple, most of it lands at 15% and the top slice at 20%. That's about $114,000.

Tax number 2, the one nobody mentions, is a 3.8% surtax on investment income. Once a married couple passes $250,000 of income, there's a surcharge. For our couple, that's about $22,000 or more.

And tax number 3 is California tax. California has no special rate for capital gains. Your gain is taxed like a paycheck, up to 13.3%. For our couple, that's roughly $65,000. So when you add it up, it's about $200,000 in tax, even after the $500,000 exclusion.

Now, let me tell you what you have to do to shrink those taxes. Number 1: find every receipt for every investment you made in that home. Every dollar of improvements lowers your gain. But what counts? The IRS says an improvement is anything that adds value to your home, makes it last longer, or adapts it to a new use.

So think big projects: an addition, a new bedroom or bathroom, a kitchen or bathroom remodel, a new roof, new windows, new siding, a new heating or air conditioning system, or a water heater, new plumbing or wiring, adding a pool, a furnace, a driveway, landscaping. You get my point. Any built-in appliances, flooring, a fireplace: they all apply for adding that extra value.

What doesn't count are repairs and maintenance. Painting, fixing a leak, patching a crack: those just keep the house in shape under maintenance. One exception to the rule: if the repairs were part of a bigger remodel, that whole project will count as an improvement, and it will increase your basis and you pay less tax.

And one catch: if you replace an improvement, like a carpet you put in 15 years ago and later tore out, the old one no longer counts. If this couple found $100,000 of improvements that they made and forgot about, they could roughly save $34,000. So dig out the contracts, the permits, the credit card statements, even the HOA approval letters.

Number 2: make sure both spouses pass the 2-year test for the full $500,000 exclusion. Both of you must have lived in the house for 2 out of the last 5 years. If one of you moved in recently, you could be capped at $250,000. Check the dates before you list your house so we can line everything up.

And number 3, the one most people miss: if your spouse has passed away, you can still use the full $500,000 if you sell within 2 years and you haven't remarried. And in California, a home that's held as community property can get a full step-up in basis. That can wipe out most of the gain. I made a video on that, and I will link it to this video.

And number 4: pick the year you sell. Your gain stacks on top of your other income. Selling in a low-income year, like after you retire, can keep more of it in lower brackets.

I am Dar Mardan. I'm a CPA and Realtor with Vidar Group here in Orange County. Before you list, I will run your real numbers with you so you know exactly what you will walk away with. We can talk about taxes and any tax plan. Book a free strategy call.