
Start with the Section 121 exclusion
When you sell your primary residence, federal law generally lets you exclude a large chunk of the gain from tax: up to $250,000 if you file single, or $500,000 if you're married filing jointly. To qualify you need to pass two tests over the five years before the sale:
- Ownership test — you owned the home for at least two of the last five years.
- Use test — you lived in it as your main home for at least two of the last five years.
"Gain" is not the sale price. It's the sale price minus selling costs minus your adjusted basis (what you paid, plus capital improvements). In Orange County and Long Beach, where homes bought 15–25 years ago have often doubled or tripled, the gain regularly exceeds $250,000 — which is exactly why the divorce timing rules matter.
Timing is the whole game
Scenario 1 — Sell before the divorce is final
If you sell while you're still married and can file a joint return for that tax year, you may exclude up to $500,000 of gain between you. The proceeds are then divided under your settlement. This is usually the most tax-protective option, and it is one reason attorneys sometimes sequence the sale before the judgment.
Scenario 2 — Sell after the divorce, both still on title
If both former spouses remain on title and each still meets the ownership and use tests at the sale, each may exclude $250,000 on their share of the gain. The catch: the spouse who moved out may fail the use test — unless the special divorce rule below applies.
Scenario 3 — One spouse keeps the house and sells years later
Only one taxpayer, only one $250,000 exclusion — applied against all of the gain, including the half that built up while the other spouse owned it. See the §1041 trap below.
The special divorce use rule
Normally, moving out would start the clock against your use test. But a spouse who moves out can generally still count the other spouse's occupancy as their own, as long as the other spouse is living there under a divorce or separation instrument. This is the rule that makes a Defer & Co-Own arrangement workable for taxes — and it only helps if the arrangement is written into the decree or settlement. A handshake agreement doesn't count.
The buyout tax trap — IRC §1041
Transfers of property between spouses — or between former spouses when "incident to the divorce" — are generally not taxable events. No gain is recognized when one spouse deeds their half to the other.
That sounds like good news, and at the moment of transfer it is. But the receiving spouse takes the transferring spouse's basis — a carryover basis. The gain didn't disappear; it moved. When the keeping spouse eventually sells, they face 100% of the built-in gain with a single $250,000 exclusion.
Worked example (placeholder numbers): a couple bought in 2005 for $500,000. The home is worth $1,300,000 today. Spouse A keeps the home and buys out Spouse B. Spouse A's basis stays at roughly $500,000. If A sells in a few years for $1,400,000, the gain is about $900,000 — minus one $250,000 exclusion — leaving roughly $650,000 potentially taxable. Had the couple sold together while married, up to $500,000 of the then-$800,000 gain could have been excluded.
The spouse who keeps the house often keeps the tax bill too — price that into the settlement. A fair buyout number accounts for the deferred tax the keeping spouse is absorbing. Your CPA and attorney can quantify it; I can supply the valuation and net-sheet inputs they need.
California's treatment
California generally conforms to the federal §121 exclusion. Any gain above the exclusion is taxed by California as ordinary income — the state does not have a lower capital-gains rate — on top of the federal capital-gains tax and, for higher incomes, the 3.8% net investment income tax.
Questions to bring to your CPA
- What is our adjusted basis, including improvements, and do we have records?
- Can we still file jointly for the year of sale, and does it help?
- If one of us keeps the house, what is the deferred tax, and how should the settlement reflect it?
- Does the divorce use rule cover the spouse who moved out?
- Any separate-property or depreciation (home office, rental period) issues?
This page is general education, not tax advice. Tax outcomes depend on your facts. Please consult your CPA or tax professional, and your family-law attorney, before choosing a sale date or a buyout structure.

Written by Kiri Suykry · Last updated 2026-08-23