Selling a home in California can trigger a tax bill that catches most homeowners off guard. The good news: there are legal, IRS-approved ways to avoid capital gains tax, and most sellers can avoid capital gains tax entirely on a primary residence.
If you owned and lived in your home for at least two of the last five years, you likely qualify to exclude $250,000 of profit ($500,000 if married filing jointly) under IRC Section 121, which reduces the tax bill for most sellers. For everyone else, timing, documentation, and a few underused strategies make the difference between a five-figure tax bill and a zero-dollar one.
Key Takeaways
|
Understanding Capital Gains Tax on Home Sales
Capital gains tax is the tax you owe on profit from selling an asset for more than you paid. Your gain equals sale price minus adjusted basis: purchase price plus qualifying improvements and certain closing costs.
The federal government taxes long-term gains at 0%, 15%, or 20% depending on income, plus a 3.8% surcharge for high earners. California folds every dollar of gain into ordinary income and taxes it under the California capital gains tax brackets, which run from 1% up to 13.3%.
The table below shows how a home sale gain stacks against California’s brackets for a single filer in 2026.
| Taxable Income (Single) | California Rate |
| Up to $11,079 | 1% |
| $11,080 to $61,214 | 4% to 8% |
| $61,215 to $332,955 | 9.3% |
| Above $1,000,000 | 13.3% (includes 1% Mental Health Services Tax) |
Homeowners who track improvements from day one, not just at closing, consistently walk away with a smaller taxable gain. A common mistake our clients make is tossing receipts instead of building a running basis file the moment they buy.
- Basis includes the purchase price, transfer taxes, title insurance, and legal fees from the original purchase
- Capital improvements count (a new roof, room additions, a remodeled kitchen); routine repairs do not
- Selling costs, including agent commissions and staging, reduce your gain further
- Depreciation recapture applies if you rented out part of the home, and California taxes that portion at ordinary rates with no cap
| Example: A San Jose couple bought their house in 2015 for $700,000 and sold it in 2026 for $1.3 million after $50,000 in upgrades. Adjusted basis: $750,000. Gain: $550,000. After the $500,000 married exclusion, only $50,000 is taxable. |
Key Strategies to Reduce Capital Gains Tax on Home Sale
The fastest way to reduce capital gains tax on home sale proceeds is stacking every legal exclusion and deferral before you list the property, not after escrow closes.
Three approaches carry the most weight for California sellers: the Section 121 exclusion, a documented basis increase from improvements, and, for investment property, a 1031 exchange. Combining these real estate tax strategies often makes the biggest dent in your final bill.
| Example: A Sacramento investor sold a duplex for a $300,000 gain in 2026. Combining $60,000 in documented improvements with a 1031 exchange into a triplex dropped the taxable event to zero that year. The bill moved into the future, but the investor kept the full $300,000 working today. |
Exemptions and Deductions for California Homeowners
The Section 121 exclusion is the single biggest tool available to reduce capital gains tax on home sale value for a primary residence. To qualify, you must have owned and lived in the home for at least 24 months out of the 60 months before the sale, and you cannot have used the exclusion on another home sale within the past two years.
- Single filers exclude up to $250,000 of gain; married couples filing jointly exclude up to $500,000
- Partial exclusions apply if you sell early due to a job change, health issue, or unforeseen circumstance
- Military members get extended timelines under special IRS rules for suspended service periods
- California honors the federal exclusion dollar for dollar, with no separate state form required
1031 Exchange: Deferring Taxes on Investment Properties
A 1031 exchange lets you defer capital gains tax by rolling proceeds from a sold investment property into a new “like-kind” property within strict IRS deadlines. This applies only to investment property, never a primary residence.
The clock starts the day escrow closes: 45 days to identify a replacement property in writing, 180 days to close. Sell in California and buy out-of-state, and the Franchise Tax Board tracks that deferred gain through Form 3840 until the replacement sells too.
- Works for rental homes, commercial buildings, and vacant land held for investment
- Does not apply to a house you live in as your primary residence
- Missing the 45-day or 180-day window disqualifies the exchange, and tax comes due immediately
- A qualified intermediary must hold the proceeds; touching the money yourself voids the exchange
How SWAT Advisors Can Help You Save on Capital Gains Tax
SWAT Advisors has spent more than 20 years building real estate tax planning strategies for California homeowners and business owners who want to keep more of what they earn. Our team structures home sales, rental portfolios, and business exits in ways generic tax prep never catches.
- Personalized review of your basis, improvements, and exclusion eligibility before listing
- Structuring 1031 exchanges correctly, including out-of-state replacement property rules
- Coordinating home sale timing so a big gain doesn’t push you into a higher bracket
- Year-round tax planning instead of a once-a-year filing conversation
Expert Guidance, Personalized Strategies, Maximum Savings
We build a plan around your actual numbers, not a generic checklist. Our team reviews your basis, improvement records, and income timeline, then maps out the mix of exclusions, deferrals, and advanced tax planning strategies that fits your sale. Business owners selling investment property alongside a primary residence get the same tax planning review as business owners, so both transactions avoid capital gains tax pitfalls together.
Book a consultation with us before you list your property. A short conversation now can prevent a tax bill you didn’t see coming.
Common Mistakes to Avoid When Planning Home Sale Taxes
The costliest mistake is selling first and planning second. Once escrow closes, the tax outcome is locked in.
- Throwing away improvement receipts, leaving no proof to raise the cost basis later
- Assuming a rental property qualifies for the Section 121 exclusion without two years as a primary residence
- Selling the same year as a large bonus or stock sale, pushing the gain into a higher California capital gains tax bracket tier
- Forgetting depreciation recapture on a home that was partially rented
- Missing 1031 exchange deadlines by even a day, which cancels the entire deferral
Planning Your Home Sale for High-Value Properties
High-value sales need a longer runway; the exclusion covers a smaller share of the total gain. A $500,000 exclusion barely dents a $2 million profit, so timing and basis planning carry more weight for high-net-worth tax planning strategies.
Selling in a lower-income year, spreading a sale across two years through an installment sale, or waiting for a spouse’s income to drop can help reduce capital gains tax in California. For inherited property, the stepped-up basis rule often erases most of the built-up gain. A parent who bought a home decades ago for $150,000 passes it on when it’s worth $1.2 million; the heir’s basis resets to $1.2 million.
- Confirm the two-of-five-year residency test before assuming any exclusion applies
- Get a professional appraisal at the date of death; current inherited house tax rules hinge on that exact valuation date, and missing it complicates the basis math for the inherited house tax rules an heir must follow later
- Review California inheritance tax rules early with an advisor familiar with both state and federal guidance; California inheritance tax rules currently impose no separate state inheritance tax
- Coordinate high-value sales with a broader California estate planning basics review, since California estate planning basics for a trust-held property often change who reports the sale
Conclusion
Selling a home in California without a plan usually means overpaying. The Section 121 exclusion removes tax on most primary residence sales outright, while basis tracking, timing, and 1031 exchanges cover what’s left for investment property. Avoid capital gains tax surprises by confirming exclusion eligibility, documenting improvements, and lining up exchange deadlines before listing.
SWAT Advisors combines two decades of California tax experience with tax planning for business owners, real estate tax planning strategies, and high-net-worth tax planning strategies for families managing larger estates, so nothing gets missed between your basis, exclusion, and exchange deadlines.
We review your specific numbers, flag what a standard preparer overlooks, and build a sale strategy around your timeline. Contact us today to schedule your consultation.
FAQs
To reduce capital gains tax on home sale profit, claim the Section 121 exclusion if you qualify, add every documented improvement to your basis, and time the sale around your other income.
Yes. California honors the federal $250,000 single or $500,000 married exclusion for a primary residence owned and lived in for two of the last five years.
A 1031 exchange defers tax on investment property gains by reinvesting proceeds into a like-kind property within 45 days for identification and 180 days for closing.
Yes. Documented capital improvements, like a new roof or an addition, raise your cost basis and shrink your taxable gain dollar for dollar.
We review your basis, exclusion eligibility, and timing before your sale, then build a strategy combining exclusions, deferrals, and year-round tax planning for the largest legal savings.







