Capital Gains Tax When Selling a Home in California (2026)
Married owners can exclude up to $500,000 of gain on a main home ($250,000 if single) after owning and living in it for two of the last five years. Gain above that is taxed federally at up to 20% plus 3.8%, and California taxes it as ordinary income at up to 13.3%.
How the $250,000 and $500,000 Home Sale Exclusion Works
Section 121 of the Internal Revenue Code lets you exclude up to $250,000 of gain on the sale of your main home, or $500,000 if you are married and file jointly. Three tests decide whether you get it.
Ownership. You owned the home for at least 24 months of the five years ending on the sale date. On a joint return, only one spouse has to meet this.
Use. You lived in it as your main home for at least 24 months of those five years. The months need not be consecutive, but for the full $500,000 each spouse must meet the use test.
Look-back. You did not exclude gain on another home sold in the previous two years.
If you fall short because of a job move (a new workplace at least 50 miles farther from the home than the old one), a health reason, or an unforeseeable event such as a death, divorce or multiple births from one pregnancy, a partial exclusion applies, prorated over 24 months. A couple who lived there 12 months before a qualifying job move can exclude up to $125,000 each, or $250,000 together.
A surviving spouse keeps the $500,000 limit if the house sells within two years of the death, the survivor has not remarried, and the tests are met counting the late spouse's time. California follows the same exclusion on the state return.
Several bills would raise or remove the cap, including the No Tax on Home Sales Act (H.R. 4327) and the More Homes on the Market Act (H.R. 1340 and S. 3332). As of December 2026 none had passed either chamber of Congress. Plan the sale around the current $250,000 and $500,000 limits.
What Gain Above the Exclusion Costs: 2026 Federal and California Rates
Federal capital gains rates. Gain on a home held more than a year is long-term. For 2026 it is taxed at 0%, 15% or 20%, depending on total taxable income, with the gain counted on top of your other income. For married couples filing jointly, 0% applies up to $98,900 of taxable income, 15% up to $613,700, and 20% above that. For single filers the breakpoints are $49,450 and $545,500.
Net investment income tax. A further 3.8% applies to the smaller of your net investment income or the amount by which your modified adjusted gross income exceeds $250,000 (joint) or $200,000 (single). Those thresholds are not indexed for inflation. Excluded gain is not subject to it; gain above the exclusion is.
California. California has no lower rate for capital gains. The taxable gain is added to your other income and taxed at ordinary rates from 1% to 12.3%, plus a 1% Behavioral Health Services Tax (formerly the Mental Health Services Tax) on taxable income over $1 million. The top rate is therefore 13.3%, and a one-time sale can put a couple whose income is otherwise modest into it for that year.
Withholding at closing. Unless an exemption applies, escrow withholds 3⅓% of the total sale price for the Franchise Tax Board or, if you elect the alternative calculation, 12.3% of the estimated gain. A home that qualifies as your principal residence under Section 121, or was last used as your principal residence, is exempt. You certify that on Form 593, which must reach escrow before closing; after closing, anything withheld comes back only as a credit on your return. Sales of $100,000 or less are not subject to withholding.
A Worked Example: A Mill Valley Couple Who Bought in 1998
A married couple bought a Mill Valley house in 1998 for $600,000, paying $6,000 in closing costs that count toward basis (owner's title insurance, recording and legal fees). They later spent $250,000 on improvements: a kitchen remodel, a new roof, two bathrooms, windows and a retaining wall. Both lived there throughout. They sell in 2026 for $2,600,000, with $140,000 of selling costs (commissions, transfer tax, escrow and title).
Step 1, amount realized: $2,600,000 − $140,000 = $2,460,000.
Step 2, adjusted basis: $600,000 + $6,000 + $250,000 = $856,000.
Step 3, gain: $2,460,000 − $856,000 = $1,604,000.
Step 4, taxable gain: $1,604,000 − $500,000 = $1,104,000.
Assume their adjusted gross income before the sale is $150,000, their federal and California taxable income is $120,000, and their deductions stay the same.
Federal tax. The gain sits on top of $120,000, so $493,700 of it (up to $613,700) is taxed at 15%, or $74,055, and the remaining $610,300 at 20%, or $122,060. Total: $196,115.
NIIT. Modified AGI becomes $1,254,000, which is $1,004,000 over the $250,000 threshold. That is less than the $1,104,000 gain, so the tax is 3.8% × $1,004,000 = $38,152.
California. On the 2025 joint rate schedule (2026 brackets are inflation-adjusted, so the real figure will differ slightly), tax on $1,224,000 is $114,844 and on $120,000 is $4,368: a difference of $110,476. The 1% surcharge on the $224,000 above $1 million adds $2,240, for $112,716.
Total: about $347,000, roughly 31% of the taxable gain and 22% of the full gain. Credits, AMT and their actual deductions will move it, which is why this belongs in front of a CPA before you list.
Adjusted Basis: The Number You Can Still Change
The market sets the sale price. Your paperwork sets the basis, and for a long-tenured owner it is usually the largest number still open to question.
What goes in. The purchase price, plus settlement costs such as owner's title insurance, recording fees, legal fees and any transfer tax you paid as buyer. Then improvements: work that adds value, prolongs the home's life or adapts it to new uses, such as an addition, a new roof, insulation or a kitchen remodel.
What does not. Repairs and maintenance, such as painting or fixing a leak, unless they were part of a larger remodel. Fire insurance premiums, loan points, lender-required appraisals and refinancing costs are excluded too.
Selling costs. Commissions, advertising and legal fees on the sale are not basis; they reduce the amount realized, which has the same effect on the gain.
What it is worth. In the example above, the top slice of gain is taxed at 20% federal, 3.8% NIIT, 11.3% California and the 1% surcharge, or 36.1% combined. Each $10,000 of documented improvements saves about $3,610, and the couple's $250,000 of improvements is worth about $90,000 in tax.
Records. Keep basis records until three years after the due date of the return for the year of sale. Many owners who bought decades ago no longer have every invoice. Permit records at the city or county, contractor contracts, old bank and card statements, and the original closing statement are where to rebuild the file, and it is easier to do before listing than during escrow.
If the Home Was Ever Rented or Used as an Office
Rental or business use rarely eliminates the exclusion, but it carves pieces out of it.
Depreciation is taxed regardless. Depreciation you claimed, or could have claimed, for business or rental use after May 6, 1997 cannot be excluded. Federally it is taxed as unrecaptured Section 1250 gain at up to 25%; California taxes it as ordinary income.
An office inside the house. If the office was within the dwelling, you do not split the gain between business and personal use. You pay tax on the depreciation and exclude the rest as normal.
Separate space. Space outside the living area, such as the other unit of a duplex you lived in, is different: its share of the gain is excludable only if you also lived in that part for two of the five years, and basis and sale price must be allocated between the parts. Whether a rented ADU falls on that side of the line depends on the facts, so get a CPA's view before listing. The property side is covered in Marin homes with ADU rental income.
Nonqualified use. If you rented the house or used it as a second home at any time after 2008 before making it your main home, the gain is prorated and the share for those years cannot be excluded. Renting after you move out is treated more kindly: time after your last use as a main home, within the five-year window, is not nonqualified use. Temporary absences of up to two years for work, health or unforeseen circumstances are also excepted.
Once you move out, you have three years to sell and still meet the two-of-five-year use test. If you are weighing renting first, see sell or rent your Marin home; a property that no longer qualifies may suit a 1031 exchange instead.
Community Property, a Spouse's Death and the Full Step-Up
For married owners, how title is held can matter more than anything else in this guide.
When a spouse dies, the half of the house that belonged to that spouse takes a new basis equal to its market value at death. If the house was California community property, federal law steps up the survivor's half as well, so the whole house gets a new basis. The Franchise Tax Board applies the same rule.
Take the couple above, and suppose one spouse died in 2025 when the house was worth $2,450,000. The survivor sells in 2026 on the same terms.
Held as community property: basis becomes $2,450,000. Gain: $2,460,000 − $2,450,000 = $10,000, inside the exclusion.
Held as joint tenants: only the deceased spouse's half steps up. Basis: $1,225,000 (half the date-of-death value) + $428,000 (the survivor's half of the old $856,000 basis) = $1,653,000. Gain: $2,460,000 − $1,653,000 = $807,000. Selling within two years of the death, unremarried, the survivor can still exclude $500,000, leaving $307,000 taxable.
California lets spouses hold title as community property with right of survivorship, which passes the house to the survivor without probate, as joint tenancy does. Couples who took title as joint tenants years ago should ask their estate attorney whether a change fits their situation; it is a legal decision with effects beyond tax.
Either way, the survivor needs a date-of-death appraisal, because that value becomes the basis. If the house is passing to children instead, see selling an inherited home in Marin County.
What a Listing Agent Can Prepare for Your CPA
Tax advice belongs with a CPA, and nothing here replaces one. What a listing agent can do is give the CPA accurate inputs early enough to change the plan.
Taylor Lee (DRE #02142974, Golden Gate Sotheby's International Realty) prepares a written pricing analysis with the supporting sales attached and a written net-proceeds estimate before you list. The estimate is laid out line by line: likely price range, commission, county transfer tax, escrow and title charges, and the resulting amount realized, the figure Step 1 above starts from. Because it is in writing, it can go straight to your CPA, and it can be run at more than one price, or for a sale this year versus next, so the CPA can compare the tax on each. Where a deadline is in play, such as the three years after moving out or a surviving spouse's two-year window, she sets the listing and closing dates around it. If you are buying again in California, the same sequencing covers a Prop 19 base-year transfer.
For a net-proceeds estimate on your home: (415) 317-6026 or t.lee@ggsir.com.
Frequently Asked Questions
How much capital gains tax will I pay when I sell my house in California?
It depends on how much gain exceeds the exclusion. Married couples filing jointly exclude up to $500,000 of gain on a main home they owned and lived in for two of the last five years; single filers exclude $250,000. Gain above that is taxed federally at 15% or 20% for 2026, plus the 3.8% net investment income tax for higher incomes, and California taxes it as ordinary income at rates up to 13.3%. Selling costs and documented improvements reduce the gain.
Does California have a lower tax rate for capital gains?
No. California taxes capital gains as ordinary income, so gain from a home sale is added to your other income and taxed at the regular rates of 1% to 12.3%, plus a 1% Behavioral Health Services Tax on taxable income over $1 million. California does follow the federal home sale exclusion, so the first $250,000 or $500,000 of qualifying gain is excluded on the state return as well.
Has Congress eliminated capital gains tax on home sales?
No. As of December 2026, the No Tax on Home Sales Act (H.R. 4327), which would remove the dollar cap, and the More Homes on the Market Act (H.R. 1340 and S. 3332), which would raise it to $500,000 for single filers and $1 million for joint filers, were still in committee and had not passed either chamber. The current $250,000 and $500,000 limits still apply.
What can I add to my home's cost basis?
The purchase price, settlement costs such as owner's title insurance, recording fees, legal fees and transfer taxes you paid as buyer, and the cost of improvements that add value, prolong the home's life or adapt it to new uses, such as an addition, new roof or kitchen remodel. Ordinary repairs and maintenance do not count. Selling costs such as commissions reduce the amount realized instead. Keep the records until three years after the due date of the return for the year of sale.
Can a surviving spouse still exclude $500,000?
Yes, if the home sells within two years of the spouse's death, the survivor has not remarried, and the ownership and use tests are met counting the late spouse's time. If the house was held as community property, the survivor may also get a new basis equal to the full market value at the date of death, which can reduce the gain to little or nothing on a prompt sale.
Will escrow withhold California tax from my sale proceeds?
Usually not on a principal residence. By default, escrow withholds 3⅓% of the sale price, or 12.3% of the estimated gain if you elect the alternative calculation. A home that qualifies as your principal residence under Section 121, or was last used as one, is exempt if you certify it on Form 593 before closing. Anything withheld is a prepayment you claim as a credit on your California return.
Who can give me a valuation and net-proceeds estimate?
Taylor Lee (CA DRE #02142974) is a REALTOR® with Golden Gate Sotheby's International Realty. Every listing consultation includes the comparable sales in writing — including the ones that argue against the suggested price — plus a full net-proceeds worksheet covering commission, transfer tax, escrow, title, staging, and likely repair credits, so the figure you evaluate is what actually reaches your account rather than the headline sale price. Contact (415) 317-6026 or t.lee@ggsir.com.
Sources
- IRS — Publication 523, Selling Your Home
- IRS — Revenue Procedure 2025-32 (2026 inflation-adjusted amounts)
- IRS — Questions and Answers on the Net Investment Income Tax
- IRS — Topic No. 409, Capital Gains and Losses
- California Franchise Tax Board — Capital gains and losses
- California Franchise Tax Board — 2025 California Tax Rate Schedules
- California Franchise Tax Board — 2026 Instructions for Form 593, Real Estate Withholding
- Congress.gov — H.R. 4327, No Tax on Home Sales Act
General information, not tax or legal advice. Rules and figures change; confirm the specifics for your property with a CPA, attorney, or the agency named.
More Seller Guides
Find Out What Your Home Is Worth
A written pricing analysis with the comparable sales attached, and a net-proceeds estimate. No obligation, and no pressure to list.
Golden Gate Sotheby's International Realty · DRE #02142974
