Should I keep the house or sell in a divorce?
Whether you can afford it is a mortgage-qualification question you can answer this week, and it is usually the binding one. Whether you should turns partly on a tax exclusion that is worth $500,000 to a couple and only $250,000 to you alone (IRS).
The full picture
This decision is usually framed emotionally and decided financially, which is the wrong way round only if you skip the arithmetic.
The exclusion requires that you owned the home for at least two of the five years before the sale and lived in it as your principal residence for at least two of those five. The periods need not be the same months and need not be consecutive. For a couple, only one spouse must meet the ownership test but both must meet the use test — which is why a spouse who moved out early can matter to the timing.
Divorce introduces specific provisions here, including circumstances in which a former spouse’s period of ownership or use can be credited to you. Those are fact-specific enough that this page will not assert how they apply to you; IRS Publication 523 sets them out and is the document to take to whoever is advising you.
The figures are also not indexed for inflation. $250,000 and $500,000 have been fixed since 1997, so in a market that has appreciated for two decades the exclusion covers proportionally less than it did — which makes the joint-versus-single timing question larger every year.
Three exits, and the tax rule that sits behind them
There are only three ways out of a jointly owned, jointly financed home: one party refinances in their own name, one party assumes the existing loan with the lender's approval, or the house is sold. Assumption is not available on every loan and always requires the lender to qualify the remaining borrower. A decree cannot create a fourth option, and it cannot compel a lender to release anyone.
The tax rule matters most when selling. Up to $250,000 of gain on a main home is excluded for a single filer and $500,000 for a couple filing jointly, subject to ownership and use tests, and the exclusion cannot generally be used more often than once every two years (IRS Topic 701). Publication 523 sets out how those tests are applied, including the situations that arise when a marriage ends (IRS Publication 523). Whether you sell before or after the decree can therefore change the tax on the same sale.
Transfers of property between spouses, or between former spouses where the transfer is incident to the divorce, are generally not taxable at the moment of transfer; what moves with the property is its basis, and the tax arrives later for whoever eventually sells (IRS Publication 504). An asset split that treats the house as worth its equity, and a retirement account as worth its balance, has quietly ignored this.
One cost of the refinance route is easy to miss. A buyout that leaves you with less than 20 percent equity in the refinanced loan usually brings private mortgage insurance with it, which is a new monthly cost the old joint loan may not have carried; it ends automatically once the balance is scheduled to reach 78 percent of value, and can be requested at 80 percent (CFPB).
Common questions
Should I keep the house or sell it in a divorce?
The decision is made by two things that have nothing to do with attachment. The first is whether the full carrying cost of the house fits your post-divorce income on its own: mortgage, taxes, insurance and maintenance, against one salary rather than two. The second is whether you can actually take your former spouse off the loan, because a decree that awards you the house does not remove them from the note. If the refinance is not available, keeping the house may not be available either, whatever the decree says.
Does a quitclaim deed remove my ex-spouse from the mortgage?
No, and this is the most costly misunderstanding in the whole process. A deed transfers ownership of the property. The mortgage is a separate contract with the lender, and only the lender can release a borrower from it, through a refinance or an approved assumption. Until that happens, a missed payment damages both parties' credit and the lender can pursue either of them, regardless of what the divorce decree assigns.
Related questions
Should I choose COBRA or marketplace insurance after divorce? →
Divorce: everything in one place
21 pages cover this. The one you are reading is marked, so you can see what the others do differently.
Start here
Walk the decisions
Run your numbers 9
Read the full playbook 5
- The Complete Financial Survival Guide to Divorce in 2026
- Gray Divorce After 50: Financial Survival Guide 2026
- How to File Taxes After Divorce: Complete Guide (2026 Tax Year)
- How to Split a 401(k) in Divorce Without Penalties: Complete QDRO Guide 2026
- Protecting Your Retirement Savings in a Divorce: The Complete QDRO Guide
Quick answers 5
- Should I choose COBRA or marketplace insurance after divorce?
- What is the financial checklist for divorce?
- How much does divorce cost?
- How is retirement divided in a divorce?
- Should I keep the house or sell in a divorce? you are here