How Much Capital Gains Tax Will I Pay When I Sell My Home in California? (2026)
Watch the full breakdown in the video above.
How much capital gains tax will I pay when I sell my home in California?
If you lived in the home 2 of the last 5 years, the first $250,000 of profit is tax-free ($500,000 if married). Profit above that is taxed by the IRS, a 3.8% surtax and California, often 24% to 37% in total.
Most people selling a home in Orange County have heard of the "$500,000 exclusion." What they haven't done is the math. A home in Irvine, Newport Beach or Mission Viejo bought 20 years ago can easily carry a gain of $1,000,000 or more. The exclusion covers only the first slice.
This guide walks through the calculation step by step, in plain English, using a real-world Irvine example. Then it shows 5 legal ways to lower the bill. You'll know roughly what you'll owe before you ever list the house.
A quick note: this is general education, not tax advice for your situation. The numbers below use 2026 tax rules. Your CPA should run your own figures before you sign a listing agreement.
How the tax is calculated, step by step
The tax is figured in 5 steps: find your real profit, subtract the exclusion, then apply 3 separate taxes to what's left.
Step 1: Find your real profit (your "gain")
Your profit is not simply sale price minus purchase price. The IRS lets you subtract 2 things first.
- Selling costs: agent commissions, escrow, title insurance, transfer tax and similar closing costs. Our guide to the cost to sell a home in Newport Beach breaks these down line by line.
- Your cost basis: what you paid for the home, plus certain buying costs, plus every improvement you've made. A new roof, a kitchen remodel, an addition, solar panels and new windows count. Repairs and routine maintenance do not.
The formula: Sale price − selling costs − cost basis = your gain. The IRS explains what counts in Publication 523, Selling Your Home.
Step 2: Subtract the home sale exclusion
If you qualify, you can exclude up to $250,000 of gain if you're single, or $500,000 if you're married and file jointly. This is Section 121 of the tax code. The rules are in the next section.
Step 3: Federal capital gains tax
What's left after the exclusion is taxed by the IRS at 0%, 15% or 20%, if you owned the home more than 1 year. Which rate you pay depends on your total taxable income for the year, including the gain.
For 2026, married couples filing jointly pay 0% up to $98,900 of taxable income, 15% up to $613,700, and 20% above that. Single filers switch at $49,450 and $545,500. These thresholds come from the IRS inflation update, Revenue Procedure 2025-32, summarized by Kiplinger.
The gain "stacks" on top of your other income. So a big sale can push part of your gain into the 20% band even if your salary or pension is modest.
Step 4: The 3.8% Net Investment Income Tax
If your income for the year is over $250,000 (married) or $200,000 (single), the IRS adds a 3.8% surtax on investment income. The taxable part of a home sale counts. The part covered by the exclusion does not. These thresholds have been frozen since 2013, so more sellers get caught every year. See IRS Topic 559.
Step 5: California income tax
California has no special, lower rate for capital gains. Your taxable gain is added to your income and taxed just like a paycheck, at rates from 1% up to 13.3%. California uses the same $250,000 / $500,000 exclusion as the IRS. See the Franchise Tax Board's page on income from the sale of your home.
A real-world Orange County example
A married couple bought their Irvine home in 2005 for $1,000,000. Over 20 years they spent $200,000 on a remodel, a new roof and new windows. In 2026 they sell for $2,500,000 and pay $100,000 in selling costs. They have about $100,000 of other taxable income that year.
| Step | Amount |
|---|---|
| Sale price | $2,500,000 |
| Minus selling costs | −$100,000 |
| Minus cost basis ($1,000,000 purchase + $200,000 improvements) | −$1,200,000 |
| Gain | $1,200,000 |
| Minus married exclusion | −$500,000 |
| Taxable gain | $700,000 |
| Federal capital gains tax (mostly 15%, top slice 20%) | about $114,000 |
| 3.8% Net Investment Income Tax | about $22,000 |
| California income tax (mostly 9.3%, top slice 10.3%) | about $65,000 |
| Estimated total tax | about $201,000 |
That's roughly $201,000 of tax on a $1,200,000 gain, even after the full $500,000 exclusion. Every $1 of taxable gain at the top of their income costs them about 34 cents (20% + 3.8% + about 10.3%).
These are estimates to show how the layers work. Your actual numbers depend on your deductions, other income and filing status.
Who qualifies for the $250,000 / $500,000 exclusion
You qualify if you pass 3 simple tests, all measured over the 5 years before the sale date.
- Ownership test: you owned the home for at least 2 of the last 5 years.
- Use test: you lived in it as your main home for at least 2 of the last 5 years. The 2 years don't have to be in a row.
- Once every 2 years: you haven't used the exclusion on another home sale in the 2 years before this one.
The married-couple fine print
To exclude the full $500,000, you must file a joint return. Either spouse can meet the ownership test, but both spouses must meet the use test. If you married recently and your spouse moved in only a year ago, you may be limited to $250,000. If you're selling because of a divorce, the rules shift again; see the tax side of a divorce home sale.
If your spouse has passed away
A surviving spouse can still exclude up to $500,000 if the home is sold within 2 years of the date of death, they haven't remarried, and the couple qualified before the death. After that 2-year window, the limit drops to $250,000. This date matters, so put it on the calendar early.
If you have to move early
If you sell before hitting 2 years because of a job change, a health reason or certain unforeseen events, you may get a partial exclusion. The IRS rules and worksheets are in Publication 523.
If the home was ever a rental or home office
The exclusion doesn't cover depreciation you took (or could have taken) while the home was rented or used for business. That portion is taxed separately, up to 25% federally. Time the home was rented before you moved in can also reduce your exclusion. This is one to walk through with your CPA.
The $500,000 limit hasn't changed since 1997
The exclusion has been stuck at $250,000 / $500,000 since Congress created it in 1997. It is not adjusted for inflation, which is why it covers so little of a typical Orange County gain today.
5 legal ways to lower the tax
You can't change the tax rates, but you can change the numbers they apply to.
1. Find every improvement you ever made
Every dollar of documented improvement lowers your gain dollar for dollar. For the couple above, finding another $100,000 of forgotten improvements would save them roughly $34,000.
So 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. 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, a water heater, new plumbing or wiring
- A pool, a fence, a driveway, landscaping, a sprinkler system
- New flooring, built-in appliances, a fireplace, solar panels
What doesn't count: repairs and maintenance, like painting, fixing a leak or patching a crack. Those just keep the house in shape. One exception: if the repairs were part of a bigger remodel, the whole project can count. And one catch: if you replaced an improvement, like carpet you put in 15 years ago and later tore out, the old one no longer counts.
Dig up old contracts, permits, credit card statements and HOA approval letters. Our list of home upgrades that add value in Orange County shows which projects tend to pay off, and we explain how longtime owners rebuild missing records in The Cost Basis Problem Behind a $4M+ Newport Beach Home Sale.
2. Count all your selling costs
Commissions, escrow fees, title insurance, transfer tax, and certain costs of getting the home ready to sell all reduce your gain. Keep your final closing statement with your tax records. For a county-wide overview, see what it costs to sell a house in Orange County.
3. Make sure both spouses pass the 2-year test
If one spouse hasn't lived in the home 2 of the last 5 years, waiting a few more months before closing could double your exclusion from $250,000 to $500,000. Check the dates before you list.
4. If a spouse has died, look at the step-up in basis
When someone dies, the home's cost basis can "step up" to its value on the date of death. In California, a home held as community property can get a step-up on both halves, which can wipe out most or all of the gain for the surviving spouse. How the deed is titled matters a lot here. The IRS rules are in Publication 551, and if the home passed to children rather than a spouse, start with Inherited a House in California? What to Do Next or, for brothers and sisters sharing a home, inheriting a house with siblings.
5. Choose the year you sell
Because the gain stacks on top of your other income, selling in a lower-income year keeps more of it in lower brackets. For many people that's the first full year after retiring, before required retirement account withdrawals begin. Tax timing is one more factor next to the market itself; we cover that side in the best time to sell your Newport Beach home and selling your longtime home in Newport Beach.
What about a 1031 exchange?
A 1031 exchange lets you defer tax when you trade one investment property for another. It does not apply to your primary home. If part of the property was used as a rental, talk to your CPA before you list.
Common mistakes Orange County sellers make
- Assuming the exclusion covers everything. On a long-held Orange County home, it often covers less than half the gain.
- Forgetting California. Many online calculators show only the federal tax. California can add 9.3% to 13.3% on top.
- Throwing away old receipts. Without records, you may not be able to prove improvements, and your gain looks bigger than it is.
- Missing the 2-year surviving-spouse window. Selling in month 25 instead of month 23 can cut the exclusion in half.
- Mixing up Prop 19 and capital gains. Prop 19 is about property tax on the home you buy next or pass to your children. It does nothing to lower the income tax on the home you sell. Our Prop 19 parent-to-child guide covers the property tax side.
- Forgetting the state withholding at closing. Escrow may withhold 3 1/3% of the sale price for California unless you certify an exemption (FTB Form 593). We cover that in Capital Gains, FIRPTA & Withholding.
Will Congress raise the $500,000 limit?
Maybe, but not yet. The bipartisan More Homes on the Market Act (H.R. 1340) would double the exclusion to $500,000 single and $1,000,000 married, and index it to inflation. As of late September 2026 it is still pending in Congress and is not law. Plan your sale around today's rules, and treat any increase as a bonus if it happens.
Frequently asked questions
Do I pay capital gains tax when I sell my house in California?
Only on profit above the exclusion. If you lived in the home 2 of the last 5 years, the first $250,000 of profit is tax-free, or $500,000 for a married couple. Profit above that is taxed by both the IRS and California.
How much capital gains tax will I pay on a $1,200,000 gain?
In our Irvine example, a married couple with a $1,200,000 gain and about $100,000 of other income pays roughly $201,000: about $114,000 federal, $22,000 Net Investment Income Tax and $65,000 California, after the $500,000 exclusion.
What is the capital gains tax rate on a home sale in 2026?
Federally, 0%, 15% or 20%, depending on your total taxable income. Higher earners add a 3.8% surtax. California then taxes the gain as regular income, at 1% to 13.3%.
Does California have a capital gains tax?
Not a separate one. California taxes capital gains exactly like wages, at the same rates. Holding the home longer does not lower the California rate.
How do I calculate my capital gain on a house?
Start with the sale price. Subtract selling costs, then subtract what you paid plus the cost of improvements. The result is your gain.
What home improvements reduce capital gains?
Improvements that add value, extend the home's life or adapt it to a new use: additions, kitchen and bath remodels, a new roof, windows, HVAC, plumbing or wiring, a pool, landscaping, built-in appliances and solar.
Do repairs count toward my cost basis?
No. Painting, fixing a leak or patching a crack is maintenance. The exception is repair work done as part of a larger remodel, where the whole project can count as an improvement.
Do I have to buy another house to avoid capital gains tax?
No. That was the old rule, which ended in 1997. Today the exclusion applies whether or not you buy another home.
Is there a capital gains exemption for people over 55?
Not anymore. The one-time over-55 exclusion was replaced in 1997 by today's $250,000 / $500,000 exclusion, which applies at any age. Don't confuse it with Prop 19, which helps people 55 and older with property tax, not income tax.
Can I use the exclusion more than once?
Yes, as long as you pass the tests each time and it's been at least 2 years since you last used it.
What if I lived in the home less than 2 years?
You normally don't qualify. But if you moved because of a job change, health or certain unforeseen events, you may get a partial exclusion.
Do both spouses have to live in the home for the $500,000 exclusion?
Yes. Either spouse can meet the ownership test, but both must have lived there 2 of the last 5 years. Otherwise you may be capped at $250,000.
What happens if my spouse died and I sell the house?
If you haven't remarried, you can still exclude up to $500,000 if you sell within 2 years of the date of death. You may also get a step-up in basis, which can reduce or erase the gain.
Do I owe the 3.8% Net Investment Income Tax on a home sale?
Only on the taxable part of the gain, and only if your income is over $250,000 (married) or $200,000 (single). The excluded part is never subject to it.
Will escrow withhold taxes when I sell?
It may. California generally requires 3 1/3% of the sale price to be withheld unless you qualify for an exemption, such as selling your main home. You claim it back when you file.
Do I have to report the sale if all my gain is excluded?
Usually not, unless you received a Form 1099-S from escrow. If you did, you report the sale even when no tax is due.
When do I pay the tax?
On your tax return for the year of the sale. On a big gain you may need to make an estimated tax payment soon after closing to avoid penalties. Ask your CPA.
Know your number before you list
The worst time to learn your tax bill is after the house is in escrow. A short planning session before you list can show you your estimated net proceeds, your likely tax, and whether timing, records or title changes could lower it. If you're also thinking about where you'll live next, our piece on retirement living in Newport Beach is a good place to start.
Book a free strategy call with Dar or call 714-612-3870.
About the authors
Dar Mardan, CPA, MBA, REALTOR® (DRE #02121982) is co-founder of Vidar Group Real Estate, brokered by REAL Broker. Before real estate, Dar spent his career in finance and executive leadership. He helps Orange County homeowners in Irvine, Newport Beach, Corona del Mar, Newport Coast and Mission Viejo understand the tax side of a sale before they make a move.
Vida Dashloo, REALTOR® (DRE #02151715) is co-founder of Vidar Group Real Estate with about 15 years of experience helping Orange County buyers and sellers through life transitions, downsizing and inherited homes.
This article is general education, not tax or legal advice. Tax rules change, and every situation is different. Talk with your own CPA or tax attorney before you sell.
Sources
- IRS, Publication 523, Selling Your Home: ownership and use tests, married and surviving-spouse rules, partial exclusion, improvements, depreciation.
- IRS, Topic 559, Net Investment Income Tax: 3.8% rate, $250,000 / $200,000 thresholds, excluded home gain not subject to it.
- IRS, Publication 551, Basis of Assets: how cost basis and step-up work.
- Kiplinger, IRS Updates Capital Gains Tax Thresholds for 2026: 2026 0% / 15% / 20% thresholds from IRS Rev. Proc. 2025-32.
- Tax Foundation, 2026 Tax Brackets and Federal Income Tax Rates.
- California Franchise Tax Board, Income from the sale of your home and Real estate withholding.
- Congress.gov, H.R. 1340, More Homes on the Market Act.
Worked-example figures are estimates by Dar Mardan, CPA, using 2026 federal brackets and approximate California brackets.
Categories
- All Blogs (65)
- Buy home (12)
- buy home insurance (2)
- buyer agent (1)
- divorce (5)
- downsizing (18)
- estate planning (12)
- Estate Real estate (6)
- First time home buyer (5)
- home buying advice (6)
- Home buying tips (8)
- Home inspection (3)
- Home Inspections and Repairs (2)
- home insurance (1)
- home selling advice (15)
- Home Selling Tips (36)
- Home upgrades (2)
- how to sell your home (13)
- Lower home insurance cost (2)
- Lower insurance premiums (1)
- market update (3)
- Newport Center (1)
- Orange county homes (48)
- Pre Listing Preparation (7)
- probate sale (4)
- proposition 19 (4)
- Realtor tips (13)
- Rental Income (1)
- retirement planning (10)
- ROI upgrades (2)
- seller agent (1)
- Selling tips (9)
- transfer tax basis (2)
Recent Posts








