Short answer: many people who sell a main home can exclude up to $250,000 of gain from federal tax, or $500,000 on a joint return, if they meet ownership and use tests. Divorce can change who meets those tests and which filing status applies. California property tax is usually not reassessed when one spouse transfers the home to the other in a divorce, and Prop 19 lets some homeowners 55 or older move their tax base to a new home. A CPA and the county assessor confirm what applies to you.
Taxes are the part of a house sale people most often guess at. This page gives pointers so you can ask better questions. It does not calculate your tax. A CPA or tax attorney who has your numbers should.
How does the federal home-sale exclusion work?
When you sell a main home, part of the profit can be excluded from federal tax. The rules are in Internal Revenue Code section 121 and explained in IRS Publication 523, Selling Your Home. In general:
- Up to $250,000 of gain for a single filer, $500,000 for married filing jointly.
- The seller has generally owned and lived in the home as a main home for at least 2 of the last 5 years before the sale.
- For the $500,000 joint amount, at least one spouse meets the ownership test and both meet the use test. If not, the limit is generally the sum of what each would qualify for alone.
How can divorce change the exclusion?
Section 121(d)(3) has two rules written for divorce. Publication 523 explains both:
- Ownership from a spouse. If your spouse or ex-spouse transferred the home to you, you can count the time they owned it as time you owned it. You still have to meet the use test yourself.
- The spouse who moved out. If you still own the home after moving out, the time your spouse or ex-spouse is allowed to live there under a divorce or separation instrument can count as your own use. This matters when one spouse moves out and the sale happens years later.
Filing status matters too. It depends on whether you are married on December 31 of the year you sell. A married couple filing jointly may use the larger exclusion. Two single sellers who each qualify can still each exclude up to $250,000 of their share of the gain. Whether timing matters for you depends on your filing status, your basis and how the gain splits. Many CPAs ask clients to check with them before a closing date is set.
- Single filerUp to $250,000 of gain excluded from federal tax
- Married filing jointlyUp to $500,000 of gain, when at least one spouse meets the ownership test and both meet the use test
- The testsGenerally owned and lived in the home as a main home for at least 2 of the last 5 years before the sale
Transfers between spouses
Under IRC section 1041, a transfer of property between spouses, or to a former spouse because of the divorce, is generally not taxed at the time. The person who receives the home usually takes over the transferring spouse's existing tax basis, not the current value. That can matter later when they sell. If one spouse keeps the house through a buyout, see keeping the house and qualifying alone.
Basis: the number everyone forgets
Gain is the sale price, minus selling costs, minus your basis (what you paid plus qualifying improvements). The purchase closing statement and records of major improvements, like a new roof or an addition, are worth finding now. To see rough sale numbers before tax, try the net-proceeds estimator.
What if the home was ever rented or used for business?
The exclusion may not cover all of the gain. Publication 523 says you cannot exclude the part of your gain equal to depreciation allowed or allowable after May 6, 1997. That can apply if part of the home was a rental or a home office that was depreciated. A CPA can tell you how much is affected.
California property tax: Prop 19
California property tax is tied to a "base year value." It is usually reassessed only when ownership changes or new construction happens. Two points matter here.
Transfers between spouses. Transfers between spouses, including transfers because of a divorce, have long been excluded from reassessment. If one spouse keeps the house through a buyout, the county assessor or your attorney can explain how to claim the exclusion.
Moving a tax base to a new home. Proposition 19 (effective 2021) changed the rules for parent-to-child transfers. Separately, it lets homeowners who are 55 or older, severely disabled, or victims of a wildfire or natural disaster move their tax base to a replacement home. According to the Board of Equalization:
| Point | General rule |
|---|---|
| Where | Anywhere in California |
| When | Replacement bought or built within 2 years of selling the original home |
| How many times | Up to 3 transfers |
| Value | A higher-priced replacement adds the difference to the moved base value |
| Claim form | BOE-19-B (55 or older), filed with the assessor in the replacement home's county, within 3 years |
Divorce raises questions the summary pages do not answer. For example, if both spouses are 55 or older and each buys a new home, the Board of Equalization's 2024 guidance says only one co-owner can use the base value from the home they sold together. Divorce after 55: Prop 19, downsizing and reverse mortgages explains this. Only your county assessor can confirm your assessment.
Common mistakes
- Setting a closing date before checking filing status with a CPA.
- Assuming the spouse who moved out has lost the exclusion.
- Losing the purchase papers and improvement receipts.
- Forgetting that the spouse who keeps the house also keeps the old basis.
- Missing an assessor filing deadline.
Questions to take to a CPA or attorney
- Will I owe federal tax on the sale, and how does timing the sale relative to the divorce change it?
- What is our basis, and what improvements count?
- If I keep the house, what basis do I carry and what does a future sale look like?
- How is the gain or exclusion split between us?
- Was any part of the home depreciated, and how does that change the tax?
- What should we file with the county assessor, and by when?
- If I buy a new home, could my existing tax base move with me?
Tax timing is one of the points many couples put in their written sale agreement. See what to put in writing before you sell and how long a divorce and a sale take.
Ask a professional: a CPA or tax attorney for taxes, your family-law attorney for how the settlement shares tax costs, and the county assessor for property-tax filings. A real estate agent can give you sale price and cost estimates, but cannot give tax advice.