Most California homeowners owe zero federal capital gains tax when they sell their primary residence. The IRS Section 121 exclusion lets single filers exclude up to $250,000 in profit and married couples up to $500,000 — and the typical Antelope Valley seller falls well within those limits. If you bought your Palmdale home at $320,000 and sell at $485,000, your $165,000 gain is completely tax-free for a married couple filing jointly. Get your free net proceeds estimate at /en/sell-my-home/#report to see exactly what you keep after every cost.
The $250K/$500K Exclusion: Who Qualifies
To claim the full exclusion you must meet two tests. First, the ownership test: you owned the home for at least 2 of the last 5 years. Second, the use test: you lived in the home as your primary residence for at least 2 of the last 5 years. The two years do not need to be consecutive. If you are married filing jointly, only one spouse needs to meet the ownership test, but both must meet the use test. You can use this exclusion once every 2 years.
When You DO Owe Capital Gains Tax
- You owned the home for less than 2 years (no exclusion — gains taxed at ordinary income rates if held under 1 year, or long-term capital gains rates if held 1–2 years).
- Your gain exceeds the exclusion ($165,000 gain with a $250,000 single exclusion = $0 tax, but a $310,000 gain = $60,000 taxable for a single filer).
- The property was an investment or rental (no Section 121 exclusion applies — full gain is taxable plus depreciation recapture at 25%).
- You used the exclusion within the last 2 years on a different property.
- The home was never your primary residence (vacation homes and second homes do not qualify).
California State Capital Gains Tax
California does not have a separate capital gains rate — it taxes capital gains as ordinary income. The state income tax rate ranges from 1% to 13.3% depending on your total taxable income. The good news: the federal Section 121 exclusion applies to your state return as well. If your gain is excluded federally, it is excluded in California too. For most Antelope Valley sellers with gains under $500,000, both federal and state capital gains tax is $0.
Real Tax Scenarios for Antelope Valley Sellers
| Purchase Price | Sale Price | Gain | Filing Status | Federal Tax | CA State Tax |
|---|---|---|---|---|---|
| $320,000 | $485,000 | $165,000 | Married | $0 | $0 |
| $280,000 | $485,000 | $205,000 | Single | $0 | $0 |
| $180,000 | $485,000 | $305,000 | Single | $8,250 (15% on $55K) | ~$4,800 |
| $320,000 | $485,000 | $165,000 | Married (rental) | $24,750 (15%) | ~$15,000 |
| $350,000 | $485,000 | $135,000 | Single | $0 | $0 |
| $250,000 | $485,000 | $235,000 | Single (lived 1 yr) | $35,250 (15%) | ~$20,500 |
How to Calculate Your Capital Gain
Your capital gain is not simply sale price minus purchase price. Your adjusted cost basis includes the original purchase price PLUS capital improvements (kitchen remodel, new roof, pool addition, solar panels) MINUS any depreciation claimed. Closing costs when you sell (agent commissions, transfer tax, escrow fees) are subtracted from the sale price to determine your net proceeds. Our free seller report at /en/sell-my-home/#report calculates your estimated net proceeds automatically. For a full breakdown of every closing cost, see our seller closing costs guide at /en/blog/closing-costs-buying-home-california.
The 1031 Exchange Alternative for Investment Property
If you own an investment property in the Antelope Valley and want to avoid capital gains tax entirely, a 1031 exchange lets you defer the tax by reinvesting the proceeds into a like-kind property within 180 days. You must identify replacement properties within 45 days of closing. This strategy is common among AV investors who sell a single-family rental and exchange into a multi-unit property. Consult a qualified intermediary — the IRS rules are strict and self-directed exchanges are prohibited.
What About Depreciation Recapture?
If you claimed depreciation deductions on a home (typically a rental property), the IRS recaptures that depreciation at a flat 25% rate when you sell — even if your overall gain falls under the Section 121 exclusion. For example, if you rented your Palmdale home for 3 years and claimed $30,000 in depreciation, you owe $7,500 in depreciation recapture tax regardless of other exclusions. Understanding the difference between costs when selling and net proceeds is critical — see our complete cost breakdown at /en/blog/cost-of-selling-home-california-breakdown.
Know Your Numbers Before You List
Tax liability is one of the most misunderstood costs of selling. Most sellers assume they owe taxes and are surprised to learn the exclusion covers their entire gain. A smaller number of sellers are surprised by unexpected tax bills on investment property or homes they owned for less than 2 years. Run the numbers before you list — not after. Start with your free net proceeds estimate at /en/sell-my-home/#report.
Frequently Asked Questions
Do I have to pay capital gains tax when I sell my home in California?+
Most homeowners pay $0 in capital gains tax. The IRS Section 121 exclusion allows single filers to exclude $250,000 in gains and married couples to exclude $500,000 — as long as you owned and lived in the home for at least 2 of the last 5 years. Since the typical Antelope Valley gain is well under these limits, most sellers owe nothing.
How much is capital gains tax in California?+
California taxes capital gains as ordinary income at rates from 1% to 13.3%. However, if your gain qualifies for the federal Section 121 exclusion, it is also excluded from California state taxes. Only gains exceeding the $250K/$500K limit — or gains on investment property — are subject to state tax.
What happens if I sell my house before 2 years?+
If you sell before meeting the 2-year ownership and use tests, you do not qualify for the Section 121 exclusion. Your gain is taxed as short-term capital gains (ordinary income rates) if held under 1 year, or long-term capital gains (0%, 15%, or 20%) if held between 1 and 2 years. Partial exclusions may apply for certain qualifying events like job relocation or health emergencies.
Does California have a separate capital gains tax rate?+
No. California taxes capital gains at the same rate as ordinary income — there is no preferential long-term capital gains rate at the state level. This means California residents pay a higher effective rate on investment gains compared to states like Texas or Florida that have no state income tax. However, primary residence exclusions apply equally.
Can I avoid capital gains tax by buying another home?+
For your primary residence, the Section 121 exclusion eliminates gains up to $250K/$500K — you do not need to buy another home to claim it. For investment property, a 1031 exchange lets you defer gains by reinvesting into a like-kind property within 180 days. The two strategies serve different situations.
Questions? We're Here.
Talk to Elizabeth — Hablamos Español
Bilingual real estate agent serving Palmdale, Lancaster, Quartz Hill, and all of Antelope Valley. No pressure, no jargon.