Quick Answer
If you’re selling your California home in 2026, you may qualify to exclude up to $250,000 in capital gains tax on home sale in California if you’re single, or up to $500,000 if you’re married filing jointly. This exclusion applies only to your primary residence if you’ve owned and lived in the home for at least 2 of the last 5 years. Miss this exclusion, and you could face federal capital gains tax rates up to 20%, plus California state tax up to 13.3%, costing you tens of thousands in avoidable taxes.
What Is the Capital Gains Tax on Home Sale in California?
Capital gains tax on a home sale is the federal and state tax you pay on the profit from selling your primary or investment property. The profit is calculated as the difference between your sale price and your adjusted cost basis, which includes the original purchase price plus qualifying improvements and closing costs. For California homeowners, you face two layers of taxation: federal capital gains tax (0%, 15%, or 20% depending on income) and California state income tax (up to 13.3%).
Here’s what that looks like in real numbers: If you’re a single filer earning $120,000 annually and you sell your primary home for $950,000 after buying it for $600,000, your gain is $350,000. Without the home sale exclusion, you’d owe approximately $52,500 in federal capital gains tax (15% rate) plus $46,550 in California state tax (13.3% rate), totaling nearly $99,050 in taxes.
But if you qualify for the Section 121 exclusion, you exclude $250,000 of that gain. You’d only owe tax on the remaining $100,000, reducing your total tax bill to approximately $28,300. That’s a savings of over $70,000 just by meeting the IRS residency and ownership requirements.
Who Qualifies for the Primary Residence Exclusion?
The IRS allows you to exclude up to $250,000 (single filers) or $500,000 (married filing jointly) of capital gains from the sale of your primary residence under Section 121 of the Internal Revenue Code. To qualify, you must meet these three tests:
Ownership Test
You must have owned the home for at least 2 years (730 days) during the 5-year period ending on the date of sale. The ownership period doesn’t need to be continuous. If you owned the home for 1 year, sold it, bought it back, and owned it for another year within the 5-year window, you still meet the ownership test.
Use Test
You must have lived in the home as your primary residence for at least 2 years (730 days) during the same 5-year period. Short absences for vacations or seasonal trips don’t count against you. However, if you rented out your home for 3 years and lived in it for 2 years, you meet the use test. The IRS looks at where you filed your tax returns, registered to vote, and maintained your driver’s license to determine your primary residence.
Frequency Test
You cannot have claimed the home sale exclusion on another property within the 2 years before this sale. If you sold your previous home in 2024 and claimed the exclusion, you cannot claim it again until 2026 or later.
Red Flag Alert: Many California homeowners assume they automatically qualify because they’ve lived in their home for years, but fail to account for rental periods or temporary relocations for work. If you rented out your home for 4 out of the last 5 years, you fail the use test and lose the exclusion, even if you technically owned it the entire time.
California State Tax on Home Sales: What Makes It Different
While the federal government offers the Section 121 exclusion, California fully conforms to this rule, meaning you get the same exclusion on your state tax return. However, California taxes all income, including capital gains, as ordinary income at rates up to 13.3% for high earners.
Here’s the key difference: If you’re selling an investment property or a second home that doesn’t qualify for the primary residence exclusion, California will tax 100% of your gain at your marginal income tax rate. This is significantly higher than many other states.
Example: Investment Property Sale in California
Marcus, a real estate investor in San Diego, purchased a rental property in 2019 for $500,000. He sells it in 2026 for $800,000, realizing a $300,000 gain. Because this is not his primary residence, he cannot claim the Section 121 exclusion. His federal long-term capital gains rate is 15% ($45,000), and California taxes the full gain at his marginal rate of 9.3% ($27,900). His total tax bill is $72,900.
Had Marcus used a strategic tax planning approach, such as a 1031 exchange to defer the gain, or converted the property to his primary residence for 2 of the last 5 years before selling, he could have reduced or eliminated this tax burden entirely.
KDA Case Study: California Homeowner Saves $68,400 on Home Sale
Rachel, a software engineer in Los Angeles, purchased a condo in 2020 for $650,000. In early 2025, she accepted a job in Austin and moved, renting out her LA condo while living in Texas. By late 2025, she was ready to sell but worried she’d miss the Section 121 exclusion because she no longer lived in California.
Rachel came to KDA in February 2026, just weeks before listing her home for sale at $950,000. After reviewing her timeline, we confirmed she still met both the ownership and use tests. She had owned the property for over 5 years and lived in it as her primary residence for more than 2 years within the 5-year lookback period, despite renting it out for the final 11 months.
By timing the sale correctly and documenting her primary residence status, Rachel excluded $250,000 of her $300,000 gain. She only owed tax on $50,000 instead of $300,000, saving approximately $68,400 in combined federal and California state taxes. Our consultation fee was $2,500, delivering a 27.4x first-year return on her investment.
Ready to see how we can help you? Explore more success stories on our case studies page to discover proven strategies that have saved our clients thousands in taxes.
Special Situations and Edge Cases
Not every home sale fits neatly into the standard IRS rules. Here are the scenarios that trip up even experienced California homeowners:
Partial Exclusion Rules
If you don’t meet the full 2-year ownership and use tests but you’re selling due to a job change, health issue, or unforeseen circumstance, you may qualify for a partial exclusion. The IRS allows you to prorate the $250,000/$500,000 exclusion based on the percentage of the 2-year period you met.
For example, if you lived in your home for only 1 year (50% of the 2-year requirement) before selling due to a job relocation more than 50 miles away, you can exclude up to $125,000 (50% of $250,000) if you’re single.
Non-Qualified Use Adjustments
If you converted your rental property into your primary residence after January 1, 2009, the IRS requires you to reduce your exclusion for periods of “non-qualified use.” This means any time the property was not your primary residence after 2008 will reduce your available exclusion proportionally.
Example: You bought a rental property in 2018, rented it out for 3 years, then moved into it as your primary residence for 2 years before selling in 2026. Your total ownership period is 8 years, but you have 3 years of non-qualified use. You must reduce your exclusion by 37.5% (3 ÷ 8). If you’re single, your maximum exclusion drops from $250,000 to $156,250.
Divorce and Separation
If you’re divorced or separated, the rules get more complex. A spouse who is awarded the home in a divorce can count the time their ex-spouse owned the home toward the ownership test, but they must still meet the use test independently. If you moved out 3 years before the sale, you’ll fail the use test and lose the exclusion unless you qualify for a partial exclusion.
Inherited Property
If you inherit a home and later sell it, you typically won’t qualify for the Section 121 exclusion unless you move into the property and use it as your primary residence for at least 2 of the 5 years before selling. However, inherited property receives a step-up in basis to the fair market value on the date of the original owner’s death, which can significantly reduce or eliminate your taxable gain.
What Happens If You Miss the Exclusion?
If you sell your California home without qualifying for the Section 121 exclusion, the tax consequences are severe. You’ll owe both federal capital gains tax and California state income tax on 100% of your gain.
Federal Capital Gains Tax Rates for 2026
- 0% rate: Taxable income up to $47,025 (single) or $94,050 (married filing jointly)
- 15% rate: Taxable income between $47,026 and $518,900 (single) or $94,051 and $583,750 (married filing jointly)
- 20% rate: Taxable income above $518,900 (single) or $583,750 (married filing jointly)
California State Tax on Capital Gains
California does not have preferential capital gains rates. Your gain is taxed as ordinary income at rates ranging from 1% to 13.3% depending on your total taxable income. High earners in California pay the nation’s highest combined capital gains rate.
Pro Tip: If you’re close to qualifying but haven’t met the 2-year use test, consider delaying your sale. Even a few extra months of residency can mean the difference between a $70,000 tax bill and $0 owed.
How to Calculate Your Cost Basis Correctly
Your taxable gain isn’t just the difference between your purchase price and sale price. The IRS allows you to increase your cost basis by including certain expenses, which reduces your taxable gain.
What You Can Add to Your Basis
- Capital improvements: New roof, kitchen remodel, room additions, new HVAC system, landscaping, new windows, solar panel installation
- Closing costs from purchase: Title insurance, legal fees, recording fees, survey costs
- Selling expenses: Real estate agent commissions (typically 5-6%), title fees, attorney fees, transfer taxes
What You Cannot Add to Your Basis
- Repairs and maintenance: Painting, fixing leaks, replacing broken appliances
- Homeowners insurance premiums
- Property taxes paid over the years
- Mortgage interest
Example: You bought your home for $600,000 in 2019. You paid $15,000 in closing costs, spent $40,000 on a kitchen remodel, and added a $25,000 solar system. Your adjusted basis is $680,000 ($600,000 + $15,000 + $40,000 + $25,000). If you sell for $950,000 and pay $57,000 in selling costs (6% commission), your gain is $213,000 ($950,000 – $680,000 – $57,000). With the $250,000 exclusion, you owe $0 in taxes.
Red Flag Alert: Many homeowners throw away receipts for capital improvements, assuming they won’t need them. Without documentation, the IRS can disallow these additions to your basis, increasing your taxable gain by tens of thousands of dollars. Keep every receipt, invoice, and permit for any improvement that adds value to your home.
California-Specific Considerations for 2026
California has unique rules and recent legislative changes that affect home sales in 2026.
Proposition 19 and Property Tax Reassessment
While Proposition 19 primarily affects property tax portability for seniors and inherited properties, it indirectly impacts your decision to sell. If you’re over 55, you can now transfer your current property tax basis to a new home anywhere in California up to three times. This makes selling more attractive for retirees looking to downsize or relocate within the state.
Corporate Homebuyer Tax Changes
A new California bill (Assembly Bill 1611) restricts corporations owning 50 or more homes from using 1031 exchanges to defer capital gains taxes. While this primarily affects institutional investors, it signals California’s increasing focus on taxing real estate transactions, particularly for non-primary residences.
Los Angeles Mansion Tax (Measure ULA)
If you’re selling property in Los Angeles valued above $5 million, you’ll face an additional 4% transfer tax (5.5% above $10 million) under Measure ULA. This tax is in addition to federal and state capital gains taxes and can add hundreds of thousands to your total tax bill. The tax applies to the full sale price, not just your gain.
Example: You sell a Los Angeles property for $6 million. The Measure ULA tax alone is $240,000 (4% of $6 million), which is typically paid by the seller. This is on top of any capital gains tax you owe on your profit.
Step-by-Step: How to Claim Your Home Sale Exclusion
Claiming the Section 121 exclusion is simpler than most tax benefits, but you must follow the correct procedure.
Step 1: Verify Your Eligibility
Before listing your home, confirm you meet the ownership test (2+ years of ownership in the last 5 years), use test (2+ years of primary residence in the last 5 years), and frequency test (no exclusion claimed in the last 2 years). Document your residency with voter registration records, utility bills, driver’s license address, and tax return filings.
Step 2: Calculate Your Gain
Gather all records: original purchase closing statement, receipts for capital improvements, selling closing statement. Calculate your adjusted basis by adding purchase price, purchase closing costs, and capital improvements. Subtract this basis and selling expenses from your sale price to determine your gain.
Step 3: Complete IRS Form 8949 and Schedule D
Report the sale on Form 8949 (Sales and Other Dispositions of Capital Assets) and transfer the information to Schedule D of your Form 1040. Even if your entire gain is excluded, you must still report the sale to the IRS.
Step 4: Claim the Exclusion
You don’t file a separate form to claim the Section 121 exclusion. Simply reduce your taxable gain by the exclusion amount ($250,000 or $500,000) when completing Schedule D. Keep documentation supporting your eligibility for at least 3 years after filing in case of an IRS audit.
Step 5: File Your California State Return
California conforms to the federal Section 121 exclusion, so you’ll report the same excluded amount on your California Form 540. Ensure your state return matches your federal return to avoid processing delays or audit triggers.
Pro Tip: If you’re using the partial exclusion due to unforeseen circumstances, attach a statement to your return explaining why you qualify. Include supporting documentation such as a job offer letter showing relocation distance, medical records indicating health issues, or divorce decree.
Ready to Reduce Your Tax Bill?
KDA Inc. specializes in strategic tax planning for business owners, S Corps, LLCs, and high-net-worth individuals. Book a personalized consultation and walk away with a clear plan.
Frequently Asked Questions
Can I exclude capital gains if I work from home but live in a different state?
No. Your primary residence is determined by where you physically live, not where you work. If you moved to another state and established residency there (changed your driver’s license, registered to vote, filed state taxes), your California home is no longer your primary residence. However, if you maintained California residency and only traveled temporarily for work, you may still qualify.
What if I owned the home jointly but only one spouse lived there?
For married couples filing jointly, both spouses must meet the use test to claim the full $500,000 exclusion. If only one spouse meets the use test, you can each claim a separate $250,000 exclusion, but only the spouse who met both tests gets their exclusion. This typically results in a combined $250,000 exclusion rather than $500,000.
Does depreciation recapture apply to my primary residence?
If you claimed depreciation deductions because you used part of your home for business (such as a home office) or rented it out for a period, you must recapture that depreciation when you sell. Depreciation recapture is taxed at a maximum rate of 25%, even if your gain is otherwise excluded under Section 121. This applies only to the portion of the home that was depreciated, not the entire property.
Can I use a 1031 exchange for my primary residence?
No. A 1031 exchange applies only to investment or business property, not personal residences. However, if you converted your primary residence into a rental property, waited at least 2 years, and then sold it, you might be able to use a 1031 exchange to defer the gain. You cannot combine the Section 121 exclusion and a 1031 exchange on the same sale.
Common Mistakes That Cost California Homeowners Thousands
Mistake 1: Renting Out Your Home Too Long Before Selling
Many homeowners convert their primary residence into a rental when they relocate, planning to sell later. If you wait too long, you’ll fail the use test. You must have lived in the home for at least 2 of the 5 years immediately before the sale. If you rented it out for 4 years before selling, you lose the exclusion entirely.
Mistake 2: Failing to Document Capital Improvements
Without receipts, the IRS will disallow your claimed improvements, increasing your taxable gain. Always keep contractor invoices, building permits, and payment records. Store these in a dedicated file labeled with the property address and update it every time you make an improvement.
Mistake 3: Not Planning for Depreciation Recapture
If you claimed home office deductions for years, you must recapture the depreciation when you sell, even if your gain is otherwise excluded. This surprise tax bill catches many self-employed homeowners off guard. The recapture rate is 25% on the depreciation amount, which can add thousands to your tax bill.
Mistake 4: Selling Too Soon After a Previous Exclusion
You can only claim the Section 121 exclusion once every 2 years. If you sold a home in 2024 and claimed the exclusion, you cannot claim it again on a 2026 sale, even if you otherwise qualify. The only exceptions are partial exclusions for unforeseen circumstances.
Mistake 5: Assuming Closing Costs Are Deductible Every Year
Closing costs paid when you purchased your home increase your basis, but closing costs paid when you sell reduce your gain directly. Many homeowners mistakenly try to deduct these annually on their tax returns, which is incorrect. These costs only matter in the year you sell.
Red Flag Alert: The IRS matches Form 1099-S (Proceeds from Real Estate Transactions) filed by your closing agent with your tax return. If you don’t report the sale, you’ll automatically trigger an audit notice. Always report the sale, even if your gain is fully excluded.
When to Get Professional Tax Help
While many straightforward home sales can be handled without professional assistance, certain situations require expert guidance:
- You’re close to the 2-year ownership or use requirement but not certain you qualify
- You converted a rental property to a primary residence (or vice versa)
- You’re selling a high-value home with a gain exceeding the exclusion limits
- You claimed home office deductions or rental income on the property
- You’re divorcing and splitting proceeds with an ex-spouse
- You inherited the property and later moved into it
- You’re subject to the Los Angeles Mansion Tax or other local transfer taxes
- You’re selling multiple properties in the same year
At KDA, we help California homeowners every day navigate complex home sale situations. Our team understands both federal and California tax law, and we specialize in maximizing your exclusion while ensuring full compliance with IRS and FTB rules.
Book Your Home Sale Tax Strategy Session
If you’re planning to sell your California home and want to ensure you’re not leaving tens of thousands of dollars on the table, let’s talk. Whether you’re concerned about meeting the 2-year tests, worried about depreciation recapture, or simply want confirmation that you qualify for the full exclusion, our tax strategists can provide clarity and a custom game plan. Click here to book your consultation now and protect your home sale proceeds from unnecessary taxation.
This information is current as of 3/1/2026. Tax laws change frequently. Verify updates with the IRS or FTB if reading this later.