Most California homeowners who owned and lived in the home for two of the last five years can exclude up to $250,000 of gain, or $500,000 for married couples filing jointly. California follows that federal exclusion. Any gain above it is taxed federally as a capital gain and by California as ordinary income, with no lower state rate.
lightbulbKey Takeaways
check_circle
To exclude gain on a home sale, you must own and live in the home for two of the five years before selling.
check_circle
The exclusion covers up to $250,000 of gain for single filers, $500,000 for joint filers.
check_circle
California has no lower capital gains rate, so gain above those limits is taxed as ordinary income.
check_circle
Improvements such as a new roof and selling costs such as agent commissions shrink your taxable gain.
check_circle
Selling early because of a job move, health issue or unforeseen event can earn a reduced exclusion.
Section 121 of the Internal Revenue Code lets you exclude gain, not the sale price, when you sell your main home. The IRS lays out the rules in Topic 701 and Publication 523.
Two tests apply. You must have owned the home for at least 24 months of the five years before the sale, and lived in it as your main home for at least 24 months of that same window. The months don’t have to be consecutive.
Here are the figures to keep in mind:
If you excluded gain on another home sale within the past two years, you generally can’t claim the full exclusion again. Moving often or selling a second residence soon after the first can trip this up. A partial exclusion sometimes still applies.
A joint return gets the $500,000 maximum when either spouse meets the ownership test, both meet the use test, and neither used the exclusion on another sale in the last two years. If only one spouse qualifies, the limit can drop to $250,000. A CPA can sort out separate ownership histories.
California generally conforms to the federal exclusion, so gain you exclude federally is generally excluded from California taxable income too. The Franchise Tax Board says it follows the IRS rules and allows the exclusion when you owned and used the home for at least 2 of the last 5 years. Unusual situations are worth confirming with a CPA.
California has no special rate for capital gains. Any gain left after the exclusion lands on your California return as regular income and is taxed at your marginal state rate, which depends on your filing status, other income and the tax year.
The federal side works differently. A taxable long-term gain can face federal capital gains rates, and higher earners may also owe the net investment income tax. Living in the home doesn’t make every dollar of appreciation tax-free, and past rental use adds depreciation to the mix.
Say a home sells for $900,000 and has an adjusted basis of $450,000, which makes the gain $450,000. The table assumes every Section 121 test is met and ignores depreciation.
| Filing situation | Sale price ($) | Adjusted basis ($) | Gain ($) | Excluded ($) | Taxable ($) |
| Single filer | 900,000 | 450,000 | 450,000 | 250,000 | 200,000 |
| Married filing jointly | 900,000 | 450,000 | 450,000 | 450,000 | 0 |
The single filer has $200,000 of gain left to report, while the couple has none. The table stops before final tax due, because that depends on income and the year of sale. To model your own numbers, estimate your capital gains tax and confirm the result with a tax professional.
Your taxable gain isn’t your sale price minus your mortgage payoff. The IRS measures gain as the amount you realize from the sale minus your adjusted basis, and a big loan balance doesn’t change that.
Before you start, pull together your original closing statement, improvement receipts, any rental records and the estimated seller statement.
Keep every receipt and invoice, because the IRS expects you to prove what you spent and when. Routine maintenance doesn’t count. Repainting a room, fixing a leaky faucet or replacing a broken part generally won’t raise your basis, and neither will mortgage principal or insurance premiums.
Our guide on whether home improvements are tax deductible in California covers where the line falls, and Publication 523 has worksheets and examples.
Four situations change the math, and each has its own rule.
Heirs generally take a stepped-up basis equal to the home’s fair market value on the date of death, which can shrink or erase the gain. Inheriting a house doesn’t satisfy the residence tests, though. If you’re selling an inherited house, ask an estate attorney or CPA to confirm the basis.
A former rental can leave you with depreciation recapture even when you qualify for the exclusion, and the years it spent as a rental can limit how much gain you exclude. Landlords weighing a sale should read our post on capital gains tax on California rental property first.
Divorce can change how ownership and use periods are counted. If a divorce or separation instrument gives your former spouse the right to live in the home, you may be able to count that time toward your own use test. The deed and settlement terms matter, so get individual advice. Our page on selling a house during divorce covers the sale side.
Selling before you reach 24 months can still earn a reduced exclusion when the main reason is a work-related move, a health issue or an unforeseen event. The IRS prorates the amount by how long you owned and lived in the home, so it won’t be the full $250,000 or $500,000 (Publication 523).
Escrow may hold back 3⅓% of the sale price for the Franchise Tax Board unless you certify an exemption on Form 593. A principal residence sale is one of the qualifying exemptions, but escrow won’t assume yours qualifies. Publication 1016 explains the rules, including an alternative calculation based on your gain where permitted.
Withholding is a prepayment, not your final tax bill. Read the form and your estimated closing statement before you sign so nothing on the settlement sheet surprises you.
Osborne Homes is a direct buyer and investor, not a real estate agent, and any offer depends on an inspection of the property. A cash sale goes through the same escrow and withholding rules as any other.
You generally need to own the home and use it as your main residence for at least two of the five years before the sale. Meeting that test doesn’t erase every dollar of gain, because anything above $250,000 ($500,000 for joint filers) can still be taxed. Partial exclusions exist for some early sales.
Yes, when taxable gain remains after the exclusion. California generally follows the federal exclusion but taxes what’s left as ordinary income, with no separate capital gains rate.
No. The Section 121 exclusion doesn’t require a replacement home, and buying one doesn’t make otherwise taxable gain exempt.
Capital improvements raise your adjusted basis, which lowers your gain. Additions, a new roof and a major HVAC upgrade are typical examples. Routine repairs and maintenance generally don’t count.
Federal law has no separate home sale exclusion for seniors. Older homeowners use the same Section 121 rules as everyone else. Any property tax benefits for older homeowners are separate from capital gains tax.
It may withhold 3⅓% of the sale price unless you certify an exemption. A principal residence sale generally qualifies when you properly complete Form 593. Ask escrow and your CPA to review it before closing.
Once you know roughly what you’ll keep after taxes, you can weigh your options with real numbers. If you’re selling to downsize or simply ready to move, Osborne Homes can give you a no-obligation cash offer to compare against the net proceeds of a traditional listing.
We’re a direct buyer and investor, not an agent, and any offer depends on an inspection of the property. See where we buy houses in California or get your cash offer today.
This article is general information, not legal or tax advice. Talk with a California attorney or CPA, or contact the Franchise Tax Board or IRS, about your own situation.
The Osborne Homes Team
The Osborne Homes team specializes in California real estate, helping buyers, sellers, and homeowners navigate the market with clarity and confidence. Our articles are written to provide practical guidance, local insight, and up-to-date information you can trust.
Get a no-obligation cash offer in as little as 48 hours. No repairs, no agents, no stress. Just a dignified way to move forward.
Free property assessment. No obligation. No pressure.
sell